/* ===================================
   ADDITIONAL STYLES FOR PAGES
   =================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,.03) 50px, rgba(255,255,255,.03) 100px);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Course Category */
.course-category {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h2 {
    margin-bottom: 0.5rem;
}

.category-header p {
    font-size: 1.125rem;
    color: var(--black-light);
}

/* Why Enroll Section */
.why-enroll {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(13, 148, 136, 0.02) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.benefit-item h3 {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

/* Course Detail Page */
.course-detail-header {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    padding: 10rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.course-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,.03) 50px, rgba(255,255,255,.03) 100px);
}

.course-header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.course-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.meta-item i {
    color: var(--gold);
}

.course-detail-header h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.course-detail-header .course-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Course Content Sections */
.course-content {
    padding: var(--spacing-lg) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--black);
}

.info-value {
    color: var(--emerald);
}

/* Learning Outcomes */
.outcomes-list {
    list-style: none;
    margin-top: 1.5rem;
}

.outcomes-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--beige);
    border-radius: 10px;
}

.outcomes-list i {
    color: var(--emerald);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* Curriculum Section */
.curriculum-item {
    background: var(--beige);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.curriculum-item h4 {
    color: var(--emerald);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.curriculum-item p {
    font-size: 1rem;
}

/* Teacher Info Card */
.teacher-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--beige);
    border-radius: 15px;
    margin-top: 1.5rem;
}

.teacher-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.teacher-details h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.teacher-details p {
    font-size: 0.95rem;
    color: var(--emerald);
    margin-bottom: 0.5rem;
}

.teacher-details span {
    font-size: 0.875rem;
    color: var(--black-light);
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule-table th {
    background: var(--emerald);
    color: var(--white);
    font-weight: 600;
}

.schedule-table tr:hover {
    background: var(--beige);
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--emerald);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured p {
    color: var(--white);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 0.5rem;
}

.price-period {
    font-size: 1rem;
    color: var(--black-light);
    margin-bottom: 2rem;
}

.pricing-card.featured .price-period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Teachers Grid */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.teacher-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.teacher-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.teacher-image-large {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.teacher-image-large .teacher-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.teacher-name {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.teacher-specialization {
    color: var(--emerald);
    font-weight: 500;
    margin-bottom: 1rem;
}

.teacher-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-box {
    background: var(--beige);
    padding: 1rem;
    border-radius: 10px;
}

.stat-box strong {
    display: block;
    color: var(--emerald);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.stat-box span {
    font-size: 0.875rem;
    color: var(--black-light);
}

.teacher-languages {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.language-tag {
    background: rgba(13, 148, 136, 0.1);
    color: var(--emerald);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    padding: 10rem 0 6rem;
    text-align: center;
}

.blog-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--emerald);
    color: var(--emerald);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--emerald);
    color: var(--white);
}

/* Blog Detail */
.blog-detail-header {
    padding: 10rem 0 4rem;
    text-align: center;
}

.blog-detail-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-detail-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.blog-detail-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Page */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(13, 148, 136, 0.2);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--emerald);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-details p {
    font-size: 1rem;
}

.contact-details a {
    color: var(--emerald);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    opacity: 0.8;
}

/* Blog Read Time */
.blog-read-time {
    font-size: 0.875rem;
    color: var(--black-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    padding: 0.75rem;
    background: var(--white);
    border: 2px solid var(--emerald);
    color: var(--emerald);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-family: var(--font-body);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--emerald);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination-btn i {
    font-size: 0.875rem;
}

/* Newsletter Form Large */
.newsletter-form-large input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form-large input:focus {
    outline: none;
    border-color: var(--gold);
}

/* Responsive for Additional Pages */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .blog-filters {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .filter-btn {
        font-size: 0.875rem;
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 8rem 0 4rem;
    }
    
    .course-detail-header {
        padding: 8rem 0 3rem;
    }
    
    .main-content {
        padding: 2rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .teacher-info {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .newsletter-form-large {
        flex-direction: column;
    }
    
    .newsletter-form-large input {
        width: 100%;
    }
}

.course-description{
    color: var(--black);
}
