

:root {
    --primary-accent: #8519c6;
    --text-dark: #000000;
    --bg-main: #170042;
    --accent-secondary: #46158d;
    --bg-section: #250452;
    --highlight-subtle: #cb78f2;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #46158d;
    --hover-color: #cb78f2;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    width: 0;
}

body::-webkit-scrollbar {
    width: 0;
}

::-webkit-scrollbar {
    width: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}


img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-light);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-light);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-light);
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
}

p {
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    color: var(--text-muted);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: var(--primary-accent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--highlight-subtle);
}



.btn {
    padding: clamp(10px, 2vw, 12px) clamp(24px, 4vw, 32px);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent), var(--highlight-subtle));
    background-size: 200% 200%;
    color: #ffffff;
    animation: gradientFlow 4s ease infinite;
    box-shadow: 0 4px 15px rgba(133, 25, 198, 0.4);
    position: relative;
    overflow: visible;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(203, 120, 242, 0.6), transparent);
    opacity: 0;
    pointer-events: none;
    border-radius: 6px;
}

.btn-primary::after {
    content: none;
}

.btn-primary:hover::before {
    animation: lightningStrike 0.6s ease-out;
}

.btn-primary:hover::after {
    content: none;
}

.btn-primary:hover {
    background-color: var(--highlight-subtle);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(133, 25, 198, 0.5),
                0 0 40px rgba(203, 120, 242, 0.3);
    animation: lightningGlow 0.6s ease-out;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(203, 120, 242, 0.6), transparent);
    opacity: 0;
    pointer-events: none;
    border-radius: 6px;
}

.btn-secondary:hover::before {
    animation: lightningStrike 0.6s ease-out;
}

.btn-secondary:hover {
    background-color: var(--primary-accent);
    color: #ffffff;
    transform: translateY(-2px);
    animation: lightningGlow 0.6s ease-out;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%,
        rgba(23, 0, 66, 0.25) 50%, 
        rgba(37, 4, 82, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(133, 25, 198, 0.3);
    padding: 1rem clamp(1rem, 3vw, 2rem);
    box-shadow: 0 4px 30px rgba(133, 25, 198, 0.1);
    box-sizing: border-box;
    overflow: visible;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-accent),
        var(--highlight-subtle),
        var(--primary-accent),
        transparent);
    background-size: 200% 100%;
    animation: holographicShimmer 4s linear infinite;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-logo:hover {
    transform: none;
}

.logo-image-container {
    display: none;
}

.logo-image {
    display: none;
}

/* Dexus Studios Logo - Clean Electricity Animation */
.thunderbolt-logo {
    position: relative;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    
    /* Base text: dark purple solid color */
    color: #8519c6;
    
    /* Animated background with thin electric streak */
    background: linear-gradient(
        90deg,
        #8519c6 0%,
        #8519c6 8%,
        /* Thin electric violet streak (3-4px visual) */
        #d946ef 10%,
        #c084fc 12%,
        #8519c6 14%,
        #8519c6 100%
    );
    
    /* Background size: 300% to ensure seamless loop */
    background-size: 300% 100%;
    background-position: 0% 0%;
    
    /* Clip animated background inside text only */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    /* Animate background position for continuous scroll */
    animation: electricStream 2.5s linear infinite;
}

/* 
  Seamless loop explanation:
  - background-size: 300% means the gradient repeats 3 times across the width
  - We animate from 0% to 100% of background-position
  - This creates 3 complete cycles in one animation duration
  - Using linear timing ensures smooth, continuous motion
  - The gradient pattern repeats perfectly so the loop is invisible
*/
@keyframes electricStream {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.bolt-container {
    display: none;
}

.bolt {
    display: none;
}

.logo-animate {
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

@keyframes logo-text-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(203, 120, 242, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(203, 120, 242, 0.5)) drop-shadow(0 0 4px rgba(133, 25, 198, 0.3));
    }
}

.logo-image-container img[src*="logo.png"]:not([src^="data:image"]),
.logo-image-container img[src*="logo.svg"]:not([src^="data:image"]) {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    color: var(--highlight-subtle);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(203, 120, 242, 0.8),
                 0 0 20px rgba(203, 120, 242, 0.6),
                 0 0 30px rgba(133, 25, 198, 0.4),
                 0 0 40px rgba(133, 25, 198, 0.3);
    position: relative;
    z-index: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-left: 18rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 8px;
    user-select: none;
    position: relative;
    will-change: transform;
}

.hamburger:focus {
    outline: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-accent);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 1200px) {
}

@media (max-width: 768px) {
}

@media (max-width: 640px) {
}

@media (max-width: 480px) {
}


/* ===================================
   HERO SECTION - FUTURISTIC ENHANCED
   =================================== */

.hero {
    margin-top: 80px;
    padding: clamp(60px, 12vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, #0a0020 0%, var(--bg-main) 50%, var(--bg-section) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
    min-height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(133, 25, 198, 0.2) 0%, rgba(203, 120, 242, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: energyPulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(133, 25, 198, 0.03) 2px,
        rgba(133, 25, 198, 0.03) 4px
    );
    pointer-events: none;
    animation: scanLine 8s linear infinite;
    opacity: 0.5;
}

.hero-content {
    flex: 1;
    z-index: 3;
    max-width: 600px;
    opacity: 0;
    animation: fadeInLeft 1.2s ease-out 0.3s forwards;
}

.hero-headline {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero-headline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--highlight-subtle), transparent);
    animation: holographicShimmer 2s linear infinite;
    background-size: 200% 100%;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.cta-buttons .btn {
    padding: 14px 36px;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::before {
    content: none;
}

.cta-buttons .btn:hover::before {
    content: none;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInRight 1.2s ease-out 0.5s forwards;
    z-index: 3;
    overflow: visible;
}

.hero-image-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 20px;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(45deg, 
        var(--primary-accent), 
        var(--highlight-subtle),
        var(--primary-accent));
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
    border-radius: 25px;
    opacity: 0.3;
    filter: blur(25px);
    z-index: -1;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(133, 25, 198, 0.5);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.hero-main-image:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 60px 120px rgba(133, 25, 198, 0.7);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, 
        rgba(133, 25, 198, 0.3), 
        rgba(203, 120, 242, 0.5),
        rgba(133, 25, 198, 0.3));
    background-size: 200% 200%;
    border-radius: 20px;
    opacity: 0.6;
    box-shadow: 0 15px 40px rgba(133, 25, 198, 0.3),
                inset 0 0 20px rgba(203, 120, 242, 0.2);
    z-index: 3;
    border: 1px solid rgba(203, 120, 242, 0.5);
}

.floating-card:hover {
    opacity: 0.6;
    border-color: rgba(203, 120, 242, 0.5);
    box-shadow: 0 15px 40px rgba(133, 25, 198, 0.3),
                inset 0 0 20px rgba(203, 120, 242, 0.2);
}

/* ===================================
   GLASS BLUR LAYER - HERO SECTION
   =================================== */

.hero-glass-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px 0 rgba(133, 25, 198, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.15);
    z-index: 2;
    pointer-events: none;
}

.hero-glass-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    pointer-events: none;
}

.hero-glass-layer::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.08) 0%, 
        transparent 50%);
    transform: rotate(-30deg);
    pointer-events: none;
}

.card-1 {
    width: 200px;
    height: 120px;
    top: -20px;
    left: -40px;
    animation: floatCircle1 8s ease-in-out infinite;
}

.card-2 {
    width: 160px;
    height: 160px;
    bottom: -30px;
    right: -30px;
    animation: floatCircle2 10s ease-in-out infinite;
}

.card-3 {
    width: 120px;
    height: 100px;
    top: 40%;
    right: -10%;
    animation: floatCircle3 9s ease-in-out infinite;
}

/* ===================================
   NEON BOUNCY BALLS - HERO SECTION
   =================================== */

.neon-ball {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(203, 120, 242, 1),
        rgba(133, 25, 198, 0.9));
    box-shadow: 
        0 0 20px rgba(203, 120, 242, 0.8),
        0 0 40px rgba(133, 25, 198, 0.6),
        0 0 60px rgba(133, 25, 198, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    filter: blur(3px);
    z-index: 3;
    opacity: 0;
    animation: fadeInScale 0.5s ease-out 2s forwards;
}

.ball-1 {
    animation: bounce-ball-1 8s ease-in-out 2.5s infinite,
            fadeIn-ball 0.5s ease-out 2s forwards;
}

.ball-2 {
    animation: bounce-ball-2 10s ease-in-out 2.7s infinite,
            fadeIn-ball 0.5s ease-out 2.2s forwards;
}

.ball-3 {
    animation: bounce-ball-3 12s ease-in-out 2.9s infinite,
            fadeIn-ball 0.5s ease-out 2.4s forwards;
}

.ball-4 {
    animation: bounce-ball-4 9s ease-in-out 3.1s infinite,
            fadeIn-ball 0.5s ease-out 2.6s forwards;
}

.ball-5 {
    animation: bounce-ball-5 11s ease-in-out 3.3s infinite,
            fadeIn-ball 0.5s ease-out 2.8s forwards;
}

@keyframes fadeIn-ball {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.6;
    }
}

/* Bouncing Animations */
@keyframes bounce-ball-1 {
    0%, 100% { 
        left: 5%; 
        top: 10%; 
    }
    25% { 
        left: 85%; 
        top: 30%; 
    }
    50% { 
        left: 75%; 
        top: 70%; 
    }
    75% { 
        left: 15%; 
        top: 60%; 
    }
}

@keyframes bounce-ball-2 {
    0%, 100% { 
        left: 90%; 
        top: 20%; 
    }
    25% { 
        left: 20%; 
        top: 50%; 
    }
    50% { 
        left: 10%; 
        top: 15%; 
    }
    75% { 
        left: 70%; 
        top: 75%; 
    }
}

@keyframes bounce-ball-3 {
    0%, 100% { 
        left: 50%; 
        top: 5%; 
    }
    25% { 
        left: 15%; 
        top: 40%; 
    }
    50% { 
        left: 80%; 
        top: 60%; 
    }
    75% { 
        left: 40%; 
        top: 80%; 
    }
}

@keyframes bounce-ball-4 {
    0%, 100% { 
        left: 25%; 
        top: 75%; 
    }
    25% { 
        left: 75%; 
        top: 25%; 
    }
    50% { 
        left: 30%; 
        top: 10%; 
    }
    75% { 
        left: 85%; 
        top: 65%; 
    }
}

@keyframes bounce-ball-5 {
    0%, 100% { 
        left: 60%; 
        top: 80%; 
    }
    25% { 
        left: 10%; 
        top: 30%; 
    }
    50% { 
        left: 90%; 
        top: 45%; 
    }
    75% { 
        left: 35%; 
        top: 20%; 
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes service-icon-float {
    0%, 100% {
        transform: translateY(0px) scale(1.05);
    }
    50% {
        transform: translateY(-40px) scale(1.15);
    }
}

@keyframes service-icon-tilt {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

@keyframes service-icon-orbit {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(180deg) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.6;
    }
}

/* ===================================
   PROFESSIONAL FUTURISTIC ANIMATIONS
   =================================== */

/* Hero Animations */
@keyframes heroGlowPulse {
    0%, 100% {
        box-shadow: none;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(203, 120, 242, 0.6),
                    0 0 80px rgba(203, 120, 242, 0.4),
                    0 0 120px rgba(203, 120, 242, 0.3);
        transform: scale(1.02);
    }
}

@keyframes holographicShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes glitchEffect {
    0%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(5deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(-5deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(5deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(-5deg);
    }
}

@keyframes floatRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-40px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(203, 120, 242, 0.8),
                     0 0 20px rgba(203, 120, 242, 0.6),
                     0 0 30px rgba(133, 25, 198, 0.4),
                     0 0 40px rgba(133, 25, 198, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(203, 120, 242, 1),
                     0 0 40px rgba(203, 120, 242, 0.8),
                     0 0 60px rgba(133, 25, 198, 0.6),
                     0 0 80px rgba(133, 25, 198, 0.4);
    }
}

.neon-purple {
    color: var(--highlight-subtle);
    text-shadow: 0 0 10px rgba(203, 120, 242, 0.8),
                 0 0 20px rgba(203, 120, 242, 0.6),
                 0 0 30px rgba(133, 25, 198, 0.4),
                 0 0 40px rgba(133, 25, 198, 0.3);
}

@keyframes lightningStrike {
    0% {
        opacity: 0;
        clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    }
    10% {
        opacity: 1;
        clip-path: polygon(45% 0%, 55% 0%, 55% 45%, 100% 45%, 50% 100%, 45% 55%, 45% 55%, 0% 45%);
    }
    20% {
        opacity: 0.5;
        clip-path: polygon(45% 0%, 55% 0%, 55% 30%, 100% 30%, 50% 100%, 45% 70%, 45% 70%, 0% 30%);
    }
    30% {
        opacity: 1;
        clip-path: polygon(45% 0%, 55% 0%, 55% 50%, 100% 50%, 50% 100%, 45% 50%, 43% 50%, 0% 50%);
    }
    40% {
        opacity: 0;
        clip-path: polygon(45% 0%, 55% 0%, 55% 35%, 100% 35%, 50% 100%, 45% 65%, 45% 65%, 0% 35%);
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes lightningGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(133, 25, 198, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(203, 120, 242, 0.8),
                    0 10px 30px rgba(133, 25, 198, 0.5),
                    inset 0 0 20px rgba(203, 120, 242, 0.3);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes borderGlowPulse {
    0%, 100% {
        border-color: var(--accent-secondary);
        box-shadow: 0 0 10px rgba(133, 25, 198, 0.3);
    }
    50% {
        border-color: var(--primary-accent);
        box-shadow: none;
    }
}

@keyframes morphShift {
    0%, 100% {
        border-radius: 20px 50px 20px 50px;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 50px 20px 50px 20px;
        transform: rotate(2deg);
    }
    50% {
        border-radius: 20px 50px 20px 50px;
        transform: rotate(0deg);
    }
    75% {
        border-radius: 50px 20px 50px 20px;
        transform: rotate(-2deg);
    }
}

@keyframes dataStream {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes energyPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        filter: blur(0px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
        filter: blur(2px);
    }
}

@keyframes scanLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes digitalFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
    51% {
        opacity: 1;
    }
    52% {
        opacity: 0.93;
    }
    53% {
        opacity: 1;
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes levitate {
    0%, 100% {
        transform: translateY(0) translateX(0);
        filter: drop-shadow(0 10px 20px rgba(133, 25, 198, 0.3));
    }
    25% {
        transform: translateY(-15px) translateX(5px);
        filter: drop-shadow(0 25px 40px rgba(133, 25, 198, 0.4));
    }
    50% {
        transform: translateY(-25px) translateX(0);
        filter: drop-shadow(0 35px 60px rgba(133, 25, 198, 0.5));
    }
    75% {
        transform: translateY(-15px) translateX(-5px);
        filter: drop-shadow(0 25px 40px rgba(133, 25, 198, 0.4));
    }
}

@keyframes floatCircle1 {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(50px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes floatCircle2 {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-60px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes floatCircle3 {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(45px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes orbitRotate {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* Animation Classes */
.animate-hero-glow {
    animation: heroGlowPulse 4s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(203, 120, 242, 0.3) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: holographicShimmer 3s linear infinite;
}

.animate-glitch {
    animation: glitchEffect 3s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
    z-index: 1;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease-out forwards;
}

.animate-rotate-in {
    animation: rotateIn 1s ease-out forwards;
}

.animate-border-glow {
    animation: borderGlowPulse 3s ease-in-out infinite;
}

.animate-morph {
    animation: morphShift 8s ease-in-out infinite;
}

.animate-levitate {
    animation: levitate 6s ease-in-out infinite;
}

.animate-neon-glow {
    animation: neonGlow 3s ease-in-out infinite;
}

.animate-digital-flicker {
    animation: digitalFlicker 4s ease-in-out infinite;
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ===================================
   SECTION HEADER
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: linear-gradient(135deg, 
        rgba(37, 4, 82, 0.6), 
        rgba(23, 0, 66, 0.8));
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 16px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-accent), 
        var(--highlight-subtle),
        var(--primary-accent),
        transparent);
    background-size: 200% 100%;
    animation: holographicShimmer 3s linear infinite;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(203, 120, 242, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
    pointer-events: none;
}

.service-card:hover::after {
    width: 500px;
    height: 500px;
}



.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, 
        rgba(133, 25, 198, 0.2), 
        rgba(203, 120, 242, 0.1));
    border-radius: 12px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary-accent), var(--highlight-subtle));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */

.why-choose {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.benefit-item {
    background-color: rgba(70, 21, 141, 0.3);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}



.benefit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-accent), var(--highlight-subtle));
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 0 18px rgba(203, 120, 242, 0.35);
}

.benefit-item h3 {
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding: 0 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(23, 0, 66, 0.4);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: none;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    background-color: rgba(10, 8, 20, 0.5);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 6px;
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    background-color: rgba(10, 8, 20, 0.7);
    box-shadow: inset 0 0 0 1px rgba(133, 25, 198, 0.35), 0 0 18px rgba(133, 25, 198, 0.25);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h4 {
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0a3a 0%, #2d1454 50%, #1e0d3f 100%);
    padding: clamp(40px, 6vw, 50px) clamp(1rem, 3vw, 2rem) 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-section h4 {
    color: #e0c7ff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: #b8a3d4;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #b8a3d4;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #8B5CF6;
    padding-left: 5px;
}

.footer-bottom {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #b8a3d4;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #b8a3d4;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #8B5CF6;
}

/* ===================================
   FOOTER BOUNCY BALL & GLASS LAYER
   =================================== */

.footer-ball {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(203, 120, 242, 1),
        rgba(133, 25, 198, 0.9));
    box-shadow: 
        0 0 20px rgba(203, 120, 242, 0.8),
        0 0 40px rgba(133, 25, 198, 0.6),
        0 0 60px rgba(133, 25, 198, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 3;
    opacity: 0;
    animation: bounce-footer-ball 5s ease-in-out infinite,
               fadeIn-footer-ball 0.5s ease-out 0.5s forwards;
}

@keyframes fadeIn-footer-ball {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.6;
    }
}

@keyframes bounce-footer-ball {
    0%, 100% { 
        left: 10%; 
        top: 20%; 
    }
    25% { 
        left: 80%; 
        top: 50%; 
    }
    50% { 
        left: 70%; 
        top: 10%; 
    }
    75% { 
        left: 30%; 
        top: 60%; 
    }
}

.footer-glass-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px 0 rgba(133, 25, 198, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.15);
    z-index: 2;
    pointer-events: none;
}

.footer-glass-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    pointer-events: none;
}

.footer-glass-layer::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.08) 0%, 
        transparent 50%);
    transform: rotate(-30deg);
    pointer-events: none;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Extra Large Screens (Large Desktops 1600px+) */
@media (min-width: 1600px) {
    .navbar-container,
    .services-grid,
    .benefits-grid,
    .contact-content,
    .footer-content {
        max-width: 1600px;
    }

    .hero-content {
        max-width: 700px;
    }

    .section-header h2 {
        font-size: 3rem;
    }
}

/* Large Screens (Desktop 1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .hero {
        padding: 100px 3rem;
    }

    .section-header h2 {
        font-size: 2.75rem;
    }
}

/* Medium Screens (Laptops/Small Desktops 992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 80px 2rem;
        gap: 3rem;
    }

    .hero-content {
        max-width: 550px;
    }

    .hero-image-container {
        max-width: 420px;
    }

    .services,
    .why-choose,
    .contact {
        padding: 80px 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 60px 1.5rem;
        gap: 2.5rem;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-image-container {
        max-width: 400px;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        gap: 2.5rem;
    }

    .services,
    .why-choose,
    .contact {
        padding: 70px 1.5rem;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        flex-direction: column;
        background-color: var(--bg-section);
        width: min(260px, calc(100vw - 2rem));
        max-height: 70vh;
        text-align: left;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        padding: 0.5rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border: 1px solid var(--accent-secondary);
        border-radius: 10px;
        box-sizing: border-box;
        overflow-y: auto;
        margin: 0;
        margin-left: 0;
        z-index: 1002;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-item {
        margin: 0;
    }

    .hero {
        flex-direction: column;
        margin-top: 70px;
        padding: 30px 1.5rem 25px;
        gap: 1.5rem;
        min-height: auto;
    }

    .hero-visual {
        height: auto;
        width: 100%;
        max-width: 350px;
    }

    .hero-image-container {
        max-width: 280px;
    }

    .hero-main-image {
        border-radius: 15px;
    }

    .floating-card {
        width: 100px !important;
        height: 100px !important;
        opacity: 0.6;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 0.8rem;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .cta-buttons .btn {
        flex: 1;
        min-width: 140px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-headline {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

}

/* Extra Small Phones (320px - 480px) */
@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .logo-image-container {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-menu {
        top: calc(100% + 8px);
    }

    .hero {
        padding: 30px 1rem;
        margin-top: 65px;
    }

    .hero-visual {
        height: auto;
        max-width: 320px;
    }

    .hero-image-container {
        max-width: 280px;
    }

    .hero-main-image {
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(133, 25, 198, 0.25);
    }

    .floating-card {
        width: 70px !important;
        height: 70px !important;
        opacity: 0.5;
    }

    .card-1,
    .card-3 {
        display: none;
    }

    .service-card h3,
    .benefit-item h3,
    .service-card p,
    .benefit-item p {
        font-size: 0.9rem;
    }

    .price {
        font-size: 2rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Hide scan line animation on very small screens to prevent visual artifacts */
    .hero::after {
        opacity: 0;
    }

    .page-header::after {
        opacity: 0;
    }
}

/* Extra Small Phones (320px - 374px) */
@media (max-width: 374px) {
    .navbar-container {
        padding: 0 0.75rem;
    }

    .logo-image-container {
        width: 30px;
        height: 30px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .nav-menu {
        top: calc(100% + 8px);
    }

    .hero {
        padding: 20px 0.75rem;
        margin-top: 60px;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-buttons .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-visual {
        max-width: 250px;
    }

    .hero-image-container {
        max-width: 220px;
    }

    .hero-main-image {
        border-radius: 10px;
    }

    .floating-card {
        display: none;
    }

    .service-card,
    .benefit-item {
        padding: 1.25rem;
    }

    .service-card h3,
    .benefit-item h3 {
        font-size: 1.1rem;
    }

    .service-card p,
    .benefit-item p {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .footer {
        padding: 40px 0.75rem 20px;
    }

}

/* Mobile Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 2rem;
    }

    .hero-visual {
        height: auto;
        max-width: 300px;
    }

    .hero-image-container {
        max-width: 250px;
    }

    .floating-card {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .services,
    .why-choose,
    .contact {
        padding: 50px 2rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        padding: 14px 32px;
        min-height: 44px;
        min-width: 44px;
    }

    .nav-link {
        padding: 0.5rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hamburger {
        padding: 0.5rem;
        min-height: 44px;
        min-width: 44px;
    }

    input,
    textarea,
    button,
    select {
        font-size: 16px !important;
    }
}

/* High DPI/Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .service-icon svg {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ===================================
   NEW PAGES STYLES
   =================================== */

/* Active Nav Link */
.nav-link.active {
    color: var(--primary-accent);
    font-weight: 600;
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 100px 2rem 80px;
    background: linear-gradient(135deg, #0a0020 0%, var(--bg-main) 50%, var(--bg-section) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    z-index: 1;
    isolation: isolate;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(133, 25, 198, 0.2) 0%, rgba(203, 120, 242, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    animation: energyPulse 5s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(133, 25, 198, 0.03) 2px,
        rgba(133, 25, 198, 0.03) 4px
    );
    pointer-events: none;
    animation: scanLine 10s linear infinite;
    opacity: 0.3;
}

/* Bouncing Ball Background - REMOVED */

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-accent), 
        var(--highlight-subtle),
        transparent);
    animation: holographicShimmer 2s linear infinite;
    background-size: 200% 100%;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
}

/* ===================================
   BLOG PAGE STYLES
   =================================== */

.blog-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-blog-post {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2.5rem;
    align-items: center;
    background: rgba(23, 0, 66, 0.4);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: none;
    transition: all 0.3s ease;
}



.featured-post-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-category {
    background: linear-gradient(135deg, var(--primary-accent), var(--highlight-subtle));
    color: #ffffff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
}

.featured-post-title {
    color: var(--text-light);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.3;
}

.featured-post-excerpt {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.featured-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.author-info {
    color: var(--text-light);
    font-weight: 600;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--primary-accent);
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: rgba(133, 25, 198, 0.2);
    border-color: var(--highlight-subtle);
    transform: translateY(-2px);
}

.featured-post-image {
    position: relative;
}

.featured-image {
    border-radius: 20px;
    border: 1px solid rgba(203, 120, 242, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.scroll-animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .scroll-animate,
    .scroll-animate-right {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        z-index: auto;
    }
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */

/* Our Story Section */
.our-story {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
    position: relative;
    z-index: 1;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(23, 0, 66, 0.4);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: none;
    transition: all 0.3s ease;
}



.story-content h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.story-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-visual {
    position: relative;
}

.story-image-wrapper {
    width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 22px rgba(133, 25, 198, 0.35), 0 0 40px rgba(133, 25, 198, 0.2);
}

.story-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--primary-accent));
    position: relative;
}

.story-image-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* Comparison Section */
.comparison-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
}

.comparison-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.comparison-table-wrap {
    background: rgba(23, 0, 66, 0.4);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: none;
    overflow-x: auto;
    transition: all 0.3s ease;
}



.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(133, 25, 198, 0.2);
    color: var(--text-light);
    font-size: 0.98rem;
}

.comparison-table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comparison-table td:nth-child(2) {
    color: var(--highlight-subtle);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.neon-divider {
    width: min(900px, 90%);
    height: 2px;
    margin: 0 auto clamp(40px, 6vw, 60px);
    background: linear-gradient(90deg, transparent, var(--primary-accent), var(--highlight-subtle), transparent);
    box-shadow: none;
    border-radius: 999px;
}

/* FAQ Page */
.faq-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-intro h2 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.faq-intro p {
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
}

.faq-list {
    display: grid;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(23, 0, 66, 0.4);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    box-shadow: none;
    transition: all 0.3s ease;
}



.faq-item summary {
    cursor: pointer;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.05rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--highlight-subtle);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.7;
}

/* ===================================
   SERVICES CAROUSEL SECTION
   =================================== */

.services-carousel-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 100%);
    position: relative;
    z-index: 1;
}

.carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.services-carousel-section .section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.services-carousel-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 0.75rem 0.5rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: carousel-auto-scroll 20s linear infinite;
    width: calc(100% + 2rem);
}

.carousel-item {
    min-width: calc(6% - 1.6rem);
    flex-shrink: 0;
    text-align: center;
    padding: 1rem;
    min-height: 170px;
    background: rgba(70, 21, 141, 0.2);
    border-radius: 12px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: 0 0 10px rgba(133, 25, 198, 0.3);
    transition: all 0.3s ease;
}





.service-icon-neon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.3rem;
    animation: neon-glow-pulse 3s ease-in-out infinite;
    transform: scale(1);
}

.service-icon-neon svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 3px rgba(133, 25, 198, 0.6));
}

.carousel-item h4 {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.carousel-item p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(133, 25, 198, 0.2);
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(133, 25, 198, 0.4);
    box-shadow: 0 0 20px rgba(133, 25, 198, 0.5);
    transform: scale(1.1);
}

@keyframes carousel-auto-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-140% - 12rem));
    }
}

@keyframes neon-glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(133, 25, 198, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(203, 120, 242, 0.8)) drop-shadow(0 0 8px rgba(133, 25, 198, 0.6));
    }
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .carousel-item {
        min-width: calc(10% - 1.33rem);
    }

    @keyframes carousel-auto-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-233.333% - 7.98rem));
        }
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: calc(17.5% - 1rem);
        padding: 0.9rem;
        min-height: 160px;
    }

    .service-icon-neon {
        margin-bottom: 0.3rem;
    }

    .service-icon-neon svg {
        width: 20px;
        height: 20px;
    }

    .carousel-item h4 {
        font-size: 0.75rem;
    }

    @keyframes carousel-auto-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-350% - 6rem));
        }
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        min-width: 100%;
        min-height: 160px;
    }

    .carousel-track {
        gap: 1.5rem;
    }

    @keyframes carousel-auto-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-700% - 10.5rem));
        }
    }
}

/* ===================================
   FOUNDER SECTION
   =================================== */

.founder-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
    position: relative;
    z-index: 1;
}

.founder-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-light);
    margin-bottom: 4rem;
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(23, 0, 66, 0.4);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: none;
    transition: all 0.3s ease;
}



.founder-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.founder-image-wrapper {
    width: 100%;
    max-width: 420px;
    height: 540px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: rgba(23, 0, 66, 0.4);
    border: 3px solid rgba(133, 25, 198, 0.6);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}



.founder-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(133, 25, 198, 0.2), rgba(70, 21, 141, 0.3));
    color: var(--primary-accent);
}

.founder-image-placeholder svg {
    width: 150px;
    height: 150px;
    opacity: 0.8;
}

.founder-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.founder-image-label {
    text-align: center;
    margin-top: 0.5rem;
}

.founder-image-label h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.founder-image-label p {
    font-size: 0.85rem;
    color: var(--primary-accent);
    letter-spacing: 0.08em;
    font-weight: 600;
}

.founder-social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.founder-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(133, 25, 198, 0.2);
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.founder-social-icon:hover {
    background: var(--primary-accent);
    color: white;
    transform: translateY(-5px);
}

.founder-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(23, 0, 66, 0.4);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: none;
    transition: all 0.3s ease;
}



.founder-header {
    margin-bottom: 1rem;
}

.founder-name {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 1.2rem;
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--highlight-subtle));
    border-radius: 2px;
}

.founder-bio {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.founder-bio p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: rgba(10, 8, 20, 0.55);
    border-radius: 12px;
    border: 2px solid rgba(133, 25, 198, 0.8);
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2rem;
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mission & Vision Section */
.mission-vision {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
}

.mv-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2.5rem;
}

.mv-card {
    background-color: rgba(70, 21, 141, 0.3);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    text-align: center;
    transition: all 0.3s ease;
}



.mv-icon {
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(133, 25, 198, 0.1);
    border-radius: 50%;
}

.mv-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mv-card p {
    color: var(--text-muted);
}

/* Team Section */
.team-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
}

.team-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

/* Flip Card */
.flip-card {
    perspective: 1000px;
    height: 400px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back {
    border-color: var(--primary-accent);
    box-shadow: none;
}

.flip-card-front {
    background: linear-gradient(135deg, var(--bg-section), rgba(133, 25, 198, 0.1));
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-accent), var(--accent-secondary));
    transform: rotateY(180deg);
}

.team-image {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--primary-accent));
    border: 4px solid var(--primary-accent);
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-accent);
}

.flip-card-front h3,
.flip-card-back h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-accent);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.flip-card-back .team-role {
    color: var(--highlight-subtle);
}

.team-bio {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--highlight-subtle);
    transform: translateY(-3px);
}

/* Instagram Section */
.instagram-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
}

.instagram-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.instagram-header {
    text-align: center;
    margin-bottom: 4rem;
}

.instagram-header .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 800;
}

.instagram-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.instagram-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.iphone-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.iphone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 20px 60px rgba(133, 25, 198, 0.3), 0 0 0 1px rgba(133, 25, 198, 0.1);
    overflow: hidden;
    z-index: 2;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.iphone-home-button {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 4px;
}

.floating-arrow {
    position: absolute;
    top: -30px;
    right: -50px;
    animation: float-arrow-loop 4s ease-in-out infinite;
    z-index: 3;
}

@keyframes float-arrow-loop {
    0% {
        top: -30px;
        right: -50px;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    50% {
        top: 100px;
        right: -80px;
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        top: 250px;
        right: -120px;
        opacity: 0;
    }
}

.instagram-content {
    padding: 2rem;
    background: rgba(70, 21, 141, 0.2);
    border-radius: 20px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    transition: all 0.3s ease;
}



.instagram-content h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.instagram-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.instagram-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(133, 25, 198, 0.1);
    border-radius: 12px;
    border: 1px solid var(--primary-accent);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive Instagram Section */
@media (max-width: 768px) {
    .instagram-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .iphone-mockup {
        width: 240px;
        height: 480px;
        border-width: 10px;
        border-radius: 32px;
    }

    .iphone-notch {
        width: 110px;
        height: 22px;
    }

    .floating-arrow {
        top: -20px;
        right: -30px;
    }

    @keyframes float-arrow-loop {
        0% {
            top: -20px;
            right: -30px;
            opacity: 0;
        }
        20% {
            opacity: 1;
        }
        50% {
            top: 80px;
            right: -60px;
            opacity: 1;
        }
        80% {
            opacity: 1;
        }
        100% {
            top: 200px;
            right: -100px;
            opacity: 0;
        }
    }

    .instagram-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .instagram-content {
        padding: 1.5rem;
    }

    .instagram-content h3 {
        font-size: 1.5rem;
    }

    .instagram-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .iphone-mockup {
        width: 200px;
        height: 400px;
        border-width: 8px;
        border-radius: 28px;
    }

    .iphone-notch {
        width: 80px;
        height: 18px;
    }

    .instagram-header .section-title {
        font-size: 1.8rem;
    }

    .floating-arrow {
        top: -15px;
        right: -20px;
        width: 40px;
    }

    .floating-arrow svg {
        width: 40px;
        height: 40px;
    }
}

/* Achievements Section */
.achievements-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

.achievements-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.achievement-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(70, 21, 141, 0.3);
    border-radius: 16px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    transition: all 0.3s ease;
}



.achievement-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-accent);
    margin-bottom: 0.75rem;
}

.achievement-card h4 {
    color: var(--text-light);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.achievement-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Awards Section */
.awards-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
}

.awards-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.award-badge {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--bg-section), rgba(133, 25, 198, 0.1));
    border-radius: 16px;
    border: 2px solid rgba(133, 25, 198, 0.5);
    box-shadow: none;
    transition: all 0.3s ease;
}



.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}


.award-animation-trophy {
    animation: trophy-bounce 2s ease-in-out infinite;
}

@keyframes trophy-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.award-animation-star {
    animation: star-rotate-pulse 3s ease-in-out infinite;
}

@keyframes star-rotate-pulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(15deg) scale(1.1);
        opacity: 0.8;
    }
}

.award-animation-medal {
    animation: medal-swing 2.5s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes medal-swing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
}

.award-animation-sparkle {
    animation: sparkle-twinkle 2s ease-in-out infinite;
}

.award-animation-sparkle .sparkle-center {
    animation: sparkle-pulse 2s ease-in-out infinite;
}

.award-animation-sparkle .sparkle-top-left {
    animation: sparkle-fade-1 2s ease-in-out infinite;
}

.award-animation-sparkle .sparkle-top-right {
    animation: sparkle-fade-2 2s ease-in-out infinite;
}

.award-animation-sparkle .sparkle-bottom-left {
    animation: sparkle-fade-3 2s ease-in-out infinite;
}

.award-animation-sparkle .sparkle-bottom-right {
    animation: sparkle-fade-4 2s ease-in-out infinite;
}

@keyframes sparkle-twinkle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes sparkle-pulse {
    0%, 100% {
        fill: #8519c6;
        opacity: 1;
    }
    50% {
        fill: #cb78f2;
        opacity: 0.8;
    }
}

@keyframes sparkle-fade-1 {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes sparkle-fade-2 {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes sparkle-fade-3 {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes sparkle-fade-4 {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.award-badge h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.award-badge p {
    color: var(--primary-accent);
    font-size: 0.9rem;
}


.services-hero {
    padding: 3rem 2rem;
    background-color: var(--bg-main);
    text-align: center;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-detail {
    padding: clamp(60px, 10vw, 80px) clamp(1rem, 3vw, 2rem);
}

.service-detail.service-left {
    background-color: var(--bg-main);
}

.service-detail.service-right {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-main) 100%);
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(133, 25, 198, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-content h2 {
    color: var(--text-light);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.service-tagline {
    color: var(--primary-accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-benefits {
    margin-bottom: 2rem;
}

.service-benefits h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-benefits ul {
    list-style: none;
}

.service-benefits li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.benefit-icon {
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-weight: 700;
}

.service-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-wrapper {
    width: 100%;
    max-width: 460px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(133, 25, 198, 0.1) 0%, transparent 70%);
    border-radius: 20px;
}

.service-icon-large {
    animation: service-icon-float 5s ease-in-out infinite;
    transform-origin: center;
    position: relative;
}

.service-icon-large svg {
    width: 130px;
    height: 130px;
    filter: drop-shadow(0 0 12px rgba(133, 25, 198, 0.5));
    animation: service-icon-tilt 4s ease-in-out infinite;
    transform-origin: center;
}

.service-icon-large::before {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 24px;
    border: 1px solid rgba(203, 120, 242, 0.25);
    box-shadow: none;
    animation: service-icon-orbit 3.5s linear infinite;
    pointer-events: none;
}

/* ===================================
   REVIEWS SECTION
   =================================== */

.reviews-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-header h2 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.reviews-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0.75rem;
    scroll-snap-type: y mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-accent) rgba(23, 0, 66, 0.4);
}

.reviews-list::-webkit-scrollbar {
    width: 8px;
}

.reviews-list::-webkit-scrollbar-track {
    background: rgba(23, 0, 66, 0.4);
    border-radius: 999px;
}

.reviews-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-accent), var(--highlight-subtle));
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(133, 25, 198, 0.5);
}

.reviews-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--highlight-subtle), var(--primary-accent));
}

.review-card {
    background: rgba(23, 0, 66, 0.8);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: none;
    scroll-snap-align: start;
    transition: all 0.3s ease;
}



.review-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-name {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.reviewer-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-rating {
    font-weight: 700;
    color: var(--highlight-subtle);
    letter-spacing: 0.15rem;
}

.review-text {
    color: var(--text-muted);
    line-height: 1.8;
}

.review-form {
    background: rgba(23, 0, 66, 0.4);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: none;
}

.review-form h3 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.review-form > p {
    color: var(--text-muted);
    margin-top: -0.75rem;
}

.review-form .form-group input,
.review-form .form-group select,
.review-form .form-group textarea {
    background-color: rgba(10, 8, 20, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.review-form .form-group input:focus,
.review-form .form-group select:focus,
.review-form .form-group textarea:focus {
    background-color: rgba(10, 8, 20, 0.7);
    box-shadow: inset 0 0 0 1px rgba(133, 25, 198, 0.35), 0 0 18px rgba(133, 25, 198, 0.25);
}

.rating-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-label {
    color: var(--text-light);
    font-weight: 600;
}

.rating-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rating-option {
    position: relative;
    cursor: pointer;
}

.rating-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(23, 0, 66, 0.4);
}

.rating-option input:checked + span,
.rating-option span:hover {
    border-color: var(--highlight-subtle);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(203, 120, 242, 0.4);
    background: rgba(70, 21, 141, 0.5);
}

@media (max-width: 991px) {
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .reviews-list {
        max-height: 420px;
    }
}


.contact-main-section {
    padding: clamp(60px, 10vw, 80px) clamp(1rem, 3vw, 2rem);
    background-color: var(--bg-main);
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--bg-section), rgba(133, 25, 198, 0.1));
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    text-align: center;
    transition: all 0.3s ease;
}



.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(133, 25, 198, 0.1);
    border-radius: 50%;
}

.contact-info-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.whatsapp-link {
    color: var(--primary-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: var(--highlight-subtle);
}

.contact-form-section {
    background: rgba(23, 0, 66, 0.4);
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    transition: all 0.3s ease;
}



.contact-form-section h2 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.contact-form-section > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.animated-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background-color: rgba(10, 8, 20, 0.65);
    border: 2px solid rgba(133, 25, 198, 0.8);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    background-color: rgba(10, 8, 20, 0.8);
    box-shadow: inset 0 0 0 1px rgba(133, 25, 198, 0.35), 0 0 18px rgba(133, 25, 198, 0.25);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--highlight-subtle));
    transition: width 0.4s ease;
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
}

.animated-contact-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.animated-contact-form button svg {
    transition: transform 0.3s ease;
}

.animated-contact-form button:hover svg {
    transform: translateX(5px);
}

/* Map Section */
.map-section {
    position: relative;
    height: 400px;
    background-color: var(--bg-section);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--primary-accent));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-pin {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.map-placeholder p {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(23, 0, 66, 0.95);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--primary-accent);
    max-width: 300px;}

.map-overlay h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.map-overlay p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Social CTA Section */
.social-cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a0a3a 0%, #2d1454 50%, #1e0d3f 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.social-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.social-cta-content h2 {
    color: #e0c7ff;
    margin-bottom: 1rem;
    font-weight: 800;
}

.social-cta-content p {
    color: #b8a3d4;
    margin-bottom: 2.5rem;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(70, 21, 141, 0.3);
    border: 2px solid rgba(133, 25, 198, 0.5);
    border-radius: 16px;
    color: var(--text-light);
    text-decoration: none;
    box-shadow: none;
    transition: all 0.3s ease;
    min-width: 120px;
}



.social-icon-large svg {
    transition: transform 0.3s ease;
}

.social-icon-large:hover svg {
    transform: scale(1.1);
}

.social-icon-large span {
    font-size: 0.95rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: clamp(60px, 10vw, 80px) 2rem;
    background: linear-gradient(135deg, #1a0a3a 0%, #2d1454 50%, #1e0d3f 100%);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content h2 {
    color: #e0c7ff;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
}

.cta-content p {
    color: #b8a3d4;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-content .btn {
    background-color: #8B5CF6;
    color: #ffffff;
    border: none;
}

.cta-content .btn:hover {
    background-color: #7C3AED;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* Medium Blog Section */
.medium-blog-section {
    padding: clamp(80px, 12vw, 120px) 2rem;
    background: linear-gradient(135deg, rgba(20, 0, 80, 0.95), rgba(70, 21, 141, 0.8)),
                url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h60v60H0z" fill="none"/%3E%3Cpath d="M30 0v60M0 30h60" stroke="%238519c6" stroke-width="0.5" opacity="0.1"/%3E%3C/svg%3E');
    text-align: center;
    position: relative;
    overflow: hidden;
}

.medium-blog-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(133, 25, 198, 0.15) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.medium-blog-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* Book Icon with Pulse Effect */
.book-icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Book animation styles */
.book,
.book__pg-shadow,
.book__pg {
  animation: cover 5s ease-in-out infinite;
}

.book {
  background-color: hsl(268, 90%, 65%);
  border-radius: 0.25em;
  box-shadow:
    0 0.25em 0.5em hsla(0, 0%, 0%, 0.3),
    0 0 0 0.25em hsl(278, 100%, 57%) inset;
  padding: 0.25em;
  perspective: 37.5em;
  position: relative;
  width: 8em;
  height: 6em;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
}

.book__pg-shadow,
.book__pg {
  position: absolute;
  left: 0.25em;
  width: calc(50% - 0.25em);
}

.book__pg-shadow {
  animation-name: shadow;
  background-image: linear-gradient(
    -45deg,
    hsla(0, 0%, 0%, 0) 50%,
    hsla(0, 0%, 0%, 0.3) 50%
  );
  filter: blur(0.25em);
  top: calc(100% - 0.25em);
  height: 3.75em;
  transform: scaleY(0);
  transform-origin: 100% 0%;
}

.book__pg {
  animation-name: pg1;
  background-color: hsl(223, 10%, 100%);
  background-image: linear-gradient(
    90deg,
    hsla(223, 10%, 90%, 0) 87.5%,
    hsl(223, 10%, 90%)
  );
  height: calc(100% - 0.5em);
  transform-origin: 100% 50%;
}

.book__pg--2,
.book__pg--3,
.book__pg--4 {
  background-image: repeating-linear-gradient(
      hsl(223, 10%, 10%) 0 0.125em,
      hsla(223, 10%, 10%, 0) 0.125em 0.5em
    ),
    linear-gradient(90deg, hsla(223, 10%, 90%, 0) 87.5%, hsl(223, 10%, 90%));
  background-repeat: no-repeat;
  background-position: center;
  background-size:
    2.5em 4.125em,
    100% 100%;
}

.book__pg--2 {
  animation-name: pg2;
}

.book__pg--3 {
  animation-name: pg3;
}

.book__pg--4 {
  animation-name: pg4;
}

.book__pg--5 {
  animation-name: pg5;
}

@keyframes cover {
  from,
  5%,
  45%,
  55%,
  95%,
  to {
    animation-timing-function: ease-out;
    background-color: hsl(268, 90%, 65%);
  }
  10%,
  40%,
  60%,
  90% {
    animation-timing-function: ease-in;
    background-color: hsl(271, 90%, 45%);
  }
}

@keyframes shadow {
  from,
  10.01%,
  20.01%,
  30.01%,
  40.01% {
    animation-timing-function: ease-in;
    transform: translate3d(0, 0, 1px) scaleY(0) rotateY(0);
  }
  5%,
  15%,
  25%,
  35%,
  45%,
  55%,
  65%,
  75%,
  85%,
  95% {
    animation-timing-function: ease-out;
    transform: translate3d(0, 0, 1px) scaleY(0.2) rotateY(90deg);
  }
  10%,
  20%,
  30%,
  40%,
  50%,
  to {
    animation-timing-function: ease-out;
    transform: translate3d(0, 0, 1px) scaleY(0) rotateY(180deg);
  }
  50.01%,
  60.01%,
  70.01%,
  80.01%,
  90.01% {
    animation-timing-function: ease-in;
    transform: translate3d(0, 0, 1px) scaleY(0) rotateY(180deg);
  }
  60%,
  70%,
  80%,
  90%,
  to {
    animation-timing-function: ease-out;
    transform: translate3d(0, 0, 1px) scaleY(0) rotateY(0);
  }
}

@keyframes pg1 {
  from,
  to {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0.4deg);
  }
  10%,
  15% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(180deg);
  }
  20%,
  80% {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(180deg);
  }
  85%,
  90% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(180deg);
  }
}

@keyframes pg2 {
  from,
  to {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(0.3deg);
  }
  5%,
  10% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0.3deg);
  }
  20%,
  25% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(179.9deg);
  }
  30%,
  70% {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(179.9deg);
  }
  75%,
  80% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(179.9deg);
  }
  90%,
  95% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0.3deg);
  }
}

@keyframes pg3 {
  from,
  10%,
  90%,
  to {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(0.2deg);
  }
  15%,
  20% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0.2deg);
  }
  30%,
  35% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(179.8deg);
  }
  40%,
  60% {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(179.8deg);
  }
  65%,
  70% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(179.8deg);
  }
  80%,
  85% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0.2deg);
  }
}

@keyframes pg4 {
from,
20%,
80%,
to {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(0.1deg);
}
25%,
30% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0.1deg);
  }
  40%,
  45% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(179.7deg);
  }
  50% {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(179.7deg);
  }
  55%,
  60% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(179.7deg);
  }
  70%,
  75% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0.1deg);
  }
}

@keyframes pg5 {
  from,
  30%,
  70%,
  to {
    animation-timing-function: ease-in;
    background-color: hsl(223, 10%, 45%);
    transform: translate3d(0, 0, 1px) rotateY(0);
  }
  35%,
  40% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0deg);
  }
  50% {
    animation-timing-function: ease-in-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(179.6deg);
  }
  60%,
  65% {
    animation-timing-function: ease-out;
    background-color: hsl(223, 10%, 100%);
    transform: translate3d(0, 0, 1px) rotateY(0);
  }
}

.medium-blog-content h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(133, 25, 198, 0.5);
}

.medium-blog-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.btn-medium {
    background: linear-gradient(135deg, #ffffff, #f0e6ff);
    color: var(--primary-accent);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(133, 25, 198, 0.3);
    border: 2px solid transparent;
}

.btn-medium:hover {
    background: linear-gradient(135deg, #f0e6ff, #ffffff);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(133, 25, 198, 0.5);
    gap: 1rem;
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .medium-blog-section {
        padding: 60px 1.5rem;
    }
    
    .book-icon-container {
        width: 100px;
        height: 100px;
        margin-bottom: 2rem;
    }
    
    .book {
        width: 6.5em;
        height: 4.875em;
    }
    
    .medium-blog-content h2 {
        font-size: 2rem;
    }
    
    .medium-blog-content p {
        font-size: 1rem;
    }
    
    .btn-medium {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* Footer Enhancement */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-image-container {
    width: 40px;
    height: 40px;
}

.footer-logo h4 {
    color: var(--primary-accent);
    margin: 0;
}

/* ===================================
   BLOG PAGE STYLES
   =================================== */

.blog-section {
    padding: clamp(60px, 10vw, 100px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-section) 100%);
    min-height: 100vh;
}

.blog-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Featured Blog Post */
.featured-blog-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(70, 21, 141, 0.2);
    border-radius: 20px;
    border: 2px solid rgba(133, 25, 198, 0.8);
    box-shadow: none;
    transition: all 0.3s ease;
}



.featured-post-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(133, 25, 198, 0.3);
    border: 1px solid var(--primary-accent);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-accent);
    font-weight: 600;
}

.blog-date,
.blog-read-time {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.featured-post-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.3;
}

.featured-post-excerpt {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.author-info {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.read-more-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--primary-accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-accent);
}

.read-more-btn:hover {
    background: transparent;
    color: var(--primary-accent);
}

.featured-post-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS FOR NEW PAGES
   =================================== */

@media (max-width: 991px) {
    .story-container,
    .service-container,
    .featured-post,
    .featured-blog-post,
    .modal-body,
    .founder-container {
        grid-template-columns: 1fr;
    }

    .service-visual {
        order: -1;
    }

    .flip-card {
        height: 350px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 1.5rem 40px;
    }

    .featured-blog-post {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }

    .featured-post-title {
        font-size: 1.5rem;
    }

    .featured-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .social-icons-large {
        gap: 1rem;
    }

    .social-icon-large {
        min-width: 100px;
        padding: 1rem;
    }

    .modal-content {
        margin: 1rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 2rem 1.5rem;
    }

    .founder-container {
        gap: 2rem;
    }

    .founder-image-wrapper {
        max-width: 280px;
        height: 360px;
    }

    .founder-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mv-container {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .service-number {
        font-size: 3rem;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .founder-title {
        font-size: 1rem;
    }

    .founder-image-wrapper {
        max-width: 100%;
        height: 320px;
    }

    .founder-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat h4 {
        font-size: 1.3rem;
    }

    .contact-form-section {
        padding: 1.5rem 1rem;
    }
}

/* ===================================
   TECH THUNDER EFFECT - PAGE LOAD
   =================================== */

#thunder-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

#thunder-container.active {
    opacity: 1;
}

.thunder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(203, 120, 242, 0.3), rgba(133, 25, 198, 0.2));
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.thunder-overlay.flash {
    animation: thunderFlash 0.4s ease-out;
}

.thunder-bolt {
    position: fixed;
    width: 80px;
    height: 160px;
    opacity: 0;
    filter: drop-shadow(0 0 8px #cb78f2) drop-shadow(0 0 20px rgba(203, 120, 242, 0.6));
}

.thunder-bolt:nth-child(2) {
    top: 5%;
    left: 10%;
    animation: boltFlash1 0.3s ease-out forwards;
}

.thunder-bolt.secondary {
    filter: drop-shadow(0 0 6px #8519c6) drop-shadow(0 0 15px rgba(133, 25, 198, 0.5));
}

.thunder-bolt:nth-child(3) {
    top: 15%;
    right: 15%;
    animation: boltFlash2 0.3s ease-out forwards 0.1s;
}

.thunder-bolt.strike {
    opacity: 1;
    animation: strike 0.15s ease-out;
}

/* Thunder Animations */
@keyframes thunderFlash {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes strike {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
        filter: drop-shadow(0 0 2px #cb78f2) drop-shadow(0 0 6px rgba(203, 120, 242, 0.3));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 15px #cb78f2) drop-shadow(0 0 30px rgba(203, 120, 242, 0.8));
    }
    100% {
        opacity: 0.3;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 8px #cb78f2) drop-shadow(0 0 20px rgba(203, 120, 242, 0.4));
    }
}

@keyframes boltFlash1 {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes boltFlash2 {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* ===================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS
   =================================== */

/* Ensure proper image scaling on all devices */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.logo-image,
.hero-main-image {
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.story-image-photo {
    object-fit: contain;
    width: 100%;
    height: auto;
    display: block;
}

/* Prevent horizontal scrolling on all devices */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
}

/* Better table responsiveness */
table {
    width: 100%;
    border-collapse: collapse;
}

/* Ultra-responsive container */
.navbar-container,
.services-grid,
.benefits-grid,
.contact-content,
.footer-content,
.carousel-container,
.hero,
.contact,
.services,
.why-choose,
.footer {
    width: 100%;
    overflow-x: hidden;
}

/* Fix carousel overflow on mobile */
.carousel-track {
    will-change: transform;
    backface-visibility: hidden;
}

/* Improved form responsiveness */
.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Button optimization for all devices */
button,
.btn {
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
}

/* Heading responsiveness */
h1, h2, h3, h4, h5, h6 {
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Improved text responsiveness */
.service-card p,
.benefit-item p,
.page-subtitle,
.section-subtitle {
    hyphens: auto;
    word-break: break-word;
}

/* Extra mobile optimization for very small screens */
@media (max-width: 320px) {
    html {
        font-size: 13px;
    }

    .hero {
        padding: 15px 0.5rem;
        margin-top: 60px;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-buttons .btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .navbar-container {
        padding: 0 0.5rem;
    }

    .logo-text {
        font-size: 0.8rem;
    }

    .service-card,
    .benefit-item,
    .contact-info-card {
        padding: 1rem;
    }

    .carousel-item {
        min-width: 100%;
        padding: 1.5rem 1rem;
    }

    textarea {
        resize: vertical;
        max-height: 150px;
    }
}

/* Better support for landscape mode on small devices */
@media (max-height: 600px) {
    .hero {
        min-height: auto;
        padding: 30px 1rem;
    }

    .page-header {
        padding: 50px 1rem;
    }

    .floating-card {
        display: none;
    }

    .neon-ball {
        opacity: 0.3 !important;
    }
}

/* Fix for tablets in portrait mode (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .carousel-item {
        min-width: calc(50% - 1rem);
    }
}

/* Improved large tablet support (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    .carousel-item {
        min-width: calc(33.333% - 1.33rem);
    }

    .hero {
        flex-direction: row;
    }
}

/* Desktop optimization (992px and above) */
@media (min-width: 992px) {
    .carousel-item {
        min-width: calc(20% - 1.6rem);
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Fix for super high resolution screens */
@media (min-width: 1800px) {
    html {
        font-size: 18px;
    }

    .page-title,
    .section-header h2 {
        font-size: clamp(3rem, 8vw, 4.5rem);
    }
}

/* Print optimization */
@media print {
    .navbar,
    .footer-ball,
    .hero-glass-layer,
    .footer-glass-layer,
    .neon-ball,
    .floating-card,
    .hamburger,
    .carousel-nav {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: inherit;
    }

    .service-card,
    .benefit-item {
        page-break-inside: avoid;
    }
}

/* Ensure proper spacing on mobile */
@media (max-width: 600px) {
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-logo {
        flex-shrink: 0;
    }

    .nav-menu {
        width: min(240px, calc(100vw - 2rem));
    }

    .floating-card {
        opacity: 0.3 !important;
    }

    .story-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .carousel-container {
        overflow: visible;
    }
}

/* Better navbar scrolling on mobile */
@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* SVG optimization */
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.service-icon svg,
.info-icon svg,
.service-icon-neon svg {
    width: 100%;
    height: auto;
}

/* Better checkbox and input styling */
input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Improved select dropdown styling */
select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background-color: var(--bg-section);
    color: var(--text-light);
    border: 1px solid var(--accent-secondary);
    cursor: pointer;
}

/* Better video responsiveness */
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* ===================================
   ENHANCED FORM STYLING FOR MOBILE
   =================================== */

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    label {
        font-size: 0.9rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
        padding: 12px 14px;
        width: 100%;
    }

    textarea {
        min-height: 120px;
    }

    /* Hide datalist dropdown on mobile to prevent overlay */
    datalist {
        display: none;
    }
}

@media (max-width: 480px) {
    .form-row {
        gap: 0.75rem;
    }

    input,
    select,
    textarea {
        padding: 12px 12px;
        font-size: 16px !important;
        border-radius: 6px;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-section {
        margin-top: 2rem;
    }
}

/* ===================================
   IMPROVED NAVBAR FOR MOBILE
   =================================== */

@media (max-width: 768px) {
    .navbar {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .navbar-container {
        justify-content: space-between;
    }

    .nav-menu.active {
        animation: slideInMenu 0.3s ease-out;
    }

    .nav-item {
        border-bottom: 1px solid var(--accent-secondary);
    }

    .nav-item:last-child {
        border-bottom: none;
    }
}

@keyframes slideInMenu {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Smooth scrolling on all devices */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    * {
        scroll-behavior: smooth;
    }
}

/* Better focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

/* Improved visibility for touch targets */
@media (hover: none) and (pointer: coarse) {
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    button,
    input,
    select,
    textarea {
        min-height: 44px;
        font-size: 16px !important;
    }
}

/* Better link styling for mobile */
.nav-link,
.btn,
a {
    transition: all 0.3s ease;
}

/* Improved spacing on small screens */
@media (max-width: 600px) {
    section {
        margin-bottom: 1rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        margin-bottom: 0.75rem;
    }
}

/* Fix overflow on carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Safe area insets for notched devices - MOBILE ONLY */
@media (max-width: 768px) {
    @supports (padding: max(0px)) {
        body {
            padding-left: env(safe-area-inset-left);
            padding-right: env(safe-area-inset-right);
        }

        .navbar-container {
            padding-left: max(1rem, env(safe-area-inset-left));
            padding-right: max(1rem, env(safe-area-inset-right));
        }
    }
}

/* Better image handling */
@media (max-width: 600px) {
    .hero-image-container,
    .story-image-wrapper,
    .founder-image-wrapper {
        width: 100%;
        max-width: 100%;
    }

    img {
        display: block;
        margin: 0 auto;
    }
}

/* Prevent layout shift */
img,
video,
iframe {
    display: block;
    max-width: 100%;
}

/* Better button sizing on mobile */
.btn {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 600px) {
    .btn {
        display: block;
        width: 100%;
    }

    .btn-group,
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

/* Improved card sizing */
.service-card,
.benefit-item,
.contact-info-card {
    width: 100%;
}

/* Better grid on mobile */
@media (max-width: 768px) {
    .services-grid,
    .benefits-grid {
        gap: 1rem;
    }

    .contact-content {
        gap: 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

/* Fix for sticky elements on mobile */
@media (max-width: 768px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Better text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improved zoom on input focus (prevents zoom on iOS) */
@media (max-width: 767px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

.client-logos-carousel-section {
    padding: clamp(50px, 8vw, 90px) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(23, 0, 66, 0.35) 0%, rgba(37, 4, 82, 0.3) 100%);
}

.client-logos-carousel-section .section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.client-logos-carousel-section .section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.logo-carousel-track {
    animation-duration: 22s;
}

.logo-carousel-item {
    min-width: 140px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.75rem;
}

.logo-frame {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(133, 25, 198, 0.8);
    background: rgba(70, 21, 141, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(133, 25, 198, 0.3);
}

.logo-frame img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(133, 25, 198, 0.4));
}

@media (max-width: 1024px) {
    .logo-carousel-item {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .logo-carousel-item {
        min-width: 105px;
        padding: 0.5rem;
    }

    .logo-frame {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 600px) {
    .logo-carousel-item {
        min-width: 95px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(133, 25, 198, 0.8), rgba(203, 120, 242, 0.6));
    border: 2px solid rgba(133, 25, 198, 0.8);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translate3d(0, 10px, 0);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(133, 25, 198, 0.3);
    overflow: visible;
    will-change: transform, opacity;
    -webkit-transform: translate3d(0, 10px, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(203, 120, 242, 0.6), transparent);
    opacity: 0;
    pointer-events: none;
    border-radius: 50%;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.back-to-top:hover::before {
    animation: lightningStrike 0.6s ease-out;
}

.back-to-top:hover {
    background: linear-gradient(135deg, rgba(133, 25, 198, 1), rgba(203, 120, 242, 0.8));
    box-shadow: 0 4px 25px rgba(133, 25, 198, 0.6);
    transform: translate3d(0, -5px, 0);
    -webkit-transform: translate3d(0, -5px, 0);
    animation: lightningGlow 0.6s ease-out;
}

/* Services Comparison Section */
.services-comparison-section {
    padding: 4rem clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, 
        rgba(37, 4, 82, 0.4) 0%,
        rgba(23, 0, 66, 0.3) 100%);
    border-top: 2px solid rgba(133, 25, 198, 0.4);
    border-bottom: 2px solid rgba(133, 25, 198, 0.4);
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, 
        rgba(133, 25, 198, 1),
        rgba(203, 120, 242, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border: 2px solid rgba(133, 25, 198, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    background: rgba(37, 4, 82, 0.3);
    box-shadow: 0 8px 32px rgba(133, 25, 198, 0.15);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.comparison-table thead {
    background: linear-gradient(90deg, 
        rgba(133, 25, 198, 0.3) 0%,
        rgba(203, 120, 242, 0.2) 100%);
    border-bottom: 2px solid rgba(133, 25, 198, 0.5);
}

.comparison-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
    color: rgba(203, 120, 242, 1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: 1px solid rgba(133, 25, 198, 0.3);
    white-space: nowrap;
}

.comparison-table th:last-child {
    border-right: none;
}

.col-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.1em;
}

.col-label {
    display: inline-block;
}

.comparison-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(133, 25, 198, 0.2);
    border-right: 1px solid rgba(133, 25, 198, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-row {
    transition: background-color 0.3s ease;
}

.comparison-row:hover {
    background: rgba(133, 25, 198, 0.15);
}

.comparison-row:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(203, 120, 242, 0.8));
}

.service-name-col {
    font-weight: 600;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, 
        rgba(133, 25, 198, 0.3),
        rgba(203, 120, 242, 0.2));
    border: 1.5px solid rgba(133, 25, 198, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-title {
    font-weight: 600;
    color: white;
}

.difficulty {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
}

.difficulty.low {
    color: rgba(100, 200, 100, 0.9);
}

.difficulty.medium {
    color: rgba(255, 200, 100, 0.9);
}

.difficulty.high {
    color: rgba(255, 100, 100, 0.9);
}

.comparison-legend {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(133, 25, 198, 0.1);
    border: 1px solid rgba(133, 25, 198, 0.3);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    gap: 1rem;
}

.legend-label {
    color: rgba(203, 120, 242, 1);
    font-weight: 600;
    min-width: 150px;
}

.legend-desc {
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

/* Responsive Comparison Table */
@media (max-width: 1024px) {
    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }

    .col-label {
        display: none;
    }

    .col-icon {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .services-comparison-section {
        padding: 2rem 1rem;
    }

    .comparison-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .service-badge {
        gap: 0.5rem;
    }

    .service-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .comparison-table-wrapper {
        border-radius: 8px;
    }

    .comparison-legend {
        flex-direction: column;
        padding: 1rem;
    }

    .legend-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .legend-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .comparison-table {
        font-size: 0.7rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
    }

    .service-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .col-icon {
        display: none;
    }

    .comparison-header h2 {
        font-size: 1.3rem;
    }

    .comparison-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: block !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999 !important;
        padding: 0.9rem 1rem;
        background: linear-gradient(135deg,
            rgba(23, 0, 66, 0.94) 0%,
            rgba(37, 4, 82, 0.92) 100%);
        border-bottom: 1px solid rgba(133, 25, 198, 0.45);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        overflow: visible !important;
        min-height: 60px;
    }

    .navbar-container {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        position: relative;
        overflow: visible !important;
        padding: 0;
        z-index: 10000;
    }

    .hamburger {
        display: flex !important;
        position: relative !important;
        gap: 5px;
        padding: 6px;
        margin-right: -2px;
        border-radius: 8px;
        min-width: 40px;
        min-height: 40px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        will-change: transform;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10001 !important;
        pointer-events: auto !important;
    }

    .bar {
        width: 20px;
        height: 2.5px;
        margin: 0;
        background: var(--highlight-subtle);
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .nav-menu {
        display: none !important;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: min(68vh, 430px);
        padding: 0.35rem 0;
        margin: 0;
        margin-left: 0 !important;
        gap: 0 !important;
        list-style: none;
        border: 1px solid rgba(133, 25, 198, 0.35);
        border-radius: 12px;
        background: linear-gradient(180deg,
            rgba(31, 2, 78, 0.97) 0%,
            rgba(23, 0, 66, 0.96) 100%);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
        transform: translateY(-6px) scale(0.98);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(133, 25, 198, 0.18);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-light);
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
        color: var(--highlight-subtle);
        background: rgba(133, 25, 198, 0.14);
    }
    
    /* Prevent animated sections from interfering with navbar */
    .animate-fade-in-down,
    .page-header,
    .our-story,
    .services-carousel-section,
    .founder-section,
    section:not(.navbar) {
        z-index: 1 !important;
        isolation: isolate;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        animation: none !important;
    }
    
    /* Force all main content below navbar */
    main,
    body > section,
    body > div:not(.navbar):not(.back-to-top) {
        position: relative;
        z-index: 1;
    }
}

/* iOS Safari specific fixes to prevent hamburger disappearing */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .navbar {
            isolation: isolate;
            z-index: 9999 !important;
        }
        
        .hamburger {
            isolation: isolate;
            contain: layout style;
            pointer-events: auto;
            z-index: 10000 !important;
        }
        
        .navbar-container {
            isolation: isolate;
            z-index: 10000 !important;
        }
        
        /* Ensure all page sections stay below navbar */
        .page-header,
        .our-story,
        .services-carousel-section,
        .founder-section,
        section {
            z-index: 1 !important;
        }
    }
}