/* ============================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================================
   TOP HEADER
   ========================================================================== */
.top-header {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 3px solid var(--primary-red);
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: var(--primary-red);
    font-size: 14px;
}

.contact-item a, .contact-item span {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* ============================================================================
   MAIN HEADER
   ========================================================================== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
}

.logo-text span {
    color: var(--primary-red);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--primary-red-light);
    color: var(--primary-red);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-gray);
    transition: all 0.3s;
}

/* ============================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(227,46,55,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInUp 1s;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 5px;
    animation: fadeInUp 1s 0.2s both;
}

.hero-subtitle-eng {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.3s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.4s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn i {
    margin-right: 8px;
}

.school-levels {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.5s both;
}

.level-tag {
    background-color: rgba(255,255,255,0.2);
    border: 2px solid var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.scroll-down {
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--white);
    font-size: 24px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

/* ============================================================================
   WELCOME SECTION
   ========================================================================== */
.welcome-section {
    padding: 80px 0;
    background-color: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.welcome-subtitle {
    font-size: 18px;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 600;
}

.welcome-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.welcome-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* ============================================================================
   SCHOOLS SECTION
   ========================================================================== */
.schools-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 18px;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.school-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.school-card:hover {
    transform: translateY(-10px);
}

.school-image {
    position: relative;
    height: 200px;
}

.school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-level-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
}

.school-content {
    padding: 20px;
}

.school-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.school-ages {
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
}

.school-features {
    list-style: none;
    margin-bottom: 20px;
}

.school-features li {
    margin-bottom: 8px;
    color: var(--text-gray);
    font-size: 14px;
}

.school-features i {
    color: var(--primary-red);
    margin-right: 8px;
    font-size: 12px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

/* ============================================================================
   QUICK LINKS SECTION
   ========================================================================== */
.quick-links-section {
    padding: 60px 0;
    background-color: var(--white);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-link-card {
    background-color: var(--light-gray);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.quick-link-card:hover {
    background-color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-link-card i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.quick-link-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.quick-link-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ============================================================================
   EVENTS SECTION
   ========================================================================== */
.events-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.events-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.event-date {
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
    min-width: 70px;
}

.event-date .date {
    font-size: 24px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.event-details p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 2px;
}

.event-details i {
    color: var(--primary-red);
    width: 20px;
    margin-right: 5px;
}

.btn-event {
    background-color: transparent;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid var(--primary-red);
}

.btn-event:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.text-center {
    text-align: center;
}

/* ============================================================================
   NEWS SECTION
   ========================================================================== */
.news-section {
    padding: 80px 0;
    background-color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    position: relative;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ============================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--primary-red);
    color: var(--white);
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
    color: var(--white);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 30px;
}

.testimonial-content {
    position: relative;
}

.testimonial-content .fa-quote-left {
    font-size: 40px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-col p {
    color: #999;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: #999;
}

.footer-contact i {
    color: var(--primary-red);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .schools-grid,
    .news-grid,
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .welcome-grid,
    .hero-buttons {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .schools-grid,
    .news-grid,
    .footer-top,
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        width: 100%;
    }
}