/* Global Styles */
:root {
    /* Using a dark theme base */
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;

    /* Green and Red Palette - Premium Shades */
    --primary-green: #00dc82;
    /* Vibrant modern green */
    --primary-red: #ff3e3e;
    /* Vibrant modern red */

    --green-glow: rgba(0, 220, 130, 0.4);
    --red-glow: rgba(255, 62, 62, 0.4);

    --gradient-green: linear-gradient(135deg, #00dc82 0%, #00a862 100%);
    --gradient-red: linear-gradient(135deg, #ff3e3e 0%, #cc0000 100%);
    --gradient-mix: linear-gradient(90deg, #ff3e3e 0%, #00dc82 100%);

    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-mix);
    z-index: 9999;
    box-shadow: 0 0 10px var(--red-glow);
    transition: width 0.1s ease;
}

/* Global Photo Box Styles */
.photo-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    margin: 60px 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.photo-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.photo-box:hover {
    transform: scale(1.02);
    border-color: var(--primary-green);
    box-shadow: 0 30px 60px rgba(0, 220, 130, 0.2);
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-box:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.photo-box:hover .photo-overlay {
    transform: translateY(0);
}

.photo-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centered Inset */
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
    z-index: 10;
    transition: var(--transition);
    opacity: 0.8;
}

.photo-box:hover .photo-logo {
    transform: translate(-50%, -60%) scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(0, 220, 130, 0.6));
}

.photo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.photo-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .photo-box {
        order: -1;
        aspect-ratio: 16/9;
    }
    .photo-content h2 {
        font-size: 1.8rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    line-height: 1.2;
}

/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Shimmer Text Effect */
.shimmer-text {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.8) 50%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Reveal Variations */
.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-active-left, .reveal-active-right {
    transform: translateX(0);
}

/* Delay Utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Premium Shine Effect for any element */
.premium-shine {
    position: relative;
    overflow: hidden;
}

.premium-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.premium-shine:hover::after {
    left: 100%;
    top: 100%;
}

@media (max-width: 768px) {
    section {
        padding: 50px 0 !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utility */
.highlight-green {
    color: var(--primary-green);
    text-shadow: 0 0 20px var(--green-glow);
}

.highlight-red {
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--red-glow);
}

.text-gradient {
    background: var(--gradient-mix);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Page Header Utility */
.page-header {
    padding: 150px 0 80px;
    background: radial-gradient(circle at top right, rgba(0, 220, 130, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 62, 62, 0.1), transparent 40%);
    text-align: center;
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-green);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px var(--green-glow);
}

.btn-primary:hover,
.btn-primary.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--red-glow);
    background: var(--gradient-red);
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border-bottom: none;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    box-shadow: 0 4px 15px rgba(255, 62, 62, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 6px 20px var(--red-glow), 0 0 0 4px rgba(255, 62, 62, 0.2);
}

/* Header */
/* Futuristic Floating Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 8px 35px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    width: 95%;
    background: rgba(10, 10, 10, 0.85);
    top: 10px;
    padding: 8px 25px;
}

.header.nav-up {
    top: -150px !important;
    /* Move header up and out of view */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo-img {
    height: 140px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: -30px 0; /* Huge logo, slim bar */
    display: block;
    position: relative;
    z-index: 10;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Liquid Navigation */
.nav {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 5px;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* The Sliding Liquid Marker */
.nav-marker {
    position: absolute;
    left: 0;
    top: 5px;
    height: calc(100% - 10px);
    border-radius: 30px;
    background: var(--gradient-red);
    box-shadow: 0 0 20px var(--red-glow);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    /* Hidden initially until JS activates */
}

/* Nav Links */
.nav-link {
    position: relative;
    font-size: 0.95rem;
    color: var(--text-color);
    padding: 10px 25px;
    border-radius: 30px;
    transition: color 0.3s ease;
    z-index: 2;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    text-shadow: none !important;
}

.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link.active {
    color: #fff;
    font-weight: 600;
}

/* Contact Button Special Styling override */
.nav-link.btn-primary {
    background: var(--gradient-green) !important;
    color: #000 !important;
    box-shadow: 0 4px 15px var(--green-glow) !important;
    margin-left: 10px;
    padding: 10px 30px;
    z-index: 2;
}

.nav-link.btn-primary:hover {
    background: var(--gradient-red) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--red-glow) !important;
}


/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
/* Hero Section - Premium Overhaul */
/* Hero Section - Premium Overhaul */
/* Hero Section - Premium Overhaul */
/* Hero Section - Premium Abstract */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #050505;
}

/* Premium Animated Background */
.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 220, 130, 0.15), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 62, 62, 0.15), transparent 40%);
    animation: aurora 15s ease-in-out infinite alternate;
    z-index: 0;
}

/* Video Background */
/* Video Background Removed */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Start with a clean slate or subtle gradient if needed */
    background: radial-gradient(circle at center, rgba(0, 220, 130, 0.05), transparent 70%);
    z-index: 0;
}

@keyframes aurora {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(5deg) scale(1.1);
    }

    100% {
        transform: rotate(-5deg) scale(1.05);
    }
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.hero-content {
    text-align: left;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
}

.hero-3d-container {
    width: 100%;
    height: 500px;
    position: relative;
    cursor: grab;
    z-index: 10;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero-3d-container:active {
    cursor: grabbing;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Shimmer Text Effect */
.shimmer-text {
    background: linear-gradient(90deg,
            var(--primary-green) 0%,
            #fff 50%,
            var(--primary-green) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
    text-shadow: none;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px; /* Left align */
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .hero-subtitle {
        margin: 0 auto 40px; /* Center align */
    }
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    /* Left align */
    gap: 20px;
}

@media (max-width: 991px) {
    .hero-buttons {
        justify-content: center;
    }
}

/* Hero Visual Area */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero-img-main {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.hero-visual:hover .hero-img-main {
    transform: scale(1.02) rotateY(5deg);
}

/* Refined Glass Cards */
.glass-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 3;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card:first-child {
    top: 20%;
    left: 0;
    animation: floatCard 7s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: 0;
    animation: floatCard 6s ease-in-out 1s infinite;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.icon-float {
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background Glowing Orbs */
.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    transition: all 1s ease;
}

.orb-red {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    top: 10%;
    right: 10%;
    animation: pulseGlow 8s infinite alternate;
}

.orb-green {
    width: 400px;
    height: 400px;
    background: var(--primary-green);
    bottom: -10%;
    left: -10%;
    animation: pulseGlow 10s infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.icon-float {
    font-size: 1.5rem;
}

.glass-card:first-child .icon-float {
    color: var(--primary-green);
}

.card-2 .icon-float {
    color: var(--primary-red);
}

/* Services Section */


.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Premium Star Progress Tracker --- */
.star-tracker-container {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    height: 50vh;
    width: 4px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.star-tracker-container.visible {
    opacity: 1;
    pointer-events: auto;
}

.tracker-line-fill {
    position: absolute;
    top: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-green) 100%);
    box-shadow: 0 0 15px rgba(0, 220, 130, 0.4);
    border-radius: 20px;
    transition: height 0.1s ease-out;
}

.star-moving-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.1s ease-out;
}

.star-glow-effect {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(255, 50, 50, 0.28);
    border-radius: 50%;
    pointer-events: none;
    z-index: 8;
    animation: glowPulse 1.6s ease-in-out infinite;
    transition: background 0.4s ease;
}

@keyframes idle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    30% { transform: rotate(13deg) scale(1.12); }
    70% { transform: rotate(-11deg) scale(0.91); }
}

@keyframes goDown {
    0% { transform: rotate(-22deg) scale(1.3) translateY(-5px); }
    55% { transform: rotate(8deg) scale(0.88) translateY(2px); }
    100% { transform: rotate(0deg) scale(1) translateY(0); }
}

@keyframes goUp {
    0% { transform: rotate(22deg) scale(1.3) translateY(5px); }
    55% { transform: rotate(-8deg) scale(0.88) translateY(-2px); }
    100% { transform: rotate(0deg) scale(1) translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(2.2); opacity: 0.1; }
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}

.premium-star-svg {
    width: 32px;
    height: 32px;
    fill: url(#starGradient);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    animation: idle 2.2s ease-in-out infinite;
    transform-origin: center;
}


.star-hint {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: rotate(90deg) translateY(-50%);
    white-space: nowrap;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Syne', sans-serif;
    animation: hintPulse 2s ease-in-out infinite;
}

@media (max-width: 1100px) {
    .star-tracker-container {
        right: 20px;
        height: 40vh;
    }
}

@media (max-width: 768px) {
    .star-tracker-container {
        display: none;
    }
}

/* --- History Page Specific Styles --- */
.history-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.timeline-item {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 50px rgba(0, 220, 130, 0.15);
}

.timeline-date {
    font-family: 'Syne', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* --- Service Row Grid System --- */
.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
    transition: var(--transition);
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
}

.service-visual {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-accent-red::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 50px rgba(255, 62, 62, 0.2);
    pointer-events: none;
}

.visual-accent-green::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 50px rgba(0, 220, 130, 0.2);
    pointer-events: none;
}

.service-row:hover .service-visual {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-green);
    box-shadow: 0 40px 80px rgba(0, 220, 130, 0.2);
}

/* Feature List Styles */
.feature-list {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-list-red i { color: var(--primary-red); }
.feature-list-green i { color: var(--primary-green); }

/* --- Stats Boxes --- */
.stat-box {
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary-green) !important;
}

/* --- Responsive Overrides for New Components --- */
@media (max-width: 992px) {
    .service-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 60px;
    }
    
    .service-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-list {
        align-items: center;
    }
    
    .history-timeline {
        grid-template-columns: 1fr;
    }
    
    .stats-section div {
        gap: 20px !important;
    }
    
    .stat-box {
        width: 100% !important;
        max-width: 300px;
    }
}

/* Core Values Grid Styles (Global) */
.val-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.val-card {
    position: relative;
    border-radius: 18px;
    padding: 36px 24px 38px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111313;
    border: 1px solid #1c2020;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    text-align: center;
    animation: val-rise .7s cubic-bezier(.22, 1, .36, 1) forwards;
    transition: box-shadow .4s, border-color .4s;
}

.val-card:nth-child(1) { animation-delay: .06s; }
.val-card:nth-child(2) { animation-delay: .16s; }
.val-card:nth-child(3) { animation-delay: .26s; }
.val-card:nth-child(4) { animation-delay: .36s; }

@keyframes val-rise {
    from { opacity: 0; transform: perspective(900px) translateY(32px); }
    to { opacity: 1; transform: perspective(900px) translateY(0); }
}

.val-card:hover { box-shadow: 0 28px 72px rgba(0, 0, 0, .8); }

.val-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: linear-gradient(135deg, var(--a), transparent 55%);
    opacity: 0;
    z-index: -1;
    transition: opacity .4s;
}

.val-card:hover::before { opacity: 1; }

.val-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--a), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.val-card:hover .val-bar { transform: scaleX(1); }

.val-cn {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    z-index: 2;
}

.val-cn-tl {
    top: 12px;
    left: 12px;
    border-top: 1.5px solid var(--a);
    border-left: 1.5px solid var(--a);
    transform: translate(-4px, -4px);
}

.val-cn-br {
    bottom: 12px;
    right: 12px;
    border-bottom: 1.5px solid var(--a);
    border-right: 1.5px solid var(--a);
    transform: translate(4px, 4px);
}

.val-card:hover .val-cn { opacity: 1; transform: translate(0, 0); }

.val-shine {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    z-index: 5;
}

canvas.val-pts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity .4s;
}

.val-card:hover canvas.val-pts { opacity: 1; }

.val-icon-stage {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--ib);
    border: 1px solid var(--ab);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s, border-color .3s;
}

.val-card:hover .val-icon-stage {
    transform: translateY(-7px) scale(1.13);
    box-shadow: 0 14px 36px var(--ag);
    border-color: var(--a);
}

svg.val-ico { width: 32px; height: 32px; overflow: visible; }

.val-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: color .3s;
}

.val-card:hover .val-title { color: var(--a); }

.val-desc {
    font-size: .84rem;
    font-weight: 300;
    color: #4a5e50;
    line-height: 1.85;
    position: relative;
    z-index: 2;
    transition: color .3s;
}

.val-card:hover .val-desc { color: #88a090; }

/* Animation Keyframes for Specific Icons */
@keyframes val-bulb-glow { 0%, 100% { opacity: .15 } 50% { opacity: .45 } }
@keyframes val-bulb-bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
@keyframes val-ray-spin { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }
@keyframes val-filament-bright { 0%, 100% { opacity: .5 } 50% { opacity: 1 } }
.val-ico-bulb-g { animation: val-bulb-bob 2s ease-in-out infinite; }
.val-ico-bulb-fill { animation: val-bulb-glow 1.5s ease-in-out infinite; }
.val-ico-rays { animation: val-ray-spin 4s linear infinite; transform-origin: 16px 14px; }
.val-ico-filament { animation: val-filament-bright 1s ease-in-out infinite; }

@keyframes val-shake-shake { 0%, 100% { transform: rotate(0deg) } 20% { transform: rotate(-8deg) } 40% { transform: rotate(8deg) } 60% { transform: rotate(-5deg) } 80% { transform: rotate(3deg) } }
@keyframes val-pulse-ring-hs { 0% { r: 12; opacity: .5 } 100% { r: 22; opacity: 0 } }
@keyframes val-trust-star { 0%, 100% { opacity: 0; transform: scale(0) } 50% { opacity: 1; transform: scale(1) } }
.val-ico-hs-g { animation: val-shake-shake 2.2s ease-in-out infinite; transform-origin: 16px 16px; }
.val-ico-hs-ring { animation: val-pulse-ring-hs 2s ease-out infinite; }
.val-ico-hs-ring2 { animation: val-pulse-ring-hs 2s ease-out infinite .6s; }
.val-ico-ts1 { animation: val-trust-star 2s ease-in-out infinite .3s; }
.val-ico-ts2 { animation: val-trust-star 2s ease-in-out infinite .9s; }

@keyframes val-gem-spin { 0%, 100% { transform: rotate(0deg) scale(1) } 25% { transform: rotate(-8deg) scale(1.08) } 75% { transform: rotate(8deg) scale(1.08) } }
@keyframes val-gem-shine { 0%, 100% { opacity: 0 } 50% { opacity: .8 } }
@keyframes val-gem-sparkle { 0%, 100% { opacity: 0; transform: scale(0) } 50% { opacity: 1; transform: scale(1) } }
.val-ico-gem-g { animation: val-gem-spin 2.4s ease-in-out infinite; transform-origin: 16px 16px; }
.val-ico-gem-shine { animation: val-gem-shine 1.5s ease-in-out infinite; }
.val-ico-sp1 { animation: val-gem-sparkle 1.8s ease-in-out infinite .1s; }
.val-ico-sp2 { animation: val-gem-sparkle 1.8s ease-in-out infinite .6s; }
.val-ico-sp3 { animation: val-gem-sparkle 1.8s ease-in-out infinite 1.1s; }

@keyframes val-team-bounce { 0%, 100% { transform: translateY(0) } 33% { transform: translateY(-5px) } 66% { transform: translateY(-3px) } }
@keyframes val-person-l { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(-2px) } }
@keyframes val-person-r { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(2px) } }
@keyframes val-connect-line { 0%, 100% { opacity: .2 } 50% { opacity: .8 } }
@keyframes val-heart-pop { 0%, 100% { transform: scale(0); opacity: 0 } 50% { transform: scale(1); opacity: 1 } }
.val-ico-tm-c { animation: val-team-bounce 2s ease-in-out infinite; transform-origin: 16px 20px; }
.val-ico-tm-l { animation: val-person-l 2s ease-in-out infinite; transform-origin: 8px 20px; }
.val-ico-tm-r { animation: val-person-r 2s ease-in-out infinite; transform-origin: 24px 20px; }
.val-ico-tm-line { animation: val-connect-line 2s ease-in-out infinite; }
.val-ico-tm-heart { animation: val-heart-pop 2s ease-in-out infinite .5s; transform-origin: 16px 6px; }

/* Base Neon Style (Default Green) — Matching Image */
.send-btn {
  position: relative;
  padding: 18px 48px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  overflow: hidden;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  /* Neon Outline Style from Image */
  background: #050e07;
  color: #3dff8a;
  box-shadow:
    0 0 0 2px #3dff8a,
    0 0 20px rgba(61, 255, 138, 0.4),
    inset 0 1px 0 rgba(255,255,255,.1);

  transition:
    background .45s cubic-bezier(.22,1,.36,1),
    color .35s ease,
    box-shadow .45s ease,
    transform .2s cubic-bezier(.34,1.56,.64,1),
    letter-spacing .3s ease;
}

/* Red Neon Variant — As requested for the 2nd button */
.send-btn.send-btn-red {
  color: #ff3e3e;
  background: #0e0505;
  box-shadow:
    0 0 0 2px #ff3e3e,
    0 0 20px rgba(255, 62, 62, 0.4),
    inset 0 1px 0 rgba(255,255,255,.1);
}

.send-btn.send-btn-red:hover {
  background: #1a0a0a;
  color: #fff;
  box-shadow:
    0 0 0 2px #ff3e3e,
    0 0 32px rgba(255, 62, 62, 0.7),
    0 0 80px rgba(255, 62, 62, 0.3),
    0 12px 32px rgba(0,0,0,.6);
}

.send-btn.send-btn-red::after {
  background: linear-gradient(135deg, #420a0a 0%, #1a0a0a 100%);
}

.send-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .5s ease;
  z-index: 1;
}

.send-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: linear-gradient(135deg, #0a2a16 0%, #050e07 100%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}

.send-btn:hover {
  background: #0a1a0f;
  color: #fff;
  letter-spacing: .08em;
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 0 0 2px #3dff8a,
    0 0 32px rgba(61, 255, 138, 0.7),
    0 0 80px rgba(61, 255, 138, 0.3),
    0 12px 32px rgba(0,0,0,.6);
}
.send-btn:hover::before { left: 130%; }
.send-btn:hover::after  { opacity: 1; }

.send-btn .btn-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap .3s ease;
}
.send-btn:hover .btn-text { gap: 14px; }

.send-btn .btn-arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity .3s ease .1s,
    transform .3s cubic-bezier(.34,1.56,.64,1) .1s;
}
.send-btn:hover .btn-arr {
  opacity: 1;
  transform: translateX(0);
}

.send-btn:active {
  transform: translateY(0) scale(.98);
  box-shadow:
    0 0 0 2px #3dff8a,
    0 0 12px #3dff8a66,
    0 4px 12px rgba(0,0,0,.5);
}

.btn-wrap {
  position: relative;
  display: inline-block;
}
.btn-wrap canvas {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 320px; height: 160px;
  margin-left: -30px;
}

/* Services Grid (Replaced by Slider) */
.services-slider,
.hire-slider {
    width: 100%;
    padding-bottom: 60px;
    /* Space for pagination */
    overflow: hidden;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.swiper-slide .service-card {
    width: 100%;
    height: 100%;
    margin: 0;
    /* Swiper handles spacing */
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-green);
    width: 25px;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--green-glow);
}

/* Swiper Navigation Arrows - Removed */

/* Premium Glassmorphic Service Cards */
.service-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* UNIQUE PREMIUM HOLOGRAPHIC 3D CARD */
.service-card {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1500px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Continuous floating effect */
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.service-card:hover {
    transform: perspective(1500px) rotateX(15deg) rotateY(10deg) scale(1.08) translateY(-20px);
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(10, 10, 10, 0.98));
    z-index: 100;
    /* Neon Border Pulse */
    animation: none;
    /* Stop floating on hover */
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

/* Dynamic Holographic Overlay */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 0%, rgba(255, 255, 255, 0.05) 30%, transparent 35%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: 2;
    pointer-events: none;
}

.service-card:hover::before {
    transform: translateX(100%);
    transition: transform 0.8s ease-in-out;
}


.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
    pointer-events: none;
    opacity: 0;
}

.service-card:hover::after {
    left: 150%;
    opacity: 1;
    transition: left 0.7s ease;
}

.service-card:hover::before {
    opacity: 1;
}


/* NEON PULSE SHADOWS */
.service-card:has(.red-icon):hover {
    box-shadow:
        0 30px 60px rgba(255, 0, 0, 0.3),
        0 0 20px rgba(255, 0, 0, 0.4),
        0 0 0 1px rgba(255, 62, 62, 0.6),
        inset 0 0 30px rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 62, 62, 0.8);
}

.service-card:has(.green-icon):hover {
    box-shadow:
        0 30px 60px rgba(0, 255, 130, 0.3),
        0 0 20px rgba(0, 255, 130, 0.4),
        0 0 0 1px rgba(0, 220, 130, 0.6),
        inset 0 0 30px rgba(0, 255, 130, 0.15);
    border-color: rgba(0, 220, 130, 0.8);
}

/* Inner Content 3D Pop-out */
.service-card .icon-box,
.service-card h3,
.service-card p,
.service-card .learn-more {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
    /* Prepare for 3D */
}

.service-card:hover .icon-box {
    transform: translateZ(50px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    /* Icon shadow */
}

.service-card:hover h3 {
    transform: translateZ(30px);
}

.service-card:hover p {
    transform: translateZ(20px);
}

.service-card:hover .learn-more {
    transform: translateZ(40px);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.red-icon {
    background: rgba(255, 62, 62, 0.1);
    color: var(--primary-red);
}

.green-icon {
    background: rgba(0, 220, 130, 0.1);
    color: var(--primary-green);
}



.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.learn-more {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.learn-more i {
    transition: margin-left 0.3s ease;
}

.service-card:hover .learn-more i {
    margin-left: 5px;
}

/* Services Section */
/* Services Section */
.services,
.hire {
    padding: 100px 0;
    /* Reverting to dark/transparent theme */
    background-color: transparent;
}


/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    height: 400px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.abstract-shape {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-green));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 6s ease-in-out infinite;
    filter: blur(20px);
    opacity: 0.8;
    transform: scale(2);
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        background: linear-gradient(135deg, var(--primary-green), var(--primary-red));
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.feature-list {
    margin: 30px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--primary-green);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0d0d0d;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-mix);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 5px;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-green);
    color: #000;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: #111;
}

.contact-form select {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.678);
    border: 1px solid rgba(7, 0, 0, 0.1);
    color: #9b9393;
    border-radius: 8px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.contact-form select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-green);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: fadeUp 1s ease-out 1s forwards;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

.scroll-indicator p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .val-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .logo-img {
        height: 65px;
        margin: -10px 0;
    }

    .nav-list {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 20px;
        gap: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-marker {
        display: none;
    }

    .nav-list.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .val-grid {
        grid-template-columns: 1fr;
    }

    .history-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-row {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
        margin-bottom: 60px;
    }

    .service-visual {
        height: 300px;
        width: 100%;
    }

    #slide-in-image {
        width: 200px;
        height: 240px;
        bottom: 10px;
        left: 10px;
    }

    .thinking-character {
        width: 150px !important;
    }

    .thought-bubble {
        width: 80px;
        height: 80px;
    }

    .btn-wrap canvas {
        width: 240px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .logo-img {
        height: 50px;
    }

    .header {
        padding: 5px 15px;
    }

    #slide-in-image {
        display: none; /* Hide character widget on very small screens to save space */
    }
}


/* Featured Section */
/* Featured Section Video Background */
.section-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.featured-section {
    position: relative;
    padding: 100px 0;
    min-height: 500px;
}

.featured-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    /* Lighter overlay for brighter video */
    z-index: 1;
    /* Above video */
}

/* Ensure content is above overlay */
.featured-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
}

/* Snake Light Animation */

/* Thinking Animation */
@keyframes thinkingFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.thinking-gesture-active {
    animation: thinkingFloat 3s ease-in-out infinite;
    transform-origin: center bottom;
    display: block;
}

/* Service Detail Rows (Global) */
.services-detailed {
    padding: 80px 0;
    background-color: #0d0d0d;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-visual {
    flex: 1;
    height: 400px;
    background: #141414;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-visual:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.service-visual i,
.service-visual img {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-visual:hover i,
.service-visual:hover img {
    transform: scale(1.1);
}

.service-visual i {
    font-size: 6rem;
    opacity: 0.2;
    color: #fff;
}

.visual-accent-red {
    border-color: rgba(255, 62, 62, 0.3);
    box-shadow: 0 0 30px rgba(255, 62, 62, 0.1);
}

.visual-accent-red i {
    color: var(--primary-red);
}

.visual-accent-green {
    border-color: rgba(0, 220, 130, 0.3);
    box-shadow: 0 0 30px rgba(0, 220, 130, 0.1);
}

.visual-accent-green i {
    color: var(--primary-green);
}

.feature-list {
    padding-left: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.feature-list-red i {
    color: var(--primary-red);
    margin-right: 12px;
}

.feature-list-green i {
    color: var(--primary-green);
    margin-right: 12px;
}

/* Slide Left Entrance from Box */
/* Character Wrapper & Animation */
#slide-in-image {
    perspective: 1200px;
    width: 350px;
    height: 420px;
    position: absolute;
    bottom: -100px;
    left: -50px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible !important;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
    opacity: 1; /* Always visible */
    transform: none;
}

/* Override for hero section — display mascot as centered visual */
#slide-in-image.mascot-hero {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 100%;
    max-width: 420px;
    max-height: 480px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

#slide-in-image.mascot-hero .vertical-bar {
    right: 20px;
    top: 0;
    bottom: 0;
}

#slide-in-image.mascot-hero .thinking-character {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    /* Force visible — bypass the JS-triggered animation */
    opacity: 1 !important;
    transform: scale(1.05) !important;
    animation: stableFloat 5s ease-in-out infinite !important;
}


#slide-in-image:hover {
    transform: scale(1.02);
}

/* The Character Image */
.thinking-character {
    opacity: 0;
    transform: translateX(-80px) rotateY(-60deg) scale(0.8);
    /* Start turned away and back */
    transform-origin: center right;
    /* Pivot from the side near the bar */
    transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy pop */
    filter: drop-shadow(15px 15px 30px rgba(0, 0, 0, 0.8));
    /* Deep shadow */
    will-change: transform, opacity;
}

/* State when visible */
#slide-in-image.is-visible .thinking-character {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1.1);
    animation: stableFloat 5s ease-in-out infinite;
}

@keyframes stableFloat {
    0%, 100% { transform: translateX(0) rotateY(0deg) scale(1.1) translateY(0); }
    50% { transform: translateX(0) rotateY(0deg) scale(1.1) translateY(-10px); }
}

/* Grounding Platform for stable mascot */
#slide-in-image::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotateX(70deg);
    width: 60%;
    height: 40px;
    background: radial-gradient(ellipse, var(--primary-green), transparent 70%);
    opacity: 0.2;
    filter: blur(10px);
    z-index: 1;
    animation: shadowPulse 5s ease-in-out infinite;
}

@keyframes shadowPulse {
    0%, 100% { transform: translateX(-50%) rotateX(70deg) scale(1); opacity: 0.2; }
    50% { transform: translateX(-50%) rotateX(70deg) scale(0.8); opacity: 0.1; }
}



/* Vertical Glowing Portal Bar */
.vertical-bar {
    position: absolute;
    right: 40px;
    /* Position bar behind the character on the right side of the box */
    top: 5%;
    bottom: 5%;
    width: 5px;
    background: #fff;
    box-shadow:
        0 0 10px #fff,
        0 0 20px var(--primary-green),
        0 0 40px var(--primary-green);
    /* Neon Portal Glow */
    border-radius: 4px;
    z-index: 10;
    /* Bar is in FRONT of the starting position, but character passes it */
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.8s ease;
}

#slide-in-image.is-visible .vertical-bar {
    opacity: 1;
    transform: scaleY(1);
}

/* Futuristic Thought Bubble - Floating 3D */
.thought-link {
    position: absolute;
    top: 0;
    left: 0;
    /* Move to left side for balance */
    z-index: 30;
    text-decoration: none;
    opacity: 0;
    transform: translateZ(50px) scale(0);
    /* 3D float */
    animation: popInBubble 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}

@keyframes popInBubble {
    to {
        opacity: 1;
        transform: translateZ(50px) scale(1) rotate(-5deg);
    }
}

.thought-bubble {
    width: 110px;
    height: 110px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-green);
    box-shadow:
        0 0 20px rgba(0, 220, 130, 0.3),
        inset 0 0 20px rgba(0, 220, 130, 0.1);
    transition: all 0.4s ease;
}

.thought-bubble:hover {
    transform: scale(1.2) rotate(5deg);
    background: var(--primary-green);
    color: #000;
    box-shadow: 0 0 60px var(--green-glow);
    border-color: #fff;
}

.click-hint {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    display: none;
}

.thought-bubble:hover i {
    display: none;
}

.thought-bubble:hover .click-hint {
    display: block;
}

/* Radar Pulse */
.pulse-ring {
    position: absolute;
    inset: -10px;
    border: 1px dashed rgba(0, 220, 130, 0.3);
    border-radius: 50%;
    animation: spinPulse 8s linear infinite;
}

@keyframes spinPulse {
    to {
        transform: rotate(360deg);
    }
}

/* History Timeline Styles (From history.html) */
.history-section {
    padding: 0 0 100px;
}

/* History Timeline Styles (Grid 2 Columns) */
.history-timeline {
    margin-top: 60px;
    position: relative;
    padding: 0;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

/* Remove Central vertical line */
.history-timeline::before {
    display: none;
}

.timeline-item {
    position: relative;
    margin: 0;
    padding: 10px;
    z-index: 1;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

/* Dot styles - Centered above content */
.timeline-item::before {
    content: '';
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-bottom: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--green-glow);
    border: 3px solid #0a0a0a;
    z-index: 2;
    display: inline-block;
}

.timeline-item:nth-child(even)::before {
    background: var(--primary-red);
    box-shadow: 0 0 15px var(--red-glow);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: inline-block;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.timeline-item:nth-child(even) .timeline-content h3 {
    color: var(--primary-red);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    /* Constrain width for better readability */
    margin: 0 auto;
}

/* ============================================================
   Mascot Hero Display
   ============================================================ */
.mascot-display {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 420px;
    height: 100%;
}

.mascot-img {
    max-height: 440px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 220, 130, 0.35)) drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
    animation: mascotFloat 5s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.02); }
}

.mascot-glow-bar {
    position: absolute;
    right: 30px;
    top: 5%;
    bottom: 5%;
    width: 4px;
    background: #fff;
    box-shadow:
        0 0 8px #fff,
        0 0 20px var(--primary-green),
        0 0 45px var(--primary-green);
    border-radius: 4px;
    z-index: 1;
    animation: barPulse 3s ease-in-out infinite;
}

@keyframes barPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #fff, 0 0 20px var(--primary-green), 0 0 45px var(--primary-green); }
    50% { opacity: 0.7; box-shadow: 0 0 4px #fff, 0 0 10px var(--primary-green), 0 0 25px var(--primary-green); }
}

.mascot-bubble-link {
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 10;
    text-decoration: none;
    animation: bubbleAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

@keyframes bubbleAppear {
    from { opacity: 0; transform: scale(0) rotate(-10deg); }
    to { opacity: 1; transform: scale(1) rotate(-5deg); }
}

.mascot-thought-bubble {
    width: 100px;
    height: 100px;
    background: rgba(5, 14, 7, 0.92);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: var(--primary-green);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 0 20px rgba(0, 220, 130, 0.3),
        inset 0 0 20px rgba(0, 220, 130, 0.08);
    transition: all 0.35s ease;
    animation: mascotFloat 5s ease-in-out infinite 0.5s;
}

.mascot-thought-bubble i {
    font-size: 1.4rem;
}

.mascot-thought-bubble:hover {
    background: var(--primary-green);
    color: #000;
    box-shadow: 0 0 50px var(--green-glow);
    transform: scale(1.15) rotate(5deg);
}