/* Custom CSS for English Education Web Profile */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
    --yellow-light: #ffea70;
    --yellow-primary: #ffc107;
    --yellow-dark: #e0a800;
    --yellow-gradient: linear-gradient(135deg, #ffea70 0%, #ffc107 50%, #e0a800 100%);
    --yellow-gradient-subtle: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(224, 168, 0, 0.05));
    --dark-text: #2c3e50;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark-text);
    background-color: #f8f9fa;
}

/* Typography & Utilities */
.fw-900 { font-weight: 900 !important; }
.text-gradient-dark {
    background: linear-gradient(to right, #2c3e50, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-text {
    color: var(--dark-text);
}
.brand-text-solid {
    color: var(--yellow-dark);
}
.letter-spacing {
    letter-spacing: 2px;
}
.drop-shadow {
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Navbar */
.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: #555 !important;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active,
.navbar-nav .nav-item:hover .nav-link {
    color: var(--dark-text) !important;
    background-color: var(--yellow-primary);
}

.dropdown-menu {
    border: none;
    border-top: 3px solid var(--yellow-primary);
    border-radius: 12px;
    padding: 12px 0;
    margin-top: 0;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 10px 24px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: var(--yellow-light);
    color: var(--dark-text);
    padding-left: 30px; /* Slight indent effect */
}

/* Add hover behavior for dropdowns on desktop */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 120px;
    background: var(--yellow-gradient);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(80px);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(60px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

/* Features Section */
.divider-custom {
    width: 60px;
    height: 4px;
    background-color: var(--yellow-primary);
    border-radius: 2px;
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    border-bottom: 4px solid transparent !important;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.05) !important;
    border-bottom: 4px solid var(--yellow-primary) !important;
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow-gradient-subtle);
    color: var(--yellow-dark);
    transition: all 0.4s ease;
}

.feature-card:hover .icon-wrapper {
    background: var(--yellow-gradient);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

/* Footer Section */
.footer-section {
    background-color: var(--yellow-light);
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--yellow-dark);
    border-radius: 2px;
}

.hover-opacity-100 {
    transition: all 0.3s ease;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
    color: var(--yellow-dark) !important;
    transform: translateX(5px);
    display: inline-block;
}

/* Animations */
.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

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