/* Teach Ready English - Global Styles 
   Version: 2.6 (Matched to Courses Scrollbar)
*/

:root {
    --brand-indigo: #6366f1;
    --brand-dark: #0f172a;
}

html {
    scroll-behavior: smooth;
}

/* --- Global Custom Scrollbar (Matched to Courses) --- */
::-webkit-scrollbar { 
    width: 6px; 
}

::-webkit-scrollbar-track { 
    background: transparent; 
}

::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px; 
}

.dark ::-webkit-scrollbar-thumb { 
    background: #334155; 
}

/* --- Brand Logo Logic --- */
.brand-logo {
    width: 2.5rem; 
    height: 2.5rem;
    background: var(--brand-dark) !important;
    color: white !important;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: 800; 
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.brand-logo:hover { 
    transform: rotate(-5deg) scale(1.1); 
}

.dark .brand-logo { 
    background: white !important; 
    color: var(--brand-dark) !important; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* --- Navigation & Glassmorphism --- */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dark .glass {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(30, 41, 59, 1);
}

/* --- Hero Section --- */
.hero-full-bg {
    background-image: 
        linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0.98) 30%, rgba(255,255,255,0) 100%), 
        url('images/Hero1.png');
    background-size: cover;
    background-position: center right;
    transition: background 0.8s ease;
}

.dark .hero-full-bg {
    background-image: 
        linear-gradient(to right, #0f172a 0%, rgba(15, 23, 42, 0.98) 35%, rgba(15, 23, 42, 0) 100%), 
        url('images/Hero1.png');
}

/* --- Premium Buttons --- */
.btn-premium-solid {
    background: var(--brand-dark);
    color: white;
    padding: 1.25rem 3.5rem;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.dark .btn-premium-solid { 
    background: white; 
    color: var(--brand-dark); 
}

.btn-premium-solid:hover {
    background: var(--brand-indigo);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

/* --- Footer --- */
footer a {
    position: relative;
    display: inline-block;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-indigo);
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

.dark footer {
    background: radial-gradient(circle at top right, #0f172a, #0b1120);
}