:root {
    --color-navy: #0A1628;
    --color-navy-light: #112240;
    --color-navy-lighter: #1A365D;
    --color-gold: #F5A623;
    --color-gold-hover: #D98C15;
    --color-green: #00C896;
    --color-white: #FFFFFF;
    --color-text: #E0E0E0;
    --color-text-muted: #A0AABF;

    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --transition: all 0.3s ease;
}

body.light-theme {
    --color-navy: #F8FAFC;
    --color-navy-light: #FFFFFF;
    --color-navy-lighter: #E2E8F0;
    --color-white: #0A1628;
    --color-text: #334155;
    --color-text-muted: #64748B;
    --color-border: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--color-gold-hover);
}

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

.text-green {
    color: var(--color-green) !important;
}

.bg-green {
    background-color: var(--color-green) !important;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 2.5rem 0;
    /* Reduced further from 4rem */
}

.section-header {
    margin-bottom: 1.5rem;
    /* Reduced further from 2.5rem */
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn-dark:hover {
    background-color: var(--color-navy-light);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* About Section */
.about-section {
    padding: 2.5rem 0;
    /* Matched global padding */
    background-color: var(--color-navy);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    /* Reverted to center */
}

.about-image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-content .section-header {
    margin-bottom: 1rem;
    text-align: left;
}

.about-content h2 {
    font-size: 2.5rem;
    line-height: 1.1;
}

.about-content {
    /* Removed space-between and height: 100% */
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 1.110rem;
    margin-bottom: 0.60rem;
    /* Reduced from 1rem */
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    /* Reduced from 2rem */
    margin-top: 1.0rem;
    /* Reduced from 2.5rem */
}

.about-feature-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-feature-box i {
    font-size: 2rem;
    color: var(--color-gold);
}

.about-feature-box h4 {
    color: var(--color-white);
    font-size: 1.125rem;
}

.about-feature-box p {
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        order: 1;
    }

    .about-image-wrapper {
        order: 2;
    }
}

/* About Page Specific */
.about-page-hero {
    height: auto;
    min-height: 550px;
    background-image: linear-gradient(rgba(10, 22, 40, 0.3), rgba(10, 22, 40, 0.3)), url('/siteadmin/Images/aboutbanner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 200px;
    /* Reduced from 280px */
    padding-bottom: 40px;
    /* Increased slightly for balance */
}

.about-page-hero h1 {
    font-size: 4.5rem;
    /* Reduced from 6rem for better balance */
    color: var(--color-gold);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    font-weight: 800;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@media (max-width: 768px) {
    .about-page-hero {
        height: 70vh;
        margin-top: 70px;
    }

    .about-page-hero h1 {
        font-size: 3.5rem;
    }
}

/* Services Page Specific */
.services-page-hero {
    height: 70vh;
    min-height: 500px;
    background-image: linear-gradient(rgba(10, 22, 40, 0.15), rgba(10, 22, 40, 0.15)), url('/siteadmin/Images/3406030.jpg');
    background-size: contain;
    /* Changed from cover to show complete image */
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: #F8FAFC;
    /* Light background to match the illustration */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 130px;
}

.services-page-hero h1 {
    font-size: 5.5rem;
    color: var(--color-gold);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle-pill {
    background: rgba(10, 22, 40, 0.7);
    color: var(--color-gold);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 166, 35, 0.3);
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .services-page-hero {
        height: auto;
        min-height: 400px;
        padding: 170px 1.5rem 60px;
        /* Increased by 50px */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center bottom;
    }

    .services-page-hero h1 {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle-pill {
        font-size: 1.1rem;
        padding: 0.6rem 1.5rem;
        line-height: 1.4;
    }
}

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

    .hero-subtitle-pill {
        font-size: 0.875rem;
    }
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    padding: 0.75rem 0;
    /* Thinned from 1.25rem */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.light-theme .navbar {
    background-color: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    /* Thinned from 1rem */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .navbar.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #D98C15 100%);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    border-radius: 12px 4px 12px 4px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    transform: scale(1.1);
}

body.light-theme .theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

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

.mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: var(--color-navy);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.mobile-menu a:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    padding-top: 7.5rem;
    /* Reduced from 10rem for better above-the-fold visibility */
    padding-bottom: 4rem;
    /* Reduced from 6rem */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, rgba(10, 22, 40, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

body.light-theme .hero-badge {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 200, 150, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 150, 0);
    }
}

.hero-subtext {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.stat-item strong {
    color: var(--color-white);
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

body.light-theme .divider {
    background-color: rgba(0, 0, 0, 0.1);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

body.light-theme .hero-image {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Stats Bar */
.stats-bar {
    background-color: var(--color-navy-light);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-box h2 {
    color: var(--color-gold);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--color-white);
    font-weight: 500;
    margin: 0;
}

/* Services */
.services {
    background-color: var(--color-navy);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(245, 166, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--color-gold);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Why Choose Us */
.why-us {
    background-color: var(--color-navy);
    position: relative;
}

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

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
    -webkit-text-stroke: 1px var(--color-gold);
    opacity: 0.5;
    transition: var(--transition);
}

.feature-item:hover .feature-number {
    color: var(--color-gold);
    -webkit-text-stroke: 0;
    opacity: 1;
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--color-text-muted);
    margin: 0;
}

.metrics-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.metrics-illustration {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    /* White background to match the illustration */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.metrics-illustration img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.metrics-card:hover .metrics-illustration {
    transform: translateY(-5px);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.metrics-card:hover .metrics-illustration img {
    transform: scale(1.02);
}

body.light-theme .metrics-illustration {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
}

.metrics-card h3 {
    margin-bottom: 2rem;
}

.metric-item {
    margin-bottom: 1.5rem;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-white);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--color-gold);
    border-radius: 4px;
    transform-origin: left;
    transform: scaleX(0);
}

.metrics-card.animate .progress {
    animation: progressFill 1.5s ease-out forwards;
}

@keyframes progressFill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Testimonials */
.testimonials {
    background-color: var(--color-navy-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-navy);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
}

.stars {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.25rem;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    background-color: rgba(245, 166, 35, 0.2);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

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

/* CTA Banner */
.cta-banner {
    background-color: var(--color-gold);
    padding: 2.5rem 0;
}

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

.cta-content h2 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: var(--color-navy-light);
    font-weight: 500;
}

/* Contact Page Specific */
.contact-hero {
    padding-top: 8rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(to bottom, var(--color-navy-light), var(--color-navy));
    text-align: center;
}

.contact-cards-section {
    padding: 2.5rem 0;
    /* Reduced further from 4rem */
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 2.25rem;
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: var(--color-gold);
    color: var(--color-navy);
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.map-section {
    padding: 4rem 0 8rem;
}

.map-card {
    background-color: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.map-card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

body.light-theme .map-card iframe {
    filter: none;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .cta-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .contact-hero {
        padding-top: 10rem;
    }
}


/* Footer */
footer {
    background-color: var(--color-navy);
    padding-top: 3rem;
    /* Reduced further from 5rem */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 2rem;
    /* Reduced from 4rem */
    padding-top: 1rem;
    /* Reduced from 2rem */
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--color-text-muted) !important;
    font-weight: 400 !important;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

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

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    align-items: flex-start;
}

.footer-contact i {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

.social-icons a:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-container {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtext {
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: row;
    }

    .hero-stats {
        justify-content: center;
    }

    .service-pills-card {
        margin-top: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* iPad Pro / Tablet: Center the last card if odd */
    .services-grid>*:last-child:nth-child(odd) {
        grid-column: 1 / span 2;
        width: 100%;
        max-width: calc(50% - 0.75rem);
        margin: 0 auto;
    }

    .service-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .card-icon {
        margin: 0 auto 1rem;
    }

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

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 1.0rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.0rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

    .services-grid>*:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }
}

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

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .stat-item strong {
        font-size: 1.1rem;
    }

    .stat-item span {
        font-size: 0.7rem;
    }

    .divider {
        width: 1px;
        height: 30px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-box h2 {
        font-size: 2rem;
    }

    .stat-box p {
        font-size: 0.8rem;
    }

    section {
        padding: 1.5rem 0;
        /* Reduced further for small mobile */
    }

    .section-header {
        margin-bottom: 1rem;
        /* Reduced for small mobile */
    }

    .about-container,
    .why-us-container {
        gap: 2rem;
    }

    .about-features {
        gap: 1rem;
        margin-top: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}