/* KASK Engineering - Premium Industrial Theme */

:root {
    --color-black: #0a0a0a;
    --color-dark-grey: #1a1a1a;
    --color-medium-grey: #2a2a2a;
    --color-white: #ffffff;
    --color-gold: #d4a017;
    --color-gold-hover: #b88a10;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.3s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.light-mode {
    --color-black: #ffffff;
    --color-dark-grey: #f4f4f5;
    --color-medium-grey: #e4e4e7;
    --color-white: #18181b;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    color: var(--color-gold);
}

.btn-premium {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: pointer;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-gold);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn-premium:hover {
    color: var(--color-black);
}

.btn-premium:hover::before {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding var(--transition-slow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 0.4rem 0;
}

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

.logo img {
    height: 75px;
    width: auto;
    transition: height var(--transition-slow);
    /* Smooth resize on scroll if needed later */
}

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

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/hero_bg.png') center/cover no-repeat;
    background-color: #111;
    /* Fallback */
    display: flex;
    align-items: center;
    padding: 100px 0;

    position: relative;
    overflow: hidden;

}

#shader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content */
}

.hero-content {
    max-width: 900px;
    opacity: 0;
    /* Animated in with GSAP */
    transform: translateY(30px);
    position: relative;
    z-index: 2;
    /* In front of shader */
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Services Grid */
.services {
    padding: 8rem 0;
    background: var(--color-black);
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x3 Layout */
    gap: 2rem;
    padding: 2rem 0;
}

.modern-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    /* Reduced padding */
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    /* Ensure full height */
    min-height: 180px;
    /* Reduced height */
    background: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Variant Styles */
.card-variant-default {
    background: var(--color-white);
    color: var(--color-dark-grey);
}

.card-variant-gold {
    background: linear-gradient(135deg, #d4a017 0%, #b88a10 100%);
    color: #000;
}

.card-variant-dark {
    background: var(--color-medium-grey);
    color: var(--color-white);
}

/* Content */
.card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-service-card h3 {
    font-size: 1.5rem;
    /* Slightly smaller heading */
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
    line-height: 1.2;
}

.card-link-text {
    margin-top: auto;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-link-text .arrow-icon {
    margin-left: 0.5rem;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.modern-service-card:hover .card-link-text .arrow-icon {
    animation: bounceRight 1s infinite alternate;
}

@keyframes bounceRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(5px);
    }
}

/* Floating Image/Icon */
.card-floating-img {
    position: absolute;
    right: -2rem;
    bottom: -2.5rem;
    width: 150px;
    height: 150px;
    object-fit: contain;
    opacity: 1;
    /* Controlled via color alpha */
    transition: all 0.4s ease-in-out;
    pointer-events: none;
    font-size: 9rem;
    /* Larger and bolder */
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.08);
    /* Default subtle dark */
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.05));
    /* Subtle depth */
}

/* White Icon on Gold Card for Contrast */
.card-variant-gold .card-floating-img {
    color: rgba(255, 255, 255, 0.3);
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
}

/* Gold Icon on Dark Card for Premium Feel */
.card-variant-dark .card-floating-img {
    color: rgba(212, 160, 23, 0.2);
}

.modern-service-card:hover .card-floating-img {
    transform: scale(1.15) rotate(5deg) translateX(5px) translateY(-5px);
    opacity: 1;
}

/* About Highlight Section */
.about {
    padding: 8rem 0;
    background: var(--color-dark-grey);
    overflow: hidden;
}

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

.about-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
    /* Slight zoom */
}

.about-content {
    padding: 2rem;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

/* Unified Reasons & Testimonials Section */
.unified-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--color-dark-grey), var(--color-black));
    overflow: hidden;
    position: relative;
    color: var(--color-white);
}

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

/* Left: Reasons Content */
.unified-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-transform: none;
}

.unified-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.reasons-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.reasons-list li i {
    color: var(--color-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Navigation Dots (Left side) */
.unified-controls {
    display: flex;
    gap: 0.8rem;
}

.control-dot {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 10px;
}

.control-dot.active {
    width: 40px;
    background: var(--color-gold);
}

/* Right: Testimonial Stack */
.unified-stack {
    position: relative;
    height: 450px;
    width: 100%;
}

.u-testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    color: var(--color-black);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(100px) scale(0.9);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.u-testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 10;
}



.u-stars {
    color: #f59e0b;
    /* Yellow/Gold for stars */
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.u-quote {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.u-quote i {
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.05);
    z-index: -1;
}

.u-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
}

.u-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-gold);
    /* Fallback */
    object-fit: cover;
}

.u-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.u-info span {
    font-size: 0.9rem;
    color: var(--color-dark-grey);
}

/* Decorative Background Blobs */
.unified-stack::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: 1rem;
    z-index: -1;
}

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

    .unified-stack {
        height: 400px;
    }
}

/* Industries Served */
.industries {
    padding: 8rem 0;
    background: var(--color-black);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.industry-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    /* Fixed height for consistent cards */
    border-radius: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.industry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-item:hover img {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s ease;
}

.industry-item:hover .industry-overlay {
    background: rgba(0, 0, 0, 0.6);
    /* Darker on hover */
    justify-content: center;
    align-items: center;
}

.industry-overlay h3 {
    font-size: 1.75rem;
    color: var(--color-white);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.industry-item:hover h3 {
    transform: translateY(-10px);
    color: var(--color-gold);
}

/* Decorative line on hover */
.industry-overlay::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease 0.1s;
}

.industry-item:hover .industry-overlay::after {
    width: 50px;
}

/* Brands Section */
.brands-section {
    padding: 6rem 0 1rem;
    background: var(--color-dark-grey);
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-separator {
    width: 100%;
    max-width: 600px;
    /* Controlled width like reference */
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 0 auto;
}

.brands-header {
    text-align: center;
    margin-bottom: 4rem;
}

.brands-header h2 {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    text-transform: none;
    /* Ensure normal case */
}

.brands-header .highlight {
    color: var(--color-white);
    font-weight: 700;
    font-size: 2.5rem;
    display: block;
    margin-top: 0.5rem;
}

.logo-slider-container {
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.logo-slider-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: scroll 30s linear infinite;
}

.logo-slider-track:hover {
    animation-play-state: paused;
}

.brand-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    background: var(--color-white);
    padding: 10px;
    border-radius: 8px;
    filter: none;
    /* Show real colors */
    transition: var(--transition-medium);
    opacity: 0.9;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2.5rem));
        /* Move half way (one set) */
    }
}

/* Footer */
.footer {
    padding: 1.5rem 0;
    background: var(--color-dark-grey);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo img {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: var(--color-gold);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.btn-theme-toggle:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

/* Specific Light Mode Overrides */
body.light-mode .hero {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../assets/hero_bg.png') center/cover no-repeat;
    background-color: #f4f4f5;
}

body.light-mode .hero p {
    color: rgba(0, 0, 0, 0.8) !important;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-link {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .nav-link:hover {
    color: var(--color-gold);
}

body.light-mode .industry-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%) !important;
}

body.light-mode .industry-item:hover .industry-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
}

body.light-mode .industry-overlay h3 {
    color: var(--color-white);
}

body.light-mode .about-content h2 {
    color: var(--color-black);
}

body.light-mode .about-content p {
    color: rgba(0, 0, 0, 0.8) !important;
}

body.light-mode .logo img {
    mix-blend-mode: multiply;
}

body.light-mode .unified-section {
    background: linear-gradient(to bottom, var(--color-dark-grey), var(--color-black));
}

body.light-mode .u-testimonial-card {
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .card-variant-dark {
    background: var(--color-medium-grey);
}

body.light-mode .brands-section {
    background: #e4e4e7;
}

body.light-mode .brand-logo {
    background: transparent;
    mix-blend-mode: multiply;
}

body.light-mode .brand-separator {
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
}

body.light-mode .brands-header h2 {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .unified-content p {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .reasons-list li {
    font-weight: 600;
}

body.light-mode .footer-contact p,
body.light-mode .footer-bottom {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .social-icon {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .card-link-text {
    color: var(--color-black);
}

body.light-mode .modern-service-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

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

    .reasons-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* simple mobile hide for now */
    }

    .industries-grid {
        height: auto;
    }

    .industry-item {
        height: 300px;
    }
}
/* --- Mobile Responsiveness --- */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--color-white);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 900px) {
    /* Navigation */
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    .nav-links.active {
        right: 0;
    }
    .nav-container .btn-premium {
        display: none; /* Hide Get Quote on mobile navbar to save space */
    }

    /* Typography & Hero */
    h1 { font-size: clamp(2rem, 8vw, 3rem); }
    h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .hero-content { padding: 0 1rem; }
    
    /* Layouts / Grids */
    .services-grid, .industries-grid {
        grid-template-columns: 1fr;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-content { padding-left: 0; }
    
    .unified-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-brand {
        margin: 0 auto;
    }
}


/* --- Clickable Footer Links --- */
.footer-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--color-gold) !important;
    transform: translateX(5px);
}

.footer-link i {
    color: var(--color-gold);
}


/* --- PREMIUM HERO SECTION OVERRIDES --- */
.hero {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    padding: 100px 0 !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

.hero-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 4rem !important;
    align-items: center !important;
    width: 100% !important;
}

.hero-content {
    max-width: none;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    text-align: left;
}



.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem) !important;
    line-height: 0.95 !important;
    margin-bottom: 2rem !important;
    font-weight: 700 !important;
    text-align: left !important;
}

.hero p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    font-size: 1.2rem !important;
    max-width: 600px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 3.5rem !important;
    line-height: 1.6 !important;
}

.hero-btns {
    display: flex !important;
    gap: 1.5rem !important;
    margin-bottom: 4rem !important;
    flex-wrap: wrap !important;
}

.btn-outline {
    display: inline-block !important;
    padding: 1.1rem 2.8rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.8rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    color: var(--color-white) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.85rem !important;
}

.btn-outline:hover {
    border-color: var(--color-gold) !important;
    background: rgba(212, 160, 23, 0.1) !important;
    color: var(--color-gold) !important;
}



/* Premium Visual Components */
.hero-visual {
    position: relative;
    display: block;
    opacity: 0;
    transform: translateX(30px);
}

.premium-visual-stack {
    position: relative !important;
    height: 450px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.glass-card {
    background: rgba(15, 15, 15, 0.7) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8) !important;
}

.service-info-card {
    padding: 2.5rem !important;
    width: 100% !important;
    max-width: 400px !important;
    position: relative !important;
    z-index: 5 !important;
}

.stats-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 2.5rem !important;
}

.stats-icon-box {
    padding: 1.25rem !important;
    background: rgba(212, 160, 23, 0.15) !important;
    border: 1px solid rgba(212, 160, 23, 0.2) !important;
    border-radius: 1.2rem !important;
    color: var(--color-gold) !important;
    font-size: 1.8rem !important;
}

.header-stats {
    text-align: right !important;
}

.stats-number {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--color-white) !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

.stats-caption {
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: var(--color-gold) !important;
    font-weight: 600 !important;
    margin-top: 0.4rem !important;
    opacity: 1 !important;
}

.stats-progress-section {
    margin-bottom: 2.5rem !important;
}

.progress-track {
    width: 100% !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 15px !important;
    margin-bottom: 1rem !important;
    overflow: hidden !important;
}

.progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, var(--color-gold), #ffeb3b) !important;
    border-radius: 15px !important;
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.4) !important;
}

.progress-details {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
}

.stats-mini-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
}

.mini-stat {
    padding: 1.2rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1.5rem !important;
}

.mini-val {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--color-white) !important;
    margin-bottom: 0.2rem !important;
}

.mini-lab {
    font-size: 0.6rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    opacity: 0.3 !important;
    font-weight: 600 !important;
}

.floating-badge-top {
    position: absolute !important;
    top: -15px !important;
    right: -10px !important;
    padding: 0.8rem 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    z-index: 10 !important;
    border: 1px solid rgba(212, 160, 23, 0.3) !important;
    background: rgba(10, 10, 10, 0.9) !important;
}

.pulse-dot {
    width: 10px !important;
    height: 10px !important;
    background: var(--color-gold) !important;
    border-radius: 50% !important;
}

.trust-badge-bottom {
    position: absolute !important;
    bottom: -30px !important;
    left: -30px !important;
    padding: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
    z-index: 10 !important;
}

.avatar-group {
    display: flex !important;
}

.avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid #111 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    margin-right: -12px !important;
    color: var(--color-gold) !important;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .hero-content {
        text-align: center !important;
    }
    .hero h1 { text-align: center !important; }
    .hero p { margin: 0 auto 3rem !important; text-align: center !important; }
    .hero-btns { justify-content: center !important; margin-bottom: 2rem !important; }
    .hero-trust { justify-content: center !important; }
    
    .hero-visual { 
        display: block !important; 
        margin-top: 1rem !important;
        transform: translateY(-20px) !important; /* Pull card up */
        opacity: 1 !important; 
        width: 100% !important;
    }
    
    .service-info-card {
        padding: 1.5rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .premium-visual-stack {
        height: auto !important;
        min-height: 300px !important;
    }
}


/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite !important;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite !important;
}

.icon-spin-slow {
    animation: spin-slow 12s linear infinite !important;
    display: inline-block;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse-dot 2s infinite;
    top: 0;
    left: 0;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}


.card-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.info-item i {
    font-size: 0.8rem;
    opacity: 0.9;
}
