@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #4a6fa5;
    --secondary: #166088;
    --accent: #ff6b6b;
    --light: #f8f9fa;
    --dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: auto !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ============================================
           CYBER MESH BACKGROUND
           ============================================ */
.cyber-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #0F172A;
}

.cyber-bg::before {
    content: '';
    position: absolute;
    width: 160%;
    height: 160%;
    top: -30%;
    left: -30%;
    background:
        radial-gradient(ellipse 60% 50% at 25% 35%, rgba(79, 70, 229, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 55% 45% at 75% 65%, rgba(6, 182, 212, 0.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 50% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
    animation: cyberBreath 12s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.cyber-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 40% at 80% 20%, rgba(6, 182, 212, 0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 45% at 20% 80%, rgba(79, 70, 229, 0.12) 0%, transparent 65%);
    animation: cyberBreath2 16s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

/* Glowing orb 1 - Purple */
.cyber-orb-1 {
    position: absolute;
    width: clamp(280px, 40vw, 600px);
    height: clamp(280px, 40vw, 600px);
    top: -10%;
    left: -8%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.22) 0%, rgba(79, 70, 229, 0.06) 50%, transparent 75%);
    border-radius: 50%;
    animation: orbFloat1 20s ease-in-out infinite alternate;
    will-change: transform;
}

/* Glowing orb 2 - Cyan */
.cyber-orb-2 {
    position: absolute;
    width: clamp(250px, 35vw, 550px);
    height: clamp(250px, 35vw, 550px);
    bottom: -8%;
    right: -6%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.20) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 75%);
    border-radius: 50%;
    animation: orbFloat2 25s ease-in-out infinite alternate;
    will-change: transform;
}

/* Glowing orb 3 - mixed accent */
.cyber-orb-3 {
    position: absolute;
    width: clamp(200px, 28vw, 420px);
    height: clamp(200px, 28vw, 420px);
    top: 45%;
    left: 55%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.13) 0%, rgba(6, 182, 212, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    animation: orbFloat3 18s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes cyberBreath {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }

    33% {
        transform: scale(1.08) translate(2%, -2%);
        opacity: 0.85;
    }

    66% {
        transform: scale(0.96) translate(-2%, 3%);
        opacity: 1;
    }

    100% {
        transform: scale(1.04) translate(1%, 1%);
        opacity: 0.9;
    }
}

@keyframes cyberBreath2 {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1) translate(-3%, 2%);
        opacity: 1;
    }

    100% {
        transform: scale(0.94) translate(2%, -2%);
        opacity: 0.75;
    }
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -30px) scale(1.12);
    }

    100% {
        transform: translate(-20px, 40px) scale(0.92);
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, -40px) scale(1.15);
    }

    100% {
        transform: translate(30px, 20px) scale(0.88);
    }
}

@keyframes orbFloat3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-40px, -20px) scale(0.9);
    }
}

/* ============================================
           HERO SECTION
           ============================================ */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: clamp(60px, 10vh, 120px) 15px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1.5s ease-out forwards;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.6s ease,
        filter 0.8s ease;
}

.hero-content.exit {
    transform: scale(1.15);
    opacity: 0;
    filter: blur(15px);
    pointer-events: none;
}

.unified-page-content {
    position: relative;
    z-index: 1;
}

/* ── Page Exit Animation (Split to prevent fixed element jump) ── */
.page-transition-fade-only {
    animation: pageFadeOutOnly 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

@keyframes pageFadeOutOnly {
    0% {
        opacity: 1;
        filter: blur(0);
    }

    100% {
        opacity: 0;
        filter: blur(15px);
    }
}

.page-transition-zoom-only {
    animation: pageZoomOnly 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageZoomOnly {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.logo-icon {
    font-size: 4rem;
    color: var(--accent);
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 107, 107, 0.5));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: clamp(10px, 4vw, 25px);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--primary), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite, titlePopIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both, titleGlow 4s ease-in-out 2s infinite;
    display: inline-block;
    width: 100%;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes titlePopIn {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(30px);
        filter: blur(12px);
        letter-spacing: clamp(20px, 8vw, 50px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
        filter: blur(0);
    }

    80% {
        transform: scale(0.98) translateY(2px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
        letter-spacing: clamp(10px, 4vw, 25px);
    }
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(74, 111, 165, 0.3), 0 0 40px rgba(74, 111, 165, 0.1);
    }

    50% {
        text-shadow: 0 0 30px rgba(74, 111, 165, 0.6), 0 0 60px rgba(74, 111, 165, 0.2), 0 0 80px rgba(255, 107, 107, 0.1);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: clamp(1px, 0.5vw, 2px);
    margin-bottom: clamp(2rem, 5vh, 3rem);
    max-width: min(600px, 90vw);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================
           ENTER BUTTON
           ============================================ */
.enter-btn {
    position: relative;
    display: inline-block;
    padding: clamp(1rem, 2vw, 1.2rem) clamp(2rem, 5vw, 3.5rem);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: clamp(1.5px, 0.5vw, 3px);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.3);
    z-index: 1;
}

.enter-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    z-index: -1;
}

.enter-btn:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.4), 0 0 20px rgba(255, 107, 107, 0.3);
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 10px 30px rgba(74, 111, 165, 0.4), 0 0 20px rgba(255, 107, 107, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px rgba(74, 111, 165, 0.6), 0 0 30px rgba(255, 107, 107, 0.5);
    }

    100% {
        box-shadow: 0 10px 30px rgba(74, 111, 165, 0.4), 0 0 20px rgba(255, 107, 107, 0.3);
    }
}

.enter-btn:hover::after {
    animation: shineBtn 1.5s ease-out infinite;
}

@keyframes shineBtn {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.action-buttons {
    margin-bottom: 2rem;
}

/* ============================================
           SECONDARY NAV
           ============================================ */
.secondary-nav {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    animation: fadeIn 2s ease-out 1.2s both;
    flex-wrap: wrap;
}

.secondary-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    outline: none;
}

.secondary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.secondary-nav a:hover {
    color: #fff;
}

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

/* ============================================
           SCROLL INDICATOR
           ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ============================================
           SECTION STYLES
           ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.section-label::before {
    left: -20px;
}

.section-label::after {
    right: -20px;
}

.section-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, var(--primary), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

/* ============================================
           ABOUT CARDS
           ============================================ */
.about-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(30px, 4vw, 45px);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
    height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

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

.about-card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.3));
    transform: translateZ(30px);
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
    transform: translateZ(30px);
}

.about-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
           STATS BAR
           ============================================ */
.stats-bar {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    text-align: center;
    padding: clamp(30px, 4vw, 50px);
}

.stat-item h4 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.stat-item:hover h4 {
    transform: scale(1.15);
}

.stat-item span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
           CONTACT SECTION
           ============================================ */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.contact-info-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
           CONTACT FORM
           ============================================ */
.contact-form-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(30px, 4vw, 45px);
    backdrop-filter: blur(20px);
    height: 100%;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.section-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-form input,
.section-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.2rem;
    border-radius: 14px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, transform 0.3s ease;
    width: 100%;
}

.section-form input:focus,
.section-form textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.2), 0 0 50px rgba(74, 111, 165, 0.1);
    transform: scale(1.02);
}

.section-form input::placeholder,
.section-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form-status {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form-status--success {
    color: #86efac;
}

.contact-form-status--error {
    color: #fca5a5;
}

.section-send-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: var(--transition);
    letter-spacing: 1px;
    width: 100%;
}

.section-send-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(74, 111, 165, 0.4);
}

/* ============================================
           DIVIDERS
           ============================================ */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 111, 165, 0.8), rgba(255, 107, 107, 0.5), transparent);
    animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerGlow {
    0% {
        left: -60%;
    }

    100% {
        left: 100%;
    }
}

/* ============================================
           FOOTER
           ============================================ */
.footer-info {
    padding: clamp(2rem, 4vw, 3rem) 15px;
    text-align: center;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: clamp(2px, 1vw, 5px);
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 111, 165, 0.6), transparent);
    animation: dividerGlow 4s ease-in-out infinite;
}

/* ============================================
           SCROLL REVEAL
           ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Contact card reveal - slides from left */
.contact-info-card.reveal {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card.reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
           STAGGERED HERO ANIMATIONS
           ============================================ */
.hero-content .logo-container {
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-content .hero-title {
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-content .hero-subtitle {
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-content .action-buttons {
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.hero-content .secondary-nav {
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ============================================
           RIPPLE EFFECT
           ============================================ */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.7s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
           RESPONSIVE — XS phones < 360px
           ============================================ */
@media (max-width: 359.98px) {
    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .hero-content {
        padding: 1rem 0.5rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .enter-btn {
        padding: 0.8rem 1.4rem;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .stats-bar .row>div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .stat-item {
        padding: 0.5rem 0;
    }

    .section-heading {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .section-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .section-label::before,
    .section-label::after {
        display: none;
    }

    .about-card {
        padding: 20px 15px;
    }

    .about-card-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-card h3 {
        font-size: 1.1rem;
    }

    .contact-form-card {
        padding: 20px 15px;
    }

    .contact-info-card {
        padding: 15px;
        gap: 12px;
    }

    .section-form input,
    .section-form textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* ============================================
           RESPONSIVE — Small phones 360–575px
           ============================================ */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        letter-spacing: clamp(3px, 1.5vw, 8px);
    }

    .logo-icon {
        font-size: 2.8rem;
    }

    .hero-content {
        padding: 1.5rem 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.8rem;
        max-width: 100%;
        letter-spacing: 0.5px;
    }

    .enter-btn {
        padding: 0.85rem 1.6rem;
        font-size: 0.88rem;
        letter-spacing: 1.5px;
    }

    .action-buttons {
        margin-bottom: 1.5rem;
    }

    .secondary-nav {
        flex-direction: row;
        gap: 1.2rem;
    }

    .secondary-nav a {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    /* Stats */
    .stats-bar {
        padding: 25px 15px;
        border-radius: 18px;
    }

    .stats-bar .row>div {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .stat-item h4 {
        font-size: 1.8rem;
    }

    .stat-item span {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    /* Section */
    .section-heading {
        font-size: 1.9rem;
        letter-spacing: 1px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 5px;
    }

    .section-label {
        font-size: 0.78rem;
        letter-spacing: 3px;
    }

    .section-label::before,
    .section-label::after {
        width: 20px;
    }

    /* Cards */
    .about-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .about-card-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-card h3 {
        font-size: 1.15rem;
    }

    .about-card p {
        font-size: 0.88rem;
    }

    /* Contact */
    .contact-info-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 18px;
        gap: 14px;
    }

    .contact-info-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .contact-info-text h4 {
        font-size: 0.88rem;
    }

    .contact-info-text span {
        font-size: 0.8rem;
    }

    .contact-form-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .contact-form-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1.2rem;
    }

    .section-form {
        gap: 0.85rem;
    }

    .section-form input,
    .section-form textarea {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .section-send-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.92rem;
        border-radius: 12px;
    }

    /* Scroll indicator */
    .scroll-indicator {
        font-size: 1.2rem;
        bottom: 1.2rem;
    }
}

/* ============================================
           RESPONSIVE — Tablets portrait 576–767px
           ============================================ */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
        letter-spacing: clamp(6px, 2vw, 12px);
    }

    .logo-icon {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .secondary-nav {
        flex-direction: row;
        gap: 1.5rem;
    }

    .stats-bar .row>div {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .stat-item h4 {
        font-size: 2.2rem;
    }

    .section-heading {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .contact-info-card {
        flex-direction: row;
        text-align: left;
    }

    .about-card {
        padding: 28px 22px;
    }
}

/* ============================================
           RESPONSIVE — Tablets landscape 768–991px
           ============================================ */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: clamp(2.8rem, 6vw, 4rem);
        letter-spacing: clamp(8px, 2.5vw, 16px);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .stats-bar .row>div {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .stat-item h4 {
        font-size: 2.4rem;
    }

    .section-heading {
        font-size: 2.6rem;
    }

    .about-card {
        padding: 32px 26px;
    }

    .contact-info-card {
        padding: 20px;
    }

    .contact-form-card {
        padding: 30px 28px;
    }
}

/* ============================================
           RESPONSIVE — Small desktops 992–1199px
           ============================================ */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: clamp(3.5rem, 6vw, 4.5rem);
    }

    .about-card {
        padding: 36px 30px;
    }

    .section-heading {
        font-size: 3rem;
    }
}

/* ============================================
           RESPONSIVE — Large desktops ≥ 1440px
           ============================================ */
@media (min-width: 1440px) {
    .hero-title {
        letter-spacing: 28px;
    }

    .hero-content {
        max-width: 900px;
    }

    .about-card {
        padding: 50px;
    }

    .section-heading {
        font-size: 3.8rem;
    }
}

/* ============================================
           RESPONSIVE — Touch devices
           ============================================ */
@media (hover: none) and (pointer: coarse) {
    .morph-blob {
        animation-duration: 30s;
    }

    .about-card {
        transform-style: flat;
        perspective: none;
    }

    .about-card .about-card-icon,
    .about-card h3 {
        transform: none;
    }

    .enter-btn {
        min-height: 48px;
    }

    .secondary-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .section-send-btn {
        min-height: 48px;
    }

    .contact-info-card:hover {
        transform: none;
    }

    .about-card:hover {
        transform: none;
    }

    .section-form input:focus,
    .section-form textarea:focus {
        transform: none;
    }
}

/* ============================================
           RESPONSIVE — Landscape phones
           ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 50px 20px 35px;
    }

    .hero-content {
        padding: 0.75rem 1rem;
    }

    .logo-container {
        margin-bottom: 0.75rem;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
        letter-spacing: clamp(4px, 2vw, 10px);
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        margin-bottom: 1.2rem;
        font-size: 0.9rem;
    }

    .action-buttons {
        margin-bottom: 1rem;
    }

    .enter-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .secondary-nav {
        gap: 1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ============================================
           RESPONSIVE — Very short landscape (≤ 400px height)
           ============================================ */
@media (max-height: 400px) and (orientation: landscape) {
    .hero-section {
        padding: 35px 15px 25px;
    }

    .hero-content {
        padding: 0.5rem;
    }

    .logo-container {
        display: none;
    }

    .hero-subtitle {
        display: none;
    }

    .secondary-nav {
        margin-top: 0.5rem;
    }
}

/* ============================================
           RESPONSIVE — Safe area (notched devices)
           ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer-info {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    .hero-section {
        padding-top: max(60px, env(safe-area-inset-top));
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* ============================================
           RESPONSIVE — High-DPI / Retina
           ============================================ */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-blobs {
        opacity: 0.6;
    }
}

/* ============================================
           RESPONSIVE — Reduced motion
           ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-content {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}