/* Learnery - Complete Stylesheet */

/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 28px;
    margin-right: 8px;
}

.logo-text {
    color: var(--text-dark);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.btn-signup {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-signup:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

.cart-icon {
    position: relative;
    font-size: 24px;
    text-decoration: none;
    color: var(--text-dark);
    padding: 8px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error-color);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    padding: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-bar {
    display: flex;
    max-width: 800px;
    margin: 0 auto 40px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
}

.stat-label {
    display: block;
    opacity: 0.9;
    margin-top: 5px;
}

/* ===== SECTIONS ===== */
.subjects-section,
.featured-tutors,
.shop-promo,
.testimonials,
.cta-section,
.contact-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* ===== SUBJECT CARDS ===== */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.subject-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.subject-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.subject-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.subject-card p {
    color: var(--text-light);
}

/* ===== TUTOR CARDS ===== */
.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tutor-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tutor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.tutor-info {
    padding: 20px;
}

.tutor-info h3 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.tutor-subject {
    color: var(--text-light);
    margin-bottom: 10px;
}

.tutor-rating {
    margin: 10px 0;
}

.stars {
    color: #fbbf24;
}

.tutor-rate {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

/* ===== SHOP PROMO ===== */
.shop-promo {
    background: var(--bg-light);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.promo-text {
    flex: 1;
}

.promo-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.promo-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.promo-image {
    flex: 1;
}

.promo-image img {
    width: 100%;
    border-radius: 10px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

/* ===== FORMS ===== */
.contact-form,
.booking-form,
.checkout-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}
/* Learnery Stylesheet - Part 2 (Continuation) */

/* ===== FILTER SECTION ===== */
.filter-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.filter-bar {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-wrapper {
    flex: 1;
    min-width: 250px;
}

.search-wrapper input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
}

.filter-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-controls select {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

/* ===== TUTORS LISTING ===== */
.tutors-listing {
    padding: 60px 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.tutors-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tutor-listing-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 30px;
    transition: var(--transition);
}

.tutor-listing-card:hover {
    box-shadow: var(--shadow-xl);
}

.tutor-listing-card img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

.tutor-listing-info {
    flex: 1;
}

.tutor-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.tutor-subjects {
    color: var(--text-light);
    font-size: 14px;
}

.tutor-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.tutor-bio {
    margin: 15px 0;
    color: var(--text-light);
}

.tutor-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.tag {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
}

.tutor-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.recommended-products {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.recommended-products a {
    color: var(--primary-color);
    text-decoration: none;
}

/* ===== TUTOR PROFILE ===== */
.profile-header {
    background: var(--bg-light);
    padding: 60px 0;
}

.profile-hero {
    display: flex;
    gap: 40px;
    align-items: start;
}

.profile-image-wrapper {
    position: relative;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
}

.profile-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--success-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
}

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

.profile-price {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

.profile-content {
    padding: 60px 0;
}

.profile-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.profile-section {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.profile-section h2 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.subjects-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subject-tag {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-dark);
}

.experience-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-item h3 {
    margin-bottom: 5px;
}

.exp-org {
    color: var(--text-light);
    font-weight: 600;
}

.exp-date {
    font-size: 14px;
    color: var(--text-light);
    margin: 5px 0;
}

.reviews-list .review-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-stars {
    color: #fbbf24;
    margin-left: 10px;
}

.review-date {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== SIDEBAR ===== */
.sidebar-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.sidebar-card h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.calendar {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
}

.calendar-days {
    display: flex;
    gap: 10px;
}

.day-slot {
    flex: 1;
    text-align: center;
}

.day-label {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.time-slot {
    background: var(--secondary-color);
    color: white;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: not-allowed;
}

.time-slot.available {
    background: var(--success-color);
    cursor: pointer;
}

.time-slot.available:hover {
    background: #059669;
}

.time-slot.selected {
    background: var(--primary-color);
}

.calendar-note {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.lesson-options {
    list-style: none;
}

.lesson-options li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.recommended-product {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recommended-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.product-info-mini {
    flex: 1;
}

.product-name-mini {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.product-price-mini {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

/* ===== PRODUCTS/SHOP ===== */
.shop-filter {
    background: var(--bg-light);
    padding: 30px 0;
}

.category-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.category-tab,
.filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.category-tab:hover,
.filter-btn:hover,
.category-tab.active,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.sort-controls {
    display: flex;
    justify-content: flex-end;
}

.products-section,
.products-grid {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--error-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.product-category {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.product-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.product-rating {
    margin: 10px 0;
    font-size: 14px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.product-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

/* ===== PRODUCT DETAIL ===== */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.product-detail {
    padding: 60px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-badge-large {
    display: inline-block;
    background: var(--error-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-rating-large {
    margin: 20px 0;
}

.product-price-large {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.product-description-large {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 20px 0;
}

.product-features {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.product-features h3 {
    margin-bottom: 15px;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    color: var(--text-dark);
}

.product-actions-large {
    margin: 30px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector button {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
}

.product-meta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

/* ===== PRODUCT TABS ===== */
.product-tabs-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.product-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-button:hover,
.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    margin-bottom: 20px;
}

.tab-content h3 {
    margin: 20px 0 10px;
}

.tab-content ul {
    margin-left: 20px;
}

.tab-content li {
    margin-bottom: 10px;
}
/* Learnery Stylesheet - Part 3 (Final Section) */

/* ===== REVIEWS ===== */
.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.rating-average {
    text-align: center;
}

.rating-number {
    font-size: 60px;
    font-weight: bold;
    color: var(--primary-color);
}

.stars-large {
    font-size: 24px;
    color: #fbbf24;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar span {
    width: 60px;
    font-size: 14px;
}

.bar {
    flex: 1;
    height: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #fbbf24;
}

.review-card-detailed {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.review-card-detailed h4 {
    margin: 10px 0;
}

.review-helpful {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.review-helpful button {
    background: none;
    border: 1px solid var(--border-color);
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.review-helpful button:hover {
    background: var(--bg-light);
}

/* ===== CART ===== */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    gap: 20px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
    margin: 10px 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.cart-item-quantity button {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    width: 35px;
    height: 35px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    padding: 8px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.cart-summary {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.summary-total {
    font-size: 20px;
    font-weight: bold;
}

.promo-code {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.promo-code input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
}

.secure-checkout {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.small-text {
    font-size: 12px;
    color: var(--text-light);
}

.continue-shopping {
    margin-top: 40px;
    text-align: center;
}

.related-products,
.recommended-section {
    background: var(--bg-light);
    padding: 60px 0;
}

/* ===== BLOG ===== */
.featured-article {
    padding: 60px 0;
    background: var(--bg-light);
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    margin: 20px 0;
}

.blog-categories {
    padding: 40px 0;
    background: var(--bg-light);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-grid {
    padding: 60px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    margin: 15px 0;
    color: var(--text-dark);
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* ===== ABOUT PAGE ===== */
.mission-section,
.story-section {
    padding: 80px 0;
}

.mission-content,
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2,
.story-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.mission-text p,
.story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.mission-image img,
.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.values-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.team-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    padding: 20px 20px 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 20px;
}

.team-bio {
    color: var(--text-light);
    padding: 15px 20px 20px;
}

.how-it-works {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    margin-bottom: 15px;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.newsletter-section h2 {
    margin-bottom: 15px;
}

.newsletter-section p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.large {
    max-width: 800px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--text-dark);
}

.checkout-note {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.checkout-summary-mini {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.checkout-summary-mini h4 {
    font-size: 24px;
    color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .promo-content,
    .mission-content,
    .story-content,
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .product-detail-layout,
    .profile-layout,
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .tutor-listing-card {
        flex-direction: column;
    }
    
    .profile-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .subjects-grid,
    .tutors-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-days {
        flex-direction: column;
    }
    
    .product-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-button {
        border-bottom: 2px solid var(--border-color);
        text-align: left;
    }
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}