/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f766e;
    --primary-dark: #0d5e57;
    --primary-light: #14b8a6;
    --accent: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1e293b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    border-radius: 8px;
    overflow: hidden;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
}

.nav-links a.nav-cta:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8rem 0 6rem;
    margin-top: 0;
}

.hero-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.8rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.expertise-content {
    max-width: 900px;
    margin: 2rem auto 0;
}

.expertise-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Tools Section */
.tools {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tool-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.tool-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.tool-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tool-item a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.tool-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
}

.quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.detail-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-wrapper {
    display: flex;
    align-items: start;
    gap: 0.6rem;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-wrapper span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
}

.form-notification {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-notification.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-notification.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul li a {
    font-size: 0.95rem;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid,
    .tools-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .expertise,
    .services,
    .tools,
    .testimonials,
    .contact {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .container {
        padding: 0 16px;
    }
}
