/* style.css - Common custom styles for Kibabii VTC */

:root {
    --vtc-blue-primary: #0070BA;
    --vtc-blue-deep: #1e3a8a;
    --vtc-accent: #10b981;
    --vtc-surface: rgba(255, 255, 255, 0.85);
    --luxe-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --luxe-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html,
body {
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
    scroll-behavior: smooth;
    letter-spacing: -0.01em;
    overflow-x: clip;
    position: relative;
    width: 100%;
}

/* Premium Typography Helper */
.text-luxe-title {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    /* blue-600 */
    margin-bottom: 0.5rem;
    display: block;
}

/* Glassmorphism Classes */
.glass-surface {
    background: var(--vtc-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.kibabii-btn {
    background-color: #2563eb;
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.kibabii-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
    transform: translateY(-4px);
}

.kibabii-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--luxe-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.kibabii-card:hover {
    box-shadow: var(--luxe-shadow-hover);
    transform: translateY(-8px);
}

.kibabii-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e3a8a;
    /* blue-900 */
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
}

.section-subtitle {
    color: #4b5563;
    /* gray-600 */
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem auto;
    font-size: 1.125rem;
}

.kibabii-input {
    width: 100%;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: all 0.2s;
}

.kibabii-input:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
}

.kibabii-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}


/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal-on-scroll {
    opacity: 0;
}

.reveal-on-scroll.active {
    animation: fadeInUp 0.8s ease forwards;
}

.kibabiivtc-blue {
    background-color: #2986cc !important;
    color: #fff;
}

#main-header.glass-surface {
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#main-header.shadow-xl {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
}

/* Mobile Menu specific fixes */
#mobile-menu {
    height: 100vh !important;
    background: white;
    /* Fallback for transparency */
}

#mobile-menu.glass-surface {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
}

.translate-x-full {
    transform: translateX(100%);
}

.translate-x-0 {
    transform: translateX(0);
}

/* Responsive Font Helpers */
@media (max-width: 768px) {
    .mobile-text-sm {
        font-size: 0.875rem !important;
    }

    .mobile-text-base {
        font-size: 1rem !important;
    }

    .mobile-text-lg {
        font-size: 1.125rem !important;
    }

    .mobile-text-xl {
        font-size: 1.25rem !important;
    }

    .mobile-text-2xl {
        font-size: 1.5rem !important;
    }

    .mobile-text-3xl {
        font-size: 1.875rem !important;
    }
}

/* Z-index fix for decorative elements */
.z-minus-10 {
    z-index: -10;
}

/* Header Spacer Utility */
.header-spacer {
    padding-top: 130px;
    /* Accounts for 120px header + extra room */
}

@media (max-width: 768px) {
    .header-spacer {
        padding-top: 100px;
        /* Accounts for 90px mobile header */
    }
}