/* ================================================
   PALAWA GROUP - Professional Corporate Website
   Design: Minimalist Corporate, Clean, Luxury
   Colors: #003E8F (Main), #326FB0, #36AAD7 (Accent)
================================================ */

/* Google Fonts Import - Enhanced Typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-dark: #003E8F;
    --primary: #326FB0;
    --accent: #36AAD7;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #003E8F 0%, #326FB0 50%, #36AAD7 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0, 62, 143, 0.95) 0%, rgba(50, 111, 176, 0.9) 100%);
    --gradient-card: linear-gradient(135deg, #003E8F 0%, #326FB0 100%);
    --gradient-light: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    --gradient-glow: linear-gradient(135deg, rgba(54, 170, 215, 0.4) 0%, rgba(0, 62, 143, 0.4) 100%);
    
    /* Typography - Enhanced */
    --font-heading: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-luxury: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 62, 143, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 62, 143, 0.1), 0 2px 4px -1px rgba(0, 62, 143, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 62, 143, 0.1), 0 4px 6px -2px rgba(0, 62, 143, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 62, 143, 0.1), 0 10px 10px -5px rgba(0, 62, 143, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 62, 143, 0.25);
    --shadow-glow: 0 0 40px rgba(54, 170, 215, 0.3);
    --shadow-neon: 0 0 20px rgba(54, 170, 215, 0.5), 0 0 40px rgba(54, 170, 215, 0.3), 0 0 60px rgba(54, 170, 215, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    cursor: none;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

/* ================================================
   CUSTOM CURSOR - Professional & Cool
================================================ */

.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-dark);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s cubic-bezier(0.23, 1, 0.32, 1), height 0.2s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease, opacity 0.3s ease, border 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1), height 0.35s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    opacity: 0.45;
}

.cursor.hover {
    width: 48px;
    height: 48px;
    background: rgba(54, 170, 215, 0.08);
    border: 1.5px solid var(--accent);
    mix-blend-mode: normal;
    opacity: 1;
    backdrop-filter: blur(2px);
}

.cursor-follower.hover {
    width: 0;
    height: 0;
    opacity: 0;
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.7);
}

.cursor-follower.click {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.2;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    html, body, a, button {
        cursor: auto !important;
    }
    .cursor, .cursor-follower {
        display: none !important;
    }
}

/* Ensure clickable elements trigger cursor changes */
a, button, [role="button"], input[type="submit"], .btn, .nav-toggle, .lang-btn, .business-card, .value-card, .contact-card {
    cursor: none;
}

/* Selection */
::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Typography - Enhanced & Eye-catching */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.75rem, 6vw, 4.5rem); 
    font-weight: 900;
    letter-spacing: -0.03em;
}
h2 { 
    font-size: clamp(2.25rem, 5vw, 3.5rem); 
    font-weight: 800;
    letter-spacing: -0.025em;
}
h3 { 
    font-size: clamp(1.75rem, 3.5vw, 2.25rem); 
    font-weight: 700;
}
h4 { 
    font-size: clamp(1.35rem, 2.5vw, 1.75rem); 
    font-weight: 700;
}
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.8;
    text-align: justify;
}

/* Override justify for centered contexts */
.section-header p,
.section-description,
.hero-description,
.hero-content p,
.page-header p,
.page-header-content p,
.stat-label,
.footer-bottom p,
.founder-role,
.founder-info p {
    text-align: center;
}

/* Display Text - For Headlines */
.display-text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 480px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }
}

/* ================================================
   ANIMATIONS
================================================ */

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Pulse Glow */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(54, 170, 215, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(54, 170, 215, 0.6);
    }
}

/* Gradient Shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Line Draw */
@keyframes lineDraw {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* NEW ANIMATIONS - Cool & Professional */

/* Rotate In */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Bounce In */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide Up Bounce */
@keyframes slideUpBounce {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    60% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(54, 170, 215, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(54, 170, 215, 0.8)) drop-shadow(0 0 40px rgba(54, 170, 215, 0.4));
    }
}

/* Wave Animation */
@keyframes wave {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(5px) rotate(-2deg);
    }
}

/* Morph Shape */
@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* Text Reveal */
@keyframes textReveal {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Typewriter */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Blink Cursor */
@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: var(--accent);
    }
}

/* Magnetic Pull */
@keyframes magneticPull {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Spin Slow */
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Orbit */
@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* Gradient Flow */
@keyframes gradientFlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Border Rotate */
@keyframes borderRotate {
    0% {
        border-image-source: linear-gradient(0deg, var(--primary), var(--accent));
    }
    100% {
        border-image-source: linear-gradient(360deg, var(--primary), var(--accent));
    }
}

/* Text Gradient Animation */
@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* New Animation Classes */
.reveal-rotate {
    opacity: 0;
    transform: rotate(-5deg) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-bounce {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

/* Animated Gradient Text */
.gradient-text-animated {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent), var(--primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 4s ease infinite;
}

/* Glow Effect */
.glow-effect {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Float Effect */
.float-effect {
    animation: float 6s ease-in-out infinite;
}

/* Morph Effect for backgrounds */
.morph-bg {
    animation: morphShape 8s ease-in-out infinite;
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
    animation: magneticPull 0.6s ease-in-out;
}

/* Ripple Button Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn-ripple:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

/* Hover Glow Effect */
.hover-glow {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hover-glow:hover {
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px);
}

/* Text Underline Animation */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-underline:hover::after {
    width: 100%;
}

/* Tilt Effect on Hover */
.tilt-effect {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.tilt-effect:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
}

/* Shine Effect on Hover */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.shine-effect:hover::before {
    left: 100%;
}

/* Parallax Scroll Effect */
.parallax-element {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Ripple Effect for Buttons */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Perspective Container */
.perspective-container {
    perspective: 1000px;
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Stagger animations */
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ================================================
   NAVIGATION
================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo img {
    height: 45px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
    height: 38px;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-logo-text {
    color: var(--primary-dark);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 40px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled .nav-menu a {
    color: var(--gray-700);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
    color: var(--primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .lang-switcher {
    border-left-color: var(--gray-200);
}

.lang-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition-normal);
}

.navbar.scrolled .lang-btn {
    color: var(--gray-500);
}

.lang-btn.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .lang-btn.active {
    color: var(--primary);
    background: var(--gray-100);
}

.lang-btn:hover {
    color: var(--white);
}

.navbar.scrolled .lang-btn:hover {
    color: var(--primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition-normal);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-luxury);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-list {
    list-style: none;
    text-align: center;
}

.mobile-menu-list li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-luxury);
}

.mobile-menu.active .mobile-menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-list li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-list li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-list li:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu-list a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--white);
    display: inline-block;
    padding: 10px 20px;
    position: relative;
}

.mobile-menu-list a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.mobile-menu-list a:hover::after,
.mobile-menu-list a.active::after {
    transform: scaleX(1);
}

.mobile-lang-switcher {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-luxury);
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-lang-switcher {
    opacity: 1;
    transform: translateY(0);
}

.mobile-lang-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.mobile-lang-btn.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* ================================================
   HERO SECTION
================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
    padding: 80px 0;
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Animated Grid Background */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gradientFlow 20s linear infinite;
    pointer-events: none;
}

/* Floating Shapes - Enhanced */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 8s ease-in-out infinite, morphShape 12s ease-in-out infinite;
    backdrop-filter: blur(1px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(54, 170, 215, 0.15) 0%, transparent 70%);
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(0, 62, 143, 0.15) 0%, transparent 70%);
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(50, 111, 176, 0.1) 0%, transparent 70%);
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 20%;
    animation-delay: 1s;
    background: radial-gradient(circle, rgba(54, 170, 215, 0.1) 0%, transparent 70%);
}

/* Additional decorative shapes */
.shape-5 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

@media (max-width: 768px) {
    .shape-1 { width: 250px; height: 250px; }
    .shape-2 { width: 200px; height: 200px; }
    .shape-3 { width: 150px; height: 150px; }
    .shape-4 { width: 100px; height: 100px; }
    .shape-5 { display: none; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 0 40px;
    }
}

.hero-logo {
    width: 100px;
    height: auto;
    margin-bottom: 24px;
    animation: fadeInDown 1s ease forwards, glowPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

@media (min-width: 768px) {
    .hero-logo {
        width: 120px;
        margin-bottom: 32px;
    }
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards, textReveal 0.8s ease 0.3s forwards;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.05;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(3rem, 6vw, 4.5rem);
        margin-bottom: 32px;
    }
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, #FFFFFF 0%, #36AAD7 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 4s linear infinite;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-description {
        margin-bottom: 48px;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        gap: 16px;
    }
}

/* ================================================
   BUTTONS - ENHANCED
================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .btn {
        padding: 16px 36px;
        font-size: 0.95rem;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-outline:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(50, 111, 176, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(50, 111, 176, 0.4);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #2a9bc6 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(54, 170, 215, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #2a9bc6 0%, var(--accent) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(54, 170, 215, 0.4);
}

.btn-accent:active {
    transform: translateY(-2px) scale(0.98);
}

/* Button Icon Animation */
.btn svg,
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover svg,
.btn:hover i {
    transform: translateX(4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    animation: scrollIndicatorIn 1s ease 1.5s forwards;
    opacity: 0;
    z-index: 10;
}

.scroll-indicator .mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 22px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollWheel 2.5s ease infinite;
}

.scroll-indicator span {
    text-align: center;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* ================================================
   SECTIONS - ENHANCED
================================================ */

section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 80px;
    }
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 62, 143, 0.08) 0%, rgba(54, 170, 215, 0.08) 100%);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 62, 143, 0.1);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(54, 170, 215, 0.2), transparent);
    animation: shine-effect 3s ease-in-out infinite;
}

@keyframes shine-effect {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.section-title {
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray-500);
    line-height: 1.8;
    font-weight: 400;
}

/* ================================================
   ABOUT SECTION - ENHANCED
================================================ */

.about-section {
    background: var(--gradient-light);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        gap: 60px;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 62, 143, 0.25);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--accent);
    border-radius: 24px;
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.0625rem;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.about-feature span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* ================================================
   TIMELINE SECTION
================================================ */

.timeline-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .timeline-item {
        padding-left: 80px;
    }
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
}

.timeline-content {
    width: calc(50% - 50px);
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .timeline-content {
        width: 100%;
    }
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .timeline-dot {
        left: 30px;
    }
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* ================================================
   VISION MISSION
================================================ */

.vm-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.vm-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.vm-section .section-header {
    position: relative;
    z-index: 1;
}

.vm-section .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.vm-section .section-title {
    color: var(--white);
}

.vm-section .section-title::after {
    background: var(--white);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.vm-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-normal);
}

.vm-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.vm-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 24px;
}

.vm-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.vm-card h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.vm-card p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.8;
}

.vm-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vm-card ul li {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.7;
}

.vm-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ================================================
   VALUES SECTION
================================================ */

.values-section {
    background: var(--gradient-light);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: left;
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 62, 143, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 62, 143, 0.2);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover::after {
    opacity: 1;
}

.value-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.value-card:hover .value-letter {
    transform: scale(1.1);
}

.value-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.value-description {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.7;
}

/* ================================================
   BUSINESS UNITS
================================================ */

.business-section {
    background: var(--white);
}

.business-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.business-intro p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.business-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 62, 143, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.business-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 62, 143, 0.25);
}

.business-card:hover::before {
    opacity: 1;
}

.business-card-header {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.business-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.business-card:hover .business-card-header img {
    transform: scale(1.15) rotate(2deg);
}

.business-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 62, 143, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.business-card-logo {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.business-card-logo svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.business-card-body {
    padding: 32px;
}

.business-card-title {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.business-card-tagline {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 16px;
}

.business-card-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.business-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(0, 62, 143, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    transition: var(--transition-normal);
}

.service-tag:hover {
    background: rgba(0, 62, 143, 0.15);
}

.business-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.business-card-link svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-normal);
}

.business-card-link:hover {
    color: var(--accent);
}

.business-card-link:hover svg {
    transform: translateX(5px);
}

/* Strategic Initiatives */
.strategic-section {
    margin-top: 80px;
    padding: 60px;
    background: var(--gray-100);
    border-radius: 24px;
}

.strategic-title {
    text-align: center;
    margin-bottom: 40px;
}

.strategic-title h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
}

.strategic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .strategic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.strategic-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.strategic-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.strategic-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    flex-shrink: 0;
}

.strategic-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.strategic-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
}

/* ================================================
   STATS SECTION
================================================ */

.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ================================================
   CLIENTS SECTION - ENHANCED CAROUSEL
================================================ */

.clients-section {
    background: var(--gradient-light);
    overflow: hidden;
}

/* Client Category Tabs */
.clients-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.client-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
}

.client-tab svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.client-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.client-tab:hover svg {
    transform: scale(1.1);
}

.client-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(0, 62, 143, 0.3);
}

.client-tab.active svg {
    color: var(--white);
}

@media (max-width: 640px) {
    .clients-tabs {
        gap: 8px;
    }
    
    .client-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .client-tab span {
        display: none;
    }
    
    .client-tab svg {
        width: 20px;
        height: 20px;
    }
}

/* Carousel Wrapper */
.clients-carousel-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 40px 20px;
    min-height: 200px;
}

@media (min-width: 768px) {
    .clients-carousel-wrapper {
        padding: 50px 40px;
    }
}

/* Individual Carousel */
.clients-carousel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.clients-carousel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease forwards;
}

/* Clients Track - Infinite Scroll */
.clients-track {
    display: flex;
    gap: 30px;
    animation: scrollClients 25s linear infinite;
    width: max-content;
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* For carousels with few items, don't scroll */
.clients-carousel[data-category="sekolah"] .clients-track {
    animation: none;
    justify-content: center;
    width: 100%;
}

/* Client Logo Card */
.client-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 140px;
    max-width: 160px;
}

@media (min-width: 768px) {
    .client-logo {
        min-width: 160px;
        max-width: 180px;
        padding: 24px;
    }
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 62, 143, 0.15);
    border-color: var(--primary);
    background: var(--white);
}

.client-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    .client-logo img {
        width: 100px;
        height: 100px;
    }
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.client-logo span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.client-logo:hover span {
    color: var(--primary);
}

/* Carousel Navigation */
.clients-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.clients-nav-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
}

.clients-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.clients-nav-btn:active {
    transform: scale(0.95);
}

.clients-dots {
    display: flex;
    gap: 8px;
}

.clients-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.clients-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.clients-dot:hover {
    background: var(--primary);
}

/* ================================================
   FUTURE SECTION
================================================ */

.future-section {
    background: var(--white);
}

.future-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .future-content {
        grid-template-columns: 1fr 1fr;
    }
}

.future-text h2 {
    margin-bottom: 24px;
}

.future-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.future-points {
    margin-top: 32px;
}

.future-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.future-point-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 62, 143, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.future-point-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.future-point span {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.future-image {
    position: relative;
}

.future-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
}

/* ================================================
   CONTACT SECTION
================================================ */

.contact-section {
    background: var(--gradient-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info > p {
    font-size: 1.0625rem;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-item-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.contact-item-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

.contact-item-content a {
    color: var(--primary);
}

.contact-item-content a:hover {
    color: var(--accent);
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-card-header h4 {
    font-size: 1.125rem;
    color: var(--gray-800);
}

.contact-card-number {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-card-number svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Map */
.contact-map {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================================================
   FOOTER
================================================ */

.footer {
    background: var(--gray-900);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
}

.social-link:hover svg {
    color: var(--white);
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 0.95rem;
    color: var(--gray-400);
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ================================================
   LOADING & PRELOADER
================================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
    animation: preloaderPulse 2s ease-in-out infinite;
    object-fit: contain;
}

.preloader-bar {
    width: 240px;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: preloaderSlide 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes preloaderSlide {
    0% {
        left: -100%;
        opacity: 1;
    }
    50% {
        left: 0;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 1;
    }
}

/* ================================================
   UTILITIES
================================================ */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Image Placeholder */
.img-placeholder {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--gray-400);
}

/* ================================================
   PAGE HEADER (for inner pages)
================================================ */

.page-header {
    background: var(--gradient-primary);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.breadcrumb a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    font-size: 0.9rem;
    color: var(--white);
}

.breadcrumb svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   ENHANCED RESPONSIVE STYLES
================================================ */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 5vw, 1.5rem); }
    
    .container { padding: 0 16px; }
    
    section { padding: 60px 0; }
    
    .hero { min-height: 100svh; }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header { margin-bottom: 40px; }
    
    /* Scroll Indicator Mobile */
    .scroll-indicator {
        bottom: 25px;
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .scroll-indicator .mouse {
        width: 24px;
        height: 36px;
    }
    
    .scroll-indicator .mouse::before {
        width: 3px;
        height: 8px;
        top: 8px;
    }
    
    /* Business Section Mobile */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .about-image {
        order: 1 !important;
    }
    
    .about-content {
        order: 2 !important;
    }
    
    .about-image img {
        height: 280px !important;
        border-radius: 16px !important;
    }
    
    /* Service grid mobile responsive */
    div[style*="grid-template-columns: 1fr 1fr"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    /* Button responsive */
    div[style*="display: flex; gap: 16px; flex-wrap: wrap"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Preloader Mobile */
    .preloader-logo {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 24px !important;
    }
    
    .preloader-bar {
        width: 200px !important;
        height: 5px !important;
    }
    
    .footer-grid {
        gap: 32px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-item:hover {
        transform: translateY(-5px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container { max-width: 540px; }
    
    /* Service grid for small screens */
    div[style*="grid-template-columns: 1fr 1fr"] {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .preloader-logo {
        width: 100px !important;
        height: 100px !important;
    }
    
    .scroll-indicator {
        bottom: 30px;
        font-size: 0.85rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container { max-width: 720px; }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .about-image img {
        height: 350px !important;
    }
    
    .scroll-indicator {
        bottom: 35px;
    }
}

/* Business Section Responsive Overrides */
@media (max-width: 991.98px) {
    /* Override inline styles for better mobile layout */
    .about-grid[style*="gap: 60px"] {
        gap: 40px !important;
    }
}

@media (max-width: 767.98px) {
    /* Force single column layout on mobile regardless of inline styles */
    .about-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Ensure proper order on mobile */
    .about-grid > div:first-child {
        order: 1 !important;
    }
    
    .about-grid > div:last-child {
        order: 2 !important;
    }
    
    /* Responsive image heights */
    .about-image img[style*="height: 400px"] {
        height: 250px !important;
    }
    
    /* Make service grids single column on very small screens */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 12px"] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    /* Stack buttons vertically on mobile */
    div[style*="display: flex; gap: 16px; flex-wrap: wrap"] {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    div[style*="display: flex; gap: 16px; flex-wrap: wrap"] .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Business Badge Responsive */
@media (max-width: 575.98px) {
    .section-badge {
        font-size: 0.7rem !important;
        padding: 8px 20px !important;
        margin-bottom: 16px !important;
    }
    
    .business-card-tagline {
        font-size: 1rem !important;
        margin-bottom: 16px !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container { max-width: 960px; }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .scroll-indicator,
    .preloader,
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-dark: #000033;
        --primary: #0000aa;
        --accent: #0088aa;
    }
}

/* ================================================
   NAV LOGO FILTER FOR DARK/LIGHT BACKGROUNDS
================================================ */

.navbar:not(.scrolled) .nav-logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    filter: none;
    transition: filter 0.3s ease;
}

/* ================================================
   SCROLL INDICATOR ANIMATION (centered fix)
================================================ */

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

/* ================================================
   FOUNDER SECTION
================================================ */

.founder-section {
    background: var(--white);
    overflow: hidden;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .founder-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

.founder-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.founder-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
    z-index: 2;
}

.founder-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(0, 62, 143, 0.25);
}

.founder-card:hover::before {
    transform: scaleX(1);
}

.founder-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 340px;
}

@media (max-width: 575.98px) {
    .founder-image-wrapper {
        height: 300px;
    }
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.founder-card:hover .founder-image {
    transform: scale(1.08);
}

.founder-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 62, 143, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.founder-card:hover .founder-image-overlay {
    opacity: 1;
}

.founder-badge-role {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 62, 143, 0.3);
}

.founder-info {
    padding: 28px;
    text-align: center;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    line-height: 1.3;
}

.founder-role {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    text-align: center;
}

.founder-specialization {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.founder-spec-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 62, 143, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.founder-spec-item:hover {
    background: rgba(0, 62, 143, 0.12);
    transform: translateX(4px);
}

.founder-spec-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.founder-spec-item span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ================================================
   GALLERY CAROUSEL SECTION
================================================ */

.gallery-section {
    padding: 80px 0;
    overflow: hidden;
    background: var(--light-gray);
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-row {
    display: flex;
    gap: 16px;
    width: max-content;
}

.gallery-row-1 {
    animation: galleryScrollLeft 50s linear infinite;
}

.gallery-row-2 {
    animation: galleryScrollRight 55s linear infinite;
}

.gallery-section:hover .gallery-row-1,
.gallery-section:hover .gallery-row-2 {
    animation-play-state: paused;
}

.gallery-item {
    flex-shrink: 0;
    width: 320px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gallery-item {
        width: 260px;
        height: 180px;
        border-radius: 12px;
    }
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 62, 143, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@keyframes galleryScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes galleryScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ================================================
   DARK MODE TOGGLE BUTTON
================================================ */

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.navbar.scrolled .theme-toggle {
    color: var(--gray-600);
    background: var(--gray-100);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    transform: rotate(15deg);
}

.navbar.scrolled .theme-toggle:hover {
    background: var(--gray-200);
    color: var(--primary);
}

.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-icon-sun {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

.theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-icon-moon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-toggle {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .navbar.scrolled .theme-toggle {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: rotate(-15deg);
}

/* ================================================
   DARK MODE COMPREHENSIVE STYLES
================================================ */

[data-theme="dark"] {
    --white: #0B1120;
    --light-gray: #111827;
    --gray-100: #1A2332;
    --gray-200: #253347;
    --gray-300: #3D5068;
    --gray-400: #6B7F99;
    --gray-500: #94A3B8;
    --gray-600: #CBD5E1;
    --gray-700: #E2E8F0;
    --gray-800: #EDF2F7;
    --gray-900: #F7FAFC;
    --gradient-light: linear-gradient(180deg, #111827 0%, #0B1120 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(54, 170, 215, 0.2);
    --shadow-neon: 0 0 20px rgba(54, 170, 215, 0.3), 0 0 40px rgba(54, 170, 215, 0.15);
}

[data-theme="dark"] body {
    background-color: #0B1120;
}

/* Dark Mode Navigation */
[data-theme="dark"] .navbar.scrolled {
    background: rgba(11, 17, 32, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .navbar.scrolled .nav-logo img {
    filter: brightness(0) invert(1) !important;
}

[data-theme="dark"] .navbar.scrolled .nav-logo-text {
    color: #FFFFFF !important;
}

[data-theme="dark"] .navbar.scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="dark"] .navbar.scrolled .nav-menu a:hover,
[data-theme="dark"] .navbar.scrolled .nav-menu a.active {
    color: var(--accent) !important;
}

[data-theme="dark"] .navbar.scrolled .nav-toggle span {
    background: #FFFFFF !important;
}

[data-theme="dark"] .navbar.scrolled .lang-btn {
    color: rgba(255, 255, 255, 0.6) !important;
}

[data-theme="dark"] .navbar.scrolled .lang-btn.active {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar.scrolled .lang-switcher {
    border-left-color: rgba(255, 255, 255, 0.15) !important;
}

/* Dark Mode Cards & Elements */
[data-theme="dark"] .value-card,
[data-theme="dark"] .business-card,
[data-theme="dark"] .timeline-content,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .strategic-item,
[data-theme="dark"] .founder-card {
    background: #1A2332;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .client-logo {
    background: #1A2332;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .client-logo:hover {
    background: #253347;
    border-color: var(--primary);
}

[data-theme="dark"] .clients-carousel-wrapper {
    background: #0F1A2E;
}

/* Dark Mode Section Badges */
[data-theme="dark"] .section-badge {
    background: linear-gradient(135deg, rgba(0, 62, 143, 0.2) 0%, rgba(54, 170, 215, 0.2) 100%);
    border-color: rgba(54, 170, 215, 0.2);
    color: var(--accent);
}

/* Dark Mode Footer */
[data-theme="dark"] .footer {
    background: #060D1B;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* Dark Mode Preloader */
[data-theme="dark"] .preloader {
    background: #0B1120;
}

[data-theme="dark"] .preloader-bar {
    background: #1A2332;
}

/* Dark Mode Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #0B1120;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #3D5068;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #4B6080;
}

/* Dark Mode Client Tabs */
[data-theme="dark"] .client-tab {
    background: #1A2332;
    color: #94A3B8;
}

[data-theme="dark"] .client-tab:hover {
    color: var(--accent);
}

/* Dark Mode Service & Spec Tags */
[data-theme="dark"] .service-tag {
    background: rgba(54, 170, 215, 0.1);
}

[data-theme="dark"] .founder-spec-item {
    background: rgba(54, 170, 215, 0.1);
}

/* Dark Mode About Image Border */
[data-theme="dark"] .about-image::before {
    border-color: var(--accent);
    opacity: 0.3;
}

/* Dark Mode Future Point Icons */
[data-theme="dark"] .future-point-icon {
    background: rgba(54, 170, 215, 0.15);
}

/* Dark Mode Form Elements */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #1A2332 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #E2E8F0 !important;
}

/* Dark Mode Clients Nav */
[data-theme="dark"] .clients-nav-btn {
    background: #1A2332;
    border-color: rgba(255, 255, 255, 0.1);
    color: #94A3B8;
}

[data-theme="dark"] .clients-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Dark Mode Cursor */
[data-theme="dark"] .cursor {
    background: #FFFFFF;
}

[data-theme="dark"] .cursor-follower {
    border-color: rgba(255, 255, 255, 0.4);
}

/* Dark Mode Page Header stays same (gradient primary) */

/* Dark Mode About Section specific */
[data-theme="dark"] .about-section {
    background: var(--gradient-light);
}

/* Dark Mode Timeline Section */
[data-theme="dark"] .timeline-section {
    background: var(--white);
}

[data-theme="dark"] .timeline::before {
    opacity: 0.7;
}

[data-theme="dark"] .timeline-dot {
    background: #1A2332;
}

/* Dark Mode Values Section */
[data-theme="dark"] .values-section {
    background: var(--gradient-light);
}

/* Dark Mode VM Section keeps gradient */

/* Dark Mode Stats Section keeps gradient */

/* Dark Mode Business Section */
[data-theme="dark"] .business-section {
    background: var(--white);
}

/* Dark Mode Future Section */
[data-theme="dark"] .future-section {
    background: var(--white);
}

/* Dark Mode Gallery Section */
[data-theme="dark"] .gallery-section {
    background: var(--light-gray);
}

/* Dark Mode Contact Section */
[data-theme="dark"] .contact-section {
    background: var(--gradient-light);
}

/* Dark Mode Mobile Menu */
[data-theme="dark"] .mobile-menu {
    background: linear-gradient(135deg, #0B1120 0%, #162032 50%, #0B1120 100%);
}

/* Dark Mode Selection */
[data-theme="dark"] ::selection {
    background-color: var(--accent);
    color: #FFFFFF;
}

/* Dark Mode Social Links */
[data-theme="dark"] .social-link {
    background: #1A2332;
}

/* Dark Mode Clients Section */
[data-theme="dark"] .clients-section {
    background: var(--gradient-light);
}
