/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --accent-color: #ff6b35;
    --text-dark: #1a1a2e;
    --text-gray: #6c757d;
    --text-light: #adb5bd;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 顶部公告栏 ========== */
.top-bar {
    background: #f5f5f5;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-gray);
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .top-links a {
    color: var(--text-gray);
    margin-left: 16px;
}

.top-bar .top-links a:hover {
    color: var(--primary-color);
}

/* ========== 头部导航 ========== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo .logo-text .name {
    font-size: 20px;
}

.logo .logo-text .slogan {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover, .nav a.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .btn {
    padding: 8px 20px;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-accent {
    background: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background: #e55a2b;
    color: #fff;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ========== Hero 区域 ========== */
.hero {
    background: linear-gradient(135deg, #1a73e8 0%, #4a90d9 50%, #6ab7ff 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-content .subtitle {
    font-size: 18px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.hero-content .desc {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 0 0 400px;
    text-align: center;
}

.hero-image .hero-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-image .hero-card .icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.hero-image .hero-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.hero-image .hero-card p {
    font-size: 14px;
    opacity: 0.85;
}

/* ========== 通用区块 ========== */
.section {
    padding: 64px 0;
}

.section-gray {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-gray);
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========== 数据统计 ========== */
.stats {
    background: var(--primary-color);
    color: #fff;
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item .num {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 15px;
    opacity: 0.9;
}

/* ========== 课程分类 ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--primary-light);
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.category-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ========== 课程卡片 ========== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.course-card .course-img {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-light), #d4e8fc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.course-card .course-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card .course-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.course-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.course-card .course-info {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 12px;
    flex: 1;
}

.course-card .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.course-card .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.course-card .price .old {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 4px;
}

.course-card .buy-btn {
    padding: 6px 16px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition);
}

.course-card .buy-btn:hover {
    background: var(--primary-dark);
}

/* ========== 服务特色 ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 32px 20px;
}

.feature-item .icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== 讲师团队 ========== */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.teacher-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.teacher-card:hover {
    box-shadow: var(--shadow-md);
}

.teacher-card .avatar {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8f0fe, #d4e8fc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.teacher-card .info {
    padding: 16px;
}

.teacher-card .info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.teacher-card .info .title {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.teacher-card .info .desc {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== 资讯列表 ========== */
.news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item .date {
    flex: 0 0 80px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    margin-right: 16px;
}

.news-item .date .day {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.news-item .date .month {
    font-size: 12px;
    color: var(--text-gray);
}

.news-item .title {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.news-item:hover .title {
    color: var(--primary-color);
}

/* ========== CTA 区域 ========== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    padding: 64px 0;
    text-align: center;
}

.cta h2 {
    font-size: 30px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta .hero-actions {
    justify-content: center;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a1a2e;
    color: #adb5bd;
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2d2d44;
}

.footer-col h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 13px;
    line-height: 2;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #adb5bd;
    font-size: 13px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-contact .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
}

.footer-contact .item .icon {
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

.footer-bottom .links {
    margin-bottom: 8px;
}

.footer-bottom .links a {
    color: #6c757d;
    margin: 0 8px;
}

.footer-bottom .links a:hover {
    color: #fff;
}

.footer-bottom .copyright {
    color: #6c757d;
    line-height: 2;
}

.footer-bottom .license-info {
    color: #6c757d;
    margin-top: 4px;
}

.footer-bottom .license-info a {
    color: #6c757d;
    margin: 0 6px;
}

/* ========== 内页 Banner ========== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    padding: 48px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.page-banner .breadcrumb {
    font-size: 14px;
    opacity: 0.85;
}

.page-banner .breadcrumb a {
    color: #fff;
    opacity: 0.85;
}

.page-banner .breadcrumb a:hover {
    opacity: 1;
}

.page-banner .breadcrumb span {
    margin: 0 8px;
}

/* ========== 文档页（协议/政策等） ========== */
.doc-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 20px;
}

.doc-content h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.doc-content .update-date {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.doc-content h2 {
    font-size: 20px;
    margin: 32px 0 16px;
    color: var(--text-dark);
}

.doc-content h3 {
    font-size: 16px;
    margin: 24px 0 12px;
    color: var(--text-dark);
}

.doc-content p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 14px;
    color: #444;
}

.doc-content ul, .doc-content ol {
    margin: 12px 0 20px 20px;
}

.doc-content ul li, .doc-content ol li {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 8px;
    color: #444;
    list-style: disc;
}

.doc-content ol li {
    list-style: decimal;
}

.doc-content .highlight {
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 4px;
}

.doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.doc-content table th, .doc-content table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    font-size: 14px;
    text-align: left;
}

.doc-content table th {
    background: var(--bg-light);
    font-weight: 600;
}

/* ========== 表单 ========== */
.form-wrap {
    max-width: 440px;
    margin: 48px auto;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.form-wrap h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 8px;
}

.form-wrap .sub {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group .input-with-btn {
    display: flex;
    gap: 10px;
}

.form-group .input-with-btn input {
    flex: 1;
}

.form-group .input-with-btn button {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: var(--transition);
}

.form-group .input-with-btn button:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
    cursor: pointer;
}

.form-options a {
    color: var(--primary-color);
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-gray);
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

/* ========== 联系页面 ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info .info-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-info .info-item .detail h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info .info-item .detail p {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-form {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
}

/* ========== 关于我们 ========== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    line-height: 2;
    color: #555;
    margin-bottom: 16px;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-light), #d4e8fc);
    border-radius: var(--radius);
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-item .year {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.timeline-item .content {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== 课程详情页 ========== */
.course-detail-hero {
    background: var(--bg-light);
    padding: 40px 0;
}

.course-detail-hero .container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.course-detail-info h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

.course-detail-info .tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.course-detail-info .tags span {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
}

.course-detail-info .meta {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.course-detail-info .features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.course-detail-info .features li {
    font-size: 13px;
    color: var(--text-gray);
}

.course-detail-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.course-detail-sidebar .price-box {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.course-detail-sidebar .price-box .current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
}

.course-detail-sidebar .price-box .original-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 8px;
}

.course-detail-sidebar .btn {
    margin-bottom: 12px;
}

.course-detail-sidebar .info-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.course-detail-sidebar .info-list li:last-child {
    border-bottom: none;
}

.course-detail-sidebar .info-list li .label {
    color: var(--text-gray);
}

/* ========== 投诉举报 ========== */
.complaint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.complaint-channels .channel-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
}

.complaint-channels .channel-item:hover {
    background: var(--primary-light);
}

.complaint-channels .channel-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.complaint-channels .channel-item h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.complaint-channels .channel-item p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        flex: 0 0 auto;
    }
    .category-grid, .course-grid, .teacher-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid, .complaint-grid, .about-section {
        grid-template-columns: 1fr;
    }
    .course-detail-hero .container {
        grid-template-columns: 1fr;
    }
    .news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .category-grid, .course-grid, .teacher-grid, .stats-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 40px 0;
    }
    .section-header h2 {
        font-size: 24px;
    }
}
