:root {
    --primary-color: #3b82f6;
    /* Vibrant Blue - Professional & Progressive */
    --secondary-color: #0B1E3B;
    /* Deep Navy - From Logo */
    --accent-color: #1E293B;
    /* Slate Navy */
    --light-bg: #F8FAFC;
    /* Very Light Slate */
    --white: #FFFFFF;
    --text-color: #0F172A;
    /* Darker Slate for readability */
    --text-light: #64748B;
    /* Steel Silver */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 40px rgba(11, 30, 59, 0.08);
    /* Navy tinted shadow */
    --shadow-hover: 0 20px 50px rgba(11, 30, 59, 0.15);
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 20px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Removes bottom space */
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    letter-spacing: -0.01em;
    overflow-x: hidden;
    position: relative;
}

/* Animations Management */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* Ensure width for wrapping */
    max-width: 90vw;
    /* Prevent overflow */
    word-wrap: break-word;
    /* Wrap long words */
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #008c93;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 173, 181, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    margin-left: 15px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Page Header for subpages */
.page-header {
    background: linear-gradient(rgba(11, 30, 59, 0.6), rgba(11, 30, 59, 0.6)), url('../images/hero-bg.png') no-repeat center center/cover;
    background-color: var(--secondary-color);
    padding: 150px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Glass Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    /* Contain the spotlight */
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(59, 130, 246, 0.06),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-hover);
}

/* Background Decorations */
.bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: move 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(11, 30, 59, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    /* Reduced from 15px */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    /* Reduced from 10px */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Increased gap */
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    /* For shimmer effect */
    padding: 5px 10px;
    border-radius: 10px;
}

.logo img {
    height: 65px;
    /* Increased from 50px */
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    /* Soft rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle integration border */
}

/* Liquid Glass Shimmer Effect */
.logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: none;
    pointer-events: none;
}

.logo:hover::after {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.logo-text {
    font-size: 1.4rem;
    /* Slightly increased for alignment */
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 50px;
    /* Scaled down but still larger than before */
}

.header.scrolled .logo-text {
    font-size: 1.2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

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

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

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-list li {
    margin: 20px 0;
}

.mobile-nav-list a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(11, 30, 59, 0.5), rgba(11, 30, 59, 0.5)), url('../images/hero-bg.png') no-repeat center 15%/cover;
    /* Placeholder for hero-bg.jpg - will be generated */
    background-color: var(--secondary-color);
    /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    /* Header is fixed */
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary-color);
}

.brand-glass-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.hero-feature i {
    color: var(--primary-color);
}

/* Why Choose Us */
.reasons {
    background-color: transparent;
}

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

.reason-card {
    padding: 45px;
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-8px);
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reason-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

/* About */
.about {
    background-color: transparent;
}

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

.about-image .img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 10px;
    /* This will be replaced by actual image */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Services */
.services {
    background-color: transparent;
}

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

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    padding: 45px 35px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-12px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card:hover .learn-more {
    gap: 12px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Service Detail Pages */
.service-detail .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.detail-text h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.detail-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.detail-list {
    list-style: none;
    margin-bottom: 30px;
}

.detail-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-list li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .service-detail .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-image {
        order: -1;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 173, 181, 0.2);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col:first-child {
    margin-left: -30px;
}

.footer-logo {
    margin-bottom: 25px;
    display: flex;
    align-items: center !important;
}

.footer-logo img {
    height: 80px;
    /* Increased from 60px */
    width: auto;
    margin-right: 20px;
    border-radius: 15px;
    /* Matching rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.footer-logo .logo-text {
    font-size: 1.4rem;
    /* Increased for alignment with larger logo */
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    white-space: nowrap;
    /* Prevent wrapping */
    line-height: 1.2;
}

.detail-text h4 {
    font-size: 1.5rem;
    /* Increased size for visibility */
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 5px;
}

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

.footer-contact a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp Float */
/* Floating Actions Container */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    /* Stack from bottom up */
    gap: 15px;
    align-items: center;
}

/* Base Floating Button */
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 1;
    transform: scale(1);
    cursor: pointer;
    border: none;
    outline: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.floating-actions.collapsed .float-btn:not(.float-toggle) {
    opacity: 0;
    transform: scale(0) translateY(20px);
    pointer-events: none;
    height: 0;
    margin: 0;
}

/* Toggle Button */
.float-toggle {
    background-color: var(--secondary-color);
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    order: -1;
    /* Keep it at the bottom of the stack visually with flex-direction: column-reverse */
}

.floating-actions.collapsed .float-toggle i {
    transform: rotate(180deg);
}

.float-toggle i {
    transition: transform 0.4s;
}

/* Specific Colors */
.float-whatsapp {
    background-color: #25d366;
}

.float-phone {
    background-color: var(--primary-color);
    width: 50px;
    /* Slightly smaller secondary buttons */
    height: 50px;
    font-size: 1.4rem;
}

.float-map {
    background-color: var(--secondary-color);
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .float-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .float-phone,
    .float-map {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        padding: 5px;
        font-size: 1.6rem;
    }

    .hero {
        min-height: 100dvh;
        /* Dynamic viewport height */
        height: auto;
        /* Allow content to dictate height */
        padding-top: 120px;
        padding-bottom: 60px;
        background-attachment: scroll;
        /* Fix mobile jitter */
        display: flex;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section {
        padding: 50px 20px;
        /* Reduced padding */
    }

    .hero-features {
        gap: 15px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
        width: 100%;
    }

    .footer {
        height: auto !important;
        padding-bottom: 40px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .about-grid,
    .contact-grid,
    .service-grid {
        grid-template-columns: 1fr;
        /* stack everything */
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 100%;
    }

    /* Typography Adjustments */
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .logo-text {
        font-size: 1rem;
        /* Smaller text */
        white-space: nowrap;
    }

    .logo img {
        height: 40px;
        /* Smaller logo */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        /* Better touch target */
    }


}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 220px;
    max-width: 250px;
    text-align: center;
    position: relative;
    background: var(--glass-bg);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.15);
}

.process-step h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    --transition: all 0.3s ease;

    /* Page Transitions */
    --page-enter: pageEnter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    --page-exit: pageExit 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;
}

/* Page Transition Keyframes */
@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pageExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
}

.page-transition-enter {
    animation: var(--page-enter);
}

.page-transition-exit {
    animation: var(--page-exit);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-light);
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: -5px;
    padding-top: 15px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

/* Full Width Detail Text (No Image) */
.detail-text.full-width {
    max-width: 1200px;
    /* Increased to allow headers to fit on one line */
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.detail-text.full-width p,
.detail-text.full-width ul:not(.two-column-list),
.detail-text.full-width .two-column-list {
    max-width: 900px;
    /* Keep text readable */
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    /* margin-left: 0; Align left */
}

/* Ensure headings have room but don't force width */
.detail-text.full-width h2,
.detail-text.full-width h3 {
    max-width: 100%;
}

.detail-text .two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* Increased gap */
    max-width: 1000px !important;
    /* Allow grid to be slightly wider */
}

/* Myths Grid Section */
.myths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    /* Consistent width */
}

.myth-item {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.myth-item h4 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
    /* Keep underline tight */
    width: 100%;
}

.myth-item h4 i {
    color: var(--primary-color);
}

.myth-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .myths-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    padding: 30px;
    text-align: center;
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.2rem;
    display: block;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
}

/* Aligners Page Specific Styles */
.detail-grid.align-start {
    align-items: flex-start;
}

.process-steps.mb-lg {
    margin-bottom: 80px;
}

.process-step.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.process-step.featured .process-icon {
    background: var(--primary-color);
    color: white;
}

.process-step.featured h4 {
    color: var(--primary-color);
}

.glass-card.accent-border {
    padding: 25px;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 30px;
}

.glass-card.accent-border h4 {
    color: var(--secondary-color);
    margin-top: 0;
}

.glass-card.accent-border p {
    margin-bottom: 0;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

/* Enhancements */
.process-step {
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-step.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

/* Mobile Adjustments for Featured Step */
@media (max-width: 768px) {
    .process-step.featured {
        transform: scale(1);
        margin: 20px 0;
    }

    .process-step.featured:hover {
        transform: translateY(-5px);
    }
}

/* Doctor Section */
.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
}

.doctor-image {
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.doctor-image img {
    max-width: 60%;
    opacity: 0.8;
    transition: var(--transition);
}

.doctor-info {
    padding: 50px;
}

.doctor-name {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.doctor-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.doctor-bio {
    margin-bottom: 20px;
    line-height: 1.7;
}

.doctor-specialties {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.specialty-badge {
    background: rgba(0, 173, 181, 0.1);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .doctor-grid {
        grid-template-columns: 1fr;
    }

    .doctor-image {
        min-height: 300px;
    }

    .doctor-info {
        padding: 30px;
    }
}

/* Premium Glass Features */
.feature-card {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
    /* Reduced from 1.05rem for better balance */
}

/* Features Grid Layout - Updated to Flex for Centering */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.features-grid .feature-card {
    flex: 0 1 320px;
    /* Fixed basis, allow shrinking but not growing beyond 320px */
    width: 100%;
    min-height: 350px;
    /* Increased height for uniformity */
}