:root {
    --teal: #0D9488;
    --teal-light: #14B8A6;
    --teal-pale: #CCFBF1;
    --blue: #0F766E;
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.9);
    --text: #1E293B;
    --text-light: #475569;
    --text-lighter: #94A3B8;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    --radius: 1.25rem;
    --radius-sm: 0.75rem;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Header (glass) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: background var(--transition);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 72px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo i {
    color: var(--teal-light);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a {
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-light);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-cta {
    background: var(--teal);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.header-cta:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.25);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

/* Hero (Unchanged) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #F0FDFA 0%, #E0F2FE 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--teal);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.1;
    color: #0F172A;
    font-weight: 700;
}

.hero h1 span {
    color: var(--teal);
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 1.5rem 0 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--teal);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--blue);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
}

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

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 550px;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s;
}

.hero-image:hover {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    z-index: 2;
}

.floating-card i {
    color: var(--teal-light);
}

.card-1 {
    bottom: 10%;
    left: -5%;
}

.card-2 {
    top: 10%;
    right: -5%;
}

/* About (Unchanged) */
.about {
    padding: 6rem 2rem;
    background: white;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--teal);
    font-family: var(--font-heading);
}

/* Services (Updated) */
.services {
    padding: 6rem 2rem;
    background: var(--bg);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #0F172A;
}

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

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    text-align: center;
    cursor: default;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-pale);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.services-description {
    max-width: 800px;
    margin: 3rem auto 0;
    background: white;
    padding: 2rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--teal);
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

.services-description strong {
    color: var(--teal);
}

/* Testimonials (Unchanged) */
.testimonials {
    padding: 6rem 2rem;
    background: white;
}

.testimonials h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.author {
    font-weight: 600;
    color: var(--teal);
}

/* FAQ (Updated) */
.faq {
    padding: 6rem 2rem;
    background: var(--bg);
}

.faq h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Rotate plus to x */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
    background-color: #fcfcfc;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Increased for longer content */
}

/* Contact (Premium & Elegant) */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #F0FDFA 0%, #E0F2FE 100%);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details div {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text);
}

.contact-details i {
    color: var(--teal);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
    background: white;
}

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

.btn-submit {
    width: 100%;
    background: var(--teal);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.25);
}

/* Newsletter (Premium & Elegant) */
.newsletter {
    padding: 6rem 2rem;
    background: #0F172A;
    /* Dark premium background */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative circle */
.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

.newsletter h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-desc {
    color: #94A3B8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.newsletter-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.newsletter-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--teal-light);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #94A3B8;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #E2E8F0;
}

.checkbox-group input {
    margin-top: 4px;
    accent-color: var(--teal-light);
    width: 16px;
    height: 16px;
}

.newsletter-actions {
    display: flex;
    gap: 1rem;
}

.btn-sub {
    flex: 1;
    background: var(--teal-light);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-sub:hover {
    background: #2DD4BF;
}

.btn-unsub {
    background: transparent;
    color: #94A3B8;
    border: 1px solid #475569;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-unsub:hover {
    border-color: white;
    color: white;
}

/* Footer */
.footer {
    background: #020617;
    color: #E2E8F0;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto 3rem;
    gap: 2rem;
}

.footer-links a {
    margin: 0 1.5rem;
    color: #94A3B8;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--teal-light);
}

.legal-links a {
    margin: 0 1rem;
    color: #64748B;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

.legal-links a:hover {
    color: #94A3B8;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--blue);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.legal-point {
    margin-bottom: 1.5rem;
}

.legal-point h4 {
    font-size: 1.1rem;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.legal-point p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Success Popup */
.success-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid #10B981;
}

.success-popup.show {
    transform: translateX(-50%) translateY(0);
}

.success-popup i {
    color: #10B981;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        max-width: 100%;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .floating-card {
        display: none;
    }

    .newsletter-actions {
        flex-direction: column;
    }
}

/* Mobile nav open state */
@media (max-width: 768px) {
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }
}

