/* Custom Enhancements for German French Coach Language Learning Institute */

:root {
    --brand-navy: #0A192F;
    --brand-deep: #0F274A;
    --brand-primary: #1A56DB;
    --brand-accent: #DC2626;
    --brand-gold: #F59E0B;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism helpers */
.glass-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Smooth active states for buttons */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* Course Card hover glow */
.course-card, .role-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover, .role-card:hover {
    transform: translateY(-4px);
}

/* FAQ accordion styling */
.faq-toggle i {
    transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom form focus highlight */
input:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

/* Desktop Header Nav Link Hover Indicator */
#mainHeader nav a {
    position: relative;
    padding-top: 4px;
    padding-bottom: 4px;
}
#mainHeader nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #DC2626, #F59E0B);
    transition: width 0.25s ease-in-out;
    border-radius: 9999px;
}
#mainHeader nav a:hover::after {
    width: 100%;
}

/* Mobile Header sticky fix */
@media (max-width: 639px) {
    #mainHeader {
        top: 0 !important;
    }
}
