/* Fix: Career Section Text Visibility */
.career-highlight-section {
    color: #fff;
}

.career-highlight-section h4 {
    color: #677888 !important;
}

.career-highlight-section p,
.career-highlight-section a {
    color: #0d0c0c !important;
}

.career-highlight-section a.btn {
    background-color: #fac400 !important;
    color: #000 !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 40px;
    margin-top: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border: none;
}


.career-highlight-section a.btn:hover {
    background-color: #ffe082 !important;
    color: #222 !important;
}

:root {
    --primary-color: #00AEEF;
    --primary-hover: #0088CC;
    --secondary-accent: #fac400;
    --secondary-color: #1f2021;
    --dark-bg: #0b0b0b;
    --light-bg: #f5f5f5;
    --text-main: #000000;
    --text-muted: #333333;
    --text-white: #FFFFFF;
    --transition-fast: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    --transition-normal: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

/* Base Styles */
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,

h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

a {
    transition: var(--transition-fast);
    text-decoration: none;
    will-change: transform, opacity;
}



/* Navbar Navigation */
.navbar {
    padding: 0.8rem 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    background-color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backface-visibility: hidden;
}

.navbar-transparent:not(.scrolled) {
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.navbar-transparent:not(.scrolled) .nav-link {
    color: var(--text-white) !important;
}

.navbar-transparent:not(.scrolled) .btn-contact {
    border-color: rgba(255, 255, 255, 0.5) !important;
}





.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: var(--text-white) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 150, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--text-main) !important;
}

/* EYE-CATCHING LOGO VISIBILITY - Base rules */
.navbar-brand img {
    height: 80px !important;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On transparent backgrounds, invert logo to white EXCEPT for Insights */
.navbar-transparent:not(.scrolled):not(.navbar-insights) .navbar-brand img {
    filter: brightness(0) invert(1) !important;
}

/* On Insights, keep logo dark for the white part of the hero */
.navbar-insights:not(.scrolled) .navbar-brand img {
    filter: brightness(0) !important;
    /* Force black for white hero section */
}

/* Scrolled state sizing */
.navbar.scrolled .navbar-brand img {
    height: 60px !important;
}

h2 {
    color: #677888;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, letter-spacing 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    letter-spacing: 1px;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.4);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    border-radius: 50px;
    padding: 12px 28px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
}

.btn-contact:hover {
    background-color: var(--primary-hover);
    color: var(--text-white) !important;
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.4);
}

/* --- LIGHT HERO NAVBAR OVERRIDES --- */
.navbar-light-bg:not(.scrolled) .nav-link {
    color: var(--text-main) !important;
}

.navbar-light-bg:not(.scrolled) .navbar-brand img {
    filter: brightness(0) !important;
}

.navbar-light-bg:not(.scrolled) .btn-contact {
    border-color: var(--primary-color) !important;
}

.navbar-light-bg:not(.scrolled) .navbar-toggler-icon {
    filter: brightness(0) !important;
}

/* --- CUSTOM NAV SLANT FOR INSIGHTS PAGE --- */
.navbar-insights:not(.scrolled) {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Slanted Dark Background for Navigation Menu area */
.navbar-insights:not(.scrolled)::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    /* Cover most of the bar */
    height: 100px;
    background: #0b1a2a !important;
    /* Deep Navy */
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
    transition: transform 0.4s ease, opacity 0.4s ease, width 0.4s ease;
    pointer-events: none;
}

/* Ensure links are white on the dark slant */
.navbar-insights:not(.scrolled) .nav-link {
    color: var(--text-white) !important;
}

/* Mobile Navbar: ensure transparent nav becomes dark on small screens and collapsed menu is a dark sheet */
@media (max-width: 991.98px) {
    .navbar-insights:not(.scrolled) {
        background-color: var(--dark-bg) !important;
    }

    .navbar-insights:not(.scrolled) .nav-link {
        color: var(--text-white) !important;
    }

    .navbar-insights:not(.scrolled)::before {
        display: none !important;
    }

    .navbar.navbar-transparent:not(.scrolled) {
        background-color: var(--dark-bg) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navbar.navbar-transparent:not(.scrolled) .navbar-collapse {
        background-color: var(--dark-bg) !important;
    }

    .navbar.navbar-transparent:not(.scrolled) .nav-link {
        color: var(--text-white) !important;
    }

    .navbar.navbar-transparent:not(.scrolled) .navbar-toggler-icon {
        filter: invert(1) !important;
    }

    .navbar.navbar-transparent:not(.scrolled) .navbar-brand img {
        filter: brightness(0) invert(1) !important;
    }

    /* Stronger mobile collapse override: make opened collapse a fixed dark sheet */
    .navbar.navbar-transparent:not(.scrolled) .navbar-collapse.show {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 100vh !important;
        background: var(--dark-bg) !important;
        z-index: 2500 !important;
        padding-top: 80px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .navbar.navbar-transparent:not(.scrolled) .navbar-collapse.show .nav-link {
        color: var(--text-white) !important;
    }

    .navbar.navbar-transparent:not(.scrolled) .navbar-collapse.show .btn-contact {
        color: var(--text-white) !important;
        background: var(--primary-color) !important;
    }

    /* ensure toggler (X) is white on dark sheet */
    .navbar.navbar-transparent:not(.scrolled) .navbar-toggler {
        color: var(--text-white) !important;
    }
}

/* Stronger mobile collapse override: make opened collapse a fixed white sheet */
@media (max-width: 991.98px) {
    .navbar.navbar-transparent:not(.scrolled) .navbar-collapse.show {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 2500 !important;
        padding-top: 80px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .navbar.navbar-transparent:not(.scrolled) .navbar-collapse.show .nav-link {
        color: var(--text-main) !important;
    }

    .navbar.navbar-transparent:not(.scrolled) .navbar-collapse.show .btn-contact {
        color: var(--text-main) !important;
        background: var(--primary-color) !important;
    }

    /* ensure toggler (X) is dark on white sheet */
    .navbar.navbar-transparent:not(.scrolled) .navbar-toggler.collapsed {
        color: var(--text-main) !important;
    }
}

/* General Navbar Overrides for better stacking */
.navbar-insights .container {
    position: relative;
    z-index: 10 !important;
}

/* Adjust contact button shadow on dark background */
.navbar-insights:not(.scrolled) .btn-contact {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Adjust contact button shadow on dark background */
.navbar-insights:not(.scrolled) .btn-contact {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background-image: url('../img/5076404.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-white);
    margin-top: 0;
    /* Remove offset for transparent overlap */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Service Cards (Grid) */
.services-section {
    background-color: var(--light-bg);
}

.image-service-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.image-service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

/* Image overlay setup */
.image-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
    z-index: 1;
}

/* Inner frame on hover */
.image-service-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0);
    z-index: 3;
    transition: var(--transition-normal);
    pointer-events: none;
}

.image-service-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    z-index: 2;
}

/* On hover changes */
.image-service-card:hover::after {
    background: rgba(0, 174, 239, 0.85);
    /* Cyan overlay */
}

.image-service-card:hover::before {
    border-color: rgba(255, 255, 255, 1);
}

.image-service-card:hover .image-service-card-image {
    transform: scale(1.1);
}

.image-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 174, 239, 0.3);
}

/* Industries Section */
.industry-section {
    position: relative;
    padding: 150px 0;
    color: var(--text-white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Technology Stack */
.tech-stack-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.tech-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Social Proof / Testimonials */
.testimonial-section {
    background: var(--secondary-color);
    color: var(--text-white);
}

.star-rating {
    color: #FFD700;
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--text-white);
    padding-top: 0px;
    padding-bottom: 0px;

}

.footer-logo {
    max-width: 180px;
    margin-bottom: 24px;
}

.footer-title {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    z-index: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--text-white);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* Hover Transform Effects */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.img-zoom-container {
    overflow: hidden;
    border-radius: inherit;
}

.img-zoom {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover {
    transform: scale(1.08);
}

.text-shift {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.text-shift:hover {
    transform: translateX(5px);
    color: var(--primary-color) !important;
}

.card-interactive {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    will-change: transform, box-shadow;
}

.card-interactive:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 174, 239, 0.25), 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Utils */
.text-cyan {
    color: var(--primary-color);
}

/* --- Services Overhaul (WhiteAuraX Style) --- */

/* 1. Split Hero Section */
.services-hero-tv {
    padding: 160px 0 100px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.services-hero-tv .hero-text-area {
    padding-right: 40px;
    z-index: 2;
    position: relative;
}

.services-hero-tv .hero-img-container {
    position: relative;
    z-index: 1;
}

.services-hero-tv .hero-curved-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 20px 20px 0 rgba(0, 174, 239, 0.1);
}

.services-hero-tv .hero-bg-cyan {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 300px;
    height: 300px;
    background: rgba(0, 174, 239, 0.05);
    border-radius: 50%;
    z-index: 0;
}

/* 2. Impact Section with Overlapping Images */
.impact-tv {
    background-color: #f8fbff;
    padding: 100px 0;
}

.img-overlap-container {
    position: relative;
    height: 450px;
    width: 100%;
}

.img-main {
    width: 80%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    z-index: 1;
    position: relative;
}

.img-sub {
    width: 60%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 2;
    border: 8px solid #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.floating-badge-tv {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border-left: 5px solid var(--primary-color);
}

/* 3. Service Hub Grid (Image Overlays) */
.service-hub-grid {
    padding: 80px 0;
}

.service-hub-card {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-hub-card .hub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.6s ease;
}

.service-hub-card .hub-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 34, 64, 0.4), rgba(11, 34, 64, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.service-hub-card h4 {
    color: #fff;
    font-weight: 700;
    margin: 0;
    font-size: 1.4rem;
    transition: all 0.4s ease;
}

.service-hub-card:hover .hub-img {
    transform: scale(1.1);
}

.service-hub-card:hover .hub-overlay {
    background: rgba(0, 174, 239, 0.85);
}

.service-hub-card:hover h4 {
    transform: scale(1.05);
}

/* 4. Why Section (Dark Blue) */
.why-tv {
    background-color: #0b2240;
    padding: 100px 0;
    color: #fff;
}

.why-icon-box {
    text-align: left;
    margin-bottom: 40px;
}

.why-icon-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.why-icon-box h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-icon-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 5. Detail Service Cards */
.service-details-tv {
    padding: 100px 0;
    background: #fdfdfd;
}

.detail-card-tv {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.detail-card-tv:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 174, 239, 0.15);
}

.detail-card-tv .card-img-top {
    height: 200px;
    object-fit: cover;
}

.detail-card-tv .card-body-tv {
    padding: 30px;
}

.detail-card-tv h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #0b2240;
}

.detail-card-tv p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.detail-card-tv .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-card-tv .feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #444;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-card-tv .feature-list li::before {
    content: "\F272";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 900;
}

.bg-cyan {
    background-color: var(--primary-color);
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 15px;
}

.heading-transform {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.heading-transform:hover {
    letter-spacing: 1.5px;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .navbar {
        background: var(--secondary-color) !important;
    }
}

.navbar-brand img,
.navbar-logo-img {

    width: auto;
}

/* WhiteAuraX Who We Are specific styles */

.hero-split {
    padding-top: 150px;
    padding-bottom: 100px;
    background-color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.hero-slant {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--primary-color);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    z-index: 0;
}

.hero-slant img {
    width: 75%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
    margin-right: 50px;
}

.tv-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

.tv-card-left-icon {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    padding-left: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-card-left-icon:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 45px rgba(0, 174, 239, 0.1);
    border-color: var(--primary-color);
}

.tv-card-left-icon .icon-wrapper {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;

    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.tv-card-top-icon {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    margin-top: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-card-top-icon:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 174, 239, 0.15);
}

.tv-card-top-icon .icon-wrapper {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--text-white);
    border: 2px solid rgba(0, 174, 239, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.15);
}

.tv-team-card {
    text-align: center;
}

.tv-team-card .team-img-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
}

.tv-team-card .team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-team-card:hover .team-img-wrapper img {
    transform: scale(1.1) rotate(2deg);
    border-color: var(--primary-color);
}

.tv-team-card .team-img-wrapper .share-btn {
    position: absolute;
    bottom: 0;
    left: 5px;
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.bg-tech-dark {
    background-color: var(--secondary-color);
    background-image: radial-gradient(circle at 80% 20%, rgba(0, 174, 239, 0.1) 0%, transparent 40%);
}

/* Testimonial Marquee */
.testimonial-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-marquee-track {
    display: inline-flex;
    gap: 24px;
    animation: marquee-scroll 60s linear infinite;
}

.testimonial-marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card-item {
    min-width: 380px;
    white-space: normal;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

.testimonial-card-item {
    display: flex;
    flex-direction: column;
}

.testimonial-marquee-wrapper {
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0b1a2a;
    /* Solid Deep Navy Background */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease-out;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

#preloader .preloader-logo {
    max-width: 250px;
    height: auto;
    animation: preloader-pulse 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 174, 239, 0.3));
}

@keyframes preloader-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Preloader animation removed in favor of logo pulse */


/* --- Homepage Redesign Styles --- */
.homepage-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.homepage-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 54, 75, 0.7);
    /* Dark teal overlay */
}

.homepage-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.homepage-hero-title {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.homepage-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #e0e0e0;
}

/* Insights Cards */
.insight-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.insight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(11, 10, 56, 0.95) 100%);
    transition: background 0.4s ease;
}

.insight-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 190, 240, 0.4) 10%, rgba(0, 190, 240, 0.95) 100%);
}

.insight-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: white;
    z-index: 2;
    transition: transform 0.4s ease;
}

.insight-card-hover-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    transition: all 0.4s ease;
    font-size: 0.85rem;
    line-height: 1.6;
}

.insight-card:hover .insight-card-hover-text {
    max-height: 150px;
    opacity: 1;
    margin-top: 15px;
}

/* Industries Masonry/Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    grid-auto-rows: 250px;
}

.industry-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 54, 75, 0.6);
    transition: background 0.3s ease;
}

.industry-card:hover::before {
    background: rgba(0, 190, 240, 0.85);
    /* Bright cyan overlay */
}

.industry-card::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.industry-card:hover::after {
    border-color: rgba(255, 255, 255, 0.9);
}

.industry-card h4 {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 1.25rem;
}

/* Specific grid spans */
.industry-card.span-2-col {
    grid-column: span 2;
}

/* Services Square Cards */
.service-sq-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.service-sq-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 54, 75, 0.4);
    transition: background 0.3s ease;
}

.service-sq-card:hover::before {
    background: rgba(0, 190, 240, 0.85);
    /* Bright cyan overlay */
}

.service-sq-card::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.service-sq-card:hover::after {
    border-color: rgba(255, 255, 255, 0.9);
}

.service-sq-card h5 {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 700;
    text-align: center;
}

/* Global Map */
.global-map-section {
    background-color: #0b2240;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
}

.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.4);
}


/* TV Feature Item Hover */
.tv-feature-item {
    cursor: pointer;
}

.tv-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #00bef0;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tv-feature-icon i {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-feature-item:hover .tv-feature-icon {
    background-color: #0b2240;
}

/* Default active state for items to match screenshot */
.tv-feature-item.active .tv-feature-icon {
    background-color: #0b2240;
}

.tv-feature-item.active .tv-feature-icon i {
    transform: rotate(180deg);
}

/* Technology Badge Premium Effect */
.tech-badge-premium {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    height: 64px;
    cursor: default;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
    margin: 5px;
}

.tech-badge-premium .icon-area {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.4s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.tech-badge-premium .icon-area i,
.tech-badge-premium .icon-area strong {
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: all 0.4s ease;
}

.tech-badge-premium .tech-label {
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.4s ease;
    white-space: nowrap;
}

/* Hover States matching NLP highlight */
.tech-badge-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 174, 239, 0.15);
    border-color: var(--primary-color);
}

.tech-badge-premium:hover .icon-area {
    background: var(--primary-color);
    border-right-color: transparent;
}

.tech-badge-premium:hover .icon-area i,
.tech-badge-premium:hover .icon-area strong {
    color: #ffffff !important;
}

.tech-badge-premium:hover .tech-label {
    color: var(--primary-color);
}

/* --- Services Fixes: Why Us Heading Contrast --- */
.why-tv h2 {
    color: #ffffff !important;
}

/* --- New Section: Contact Form Premium (Talk to Us) --- */
.talk-to-us {
    background-color: #ffffff;
    padding: 100px 0;
}

.talk-to-us .form-eyebrow {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-align: center;
    display: block;
}

.talk-to-us .main-heading {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 60px;
    font-family: 'DM Sans', sans-serif;
}

.talk-to-us .form-card-premium {
    padding: 20px;
    background: transparent;
}

.talk-to-us .img-joined-hands {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.talk-to-us .form-control-premium {
    background: #f2f2f2 !important;
    border: none !important;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #333;
    box-shadow: none !important;
}

.talk-to-us .form-control-premium::placeholder {
    color: #999;
}

.talk-to-us .form-control-premium:focus {
    background: #e9e9e9 !important;
}

.talk-to-us .btn-connect {
    background-color: #0b2240;
    color: #ffffff;
    width: 100%;
    padding: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 5px;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-size: 0.85rem;
}

.talk-to-us .btn-connect:hover {
    background-color: #1d3b4b;
    transform: translateY(-2px);
}

/* --- Animations & Keyframes --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Consolidated preloader styles moved to line 1026 */


.text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    background: linear-gradient(90deg, #00ccff 0%, #e3e9eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 190, 240, 0.2);
    font-size: 4rem;
    letter-spacing: -1px;
}

/* Hero Text Transformations & Reveal Animations */
.hero-title-styled {
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #00bef0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 190, 240, 0.2);
    font-size: 4rem;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .hero-title-styled {
        font-size: 2.8rem;
    }
}

.hero-animate-1 {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-animate-2 {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
}

.hero-animate-1,
.hero-animate-2 {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Specific Revamp */
.footer-heading {
    font-size: 1.1rem;
    color: #000 !important;
    margin-bottom: 25px !important;
}

.footer-links li a {
    color: #000 !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.1rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.social-icon.fb {
    background-color: #3b5998;
}

.social-icon.x {
    background-color: #000000;
}

.social-icon.yt {
    background-color: #ff0000;
}

.social-icon.ln {
    background-color: #0077b5;
}

/* Insight Cards & Customer Stories */
.insight-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border: none;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.insight-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.insight-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insight-card:hover .insight-img-wrapper img {
    transform: scale(1.1);
}

.insight-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color, #007bff);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.read-more-link {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #0056b3;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

.insight-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #222;
}

.insight-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Case Study Cards & Visual Overlays */
.case-study-card {
    position: relative;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.case-study-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 35%, rgba(10, 15, 30, 0.9) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.case-study-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.4s ease;
}

.case-study-card:hover img {
    transform: scale(1.15);
    filter: brightness(0.85);
}

.case-study-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 35px 25px;
    width: 100%;
    z-index: 2;
}

.case-study-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.case-study-category {
    color: var(--primary-color, #00bef0);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

/* Insights Overhaul Styles */
.insights-hero {
    background: #fff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.insights-hero-content {
    position: relative;
    z-index: 2;
}

.insights-hero-image-container {
    position: absolute;
    top: 0;
    right: -12%;
    width: 65%;
    height: 100%;
    z-index: 1;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    background: var(--primary-color, #00bef0);
}

.insights-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

.section-tagline {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.section-tagline .nav-arrow {
    width: 50px;
    height: 1.5px;
    background: var(--primary-color, #00bef0);
    position: relative;
}

.section-tagline .nav-arrow::after {
    content: "";
    position: absolute;
    left: 0;
    top: -4px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 8px solid var(--primary-color, #00bef0);
}

/* --- Overlapping Images & Brand Bar (Insights) --- */
.overlapping-images-container {
    position: relative;
    padding-bottom: 80px;
    padding-right: 80px;
}

.img-background-portrait {
    width: 85%;
    height: 580px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.img-foreground-landscape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 340px;
    object-fit: cover;
    border-radius: 4px;
    border: 12px solid #fff;
    z-index: 2;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1) !important;
}

.brand-vertical-bar {
    position: absolute;
    left: -30px;
    top: 0;
    width: 6px;
    height: 80px;
    background-color: var(--primary-color, #00bef0);
    border-radius: 0 0 4px 4px;
}

.tagline-arrow {
    display: inline-block;
    width: 35px;
    height: 2px;
    background-color: var(--primary-color, #00bef0);
    vertical-align: middle;
    margin-right: 12px;
    position: relative;
}

/* Recreating the dotted arrow prefix from the reference */
.tagline-arrow::after {
    content: "··· →";
    position: absolute;
    left: -45px;
    top: -12px;
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .overlapping-images-container {
        padding-bottom: 40px;
        padding-right: 40px;
        max-width: 500px;
        margin: 0 auto 50px;
    }

    .img-background-portrait {
        width: 100%;
        height: 450px;
    }

    .img-foreground-landscape {
        width: 80%;
        height: 220px;
    }

    .brand-vertical-bar {
        display: none;
    }

    .ps-lg-5 {
        padding-left: 0 !important;
    }
}

/* --- Career Page Modernization (WhiteAuraX) --- */

.career-hero {
    padding: 160px 0 100px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.career-hero .hero-main-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 30px 30px 0 rgba(0, 174, 239, 0.05);
}

@media (max-width: 991px) {
    .career-hero {
        padding: 140px 0 60px;
    }

    .career-hero .hero-main-img {
        height: 350px;
    }

    .life-wax-img-container {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

.career-hero .floating-circle {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.life-wax-section {
    padding: 100px 0;
    background: #f8fbff;
}

.life-wax-img-container {
    position: relative;
    padding-right: 50px;
}

.life-wax-img-container img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.life-wax-img-container::after {
    content: "";
    position: absolute;
    top: -30px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.life-wax-accent-bar {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 25px;
}

.benefit-card-wax {
    padding: 40px 30px;
    background: #fff;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.benefit-card-wax:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 174, 239, 0.15);
    border-color: var(--primary-color);
}

.benefit-icon-wax {
    width: 70px;
    height: 70px;
    background: rgba(0, 174, 239, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-card-wax:hover .benefit-icon-wax {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.gallery-grid-wax {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px 0;
}

.gallery-item-wax {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-wax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item-wax:hover img {
    transform: scale(1.15);
}

.gallery-overlay-wax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 174, 239, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.gallery-item-wax:hover .gallery-overlay-wax {
    opacity: 1;
}

.cta-career {
    background: linear-gradient(135deg, #0b2240 0%, #001530 100%);
    padding: 100px 0;
    color: #fff;
    border-radius: 30px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-career::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(0, 174, 239, 0.05);
    border-radius: 50%;
}

.contact-wax-section {
    padding: 100px 0;
}

.form-control-wax {
    border: none;
    border-bottom: 2px solid #eee;
    padding: 15px 0;
    border-radius: 0;
    background: transparent;
    transition: border-color 0.3s ease;
    margin-bottom: 30px;
}

.form-control-wax:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.submit-btn-wax {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.submit-btn-wax:hover {
    background: #0088CC;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.3);
}

/* --- CONTACT PAGE MODERNIZATION --- */
.contact-hero-wax {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero-wax .hero-img-box {
    position: relative;
    z-index: 2;
}

.contact-hero-wax .hero-img-box img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.contact-info-grid-wax {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.contact-method-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-method-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.method-icon-wax {
    width: 60px;
    height: 60px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.location-card-wax {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-card-wax:hover {
    box-shadow: 0 20px 50px rgba(0, 174, 239, 0.08);
    border-color: rgba(0, 174, 239, 0.2);
}

.location-card-wax::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 174, 239, 0.03) 100%);
    border-radius: 50% 0 0 0;
}

.flag-icon-wax {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.location-title-wax {
    color: #0b2240;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}

.location-details-wax {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.location-details-wax strong {
    color: #333;
}

.btn-email-now {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
}

.btn-email-now:hover {
    background: #0088CC;
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .contact-hero-wax {
        padding: 120px 0 60px;
        text-align: center;
    }

    .contact-hero-wax .hero-img-box {
        margin-top: 40px;
    }

    .contact-info-grid-wax {
        margin-top: 30px;
    }
}

/* --- Extra Small Mobile Footer & Mobile View Enhancements --- */
/* Additional responsive tweaks for forms and UI elements */
@media (max-width: 767.98px) {

    /* Form layout: stack columns and expand inputs */
    #indexContactForm .row,
    #contactForm .row {
        flex-direction: column !important;
    }

    #indexContactForm .col-md-6,
    #contactForm .col-md-6 {
        width: 100% !important;
        margin-bottom: 0.75rem;
    }

    .form-control-premium,
    .form-select,
    textarea.form-control-premium {
        width: 100% !important;
        margin-bottom: 0.75rem;
    }

    /* Buttons: larger tap targets */
    .btn-connect,
    .btn-primary {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
        min-height: 48px;
        cursor: pointer;
    }

    /* Ensure select elements expand to full width on mobile */
    .form-select {
        width: 100% !important;
        margin-bottom: 0.75rem;
        cursor: pointer;
    }

    .btn-connect:focus-visible,
    .btn-primary:focus-visible {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }

    /* Social icons: increase hit area */
    .site-footer .social-icon {
        width: 36px !important;
        height: 36px !important;
        padding: 6px;
    }

    /* Footer columns: full‑width stacked layout */
    .site-footer .col-lg-3,
    .site-footer .col-lg-2,
    .site-footer .col-lg-4 {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
        text-align: center;
    }

    .site-footer .footer-links {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {

    /* Global Section Padding Reduction for Mobile */
    .section-padding,
    .py-5 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    /* Typography Adjustments */
    h1,
    .display-3,
    .display-5,
    .display-6,
    .text {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    /* Hero Sections Fixes for Mobile */
    .hero-split,
    .insights-hero,
    .hero-tech {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
        text-align: center;
    }

    .hero-slant,
    .insights-hero-image-container,
    .hero-tech-image-container {
        position: relative !important;
        width: 100% !important;
        height: 250px !important;
        right: 0 !important;
        left: 0 !important;
        clip-path: none !important;
        border-radius: 12px;
        margin-bottom: 30px;
    }

    .hero-slant img {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 12px;
    }

    .talk-to-us .main-heading {
        font-size: 2rem !important;
    }

    /* Extra Small Mobile Footer */
    .site-footer {
        background: #fdfdfd !important;
        padding-top: 25px !important;
        padding-bottom: 10px !important;
        border-top: 2px solid var(--primary-color) !important;
    }

    /* Hide decorative diagonal panels on mobile to save space */
    .site-footer .position-absolute {
        display: none !important;
    }

    .site-footer .row {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .site-footer .col-lg-3,
    .site-footer .col-lg-2,
    .site-footer .col-lg-4 {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .site-footer img[alt="WhiteAuraX"] {
        height: 35px !important;
        margin: 0 auto 10px auto !important;
        display: block;
    }

    .site-footer .footer-heading {
        font-size: 14px !important;
        margin-bottom: 10px !important;
        color: var(--primary-color) !important;
    }

    /* Compact Links horizontally to save vertical space */
    .site-footer .footer-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 15px !important;
    }

    .site-footer .footer-links li {
        margin-bottom: 0 !important;
    }

    .site-footer .footer-links a,
    .site-footer p,
    .site-footer a {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* Compress Social Icons */
    .site-footer .d-flex.justify-content-start {
        justify-content: center !important;
        margin-top: 10px !important;
        gap: 10px !important;
    }

    .site-footer .social-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    .site-footer .pt-2.pb-1 {
        padding-top: 15px !important;
        margin-top: 15px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
}