/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #1a4fd6;
    --primary-light: #3d6cf0;
    --secondary: #7b2ff7;
    --accent: #00d4ff;
    --accent2: #b44aff;
    --dark: #030b1a;
    --dark2: #060f22;
    --dark3: #0a1530;
    --card-bg: rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.08);
    --text-muted: rgba(255,255,255,0.55);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient2: linear-gradient(135deg, var(--accent), var(--primary-light));
    --glow: 0 0 30px rgba(26,79,214,0.4), 0 0 80px rgba(123,47,247,0.15);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark);
    color: #e0e8ff;
    overflow-x: hidden;
    line-height: 1.7;
}

.section-padding { padding: 100px 0; }

/* ===== TYPOGRAPHY ===== */
.section-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary-light), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted-light { color: rgba(255,255,255,0.45); }

/* ===== NAVBAR ===== */
#mainNav {
    background: rgba(3, 11, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    transition: all 0.3s;
}
#mainNav.scrolled {
    background: rgba(3, 11, 26, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.brand-logo {
    width: 44px; height: 44px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(26,79,214,0.5);
}
.small-logo { width: 36px; height: 36px; font-size: 1.1rem; }

.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.1;
}
.brand-sub {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
}

.nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.3s;
}
.nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.06);
}

.toggler-icon { color: #fff; font-size: 1.2rem; }
.navbar-toggler { border: 1px solid rgba(255,255,255,0.15); padding: 6px 12px; }
.navbar-toggler:focus { box-shadow: none; }

/* ===== BUTTONS ===== */
.btn-glow {
    background: var(--gradient);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 25px rgba(26,79,214,0.5);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(26,79,214,0.7);
}

.btn-outline-glow {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 12px 32px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-outline-glow:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    box-shadow: 0 0 20px rgba(0,212,255,0.2);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    background: var(--dark);
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg {
    position: absolute; inset: 0;
    pointer-events: none;
}

.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(26,79,214,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,79,214,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}
.orb1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(26,79,214,0.25), transparent);
    top: -150px; right: -100px;
    animation-delay: 0s;
}
.orb2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(123,47,247,0.2), transparent);
    bottom: -100px; left: -100px;
    animation-delay: -3s;
}
.orb3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0,212,255,0.15), transparent);
    top: 50%; right: 30%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex; align-items: center;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: fadein 0.8s ease;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    animation: fadein 1s ease 0.1s both;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 540px;
    animation: fadein 1s ease 0.2s both;
}

.hero-btns { animation: fadein 1s ease 0.3s both; }

.hero-stats { animation: fadein 1s ease 0.4s both; }
.stat-item { border-left: 2px solid rgba(26,79,214,0.4); padding-left: 16px; }
.stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

/* Hero Visual / AI Brain */
.hero-visual {
    position: relative;
    width: 380px; height: 380px;
    display: flex; align-items: center; justify-content: center;
}

.ai-brain { position: relative; width: 100%; height: 100%; }

.brain-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate linear infinite;
}
.ring1 {
    width: 280px; height: 280px;
    border-color: rgba(26,79,214,0.4);
    animation-duration: 12s;
}
.ring2 {
    width: 200px; height: 200px;
    border-color: rgba(123,47,247,0.3);
    animation-duration: 8s;
    animation-direction: reverse;
}
.ring3 {
    width: 340px; height: 340px;
    border-color: rgba(0,212,255,0.15);
    animation-duration: 20s;
    border-style: dashed;
}
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.brain-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: var(--glow);
    animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: var(--glow); }
    50% { box-shadow: 0 0 60px rgba(26,79,214,0.8), 0 0 120px rgba(123,47,247,0.3); }
}

.orbit-dot {
    position: absolute;
    width: 48px; height: 48px;
    background: var(--dark3);
    border: 1.5px solid var(--card-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    top: 50%; left: 50%;
    animation: orbit 12s linear infinite;
}
.dot1 { animation-delay: 0s; --r: 140px; }
.dot2 { animation-delay: -3s; --r: 140px; }
.dot3 { animation-delay: -6s; --r: 140px; }
.dot4 { animation-delay: -9s; --r: 140px; }

@keyframes orbit {
    from { transform: translate(-50%,-50%) rotate(0deg) translateX(var(--r)) rotate(0deg); }
    to { transform: translate(-50%,-50%) rotate(360deg) translateX(var(--r)) rotate(-360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}
.scroll-dot {
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}
.scroll-dot::after {
    content: '';
    position: absolute;
    width: 4px; height: 8px;
    background: var(--accent);
    border-radius: 2px;
    left: 50%; transform: translateX(-50%);
    top: 6px;
    animation: scrolldown 2s ease infinite;
}
@keyframes scrolldown { 0%,100% { opacity: 1; top: 6px; } 50% { opacity: 0; top: 20px; } }

/* ===== ABOUT ===== */
.about-section { background: var(--dark2); }

.about-visual {
    position: relative;
    height: 420px;
    display: flex; align-items: center; justify-content: center;
}
.about-card-main {
    width: 200px; height: 200px;
    background: var(--gradient);
    border-radius: 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: var(--glow);
    z-index: 2;
}
.about-logo-big {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    color: #fff;
    line-height: 1;
}
.about-badge-float {
    position: absolute;
    background: var(--dark3);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.badge1 { top: 40px; right: 0; color: var(--accent); }
.badge2 { bottom: 100px; right: 10px; color: #b44aff; }
.badge3 { bottom: 40px; left: 10px; color: #00ff94; }

.about-feature {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}
.feature-icon { color: var(--accent); font-size: 1rem; }

.mission-box {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
}
.mission-box h6 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.mission-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== SERVICES ===== */
.services-section { background: var(--dark); }

.services-category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--card-border);
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    cursor: default;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,79,214,0.05), rgba(123,47,247,0.05));
    opacity: 0;
    transition: 0.4s;
}
.service-card:hover {
    border-color: rgba(26,79,214,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(26,79,214,0.15);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(26,79,214,0.2), rgba(123,47,247,0.2));
    border: 1px solid rgba(26,79,214,0.3);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 18px;
    transition: all 0.3s;
}
.service-card:hover .service-icon {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(26,79,214,0.5);
}
.ai-icon { color: #b44aff; }

.service-card h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-hover-line {
    position: absolute;
    bottom: 0; left: 0;
    height: 2px; width: 0;
    background: var(--gradient);
    transition: width 0.4s;
}
.service-card:hover .service-hover-line { width: 100%; }

/* ===== WHY SECTION ===== */
.why-section { background: var(--dark2); }

.why-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
}
.why-card:hover {
    border-color: rgba(123,47,247,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.why-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(26,79,214,0.1);
    position: absolute;
    top: 10px; right: 20px;
    line-height: 1;
}
.why-icon {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.why-card h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== CLIENTS ===== */
.clients-section { background: var(--dark); }

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    transition: all 0.4s;
    cursor: default;
}
.industry-card:hover {
    border-color: rgba(0,212,255,0.3);
    transform: translateY(-4px);
    background: rgba(26,79,214,0.08);
}
.industry-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
    background: var(--gradient2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.industry-card h6 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
}

.testimonial-strip {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
}
.testimonial-strip::before {
    content: '"';
    position: absolute;
    top: -20px; left: 30px;
    font-size: 8rem;
    color: rgba(26,79,214,0.15);
    font-family: serif;
    line-height: 1;
}
.testimonial-quote {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    font-weight: 300;
    border: none;
    padding: 0;
    margin: 0 0 8px 0;
    line-height: 1.7;
}
.testimonial-author {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}
.stars { color: #ffd700; font-size: 1.2rem; letter-spacing: 2px; }

/* ===== DIRECTOR ===== */
.director-section { background: var(--dark2); }
.director-card-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}
.director-card-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
}
.director-avatar {
    width: 120px; height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto;
    box-shadow: var(--glow);
}
.director-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}
.director-info-box {
    background: var(--dark3);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
}
.info-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-row:last-child { border-bottom: none; }
.info-row i { color: var(--accent); width: 16px; text-align: center; }

/* ===== CONTACT ===== */
.contact-section { background: var(--dark); }

.contact-info-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px;
    height: 100%;
}
.contact-info-item {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 24px;
}
.contact-info-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, rgba(26,79,214,0.2), rgba(123,47,247,0.2));
    border: 1px solid rgba(26,79,214,0.3);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.contact-info-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.social-btn {
    width: 40px; height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}
.social-btn:hover {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px;
}
.form-group-custom { margin-bottom: 0; }
.form-group-custom label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}
.custom-input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 12px 16px !important;
    font-family: 'Exo 2', sans-serif !important;
    font-size: 0.95rem !important;
    transition: all 0.3s !important;
}
.custom-input::placeholder { color: rgba(255,255,255,0.3) !important; }
.custom-input:focus {
    border-color: rgba(26,79,214,0.6) !important;
    box-shadow: 0 0 0 3px rgba(26,79,214,0.15) !important;
    background: rgba(26,79,214,0.08) !important;
    outline: none !important;
}
.custom-select option { background: #0a1530; color: #fff; }

/* ===== FOOTER ===== */
.footer-section {
    background: var(--dark2);
    border-top: 1px solid var(--card-border);
}
.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.footer-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

.footer-contact {
    display: flex; flex-direction: column; gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-contact i { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--accent); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(26,79,214,0.5);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== ANIMATION ===== */
@keyframes fadein {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .section-padding { padding: 70px 0; }
    .hero-title { font-size: 2rem; }
    .about-visual { height: 300px; }
    .director-card-wrap { padding: 32px 24px; }
    .contact-info-wrap, .contact-form-wrap { padding: 24px; }
    .testimonial-strip { padding: 28px 24px; }
}
@media (max-width: 575px) {
    .section-padding { padding: 55px 0; }
    .hero-btns .btn { width: 100%; }
    .mission-box { flex: none; width: 100%; }
    .d-flex.gap-4.mt-4 { flex-direction: column; }
}

/* ===== MOBILE RESPONSIVE IMPROVEMENTS ===== */

/* --- Hero Section Mobile --- */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }

    /* Stack text on top, brain below */
    .hero-content .row {
        flex-direction: column;
    }

    .hero-content .col-lg-7 {
        order: 1;
        text-align: center;
    }

    .hero-content .col-lg-5 {
        order: 2;
        margin-top: 40px;
        justify-content: center !important;
    }

    .hero-badge { margin: 0 auto 16px; }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero-desc {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    /* Brain visual — scale down for tablets */
    .hero-visual {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .brain-ring.ring1 { width: 210px; height: 210px; }
    .brain-ring.ring2 { width: 150px; height: 150px; }
    .brain-ring.ring3 { width: 255px; height: 255px; }

    .brain-center {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .orbit-dot {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .dot1, .dot2, .dot3, .dot4 { --r: 105px; }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 85px 0 50px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    /* Brain visual — smaller for phones */
    .hero-visual {
        width: 220px;
        height: 220px;
    }

    .brain-ring.ring1 { width: 165px; height: 165px; }
    .brain-ring.ring2 { width: 118px; height: 118px; }
    .brain-ring.ring3 { width: 200px; height: 200px; }

    .brain-center {
        width: 72px;
        height: 72px;
        font-size: 1.6rem;
    }

    .orbit-dot {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .dot1, .dot2, .dot3, .dot4 { --r: 82px; }

    /* Stats row */
    .hero-stats {
        gap: 16px !important;
    }
    .stat-num { font-size: 1.4rem; }

    /* Buttons full width */
    .hero-btns .btn-glow,
    .hero-btns .btn-outline-glow {
        width: 100%;
        justify-content: center;
    }
}

/* --- Navbar Mobile --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(3, 11, 26, 0.98);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 16px;
        margin-top: 12px;
        padding: 16px;
    }

    .navbar-nav {
        gap: 4px !important;
    }

    .nav-link {
        padding: 10px 16px !important;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: rgba(26,79,214,0.15);
    }

    .navbar-nav .btn-glow {
        width: 100%;
        margin-top: 8px;
        text-align: center;
        justify-content: center;
    }
}

/* --- About Section Mobile --- */
@media (max-width: 991px) {
    .about-visual {
        height: 260px;
        margin-bottom: 32px;
    }

    .about-card-main {
        width: 150px;
        height: 150px;
    }

    .about-logo-big { font-size: 3rem; }

    .about-badge-float {
        font-size: 0.72rem;
        padding: 7px 12px;
    }
}

/* --- Services Mobile --- */
@media (max-width: 575px) {
    .service-card {
        padding: 22px 18px;
    }

    .services-category-title {
        font-size: 0.78rem;
    }
}

/* --- Contact Section Mobile --- */
@media (max-width: 991px) {
    .contact-info-wrap {
        margin-bottom: 24px;
    }
}

@media (max-width: 575px) {
    .contact-info-wrap,
    .contact-form-wrap {
        padding: 20px 16px;
    }

    .contact-form-wrap .row.g-3 > .col-md-6 {
        width: 100%;
    }
}

/* --- Director Section Mobile --- */
@media (max-width: 991px) {
    .director-card-wrap {
        padding: 28px 20px;
    }

    .director-avatar {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

/* --- Testimonial Mobile --- */
@media (max-width: 575px) {
    .testimonial-strip {
        padding: 24px 20px;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }
}

/* --- Footer Mobile --- */
@media (max-width: 767px) {
    .footer-section .col-lg-4,
    .footer-section .col-6,
    .footer-section .col-lg-2,
    .footer-section .col-lg-3 {
        margin-bottom: 28px;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* --- Section Padding Mobile --- */
@media (max-width: 575px) {
    .section-padding { padding: 50px 0; }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
}

/* --- Why Cards Mobile --- */
@media (max-width: 575px) {
    .why-card {
        padding: 24px 18px;
    }
    .why-number { font-size: 2.5rem; }
}

/* --- Industry Cards Mobile --- */
@media (max-width: 575px) {
    .industry-card {
        padding: 20px 10px;
    }
    .industry-icon { font-size: 1.8rem; }
    .industry-card h6 { font-size: 0.72rem; }
}

/* --- Back to Top Mobile --- */
@media (max-width: 575px) {
    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
    }
}

/* --- Scroll Indicator — hide on mobile --- */
@media (max-width: 575px) {
    .scroll-indicator { display: none; }
}
