/* Base Styles */
:root {
    --primary-color: #4a6bff;
    --primary-dark: #3a51b9;
    --primary-light: #eef2ff;
    --secondary-color: #ff5e5e;
    --accent-color: #35ce8d;
    --dark-color: #222831;
    --gray-dark: #393e46;
    --gray-medium: #5c636e;
    --gray-light: #eeeeee;
    --white-color: #ffffff;
    --danger-color: #ff5757;
    --success-color: #42ba96;
    --warning-color: #ffba4a;
    --info-color: #4dc6e7;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
    --footer-height: 340px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 60px 0;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white-color);
    transform: translateY(-2px);
}

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

.secondary-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.danger-btn:hover {
    background-color: #e64a4a;
    color: var(--white-color);
}

.cookie-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.cookie-btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

/* Header */
header {
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: var(--radius-sm);
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--gray-dark);
    font-weight: 600;
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.spell-check button {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.spell-check button:hover {
    background-color: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Benefits Section */
.benefits {
    background-color: var(--primary-light);
    text-align: center;
}

.benefits h2 {
    margin-bottom: 3rem;
}

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

.benefit-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-text {
    font-size: 1rem;
    color: var(--gray-medium);
}

.cta {
    margin-top: 40px;
}

/* About Products Section */
.about-products {
    background-color: var(--white-color);
    padding: 80px 0;
}

.about-products h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about-products p {
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: justify;
    color: var(--gray-medium);
    line-height: 1.8;
}

.about-products h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.guarantees {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-light);
    padding: 12px 24px;
    border-radius: var(--radius-md);
}

.guarantee i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.guarantee span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Products Section */
.products {
    background-color: var(--gray-light);
}

.products h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.small-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
    background-color: var(--white-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-description {
    color: var(--gray-medium);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray-medium);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price {
    margin-bottom: 15px;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--gray-medium);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white-color);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 40px;
}

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

.testimonial {
    background-color: var(--primary-light);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 700;
    color: var(--primary-color);
}

.role {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

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

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

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
}

.footer-logo h3 {
    color: var(--white-color);
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.footer-links h4 {
    color: var(--white-color);
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

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

.footer-contact h4 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-light);
}

.footer-contact i {
    color: var(--primary-color);
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--gray-dark);
    color: var(--white-color);
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    padding: 20px;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-policy-link {
    font-size: 0.85rem;
}

/* Product Detail Page */
.product-detail {
    padding: 60px 0;
    background-color: var(--white-color);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.product-info h1 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.product-info .product-meta {
    margin-bottom: 25px;
}

.product-info .product-price {
    margin-bottom: 25px;
}

.product-info .discount {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.product-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.product-guarantee i {
    color: var(--success-color);
}

.product-tabs {
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    color: var(--gray-medium);
}

.tab-btn.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: 25px;
}

.tab-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.tab-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}

.tab-content ul li {
    margin-bottom: 10px;
    color: var(--gray-medium);
}

.curriculum-section {
    margin-bottom: 40px;
}

.curriculum-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.instructor-profile {
    display: flex;
    gap: 30px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 30px;
}

.instructor-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white-color);
}

.instructor-info h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.instructor-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.instructor-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.instructor-bio {
    margin-bottom: 20px;
    line-height: 1.8;
}

.instructor-social {
    display: flex;
    gap: 15px;
}

.instructor-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.review-summary {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: var(--radius-md);
}

.review-average {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 40px;
    border-right: 1px solid var(--gray-medium);
}

.average-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stars {
    color: var(--warning-color);
    margin-bottom: 10px;
}

.total-reviews {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.rating-breakdown {
    flex-grow: 1;
}

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

.rating-bar span {
    width: 60px;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
}

.progress-bar {
    flex-grow: 1;
    height: 8px;
    background-color: var(--white-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 10px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
}

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

.review {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.reviewer-name {
    font-weight: 700;
}

.review-date {
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.review-content {
    color: var(--gray-medium);
    line-height: 1.8;
}

.related-products {
    background-color: var(--gray-light);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

/* About Page */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white-color);
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    color: var(--white-color);
    margin-bottom: 10px;
}

.about-story {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray-medium);
}

.values-list {
    margin-top: 30px;
}

.values-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.values-list i {
    color: var(--primary-color);
}

.mission-vision {
    background-color: var(--primary-light);
    padding: 60px 0;
}

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

.mission-box, .vision-box {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission-box i, .vision-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team {
    padding: 80px 0;
    text-align: center;
}

.team h2 {
    margin-bottom: 20px;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--gray-medium);
}

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

.team-card {
    background-color: var(--white-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

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

.team-card p {
    padding: 0 20px;
    margin-bottom: 15px;
    color: var(--gray-medium);
}

.team-card p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.team-card .social-icons {
    justify-content: center;
    margin: 20px 0;
}

.team-card .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

.stats-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}

.stats-section h2 {
    color: var(--white-color);
    margin-bottom: 40px;
}

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

.stat-card {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 5px;
}

.stat-card .stat-text {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.testimonial {
    background-color: var(--primary-light);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 700;
    color: var(--primary-color);
}

.position {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page */
.contact-info {
    padding: 60px 0;
}

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

.contact-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.contact-card p {
    color: var(--gray-medium);
    margin-bottom: 10px;
}

.contact-card .social-icons {
    justify-content: center;
    margin-top: 20px;
}

.contact-form-section {
    background-color: var(--primary-light);
    padding: 60px 0;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    background-color: var(--white-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-form {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    width: calc(50% - 10px);
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 107, 255, 0.2);
}

.coupon-input {
    display: flex;
    gap: 10px;
}

.coupon-input input {
    flex-grow: 1;
}

.coupon-input button {
    padding: 12px 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    height: 20px;
    width: 20px;
    background-color: var(--white-color);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label input:checked ~ .checkbox-custom::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.form-success-message {
    padding: 20px;
    background-color: var(--success-color);
    color: var(--white-color);
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.contact-image {
    background-color: var(--primary-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.contact-image img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 30px;
    border-radius: var(--radius-md);
}

.contact-info-box {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-info-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-info-box p {
    color: var(--gray-medium);
    margin-bottom: 10px;
}

.faq-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.faq-item {
    background-color: var(--primary-light);
    padding: 25px;
    border-radius: var(--radius-md);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--gray-medium);
    line-height: 1.7;
}

.map-section {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-placeholder {
    background-color: #e3e3e3;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.map-overlay i {
    font-size: 2rem;
    color: var(--danger-color);
    margin-bottom: 10px;
}

.map-overlay p {
    margin-bottom: 5px;
}

/* Cart Page */
.cart-section {
    padding: 60px 0;
}

.cart-empty {
    text-align: center;
    padding: 50px 0;
}

.cart-empty i {
    font-size: 4rem;
    color: var(--gray-light);
    margin-bottom: 20px;
}

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

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

.cart-items-container {
    background-color: var(--white-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.cart-header {
    background-color: var(--primary-light);
    padding: 15px 20px;
}

.cart-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.cart-col {
    font-weight: 600;
}

.cart-items {
    padding: 20px;
}

.cart-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.product-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.product-info-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-info-details p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.product-quantity {
    display: flex;
    align-items: center;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    border: none;
    cursor: pointer;
}

.quantity-value {
    width: 40px;
    height: 30px;
    border: none;
    text-align: center;
}

.product-total {
    font-weight: 600;
    color: var(--primary-color);
}

.product-remove button {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1.1rem;
}

.cart-footer {
    background-color: var(--gray-light);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.cart-summary {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: var(--radius-md);
    width: 300px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.summary-row.total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    border-bottom: none;
    margin-bottom: 20px;
}

.checkout-btn {
    text-align: center;
}

.promotion-section {
    padding: 40px 0;
}

.promotion-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white-color);
    padding: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promotion-content h2 {
    color: var(--white-color);
    margin-bottom: 15px;
}

.promotion-content p {
    margin-bottom: 10px;
    max-width: 500px;
}

.promotion-content strong {
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.promotion-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--white-color);
}

.features-section {
    padding: 60px 0;
    background-color: var(--primary-light);
}

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

.feature {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
}

.feature p {
    color: var(--gray-medium);
    margin-bottom: 0;
}

/* Checkout Page */
.checkout-section {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.checkout-form-container {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.checkout-form-container h2 {
    margin-bottom: 30px;
}

.checkout-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkout-agreement {
    margin: 20px 0;
}

.checkout-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.order-summary {
    background-color: var(--white-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: fit-content;
}

.order-summary h2 {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 20px;
    margin-bottom: 0;
}

.summary-content {
    padding: 20px;
}

.checkout-items {
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.checkout-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.checkout-item-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.checkout-item-info p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.checkout-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.summary-totals {
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.order-security {
    background-color: var(--gray-light);
    padding: 20px;
}

.security-features {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-feature i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.guarantee-section {
    padding: 40px 0;
}

.guarantee-box {
    background-color: var(--primary-light);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.guarantee-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.guarantee-box h2 {
    margin-bottom: 15px;
}

.guarantee-box p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-medium);
}

/* Success Page */
.success-section {
    padding: 60px 0;
    text-align: center;
}

.success-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    margin-bottom: 30px;
}

.success-icon i {
    font-size: 5rem;
    color: var(--success-color);
}

.success-content h1 {
    margin-bottom: 20px;
}

.success-content p {
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.success-actions {
    margin-top: 40px;
}

.next-steps {
    padding: 60px 0;
    background-color: var(--primary-light);
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.step {
    display: flex;
    gap: 20px;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-medium);
    margin-bottom: 0;
}

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

.support-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.support-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.support-text h2 {
    margin-bottom: 15px;
}

.support-text p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.support-contact {
    margin-bottom: 20px;
}

.support-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.recommendations {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.recommendations h2 {
    text-align: center;
    margin-bottom: 40px;
}

.small-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        margin-bottom: 30px;
    }
    .contact-form-container {
        grid-template-columns: 1fr;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    header {
        height: auto;
        position: relative;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .product-detail-container {
        grid-template-columns: 1fr;
    }
    .instructor-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .instructor-stats {
        justify-content: center;
    }
    .instructor-social {
        justify-content: center;
    }
    .review-summary {
        flex-direction: column;
    }
    .review-average {
        border-right: none;
        border-bottom: 1px solid var(--gray-medium);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .cart-row {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .cart-col.product-total,
    .cart-col.product-remove {
        display: none;
    }
    .cart-item .product-total,
    .cart-item .product-remove {
        display: flex;
        justify-content: center;
    }
    .cart-footer {
        flex-direction: column;
        gap: 20px;
    }
    .cart-summary {
        width: 100%;
    }
    .promotion-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .support-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    .hero {
        padding: 60px 0;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .tabs-header {
        flex-wrap: wrap;
    }
    .tab-btn {
        flex-grow: 1;
        text-align: center;
    }
    .form-group {
        width: 100%;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .cart-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    .cart-col {
        display: none;
    }
    .cart-item .product-info {
        flex-direction: column;
        align-items: center;
    }
    .cart-item .product-quantity,
    .cart-item .product-total,
    .cart-item .product-remove {
        justify-content: center;
        margin-top: 10px;
    }
    .success-content {
        padding: 30px;
    }
}
