/* ===== Custom Styles for Global English ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body background */
body {
    background-color: #fdfbf7;
}

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(30, 25, 22, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s ease;
}

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

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #854127 0%, #B85C38 40%, #d4b06a 100%);
}

.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ===== Card Hover Effects ===== */
.card-group:hover .card-group {
    transform: translateY(-4px);
}

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

::-webkit-scrollbar-track {
    background: #fdfbf7;
}

::-webkit-scrollbar-thumb {
    background: #d4b06a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B85C38;
}

/* ===== Selection ===== */
::selection {
    background: rgba(184, 92, 56, 0.2);
    color: #5a2f1e;
}

/* ===== Focus Styles ===== */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #B85C38;
    outline-offset: 2px;
}

/* ===== Mobile Menu Transition ===== */
#mobileMenu {
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 1;
}

#mobileMenu.closed {
    max-height: 0px !important;
    opacity: 0;
    overflow: hidden;
}

#mobileMenu.open {
    max-height: 400px !important;
    opacity: 1;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Print Styles ===== */
@media print {
    .nav-scrolled,
    .hero,
    #approach {
        background: none !important;
        color: #000 !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
