/* ==========================================================================
   JIVA TECHNOLOGIES — PREMIUM FUTURISTIC DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-primary: #050816;
    --bg-secondary: #0a0e27;
    --color-primary: #007BFF;   /* Electric Blue */
    --color-cyan: #00D9FF;      /* Neon Cyan */
    --color-orange: #FF7A00;    /* Premium Orange */
    --color-purple: #8A2BE2;    /* Accential Purple */
    --text-white: #FFFFFF;
    --text-gray: #C8D1DC;
    --text-muted: #64748B;
    
    /* Premium Glassmorphism */
    --glass-bg: rgba(6, 10, 26, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 217, 255, 0.3);
    --glass-glow: rgba(0, 123, 255, 0.15);
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */

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

body {
    background-color: var(--bg-primary);
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Custom Futuristic Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.25);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* ==========================================================================
   AMBIENT BACKGROUNDS & PARTICLES
   ========================================================================== */

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Cinematic glowing background nodes */
.ambient-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.bg-glow-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.bg-glow-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--color-purple) 0%, transparent 60%);
    opacity: 0.07;
}

/* Text Gradient Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--text-white) 30%, var(--color-cyan) 70%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-orange {
    background: linear-gradient(135deg, #FFF 20%, var(--color-orange) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Common Styles */
section {
    position: relative;
    padding: 8rem 0;
    z-index: 2;
}

.section-header {
    margin-bottom: 5rem;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
    position: relative;
}

.section-tag::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-orange);
    margin-top: 5px;
}

.section-header.text-center .section-tag::after {
    margin: 5px auto 0;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    font-weight: 300;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-medium);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(130deg, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0056b3 100%);
    color: var(--text-white);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
    border: 1px solid rgba(0, 217, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.5);
    border-color: var(--color-cyan);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
    border: 1px solid var(--glass-border);
    transition: var(--transition-medium);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}


/* ==========================================================================
   PAGE 1: CINEMATIC INTRO EXPERIENCE
   ========================================================================== */

.fullscreen-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #03050c;
    overflow: hidden;
    cursor: pointer;
    transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1), opacity 1.2s ease;
}

.fullscreen-intro.exit {
    transform: scale(1.1);
    opacity: 0;
    pointer-events: none;
}

#intro-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    /* absolute clarity boosts */
    filter: brightness(1.12) contrast(1.15) saturate(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 8, 22, 0.5) 0%, #050816 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    width: 90%;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glowing Intro Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
    transition: var(--transition-slow);
}

.jiva-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.4));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-white);
    margin: 0;
}

.logo-text span {
    font-weight: 300;
    color: var(--color-cyan);
    font-size: 1.4rem;
    display: block;
    margin-top: 0.2rem;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
}

/* Intro Text styling */
.intro-text-box {
    margin-bottom: 4rem;
}

.intro-headline {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #FFFFFF 30%, #D8F3FF 70%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-subheadline {
    font-size: 1.25rem;
    color: var(--text-gray);
    font-weight: 300;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Pulsing Enter Button */
.glowing-btn {
    background: transparent;
    color: var(--text-white);
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.15em;
    border: 1px solid var(--color-cyan);
    position: relative;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.15);
    transition: var(--transition-medium);
    overflow: hidden;
}

.glowing-btn span {
    position: relative;
    z-index: 2;
    transition: var(--transition-fast);
}

.glowing-btn:hover {
    border-color: var(--color-orange);
    box-shadow: 0 0 45px rgba(255, 122, 0, 0.4);
    transform: scale(1.03);
}

.glowing-btn:hover span {
    color: var(--text-white);
    letter-spacing: 0.2em;
}

.glowing-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
}

.glowing-btn:hover::before {
    width: 300px;
    height: 300px;
    opacity: 0.2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 0, 0.2), transparent);
    animation: btn-shine 4s infinite linear;
}

@keyframes btn-shine {
    0% { left: -100%; }
    100% { left: 200%; }
}


/* ==========================================================================
   TRANSITION WIPE OVERLAYS
   ========================================================================== */

.wipe-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.wipe-bar {
    width: 100%;
    height: 33.34vh;
    background-color: var(--bg-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.wipe-bar-1 { transition-delay: 0s; }
.wipe-bar-2 { transition-delay: 0.1s; }
.wipe-bar-3 { transition-delay: 0.2s; }

.wipe-transition.active .wipe-bar {
    transform: scaleX(1);
    transform-origin: left;
}

.wipe-transition.active {
    pointer-events: auto;
}

.wipe-transition.reveal .wipe-bar {
    transform: scaleX(0);
    transform-origin: right;
}

.transition-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 210;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    pointer-events: none;
}

.jiva-logo-large {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 0 35px var(--color-cyan));
}

.wipe-transition.active .transition-logo-container {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    transition-delay: 0.5s;
}

.wipe-transition.reveal .transition-logo-container {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
    transition: transform 0.5s cubic-bezier(0.6, -0.28, 0.735, 0.045), opacity 0.3s ease;
}


/* ==========================================================================
   PAGE 2: HEADER & NAVIGATION
   ========================================================================== */

#page-2.main-website-container {
    opacity: 0;
    transition: opacity 1.5s ease;
}

#page-2.main-website-container.show {
    opacity: 1;
}

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 90;
    background: rgba(5, 8, 22, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-medium);
}

#site-header.scrolled {
    background: rgba(5, 8, 22, 0.85);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo Layout */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jiva-logo-small {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.5));
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    color: var(--text-white);
}

/* Desktop Nav Links */
.desktop-nav {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-gray);
    position: relative;
    padding: 0.3rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-primary));
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-nav {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 0.5rem 1.4rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    background: rgba(0, 123, 255, 0.05);
}

.btn-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-1px);
}

/* Mobile Toggle */
#mobile-menu-toggle {
    display: none;
    color: var(--text-white);
    font-size: 1.8rem;
}


/* ==========================================================================
   MOBILE MENU OVERLAY
   ========================================================================== */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(16px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
    right: 0;
}

#mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--text-white);
    font-size: 2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-white);
}

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

.mobile-menu-cta {
    margin-top: 1.5rem;
    width: 200px;
}


.mobile-menu-cta {
    margin-top: 1.5rem;
    width: 200px;
}


/* ==========================================================================
   PAGE 2: CINEMATIC AUTOMATED IMAGE SLIDER WITH HUD OVERLAY
   ========================================================================== */

.cinematic-slider-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    background-color: var(--bg-primary);
    overflow: hidden;
    z-index: 10;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    margin-top: 80px; /* Account for fixed header */
}

.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.slide-item {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    justify-content: flex-end; /* Align images to the right side */
    align-items: center;
    background: #02040a; /* Dark background backing for uncropped display */
    padding-right: 8%; /* Breathe room on the right side */
}

.slide-item img {
    max-width: calc(100% - 500px); /* Constrain width to prevent overlay overlap */
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.08);
    /* 8K cinematic filter sharpness boosts */
    filter: brightness(1.08) contrast(1.12) saturate(1.06);
    image-rendering: -webkit-optimize-contrast;
}

.slide-item.active img {
    transform: scale(1.0);
}

/* Glassmorphic border frame and dark overlay gradient */
.slider-overlay-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 8, 22, 0.8) 0%, rgba(5, 8, 22, 0.3) 40%, transparent 60%, rgba(5, 8, 22, 0.7) 100%),
                linear-gradient(to bottom, rgba(5, 8, 22, 0.5) 0%, transparent 20%, transparent 80%, var(--bg-primary) 100%);
    z-index: 3;
    pointer-events: none;
}

/* HUD Glassmorphic left overlay panel */
.slider-hud-overlay {
    position: absolute;
    top: 50%;
    left: 2.5%;
    transform: translateY(-50%);
    width: 440px;
    max-width: 90%;
    background: rgba(5, 8, 22, 0.7);
    border: 1px solid rgba(0, 217, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    padding: 2.5rem;
    z-index: 5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 
                inset 0 0 20px rgba(0, 217, 255, 0.05);
}

.hud-panel-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

.hud-title-accent {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cyan);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.4rem;
}

.hud-panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

.hud-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hud-service-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-service-item:hover {
    background: rgba(0, 217, 255, 0.06);
    border-color: rgba(0, 217, 255, 0.2);
    transform: translateX(5px);
}

.hud-service-item.active {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 217, 255, 0.08) 100%);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
    transform: translateX(8px);
}

.hud-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.hud-service-item.active .hud-indicator {
    background-color: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
    transform: scale(1.3);
}

.hud-service-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.4s ease;
}

.hud-service-item.active .hud-service-name {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
}

/* Glassmorphic info badge displaying active image number */
.slider-info-badge {
    position: absolute;
    bottom: 40px;
    right: 8%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--neon-glow);
    z-index: 4;
}

.slider-info-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    animation: badge-pulse 1.8s infinite ease-in-out;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.4); }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px 4px rgba(0, 217, 255, 0.2); }
}

.slider-info-badge span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 2px;
}

/* Glassmorphic horizontal slider controls indicator dots */
.slider-dots-indicator {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    background: rgba(5, 8, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    z-index: 4;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slide-dot:hover {
    background-color: var(--color-cyan);
}

.slide-dot.active {
    background-color: var(--color-cyan);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--color-cyan);
}

@media (max-width: 992px) {
    .cinematic-slider-section {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .slider-wrapper {
        position: relative;
        height: 450px;
        width: 100%;
    }
    
    .slider-hud-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
        padding: 2rem 1.5rem;
    }
    
    .slider-dots-indicator {
        bottom: 20px;
    }
    
    .slider-info-badge {
        bottom: 20px;
        right: 15px;
        padding: 0.6rem 1.2rem;
    }

    .slide-item {
        justify-content: center;
        padding-right: 0;
    }

    .slide-item img {
        max-width: 100%;
    }
}


/* ==========================================================================
   PAGE 2: HERO SECTION
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
    position: relative;
}

/* Grid overlay background */
.hero-map-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10%, rgba(0, 123, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80%, rgba(255, 122, 0, 0.03) 0%, transparent 40%),
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    opacity: 0.8;
    z-index: 0;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text-content {
    max-width: 660px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.15);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.8rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-cyan);
    animation: simple-pulse 2s infinite;
}

@keyframes simple-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.tech-badge span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

/* Holographic Globe */
.hero-visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.interactive-globe-container {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-mesh {
    width: 90%;
    height: 90%;
    position: relative;
    z-index: 2;
    animation: rotateGlobe 30s linear infinite;
}

.holo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 217, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

.holo-ring-1 {
    width: 100%;
    height: 100%;
    animation: spinRing 20s linear infinite;
    border-style: dashed;
}

.holo-ring-2 {
    width: 115%;
    height: 115%;
    animation: spinRingInverse 25s linear infinite;
    border-color: rgba(255, 122, 0, 0.08);
}

.holo-ring-3 {
    width: 80%;
    height: 80%;
    border: 1.5px solid rgba(0, 123, 255, 0.12);
    border-style: dotted;
}

/* Node orbit animations */
.orbit-node {
    animation: simple-pulse 3s infinite alternate;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.8s; }
.node-3 { animation-delay: 1.5s; }

@keyframes rotateGlobe {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinRing {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.02); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes spinRingInverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    z-index: 10;
}

.hero-scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-gray);
}

.scroll-line {
    width: 1.5px;
    height: 45px;
    background: linear-gradient(to bottom, var(--color-cyan), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--color-orange);
    animation: scrollMove 2.5s infinite ease-in-out;
}

@keyframes scrollMove {
    0% { top: -20px; }
    50% { top: 45px; }
    100% { top: 45px; }
}


/* ==========================================================================
   PAGE 2: ABOUT SECTION
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
}

.about-main-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.about-main-text h3 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.about-main-text p {
    font-size: 1.05rem;
    color: var(--text-gray);
    font-weight: 300;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.pillar-card {
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.pillar-card:hover {
    border-color: rgba(0, 123, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.05);
    transform: translateX(4px);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-cyan);
}

.pillar-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.pillar-card p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-gray);
}


/* ==========================================================================
   PAGE 2: SERVICES SECTION
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.2rem 1.8rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition-medium);
}

.service-card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    top: -75px;
    right: -75px;
    border-radius: 50%;
    transition: var(--transition-medium);
}

.service-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(0, 217, 255, 0.1);
}

.service-card:hover .service-card-glow {
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    width: 200px;
    height: 200px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    color: var(--color-cyan);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-gray);
    font-weight: 300;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-orange);
}

.service-link i {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(3px);
}


/* ==========================================================================
   PAGE 2: WHY CHOOSE US SECTION
   ========================================================================== */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 5rem;
}

.stat-box {
    text-align: center;
    padding: 2.2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.why-card {
    padding: 2.2rem;
    border: 1px solid var(--glass-border);
}

.why-card:hover {
    border-color: rgba(255, 122, 0, 0.2);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.03);
    transform: translateY(-2px);
}

.why-card i {
    color: var(--color-orange);
    width: 32px;
    height: 32px;
    margin-bottom: 1.2rem;
}

.why-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 300;
}


/* ==========================================================================
   PAGE 2: PORTFOLIO SECTION
   ========================================================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.5rem 1.4rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-gray);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-cyan);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.portfolio-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    transition: var(--transition-medium);
}

.portfolio-card.hidden {
    display: none !important;
}

.portfolio-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 217, 255, 0.05);
}

.portfolio-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Premium Visual Grid Background in Cards */
.portfolio-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #0b0f24;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.portfolio-img-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at center, transparent 30%, #050816 90%),
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
}

.portfolio-img-placeholder i {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 5;
    transition: var(--transition-medium);
}

/* Customized glowing orbs inside placeholders */
.portfolio-img-placeholder::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.35;
    z-index: 1;
}

.p-glow-1::after { background: var(--color-primary); }
.p-glow-2::after { background: var(--color-orange); }
.p-glow-3::after { background: var(--color-cyan); }
.p-glow-4::after { background: var(--color-purple); }
.p-glow-5::after { background: #32cd32; }
.p-glow-6::after { background: #ff1493; }

.portfolio-card:hover .portfolio-img-placeholder {
    transform: scale(1.05);
}

.portfolio-card:hover .portfolio-img-placeholder i {
    transform: scale(1.15) rotate(5deg);
    color: var(--text-white);
}

.portfolio-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.project-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-cyan);
    text-transform: uppercase;
}

.portfolio-info h3 {
    font-size: 1.3rem;
}

.portfolio-info p {
    font-size: 0.92rem;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.portfolio-action-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.portfolio-action-link i {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-action-link {
    color: var(--color-cyan);
}

.portfolio-card:hover .portfolio-action-link i {
    transform: translate(2px, -2px);
}


/* ==========================================================================
   PAGE 2: TESTIMONIAL SECTION
   ========================================================================== */

.testimonials-slider {
    max-width: 820px;
    margin: 0 auto 3rem;
    min-height: 260px;
    position: relative;
}

.testimonial-card {
    display: none;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem;
    border: 1px solid var(--glass-border);
}

.testimonial-card.active {
    display: flex;
    animation: slideInFade 0.6s ease forwards;
}

@keyframes slideInFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.stars {
    display: flex;
    gap: 0.3rem;
}

.stars i {
    width: 18px;
    height: 18px;
}

.testimonial-content p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-white);
    line-height: 1.6;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
    border: 1.5px solid var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
}

.av-1 { background: linear-gradient(135deg, var(--color-primary), var(--color-purple)); }
.av-2 { background: linear-gradient(135deg, var(--color-cyan), var(--color-primary)); }
.av-3 { background: linear-gradient(135deg, var(--color-orange), var(--color-purple)); }

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 300;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.control-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
}

.control-btn i {
    width: 18px;
    height: 18px;
}

.slider-dots {
    display: flex;
    gap: 0.6rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.dot.active {
    background: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
    width: 20px;
    border-radius: 4px;
}


/* ==========================================================================
   PAGE 2: CONTACT SECTION
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;
    gap: 3.5rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--glass-border);
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-prompt {
    font-weight: 300;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    width: 22px;
    height: 22px;
    color: var(--color-cyan);
    margin-top: 0.25rem;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.info-value {
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 400;
}

a.info-value:hover {
    color: var(--color-cyan);
}

/* Chat & Social Buttons */
.contact-socials-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #000;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

.btn-whatsapp i {
    width: 18px;
    height: 18px;
}

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

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.social-icon:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.04);
}

/* Contact Form Panel */
.contact-form-panel {
    border: 1px solid var(--glass-border);
}

.contact-form-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.futuristic-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-cyan);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--glass-border);
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 300;
    transition: var(--transition-fast);
}

/* Select element resetting */
.form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: transparent;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-primary));
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.form-submit-btn {
    margin-top: 1rem;
    align-self: flex-start;
    padding: 1rem 2.5rem;
}

/* Success State Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(12px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    animation: fadeIn 0.4s ease forwards;
}

.form-success-overlay.hidden {
    display: none !important;
}

.success-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: #25D366;
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.3));
}

.success-content h4 {
    font-size: 1.6rem;
}

.success-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 300;
}

.success-content button {
    margin-top: 1rem;
}


/* ==========================================================================
   PAGE 2: FOOTER SECTION
   ========================================================================== */

#site-footer {
    position: relative;
    padding: 6rem 0 3rem;
    background: #030612;
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    bottom: -20vw;
    left: 30vw;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    font-size: 0.92rem;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.6;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.01);
}

.footer-socials a:hover {
    border-color: rgba(0, 217, 255, 0.3);
    color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.1);
}

.footer-links-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    letter-spacing: 0.03em;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-col ul a {
    font-size: 0.92rem;
    color: var(--text-gray);
    font-weight: 300;
}

.footer-links-col ul a:hover {
    color: var(--color-cyan);
    padding-left: 3px;
}

.footer-contact-info li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--text-gray);
    font-weight: 300;
}

.footer-contact-info i {
    width: 16px;
    height: 16px;
    color: var(--color-cyan);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}


/* ==========================================================================
   SCROLL REVEAL & COMMON ANIMATIONS
   ========================================================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Static keyframe sets */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes logoGlowPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3));
    }
    100% {
        transform: scale(1.02);
        filter: drop-shadow(0 0 30px rgba(0, 123, 255, 0.6));
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in-right {
    animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container-grid {
        gap: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-grid > :last-child {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3.5rem;
    }
    
    /* Header toggle */
    #mobile-menu-toggle {
        display: block;
    }
    
    .desktop-nav,
    .header-actions .btn-nav {
        display: none;
    }
    
    /* Hero layout mobile */
    .hero-container-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    
    .hero-text-content {
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual-content {
        order: -1;
    }
    
    .interactive-globe-container {
        width: 280px;
        height: 280px;
    }
    
    /* Intro layout mobile */
    .intro-headline {
        font-size: 2.2rem;
    }
    
    .intro-subheadline {
        font-size: 1.05rem;
    }
    
    /* Services layout mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Stats mobile */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    /* Contact grid mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 580px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid > * {
        grid-column: span 1 !important;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-ctas a {
        width: 100%;
    }
}
