:root {
    /* Colors */
    --primary-blue: #0056b3;
    --primary-blue-dark: #003d7e;
    --secondary-red: #e53935;
    --secondary-red-dark: #b71c1c;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --mid-gray: #e0e0e0;
    --dark-gray: #212121;
    --text-primary: #333333;
    --text-secondary: #666666;

    /* Spacing */
    --section-padding: 80px 20px;
    --container-width: 1200px;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px; /* Large base font for accessibility */
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.logo-accent {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding: 10px 0;
}

/* Mega Menu Core */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 1px solid var(--mid-gray);
    padding: 40px 0;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mega-menu-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.mega-menu-item:hover {
    background-color: var(--light-gray);
}

.mega-menu-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.mega-menu-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.mega-menu-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.nav-item:hover {
    color: var(--primary-blue);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:active {
    transform: scale(0.98);
}

.primary-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.secondary-cta {
    background-color: var(--text-primary);
    color: white;
}

.urgent-cta {
    background: linear-gradient(135deg, var(--secondary-red), var(--secondary-red-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
}

.btn-outline {
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--secondary-red);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.service-card.highlight {
    background: linear-gradient(135deg, #0056b3, #002f5d);
    color: white;
}

.service-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.highlight .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Why Us */
.why-us {
    padding: var(--section-padding);
}

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

.benefit-list {
    margin-top: 40px;
}

.benefit-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.benefit-text strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--text-secondary);
}

.why-image {
    background: url('https://images.unsplash.com/photo-1581578731548-c64695cc6954?auto=format&fit=crop&q=80&w=1000') center/cover;
    height: 500px;
    border-radius: var(--radius);
    position: relative;
}

.premium-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--white);
    padding: 20px 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.premium-badge i {
    color: gold;
    width: 40px;
    height: 40px;
}

/* Appointment Callout */
.appointment {
    padding: 60px 0;
}

.appointment-box {
    background: linear-gradient(135deg, var(--dark-gray), #000);
    padding: 60px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.appointment-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

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

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

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

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

.social-links a:hover {
    background-color: var(--primary-blue);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

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

.footer-contact p {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

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

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
}

.whatsapp-float i {
    width: 35px;
    height: 35px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-up-delayed {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-up-slow {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS toggle later */
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--primary-blue);
    z-index: 1001;
}

.mobile-toggle i {
    width: 32px;
    height: 32px;
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        z-index: 1000;
        border-top: 1px solid #eee;
        visibility: hidden;
    }

    .nav-links.active {
        padding: 30px;
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
    }
}

/* Service Page Styles */
.internal-page .hero {
    height: auto;
    min-height: 480px;
    padding-top: 140px; /* Increased to prevent header overlap */
    padding-bottom: 80px;
}

.internal-page .hero-title {
    font-size: 3.2rem; /* Slightly smaller for internal pages */
}

.service-intro {
    padding: var(--section-padding);
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-details-list {
    margin-top: 30px;
}

.service-details-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.service-details-list i {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.service-image-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.process-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Mobile Adjustments for Mega Menu */
@media (max-width: 992px) {
    .mega-menu {
        position: relative;
        top: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 20px;
        box-shadow: none;
        border-top: none;
    }
    
    .nav-links.active .mega-menu {
        display: block;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
    
    .service-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step-grid {
        grid-template-columns: 1fr 1fr;
    }
}
