@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    --glow-color: rgba(103, 160, 201, 0.5);
    --bg-white: #ffffff;
    --bg-subtle: #f8f9fa;
    /* Logo Theme Integration */
    --logo-dark: #221f20;
    --logo-green: #afd157;
    --logo-blue: #4fa6d7;

    --accent-blue: #323b60;
    --accent-blue-light: rgba(103, 160, 201, 0.1);
    --accent-green: #b0d141;
    --accent-green-light: rgba(174, 200, 88, 0.12);
    --text-pri: #181617;
    --text-main: #181617;
    --text-sec: #2d3748;
    --accent-green-highlight: #7a9c3b;
    --border-color: #e2e8f0;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-white);
    color: var(--text-pri);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* --- GLOBAL ICON STYLE --- */
i.fa,
i.fas,
i.fab,
i.far,
i.fa-solid,
i.fa-regular {
    color: var(--accent-green);
    transition: var(--transition);
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo img {
    height: 45px;
    border-radius: 4px;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: rgb(21, 27, 44);
    font-size: 18px;
    line-height: 20px;
    white-space: nowrap;
}

/* --- NAVIGATION --- */
.cyber-nav {
    position: fixed;
    top: 40px;
    /* Adjusted to sit below the fixed marquee */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0;
}

/* --- HAMBURGER BUTTON --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 1100;
}

.hamburger:hover {
    background: var(--accent-blue-light);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile-only quote (inside menu) hidden by default on desktop */
.nav-quote-mobile {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

/* --- DROPDOWN MENU --- */
.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
}

.nav-links li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0;
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-pri);
    font-size: 14px;
    border-bottom: 1px solid var(--bg-subtle);
}

.sub-menu a:hover {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    padding-left: 25px;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.cyber-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(103, 160, 201, 0.3);
}

.btn-primary:hover {
    background: #5587ac;
    box-shadow: 0 8px 25px rgba(103, 160, 201, 0.45);
    transform: scale(1.05);
    color: white;
}

.btn-outline {
    background: white;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue-light);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(67, 24, 255, 0.15);
}

/* --- BUTTON SHIMMER --- */
.cyber-btn {
    position: relative;
    overflow: hidden;
}

.cyber-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: none;
}

.cyber-btn:hover::after {
    left: 140%;
    transition: all 0.6s ease;
}

/* --- CAROUSEL --- */
.top-carousel {
    width: 100%;
    height: 70vh;
    margin-top: 115px;
    /* Stacked height of marquee and navigation */
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 600%;
    /* Extra item for seamless looping if needed, but 500% is fine for 5 items */
    height: 100%;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    width: 16.6666%;
    /* Exact 1/6th */
    flex: 0 0 16.6666%;
    /* Prevent shrinking or growing */
    height: 100%;
    position: relative;
    /* Opacity helps with transitions and hiding edge slivers */
    opacity: 0.5;
    transition: opacity 0.5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-fit: fill; */
    transition: transform 6s ease-out;
}

.carousel-slide.active img {
    animation: ken-burns 15s linear infinite alternate;
}

@keyframes ken-burns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15) translate(10px, -10px);
    }
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(50, 59, 96, 0.95) 0%,
            rgba(50, 59, 96, 0.8) 25%,
            rgba(50, 59, 96, 0.4) 50%,
            transparent 100%);
    z-index: 1;
}

@keyframes slide-v6 {

    0%,
    15% {
        transform: translateX(0);
    }

    20%,
    35% {
        transform: translateX(-20%);
    }

    40%,
    55% {
        transform: translateX(-40%);
    }

    60%,
    75% {
        transform: translateX(-60%);
    }

    80%,
    95% {
        transform: translateX(-80%);
    }

    100% {
        transform: translateX(0);
    }
}

.slide-caption {
    position: absolute;
    bottom: 25%;
    left: 10%;
    color: white;
    max-width: 750px;
    z-index: 10;
    text-align: left;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 0 40px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Vertical accent line */
    border-left: 2px solid var(--accent-green);
}

.carousel-slide.active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.caption-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--accent-green);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .caption-tag {
    transform: translateY(0);
    opacity: 1;
}

.slide-caption h3 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .slide-caption h3 {
    transform: translateX(0);
    opacity: 1;
}

.slide-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.7s 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .slide-caption p {
    transform: translateY(0);
    opacity: 1;
}

/* --- CAPTION METRICS --- */
.caption-details-box {
    margin-top: 35px;
    display: flex;
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .caption-details-box {
    opacity: 1;
    transform: translateY(0);
}

.caption-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.caption-metric:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.caption-metric i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.caption-metric span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* --- CAROUSEL CONTROLS BOTTOM --- */
.carousel-controls-bottom {
    position: absolute;
    bottom: 40px;
    left: 10%;
    right: 10%;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 20;
}

.carousel-counter {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    white-space: nowrap;
    opacity: 0.8;
}

.carousel-progress-container {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.carousel-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent-green);
    transition: width 0.1s linear;
}

.carousel-progress-bar.animate {
    width: 100%;
}

/* --- CAROUSEL NAVIGATION --- */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(103, 160, 201, 0.4);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
    left: 40px;
}

.carousel-nav.next {
    right: 40px;
}

/* --- MARQUEE --- */
.marquee-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    height: 40px;
    /* background: var(--bg-subtle); */
    background: #343b5d;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    contain: paint;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-v6 40s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 50px;
    font-size: 0.95rem;
    /* color: var(--text-pri); */
    color: #fff;
    font-weight: 500;
}

.marquee-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.marquee-item a:hover {
    color: white
}

.marquee-item i {
    color: var(--accent-green);
}

@keyframes marquee-v6 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- HERO --- */
.hero-v6 {
    display: flow-root;
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    z-index: 50;
}

/* Hero content handled below */

.hero-content-v6 h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.hero-content-v6 p {
    font-size: 1.1rem;
    color: var(--text-sec);
    margin-bottom: 30px;
}

/* --- GLASS CARD (Simplified) --- */
.glass-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    height: auto;
}

@keyframes gradient-border-pulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(103, 160, 201, 0.4);
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-white), var(--bg-white)) padding-box,
        linear-gradient(163deg, var(--accent-green), var(--accent-blue), var(--accent-green)) border-box;
    background-size: 200% auto;
    animation: gradient-border-pulse 3s linear infinite;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(103, 160, 201, 0.2);
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

/* --- SERVICE HERO ENHANCEMENTS --- */
.hero-section-main {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 249, 250, 0.95) 0%, rgba(248, 249, 250, 0.8) 40%, rgba(248, 249, 250, 0.4) 100%);
    z-index: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

/* --- WAVE DIVIDERS (Zomato-style) --- */
.wave-divider {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
    /* seal any sub-pixel gap */
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Sections that have waves should not add padding at the bottom —
   the wave takes up that visual space */
.hero-v6 {
    padding-bottom: 0;
}

.service-area {
    position: relative;
}

/* --- FOOTER --- */
footer {
    background: #363b58;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255);
}

footer .text-sec {
    color: rgba(255, 255, 255) !important;
}



.footer-logo {
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14.5px;
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.partner-badge i {
    font-size: 32px;
    color: var(--accent-blue);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px rgba(50, 59, 96, 0.2));
    animation: pulse-icon 3s infinite ease-in-out;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(50, 59, 96, 0.2));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(50, 59, 96, 0.4));
    }
}

.partner-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(50, 59, 96, 0.15);
    border-color: var(--accent-blue);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.reveal-up {
    transform: translateY(50px);
}

.reveal.reveal-down {
    transform: translateY(-50px);
}

.reveal.reveal-left {
    transform: translateX(50px);
}

.reveal.reveal-right {
    transform: translateX(-50px);
}

.reveal.reveal-zoom {
    transform: scale(0.9);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* --- STAGGERED REVEAL --- */
.stagger-container .reveal {
    transition-delay: calc(var(--stagger-delay, 0) * 0.15s);
}

/* --- DECORATIVE FLOATING --- */
@keyframes bfloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.floating-blob {
    position: absolute;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.2;
    border-radius: 50%;
    animation: bfloat 15s ease-in-out infinite;
}

/* --- TEXT GRADIENT ANIMATION --- */
.text-gradient {
    display: inline-block;
    background: linear-gradient(to right, #7fff00, #00ff8a, #00d2ff, #3a7bd5, #7fff00, #00ff8a, #00d2ff, #3a7bd5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    animation: gradient-flow 8s linear infinite;
    font-weight: 800;
}

/* Staggered wave flow for hero characters */
.hero-title .char.text-gradient {
    filter: drop-shadow(0 2px 10px rgba(0, 255, 138, 0.25));
    animation: gradient-flow 6s linear infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* --- HERO TITLE LETTER ANIMATION --- */
.hero-title .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.hero-title .char {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--char-index) * 0.02s);
}

.reveal.visible .hero-title .char {
    transform: translateY(0);
}

.hero-content-v6 {
    max-width: 900px;
    margin: -100px auto 0;
    position: relative;
    z-index: 1000;
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* --- PARTNER SLIDER --- */
.partner-slider {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    width: 100%;
}

.partner-slider::before,
.partner-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.partner-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white, transparent);
}

.partner-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white, transparent);
}

.partner-track {
    display: flex;
    width: calc(150px * 16);
    /* Logo width * total logos (original + duplicates) */
    animation: scroll 40s linear infinite;
    gap: 40px;
}

.partner-logo {
    width: 150px;
    flex-shrink: 0;
    /* filter: grayscale(1) opacity(0.6); */
    transition: var(--transition);
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-150px * 8 - 40px * 8));
    }

    /* Move by half the track (original set) */
}

/* --- TESTIMONIALS --- */
.testimonial-grid {
    /* Layout handled by Bootstrap row col */
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(103, 160, 201, 0.15);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--accent-green), var(--accent-blue)) border-box;
    transform: translateY(-5px);
}

.testimonial-card i.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--accent-blue-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.author-info h4 {
    font-size: 16px;
    margin: 0;
    color: var(--accent-blue);
}

.author-info span {
    font-size: 13px;
    color: var(--text-sec);
}


/* --- UTILITY GRID --- */
.grid-2-col {
    /* Layout handled by Bootstrap row col */
}

.hero-padding {
    padding-top: 180px;
}

/* =====================================================
   RESPONSIVE SYSTEM: 320px → 4K
   ===================================================== */

/* --- ≤ 992px : Tablet & Mobile – Show Hamburger --- */
@media (max-width: 992px) {

    /* Hamburger */
    .hamburger {
        display: flex;
    }

    .nav-quote-desktop {
        display: none;
    }

    /* Mobile nav panel – full-width row below logo/hamburger */
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.99);
        border-top: 1px solid var(--border-color);
        padding: 8px 0 16px;
    }

    .nav-links.open {
        display: flex;
        animation: navSlideDown 0.28s ease forwards;
    }

    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Every nav item – full width, centered text */
    .nav-links li {
        padding: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--bg-subtle);
        position: static;
        /* remove relative so sub-menu flows normally */
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    /* Links inside – block, centred */
    .nav-links>li>a,
    .nav-links>li>.dropdown-toggle {
        display: block;
        padding: 13px 20px;
        font-size: 15px;
        color: var(--text-pri);
        text-align: center;
        width: 100%;
    }

    /* Mobile sub-menu – accordion under Solutions */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--bg-subtle);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        min-width: unset;
        width: 100%;
        transition: max-height 0.35s ease, padding 0.25s ease;
    }

    .dropdown.open .sub-menu {
        max-height: 200px;
        padding: 4px 0;
        overflow-y: auto;
    }

    .sub-menu li {
        text-align: center;
    }

    .sub-menu a {
        padding: 10px 20px;
        font-size: 13.5px;
        text-align: center;
    }

    .sub-menu a:hover {
        padding-left: 20px;
        /* neutralise desktop indent */
    }

    /* Mobile-only Get a Quote link inside menu */
    .nav-quote-mobile {
        display: list-item;
        border-bottom: none !important;
        padding: 10px 0 4px !important;
    }



    /* Section padding */
    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }



    /* Carousel */
    .top-carousel {
        height: 55vh;
        margin-top: 115px;
    }

    /* Carousel nav arrows – smaller */
    .carousel-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-nav.prev {
        left: 12px;
    }

    .carousel-nav.next {
        right: 12px;
    }

    /* Carousel caption */
    .slide-caption {
        max-width: 70%;
        padding: 14px 18px;
    }

    .slide-caption h3 {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-content-v6 {
        max-width: 95%;
        padding: 35px 25px;
        margin-top: -120px;
    }

    .hero-content-v6 h1 {
        font-size: 2.2rem;
    }



    /* Grid 2 column stacking */
    /* Handled by Bootstrap */

    .hero-padding {
        padding-top: 120px !important;
    }

    /* Partner slider fade edges smaller */
    .partner-slider::before,
    .partner-slider::after {
        width: 80px;
    }
}

/* --- ≤ 768px : Mobile --- */
@media (max-width: 768px) {

    /* Marquee bar */
    .marquee-container {
        height: 35px;
        padding: 6px 0;
    }

    .marquee-item {
        font-size: 0.78rem;
        padding-right: 28px;
    }

    /* Nav */
    .cyber-nav {
        top: 35px;
        padding: 10px 4%;
    }

    .logo img,
    .logo img {
        height: 36px;
    }

    .brand-text {
        font-size: 1rem;
    }

    /* Carousel */
    .top-carousel {
        height: 45vh;
        margin-top: 95px;
    }

    .slide-caption {
        top: 10%;
        left: 4%;
        max-width: 85%;
        padding: 12px 14px;
    }

    .slide-caption h3 {
        font-size: 1rem;
    }

    .slide-caption p {
        font-size: 0.82rem;
        margin-top: 4px;
    }

    /* Hero */
    .hero-v6 {
        display: flow-root;
        padding: 0 0 60px;
    }

    .hero-content-v6 {
        margin-top: 25px;
        width: 94%;
        padding: 28px 20px;
    }

    .hero-content-v6 h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-content-v6 p {
        font-size: 0.95rem;
    }

    /* Hero buttons stacked */
    .hero-content-v6 [style*="display: flex; gap: 15px"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    /* Glass cards – remove fixed height on small screens */
    .glass-card {
        height: auto;
    }

    /* Footer */


    footer {
        padding: 50px 0 30px;
    }

    /* Partner slider fades off on very small */
    .partner-slider::before,
    .partner-slider::after {
        width: 40px;
    }

    /* Portfolio cards full-width */
    /* Handled by Bootstrap */

    .package {
        max-width: 100%;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 28px 20px;
    }

    /* Service cards – single column */

}

/* --- ≤ 480px : Small phones --- */
@media (max-width: 480px) {

    .container {
        padding: 0 14px;
    }

    /* Marquee visible on tiny - adjusted for fit */
    .marquee-container {
        display: block;
        height: 36px;
    }

    .marquee-item {
        font-size: 0.8rem;
    }

    .cyber-nav {
        top: 36px;
    }

    .top-carousel {
        margin-top: 125px;
        height: 38vh;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .logo img {
        height: 32px;
    }

    .slide-caption {
        top: 8%;
        max-width: 90%;
        padding: 10px 12px;
    }

    .slide-caption h3 {
        font-size: 0.9rem;
    }

    .slide-caption p {
        display: none;
        /* too cramped on 320 */
    }

    /* Carousel nav bubbles */
    .carousel-nav {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .carousel-nav.prev {
        left: 6px;
    }

    .carousel-nav.next {
        right: 6px;
    }

    .hero-content-v6 h1 {
        font-size: 1.5rem;
    }

    .hero-content-v6 {
        padding: 22px 16px;
        margin-top: 15px;
    }

    .cyber-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .hero-padding {
        padding-top: 100px !important;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .badge {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* --- ≤ 320px : Smallest devices --- */
@media (max-width: 320px) {
    .brand-text {
        font-size: 0.8rem;
    }

    .logo img {
        height: 28px;
    }

    .hero-content-v6 h1 {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .nav-links>li>a {
        font-size: 14px;
        padding: 11px 16px;
    }
}

/* --- ≥ 1400px : Large Desktop --- */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .cyber-nav {
        padding: 18px 6%;
    }

    .top-carousel {
        height: 75vh;
    }

    .hero-content-v6 h1 {
        font-size: 3.4rem;
    }
}

/* --- ≥ 1920px : Full HD / 2K --- */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .cyber-nav {
        padding: 18px 7%;
    }

    .nav-links a {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 3rem;
    }

    .top-carousel {
        height: 80vh;
    }

    .hero-content-v6 h1 {
        font-size: 3.8rem;
    }

    .glass-card {
        padding: 40px;
    }
}

/* --- ≥ 2560px : 4K / Ultra-Wide --- */
@media (min-width: 2560px) {
    .container {
        max-width: 2200px;
    }

    :root {
        font-size: 18px;
    }

    .cyber-nav {
        padding: 22px 8%;
    }

    .logo img {
        height: 58px;
    }

    .brand-text {
        font-size: 1.4rem;
    }

    .marquee-container {
        height: 52px;
    }

    .marquee-item {
        font-size: 1.1rem;
    }

    .cyber-nav {
        top: 52px;
    }

    .top-carousel {
        margin-top: 130px;
        height: 82vh;
    }

    .section-title h2 {
        font-size: 3.5rem;
    }

    .hero-content-v6 h1 {
        font-size: 4.5rem;
    }

    .partner-logo {
        width: 210px;
    }

    .package {
        max-width: 420px;
        height: 500px;
    }
}


/* --- PREMIUM NESTED PORTFOLIO CARDS --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    justify-items: center;
}

.package {
    width: 100%;
    max-width: 320px;
    height: 400px;
    background-color: var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0, 0, 0, 1);
    position: relative;
    padding: 2px;
    /* Set border thickness */
}

.package::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: linear-gradient(163deg, var(--accent-green), var(--accent-blue), var(--accent-green));
    background-size: 200% auto;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.package:hover::before {
    opacity: 1;
    animation: gradient-border-pulse 3s linear infinite;
}

.package:hover {
    box-shadow: 0px 0px 30px 1px rgba(103, 160, 201, 0.3);
}

.package2 {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 18px;
    transition: all 0.25s cubic-bezier(0, 0, 0, 1);
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.package2:hover {
    transform: scale(0.98);
}

/* Parallax image: slightly taller than its slot so translateY shifts don't expose gaps */
.package2 img {
    width: 100%;
    height: 75%;
    /* a bit taller than before to give parallax room          */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    transform: translateY(0);
    will-change: transform;
    /* promote to GPU layer for smooth animation               */
    transition: transform 0.05s linear;
    /* very short – we drive it on every scroll tick  */
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(103, 160, 201, 0.1);
    /* color: var(--text-sec); */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(103, 160, 201, 0.2);
    text-decoration: none !important;
}

.social-icon:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--accent-green);
    box-shadow: 0 5px 15px rgba(103, 160, 201, 0.4);
}

/* Specific Brand Colors on Hover (Optional, using site theme instead for consistency) */
/* 
.social-icon.facebook:hover { background: #3b5998; border-color: #3b5998; }
.social-icon.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.social-icon.instagram:hover { background: #e1306c; border-color: #e1306c; }
*/

.package2 .card-content {
    padding: 10px;
    text-align: left;
}

.package2 .text {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.package2 .loc {
    color: var(--accent-green);
    font-size: 13px;
    font-weight: 600;
}

/* --- FINAL UI REFINEMENTS --- */
.card-green-v6 {
    border-bottom: 4px solid var(--accent-green) !important;
}

.card-blue-v6 {
    border-bottom: 4px solid var(--accent-blue-vibrant) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #1e40af, #047857);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.siemens-logo {
    color: #009999 !important;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo-v6 {
    height: 50px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Ensure no hero title stacking */
.hero-title {
    display: block;
    width: 100%;
}

/* --- ANTIGRAVITY & GLASSMORPHISM EXTENSIONS --- */

.glass-morphism {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.antigravity-float {
    animation: floating-y 6s ease-in-out infinite alternate;
}

@keyframes floating-y {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

.title-reveal-shimmer {
    background: linear-gradient(90deg,
            var(--accent-blue) 0%,
            var(--accent-blue) 40%,
            #fff 50%,
            var(--accent-blue) 60%,
            var(--accent-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer-glow 4s linear infinite;
}

@keyframes shimmer-glow {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* --- Shimmer on highlighted text (runs continuously) --- */
.anim-shimmer-text {
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-green) 40%, var(--accent-blue) 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: nlp-text-shimmer 3.5s linear infinite;
    opacity: 1 !important;
    /* always visible, shimmer is CSS only */
}

@keyframes nlp-text-shimmer {
    to {
        background-position: 200% center;
    }
}

.liquid-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.liquid-highlight::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 8px;
    background: var(--accent-green-light);
    z-index: -1;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible .liquid-highlight::after {
    width: 100%;
}

.magnetic-wrap {
    display: inline-block;
}

/* Background Ornament Clusters */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue-light) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.4;
    transition: transform 0.2s linear;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-blue-light) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-green-light) 0%, transparent 70%);
}

.blob-3 {
    top: 40%;
    right: 20%;
    background: radial-gradient(circle, rgba(163, 191, 250, 0.1) 0%, transparent 70%);
}

/* --- CAROUSEL CUSTOM CONTROLS --- */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    transition: var(--transition);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.1);
    background-color: var(--accent-green) !important;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--accent-blue);
}

.carousel-indicators .active {
    background-color: var(--accent-green);
    width: 25px;
    border-radius: 10px;
}

/* --- BMS CAROUSEL HEIGHT STABILIZATION (Absolute Fix) --- */
.carousel-lock-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

#bmsCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

#bmsCarousel .carousel-inner,
#bmsCarousel .carousel-item {
    height: 100% !important;
}

#bmsCarousel .carousel-item {
    background: #000;
}

#bmsCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

@media (max-width: 991px) {
    .carousel-lock-container {
        height: 480px;
        min-height: 480px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .carousel-lock-container {
        height: 320px;
        min-height: 320px;
    }
}

/* --- QUOTE FORM CHECKBOXES --- */
.service-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.service-check-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.service-check-card:hover {
    background: var(--bg-white);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-check-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #eee;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-check-card:hover .checkmark {
    border-color: var(--accent-blue);
}

.service-check-card input:checked~.checkmark {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkmark:after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    font-size: 11px;
    display: none;
}

.service-check-card input:checked~.checkmark:after {
    display: block;
}

.service-check-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-sec);
    line-height: 1.2;
}

.service-check-card input:checked~.service-check-label {
    color: var(--accent-blue);
}

/* --- QUOTE FORM CHECKBOXES --- */
.service-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.service-check-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.service-check-card:hover {
    background: var(--bg-white);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-check-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #eee;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-check-card:hover .checkmark {
    border-color: var(--accent-blue);
}

.service-check-card input:checked~.checkmark {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkmark:after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    font-size: 11px;
    display: none;
}

.service-check-card input:checked~.checkmark:after {
    display: block;
}

.service-check-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-sec);
    line-height: 1.2;
}

.service-check-card input:checked~.service-check-label {
    color: var(--accent-blue);
}

/* --- ANNIVERSARY CELEBRATION --- */
.anniversary-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1200;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: float-badge 4s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition);
}

.anniversary-badge:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(103, 160, 201, 0.3);
}

.anniversary-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}


@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.anniversary-section {
    background: radial-gradient(circle at top left, rgba(175, 209, 87, 0.1), transparent 40%),
        radial-gradient(circle at bottom right, rgba(79, 166, 215, 0.1), transparent 40%),
        var(--bg-subtle);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.anniversary-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23323b60' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-icon {
    position: absolute;
    font-size: 5rem;
    opacity: 0.2;
    pointer-events: none;
    animation: float-icon var(--duration) ease-in-out infinite alternate;
}

@keyframes float-icon {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(20px, 30px) rotate(15deg);
    }
}


.anniversary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.milestone-counter {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue), #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
    animation: shimmer-text 3s linear infinite;
    filter: drop-shadow(0 10px 20px rgba(103, 160, 201, 0.2));
}

@keyframes shimmer-text {
    to {
        background-position: 200% center;
    }
}

.milestone-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* --- PREMIUM FIREWORKS --- */
.firework-launcher {
    position: absolute;
    bottom: -20px;
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0;
    animation: launch var(--duration) infinite var(--delay) ease-in;
    box-shadow: 0 0 10px #ffd700;
}

@keyframes launch {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(-400px) scale(1);
        opacity: 1;
    }

    80% {
        transform: translateY(-400px) scale(0);
        opacity: 0;
    }

    100% {
        transform: translateY(-400px) scale(0);
        opacity: 0;
    }
}

.firework-burst {
    position: absolute;
    bottom: 400px;
    /* Aligned with launch height */
    width: 0;
    height: 0;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0;
    animation: explode 2.5s infinite var(--delay) ease-out;
}

@keyframes explode {

    0%,
    70% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    72% {
        opacity: 1;
        transform: translate(0, 0) scale(1.5);
    }

    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}

.hero-anniversary-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, rgba(175, 209, 87, 0.15), rgba(79, 166, 215, 0.15));
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-blue);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.hero-anniversary-tag i {
    color: #ffd700;
    /* Gold */
}

@media (max-width: 991px) {
    .anniversary-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .milestone-counter {
        font-size: 6rem;
    }
}


/* --- MOBILE RESPONSIVENESS FIXES --- */
@media (max-width: 576px) {
    .anniversary-badge {
        width: 80px !important;
        height: 80px !important;
        bottom: 15px !important;
        right: 15px !important;
    }

    .milestone-counter {
        font-size: 4.5rem !important;
    }

    .hero-anniversary-tag {
        font-size: 12px !important;
        padding: 6px 15px !important;
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 2200px !important;
    }

    .hero-title {
        font-size: 5rem !important;
    }

    .milestone-counter {
        font-size: 12rem !important;
    }
}