/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a2a3a;
    --primary-light: #2d4a6f;
    --accent: #c9a961;
    --text: #333;
    --text-light: #666;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0d1b2a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #d4b56a;
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
}

.btn-nav:hover {
    background: var(--primary-light);
}

/* Language Toggle */
.lang-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: var(--primary);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2a3a 50%, #2d4a6f 100%);
    color: white;
    padding: 100px 20px 80px;
}

.hero-banner {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.8;
}

/* About Stats Section */
.about-stats {
    padding: 60px 20px;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: var(--bg-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item {
        padding: 20px 15px;
    }
}

/* Highlights Section */
.highlights {
    padding: 100px 20px;
    background: var(--bg-light);
}

.highlights h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.highlight-card {
    background: white;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.highlights-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.highlights-note p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.highlights-note p:last-child {
    margin-bottom: 0;
}

/* Gallery Section */
.gallery {
    padding: 80px 20px;
    background: white;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* Courses Section */
.courses {
    padding: 100px 20px;
    background: var(--bg-dark);
    color: white;
}

.courses h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.courses-subtitle {
    text-align: center;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* Level Progress */
.level-progress {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    padding: 0 20px;
}

.level-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: linear-gradient(to right, #f59e0b, #eab308, #84cc16, #22c55e);
    z-index: 0;
}

.level-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.level-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid var(--bg-dark);
}

.level-dot.beginner { background: #f59e0b; }
.level-dot.pre-intermediate { background: #eab308; }
.level-dot.intermediate { background: #84cc16; }
.level-dot.upper-intermediate { background: #22c55e; }

.level-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.level-code {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 4px;
}

.level-months {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Table Styles */
.table-title {
    text-align: center;
    font-size: 1.5rem;
    margin: 50px 0 25px;
    color: var(--accent);
}

.course-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.course-table th,
.course-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.course-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-table td {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.course-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.course-table tbody tr:last-child td {
    border-bottom: none;
}

.sub-text {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.alt-row {
    background: rgba(255, 255, 255, 0.03);
}

.featured-row {
    background: rgba(201, 169, 97, 0.15) !important;
}

.featured-row td {
    padding-top: 18px;
    padding-bottom: 18px;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.pricing-table td:nth-child(4) {
    color: var(--accent);
    font-size: 1rem;
}

/* Inquire Section */
.inquire {
    padding: 100px 20px;
    background: var(--bg-light);
}

.inquire h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.inquire-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.inquire-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 42, 58, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

.inquire-form .btn {
    margin-top: 10px;
    padding: 16px 28px;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-contact h4,
.footer-address h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-contact p,
.footer-address p {
    opacity: 0.8;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .level-progress {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .level-progress::before {
        display: none;
    }

    .level-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }

    .hero-banner {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2rem !important;
    }

    .course-table th,
    .course-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .level-item {
        width: 100%;
    }

    .table-title {
        font-size: 1.3rem;
    }

    .sub-text {
        font-size: 0.7rem;
    }
}
