@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-white);
    background-color: var(--color-deep-navy);
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   2. Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-deep-navy: #061A2E;
    --color-midnight-blue: #0B2945;
    --color-electric-blue: #1677FF;
    --color-supporting-blue: #2D9CFF;
    --color-white: #FFFFFF;
    --color-soft-bg: #F5F8FC;
    --color-light-blue: #EAF3FF;
    
    /* Text Colors */
    --text-dark: #333333;
    --text-light: #F5F8FC;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-muted-dark: rgba(6, 26, 46, 0.7);

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1320px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================================================
   3. Typography & Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

.text-accent {
    color: var(--color-electric-blue);
}

.section-dark {
    background-color: var(--color-deep-navy);
    color: var(--color-white);
}

.section-light {
    background-color: var(--color-soft-bg);
    color: var(--color-deep-navy);
}

.section-blue {
    background-color: var(--color-electric-blue);
    color: var(--color-white);
}

.section-header {
    margin-bottom: 3rem;
}

.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-supporting-blue);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-electric-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-supporting-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 119, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-deep-navy);
    border: 1px solid rgba(6, 26, 46, 0.3);
}

.btn-outline-dark:hover {
    border-color: var(--color-deep-navy);
    background-color: rgba(6, 26, 46, 0.05);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-electric-blue);
}

.btn-white:hover {
    background-color: var(--color-light-blue);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   4. Header & Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--color-midnight-blue);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 2rem;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.top-bar-social {
    display: flex;
    gap: 1rem;
}

.top-bar-social a {
    color: var(--text-muted);
}
.top-bar-social a:hover {
    color: var(--color-white);
}

header {
    background-color: rgba(6, 26, 46, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(6, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-white);
}

.nav-links .dropdown {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-midnight-blue);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: var(--text-muted);
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-white);
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 20px 0 120px 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: flex-start;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(20, 23, 26, 0.7) 0%, rgba(20, 23, 26, 0.9) 100%), 
url('../assets/images/background-hero.png') center/cover no-repeat;
    z-index: 0;
}

/* Gradient overlay for image integration */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 20%;
    background: linear-gradient(90deg, var(--color-deep-navy) 0%, transparent 100%);
    z-index: 1;
    transform: translateX(-100%);
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--color-supporting-blue);
}

.trust-item span {
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-card {
    position: absolute;
    bottom: 80px;
    right: 50px;
    background: rgba(11, 41, 69, 0.85);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
    max-width: 320px;
}

.hero-card-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-supporting-blue);
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.hero-card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   6. Services Section
   ========================================================================== */
.services {
    padding: var(--section-padding);
}

.services-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.services-info {
    flex: 0 0 350px;
}

.services-nav {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}
.services-nav::-webkit-scrollbar {
    display: none;
}

.service-tile {
    flex: 0 0 220px;
    background-color: var(--color-midnight-blue);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-normal);
    gap: 20px;
}

.service-tile i {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.service-tile h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.service-tile:hover {
    border-color: var(--color-electric-blue);
    transform: translateY(-10px);
    background-color: rgba(22, 119, 255, 0.05);
}

.service-tile:hover i {
    color: var(--color-electric-blue);
}

/* ==========================================================================
   7. Why Choose Us Section
   ========================================================================== */
.why-choose-us {
    padding: var(--section-padding);
}

.wcu-wrapper {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.wcu-image {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.wcu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(6, 26, 46, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: var(--transition-normal);
    color: white;
    font-size: 1.5rem;
}

.play-btn:hover {
    background: var(--color-electric-blue);
    border-color: var(--color-electric-blue);
    transform: translate(-50%, -50%) scale(1.1);
}

.annotation {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-family: 'Caveat', cursive; /* A handwriting font if available, fallback to cursive */
    font-size: 1.5rem;
    color: white;
    transform: rotate(-10deg);
}

.wcu-content {
    flex: 1;
}

.wcu-list {
    margin-bottom: 3rem;
}

.wcu-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.wcu-list i {
    color: var(--color-electric-blue);
    margin-top: 5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--color-electric-blue);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   8. Process Section
   ========================================================================== */
.process {
    padding: var(--section-padding);
    text-align: center;
}

.process .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
    gap: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(6, 26, 46, 0.2) 50%, transparent 50%);
    background-size: 10px 100%;
    z-index: 1;
}

.timeline-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    border: 2px solid var(--color-electric-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--color-deep-navy);
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--color-electric-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    border: 3px solid var(--color-white);
}

.timeline-step h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.timeline-step p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ==========================================================================
   9. Testimonials Section
   ========================================================================== */
.testimonials {
    padding: var(--section-padding);
}

.testi-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.testi-info {
    flex: 0 0 300px;
}

.rating {
    margin-top: 2rem;
}

.stars {
    color: #FFB800;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.rating p {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.rating span {
    color: var(--text-muted);
}

.testi-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.testi-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.testi-card {
    flex: 0 0 calc(50% - 1rem);
    background-color: var(--color-midnight-blue);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(45, 156, 255, 0.2);
    position: absolute;
    top: 30px;
    left: 30px;
}

.testi-card p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.testi-author h5 {
    font-size: 1rem;
}

.testi-author i {
    font-size: 1.5rem;
}
.fa-google {
    color: #4285F4;
}

.carousel-controls {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background-color: var(--color-electric-blue);
    border-color: var(--color-electric-blue);
}

/* ==========================================================================
   10. Recent Projects
   ========================================================================== */
.projects {
    padding: var(--section-padding);
}

.projects .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    grid-template-rows: 400px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 26, 46, 0.9) 0%, transparent 50%);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 0.9;
}

.gallery-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.view-project {
    margin-top: 15px;
    display: inline-block;
    color: var(--color-supporting-blue);
    font-weight: 600;
    font-size: 0.875rem;
}

/* ==========================================================================
   11. CTA Section
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background: var(--neo-bg);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
footer {
    background-color: var(--color-deep-navy);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col-1 .logo {
    margin-bottom: 20px;
    display: block;
}

.footer-col-1 p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-links a:hover {
    background-color: var(--color-electric-blue);
    color: white;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 25px;
    color: white;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a, .footer-col li {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.footer-col a:hover {
    color: var(--color-supporting-blue);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info i {
    color: var(--color-electric-blue);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Page Header for subpages */
.page-header {
    padding: 120px 0 80px;
    background-color: var(--color-deep-navy);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.page-content {
    padding: var(--section-padding);
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */

/* Laptop / Small Desktop */
@media (max-width: 1399px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 300px 300px;
    }
}

/* Tablet */
@media (max-width: 1023px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero::before {
        width: 100%;
        opacity: 0.4;
    }
    
    .hero::after {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-card {
        display: none;
    }
    
    .services-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .services-nav {
        width: 100%;
    }
    
    .wcu-wrapper {
        flex-direction: column;
    }
    
    .testi-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testi-carousel {
        width: 100%;
    }
    
    .projects .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .top-bar-info span:not(:first-child) {
        display: none;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-midnight-blue);
        flex-direction: column;
        padding: 30px;
        clip-path: circle(0 at 100% 0);
        transition: clip-path 0.5s ease-in-out;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .nav-links .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.05);
        transform: none;
        margin-top: 10px;
        display: none;
    }
    
    .nav-links .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav .btn-primary {
        display: none; /* Hide header CTA on mobile, moved to menu */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline::before {
        top: 0;
        bottom: 0;
        left: 40px;
        width: 2px;
        height: auto;
        background-image: linear-gradient(to bottom, rgba(6, 26, 46, 0.2) 50%, transparent 50%);
        background-size: 100% 10px;
    }
    
    .timeline-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .step-icon {
        margin: 0;
        flex: 0 0 80px;
    }
    
    .testi-track {
        flex-direction: column;
    }
    
    .testi-card {
        flex: 0 0 100%;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   14. Marquee Component
   ========================================================================== */
.marquee-container {
    background-color: var(--color-electric-blue);
    color: var(--color-white);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); }
}


/* ==========================================================================
   16. Aesthetic Overhaul (Neo, Glass, Brutalist)
   ========================================================================== */

/* Neomorphism (Dark Base) */
:root {
    --neo-bg: #14171a;
    --neo-shadow-light: rgba(255, 255, 255, 0.05);
    --neo-shadow-dark: rgba(0, 0, 0, 0.5);
    --brutal-accent: #0b2945;
    --brutal-accent-2: var(--color-electric-blue);
}

body {
    background-color: var(--neo-bg);
}

.neo-card {
    background: var(--neo-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow:  10px 10px 20px var(--neo-shadow-dark),
             -10px -10px 20px var(--neo-shadow-light);
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.02);
    transition: all 0.3s ease;
}

.neo-inset {
    background: var(--neo-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: inset 5px 5px 10px var(--neo-shadow-dark),
            inset -5px -5px 10px var(--neo-shadow-light);
}

.neo-button {
    background: var(--neo-bg);
    border-radius: 50px;
    padding: 15px 30px;
    color: var(--brutal-accent-2);
    font-weight: bold;
    box-shadow:  5px 5px 10px var(--neo-shadow-dark),
             -5px -5px 10px var(--neo-shadow-light);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neo-button:hover {
    box-shadow: inset 5px 5px 10px var(--neo-shadow-dark),
            inset -5px -5px 10px var(--neo-shadow-light);
    color: var(--brutal-accent);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: var(--color-white);
}

.glass-header {
    background: rgba(20, 23, 26, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Brutalism */
.brutal-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -1px;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-white);
    margin-bottom: 20px;
}

.brutal-heading span {
    color: var(--color-white);
    -webkit-text-stroke: 0;
}

.brutal-border {
    border: 4px solid var(--brutal-accent-2);
    box-shadow: 8px 8px 0 var(--brutal-accent);
    transition: transform 0.2s;
}

.brutal-border:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 var(--brutal-accent);
}

/* Dynamic Grids */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.bento-wide {
    grid-column: 1 / -1;
}

.page-content.section-light {
    background-color: transparent !important;
    color: var(--color-white) !important;
}


[data-component="header"] { display: contents; }

/* ==========================================================================
   17. Services Carousel Override
   ========================================================================== */

.service-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: rgba(20, 23, 26, 0.5); /* Glass backing */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.service-carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-services 30s linear infinite;
}

.service-carousel-track:hover {
    animation-play-state: paused;
}

.service-tile.neo-card {
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-tile.neo-card i {
    font-size: 3rem;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.service-tile.neo-card:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 30px var(--neo-shadow-dark),
               -15px -15px 30px var(--neo-shadow-light);
}

.service-tile.neo-card:hover i {
    color: var(--brutal-accent-2);
}

@keyframes scroll-services {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

/* ==========================================================================
   18. Brutalist Accordion
   ========================================================================== */

.brutal-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.accordion-item {
    background: var(--neo-bg);
    border: 3px solid rgba(255,255,255,0.1);
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 40px;
}

.accordion-number {
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-white);
    line-height: 1;
    transition: all 0.4s ease;
}

.accordion-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    transition: color 0.4s ease;
}

.accordion-content {
    margin-top: 30px;
    margin-left: 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.accordion-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.accordion-item:hover, .accordion-item.active {
    height: 200px;
    border-color: var(--brutal-accent-2);
    box-shadow: 10px 10px 0 var(--brutal-accent);
    transform: translate(-5px, -5px);
}

.accordion-item:hover .accordion-number, .accordion-item.active .accordion-number {
    color: var(--brutal-accent-2);
    -webkit-text-stroke: 0;
}

.accordion-item:hover .accordion-content, .accordion-item.active .accordion-content {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .accordion-item:hover, .accordion-item.active {
        height: 250px;
    }
    .accordion-title {
        font-size: 1.5rem;
    }
    .accordion-content {
        margin-left: 0;
    }
}

/* ==========================================================================
   19. Snap Carousel (Process Section)
   ========================================================================== */

.snap-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    margin-top: 50px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--brutal-accent-2) transparent;
}

.snap-carousel::-webkit-scrollbar {
    height: 8px;
}

.snap-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.snap-carousel::-webkit-scrollbar-thumb {
    background: var(--brutal-accent-2);
    border-radius: 4px;
}

.snap-item {
    scroll-snap-align: start;
    flex: 0 0 calc(80% - 30px);
    max-width: 400px;
    background: var(--neo-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.snap-item:hover {
    border-color: var(--brutal-accent-2);
    transform: translateY(-5px);
}

.snap-number {
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-white);
    line-height: 0.8;
}

.snap-item h4 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin: 0;
}

.snap-item p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

@media (min-width: 1024px) {
    .snap-item {
        flex: 0 0 calc(25% - 22.5px);
        max-width: none;
    }
}

/* Override for Testimonials Auto-scroll */
.testi-carousel {
    overflow: hidden;
    width: 100%;
}

.testi-track {
    display: flex !important;
    flex-direction: row !important;
    width: max-content;
    gap: 2rem;
    animation: scroll-testi 40s linear infinite;
}

.testi-track:hover {
    animation-play-state: paused;
}

.testi-card {
    flex: 0 0 500px !important;
    max-width: 500px;
}

@keyframes scroll-testi {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

@media (max-width: 768px) {
    .testi-card {
        flex: 0 0 350px !important;
        max-width: 350px;
    }
}

/* ==========================================================================
   20. Certifications & Warranties
   ========================================================================== */

.certs-section {
    padding: var(--section-padding);
}

.certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.cert-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cert-column-header {
    font-size: 2.5rem;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 20px;
}

.cert-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex-grow: 1;
}

.cert-card {
    background: var(--neo-bg);
    padding: 40px 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 10px 10px 30px var(--neo-shadow-dark), -10px -10px 30px var(--neo-shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.cert-card:hover {
    transform: translateY(-10px);
    border-color: var(--brutal-accent-2);
    box-shadow: 15px 15px 40px var(--neo-shadow-dark), -15px -15px 40px var(--neo-shadow-light);
}

.cert-badge {
    height: 180px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.cert-card h4 {
    color: var(--color-white);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.cert-card:hover h4 {
    color: var(--brutal-accent-2);
}

.cert-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .certs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cert-cards-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   21. Visual Services Grid
   ========================================================================== */

.services-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding-bottom: 40px; /* Space for stagger */
}

/* Stagger middle column on desktop for a premium layout */
@media (min-width: 1025px) {
    .services-img-grid .service-img-card:nth-child(3n+2) {
        transform: translateY(40px);
    }
    .services-img-grid .service-img-card:nth-child(3n+2):hover {
        transform: translateY(30px);
    }
}

.service-img-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    box-shadow: 10px 10px 30px var(--neo-shadow-dark), -10px -10px 30px var(--neo-shadow-light);
    border: 2px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-img-card:hover {
    transform: translateY(-10px);
    border-color: var(--brutal-accent-2);
    box-shadow: 15px 15px 40px var(--neo-shadow-dark), -15px -15px 40px var(--neo-shadow-light);
    z-index: 2;
}

.service-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-img-card:hover img {
    transform: scale(1.1);
}

.service-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 30px 30px;
    background: linear-gradient(to top, rgba(6, 26, 46, 1) 0%, rgba(6, 26, 46, 0.7) 40%, rgba(6, 26, 46, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.service-img-overlay h4 {
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.service-img-card:hover .service-img-overlay h4 {
    color: var(--brutal-accent-2);
}

.service-arrow {
    color: var(--color-white);
    font-size: 1.2rem;
    background: var(--brutal-accent);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-img-card:hover .service-arrow {
    background: var(--brutal-accent-2);
    transform: scale(1.15) rotate(-45deg);
}

@media (max-width: 1024px) {
    .services-img-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .services-img-grid {
        grid-template-columns: 1fr;
    }
    .service-img-card {
        height: 300px;
    }
}

/* ==========================================================================
   22. About Page Layout Overhaul
   ========================================================================== */

/* Diagonal Hero */
.about-hero-diagonal {
    position: relative;
    display: flex;
    min-height: 80vh;
    background-color: var(--color-deep-navy);
    overflow: hidden;
}

.about-hero-content {
    flex: 1;
    padding: 100px 5% 150px 10%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    z-index: 1;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.about-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-eyebrow {
    font-size: 1.2rem;
    color: var(--color-white);
    background: var(--brutal-accent-2);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 15px;
    display: inline-block;
    width: fit-content;
    border: 3px solid var(--brutal-accent);
    box-shadow: 5px 5px 0 var(--brutal-accent);
    margin-bottom: 25px;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0 var(--brutal-accent);
}

.about-hero-title span {
    color: var(--brutal-accent-2);
}

.about-hero-desc {
    color: var(--color-white);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
}

/* Mission & Results Banner */
.mission-banner {
    background-color: var(--color-midnight-blue);
    padding: 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 3;
    border-radius: 4px;
    box-shadow: 15px 15px 0 var(--brutal-accent);
    border: 4px solid var(--brutal-accent);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mission-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--brutal-accent-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brutal-accent-2);
    flex-shrink: 0;
}

/* 4-Column Features */
.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-col {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--brutal-accent-2);
    margin-bottom: 20px;
}

/* Dual CTA Banner */
.dual-cta-banner {
    background-color: var(--color-midnight-blue);
    padding: 80px 0;
}

.dual-cta-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 30px;
    align-items: center;
}

.cta-card-white {
    background: var(--color-white);
    padding: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 10px 10px 0 var(--brutal-accent);
    border: 2px solid var(--color-deep-navy);
}

.cta-card-icon {
    background: var(--brutal-accent-2);
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .about-hero-diagonal {
        flex-direction: column;
    }
    .about-hero-image-wrapper {
        position: relative;
        width: 100%;
        height: 400px;
        clip-path: none;
    }
    .mission-grid, .features-grid-4, .dual-cta-grid {
        grid-template-columns: 1fr;
    }
    .dual-cta-grid {
        gap: 40px;
    }
}

/* ==========================================================================
   23. Global Estimate Modal
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--neo-bg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--brutal-accent-2);
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group label {
    display: block;
    color: var(--color-white);
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--brutal-accent-2);
}

textarea.modal-input {
    resize: vertical;
    min-height: 100px;
}

.modal-submit {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    justify-content: center;
}


/* ==========================================================================
   Hide Scrollbar Globally
   ========================================================================== */
/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


/* Override Hero Background Image for About Page */
.about-hero::before {
    background: linear-gradient(to bottom, rgba(20, 23, 26, 0.7) 0%, rgba(20, 23, 26, 0.9) 100%), 
url('../assets/services/landmarkPRO-mdwewo-C01-detail-dml-e1729001577608.jpg') center/cover no-repeat !important;
}


/* Footer Bottom Layout */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-contact-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-contact-info span {
    display: flex;
    gap: 8px;
    align-items: center;
}
.footer-contact-info i {
    color: var(--color-electric-blue);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}




/* ==========================================================================
   Visual Services Carousel (Homepage)
   ========================================================================== */
.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px white;
}

.visual-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 20px 0;
}

.visual-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-services 40s linear infinite;
    align-items: flex-start;
}

.visual-carousel-track:hover {
    animation-play-state: paused;
}

.visual-service-card {
    position: relative;
    width: 350px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

/* Stagger every even card downwards to match the image layout */
.visual-service-card:nth-child(even) {
    margin-top: 40px;
}

.visual-service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.5);
}

.visual-service-card:hover:nth-child(even) {
    transform: translateY(30px); /* Adjust for the margin-top offset */
}

.visual-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 100px 30px 30px 30px;
    background: linear-gradient(to top, rgba(10, 25, 47, 1) 0%, rgba(10, 25, 47, 0.8) 40%, rgba(10, 25, 47, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.visual-service-overlay h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    max-width: 70%;
    line-height: 1.2;
}

.visual-service-arrow {
    width: 45px;
    height: 45px;
    background-color: #0d274d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.visual-service-card:hover .visual-service-arrow {
    background-color: #3b82f6;
}

@media (max-width: 768px) {
    .visual-service-card {
        width: 300px;
        height: 350px;
    }
}


/* Compact Why Choose Us Section */
.why-choose-us {
    padding: 60px 0 !important; /* Reduced from default 100px+ */
}

.wcu-wrapper {
    gap: 3rem !important; /* Reduced from 5rem */
}

.wcu-content .brutal-heading {
    font-size: 2.2rem !important; /* Reduced from larger default */
    margin-bottom: 15px !important;
}

.wcu-list {
    gap: 10px !important;
    margin-bottom: 25px !important;
}

.wcu-list li {
    font-size: 0.95rem !important;
}

.wcu-list li i {
    font-size: 1.1rem !important;
}

.stats-grid {
    gap: 15px !important;
}

.stats-grid .stat-item {
    padding: 15px !important; /* Reduced padding */
}

.stats-grid .stat-item h4 {
    font-size: 1.6rem !important; /* Reduced font size */
    margin-bottom: 5px !important;
}

.stats-grid .stat-item p {
    font-size: 0.85rem !important;
}


/* ==========================================================================
   Premium Certifications Section
   ========================================================================== */
.premium-certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
    pointer-events: none;
}

.glass-panel:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
}

.cert-badge-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-cert-badge {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.glass-panel:hover .premium-cert-badge {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 25px rgba(59, 130, 246, 0.4));
}

.premium-cert-content {
    position: relative;
    z-index: 1;
}

.premium-cert-content h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.premium-cert-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .premium-certs-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Background Images for Services and Contact Pages */
.services-hero {
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.5) 100%), 
                url('../assets/images/services-hero.png') center/cover no-repeat !important;
}

.contact-hero {
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.5) 100%), 
                url('../assets/images/contact-hero.png') center/cover no-repeat !important;
}

/* ==========================================================================
   Global Chatbot Widget (Screenshot Design)
   ========================================================================== */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chatbot-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--color-electric-blue);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.1);
    background-color: #2563eb;
}

.chatbot-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    height: 480px;
    background: #f9fafb;
    border: none;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: #1a202c;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2d3748;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border: 2px solid #1a202c;
    border-radius: 50%;
}

.chatbot-header-text h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.chatbot-header-text p {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
}

.chatbot-close-btn:hover {
    color: white;
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chat-message {
    max-width: 90%;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: #334155;
}

.bot-message {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    align-self: flex-start;
}

.chat-timestamp {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 8px;
    margin-left: 5px;
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.quick-reply-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #334155;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.quick-reply-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.qr-icon {
    font-size: 1.1rem;
}

.user-message {
    background: var(--color-electric-blue);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    max-width: 80%;
    margin-top: 15px;
}

.chatbot-footer {
    padding: 15px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--color-electric-blue);
    border-radius: 10px;
    padding: 12px 15px;
    color: #0f172a;
    font-size: 0.95rem;
}

.chat-input::placeholder {
    color: #94a3b8;
}

.chat-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.chat-send-btn {
    background: var(--color-electric-blue);
    color: white;
    border: none;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.chat-send-btn:hover {
    background: #0052cc;
}

@media (max-width: 480px) {
    .chatbot-window {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%; height: 100%;
        border-radius: 0;
        transform: translateY(100%);
    }
    
    .chatbot-window.active {
        transform: translateY(0);
    }
    .chatbot-button {
        bottom: 20px;
        right: 20px;
    }
}


