:root {
    --primary-color: #0056b3; /* Main Blue */
    --secondary-color: #007bff; /* Lighter Blue */
    --accent-color: #ffc107; /* Accent Yellow/Gold */
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --font-main: 'Noto Sans SC', 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.sub-logo-container {
    display: inline-block;
    background-color: var(--bg-light);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 2px 10px;
    margin-top: 5px;
}

.sub-logo {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.nav-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch span {
    cursor: pointer;
    font-weight: 500;
}

.lang-switch span.active {
    color: var(--primary-color);
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); /* Light overlay */
    background-size: cover;
    background-position: center;
    color: var(--text-color); /* Dark text for light background */
    padding: 100px 0;
    text-align: center;
}

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

/* Hero Logo Styles */
.hero-logo-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.8); /* Extra clarity */
    border-radius: 10px;
}

.hero-logo-wrapper .logo-top {
    width: 100%;
    text-align: center;
    position: relative;
    margin-bottom: -10px;
    z-index: 1;
}

.hero-logo-wrapper .badge-logo {
    display: inline-block;
    border: 2px solid #000;
    border-radius: 50%;
    padding: 5px 25px;
    font-size: 1.2rem;
    color: #000;
    background-color: #fff;
    font-weight: 500;
    transform: rotate(-5deg);
}

.hero-logo-wrapper .logo-middle {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
    margin: 10px 0;
}

.hero-logo-wrapper .logo-red {
    color: #D32F2F;
    font-weight: 900;
}

.hero-logo-wrapper .logo-blue {
    color: #1565C0;
    font-weight: 900;
}

.hero-logo-wrapper .logo-bottom {
    width: 100%;
    border-top: 2px solid #1565C0;
    margin-top: 5px;
    padding-top: 5px;
}

.hero-logo-wrapper .slogan-text {
    font-size: 1.5rem;
    color: #1565C0;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
}

.hero-desc {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 500;
    color: #444;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Course Overview */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.course-col {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.course-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.course-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.course-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.course-header p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.course-header .subtitle {
    display: block;
    margin-top: 5px;
    font-weight: 500;
    color: var(--secondary-color);
}

.course-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-list li i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

.course-btn {
    display: block;
    margin-top: 20px;
    text-align: center;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-item .icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2.5rem;
    transition: var(--transition);
}

.feature-item:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 700;
}

/* Teachers */
.teachers-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.teacher-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); */ /* Replaced by border */
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 30px;
    border: 2px solid #D4AF37; /* Gold border */
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.teacher-avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #eee;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    flex-grow: 1;
}

.teacher-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.teacher-bio {
    list-style: none;
    padding: 0;
}

.teacher-bio li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

.teacher-bio li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--light-text);
    font-weight: bold;
}

/* Responsive adjustment for teacher cards */
@media (max-width: 600px) {
    .teacher-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .teacher-avatar {
        margin-bottom: 15px;
    }
    
    .teacher-bio li {
        text-align: left;
        display: inline-block;
    }
}

/* Environment Slider */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Placeholders for slide images */
.slide:nth-child(1) { background-color: #ffcccc; }
.slide:nth-child(2) { background-color: #ccffcc; }
.slide:nth-child(3) { background-color: #ccccff; }
.slide:nth-child(4) { background-color: #ffffcc; }
.slide:nth-child(5) { background-color: #ffccff; }


.slide-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    bottom: 30px;
}

.slide-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-item p {
    color: var(--light-text);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #333;
    color: #ccc;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 20px;
    color: #ccc;
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-area {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        background-color: var(--white);
        border-top: 1px solid #eee;
    }

    .nav-area.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

    .hero-logo-wrapper {
        transform: scale(0.6);
        margin: -20px 0;
    }

    .hero-logo-wrapper .logo-middle {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1rem;
        padding: 0 10px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}
