/* 
* Byermangev - Financial Education E-commerce
* Theme: Finance and Education
* Primary Colors: Deep blue, gold, and white
*/

/* Base Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #c5a44c;
    --accent-color: #2e5b88;
    --text-color: #333333;
    --light-text: #f8f9fa;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 6px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 1rem;
    background-color: var(--light-bg);
    color: var(--text-color);
}

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

.btn-primary:hover {
    background-color: #152c4e;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #b39440;
    color: white;
}

.btn-tertiary {
    background-color: #f8f9fa;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-tertiary:hover {
    background-color: #e9ecef;
}

.btn-block {
    display: block;
    width: 100%;
}

.success {
    color: var(--success-color);
}

.error {
    color: var(--error-color);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
    font-style: italic;
}

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

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
}

nav ul li a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

#cart-count {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.8)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Story Section */
.story {
    padding: 80px 0;
    background-color: white;
}

.story h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.story p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

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

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 50px 0;
}

.stat {
    text-align: center;
    padding: 20px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.cta-banner {
    background-color: var(--accent-color);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 50px;
}

.cta-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

.about-products h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.about-products h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 30px 0 15px;
}

.about-products p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.why-choose {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

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

.why-choose ul {
    margin-left: 20px;
}

.why-choose ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.why-choose ul li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.product-card .price {
    padding: 0 20px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    padding: 0 20px;
    margin-bottom: 15px;
    min-height: 70px;
}

.product-actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer-links ul li a,
.footer-contact a {
    color: #e0e0e0;
}

.footer-links ul li a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

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

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

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

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 15px;
}

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

.cookie-more-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Page */
.about-intro {
    padding: 80px 0;
    background-color: white;
}

.about-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.about-intro p {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.about-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vision-box {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.vision-box ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.vision-box ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2em;
}

.about-history {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    padding-left: 50px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    position: absolute;
    left: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-weight: bold;
    top: 0;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team {
    padding: 80px 0;
    background-color: white;
}

.team h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.team-member {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
    padding: 20px 20px 5px;
    color: var(--primary-color);
}

.team-member p {
    padding: 0 20px;
}

.team-member p:nth-of-type(1) {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.team-member p:nth-of-type(2) {
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.partners {
    padding: 80px 0;
    background-color: white;
}

.partners h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.partners > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.partner {
    background-color: #f8f9fa;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

.cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

/* Contact Page */
.contact-info {
    padding: 80px 0;
    background-color: white;
}

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

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

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.contact-form {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-form h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.contact-form > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

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

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.form-message {
    margin-top: 20px;
    font-weight: bold;
    display: none;
}

.form-message.success {
    display: block;
    color: var(--success-color);
}

.form-message.error {
    display: block;
    color: var(--error-color);
}

.faq {
    padding: 80px 0;
    background-color: white;
}

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

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

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: white;
}

.accordion-header.active + .accordion-content {
    padding: 20px;
    max-height: 500px;
}

.map {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 50%;
    position: relative;
    height: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info {
    text-align: center;
    padding: 20px;
}

.map-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Product Detail Page */
.product-detail {
    padding: 80px 0;
    background-color: white;
}

.breadcrumbs {
    margin-bottom: 30px;
    color: #6c757d;
}

.breadcrumbs a {
    color: var(--accent-color);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.product-info h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.price-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star {
    font-size: 1.2rem;
}

.star.filled {
    color: #ffc107;
}

.star.half-filled {
    color: #ffc107;
    position: relative;
}

.star.half-filled::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

.star.empty {
    color: #e0e0e0;
}

.rating-count {
    margin-left: 5px;
    color: #6c757d;
    font-size: 0.9rem;
}

.product-short-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-highlights {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

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

.product-highlights ul {
    margin-left: 20px;
}

.product-highlights ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.product-highlights ul li:before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.quantity-controls button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 1.2rem;
}

.quantity-controls button:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.quantity-controls button:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.quantity-controls input {
    width: 50px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.quantity-controls input::-webkit-outer-spin-button,
.quantity-controls input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-guarantee {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-guarantee p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
}

.product-guarantee p svg {
    color: var(--secondary-color);
}

.product-tabs {
    margin-top: 30px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    padding-bottom: 10px;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button.active {
    color: var(--primary-color);
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--secondary-color);
}

.tab-pane {
    display: none;
    padding: 20px 0;
}

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

.tab-pane h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tab-pane h3 {
    color: var(--accent-color);
    margin: 20px 0 10px;
}

.tab-pane p,
.tab-pane li {
    margin-bottom: 15px;
    line-height: 1.7;
}

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

.curriculum-accordion,
.faq-accordion {
    max-width: 100%;
}

.curriculum-module,
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.module-header,
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.module-header h3,
.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
}

.module-toggle,
.faq-toggle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.module-header.active .module-toggle,
.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.module-content,
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: white;
}

.module-header.active + .module-content,
.faq-question.active + .faq-answer {
    padding: 20px;
}

.lesson-list {
    list-style-type: none;
    margin-left: 0;
}

.lesson-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.lesson-list li:last-child {
    border-bottom: none;
}

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

.instructor-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 20px;
    align-items: center;
}

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

.instructor-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.instructor-title {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.instructor-bio {
    margin-bottom: 15px;
}

.instructor-credentials p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.review-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
}

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

.rating-number {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}

.rating-bars {
    flex: 1;
    max-width: 400px;
    padding-left: 40px;
}

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

.rating-label {
    min-width: 60px;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

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

.rating-percent {
    min-width: 40px;
    text-align: right;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
}

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

.review-header h4 {
    color: var(--primary-color);
}

.review-date {
    font-size: 0.9rem;
    color: #6c757d;
}

.review-content {
    line-height: 1.7;
}

.related-products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

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

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.related-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.related-card .price {
    padding: 0 15px;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.related-card .btn {
    margin: 15px;
}

/* Cart Page */
.cart-section {
    padding: 80px 0;
    background-color: white;
}

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

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.empty-cart svg {
    color: #6c757d;
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.empty-cart p {
    margin-bottom: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    align-items: center;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.item-price {
    color: #6c757d;
    margin-bottom: 10px;
}

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

.item-quantity button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
}

.cart-item-total {
    text-align: right;
}

.cart-item-total p {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.remove-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-summary {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.btn-block {
    margin-bottom: 10px;
}

.promo-code {
    margin-top: 30px;
}

.promo-code h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.promo-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

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

#promoMessage {
    font-size: 0.9rem;
    margin-top: 5px;
}

#promoMessage.success {
    color: var(--success-color);
}

#promoMessage.error {
    color: var(--error-color);
}

.recommended-products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

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

/* Checkout Page */
.checkout-section {
    padding: 80px 0;
    background-color: white;
}

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

.checkout-form-container {
    padding-right: 30px;
}

.checkout-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.checkout-form-container h2:not(:first-child) {
    margin-top: 40px;
}

.order-summary {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.5rem;
}

.order-items {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

.order-item-details h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.order-item-price {
    font-size: 0.9rem;
    color: #6c757d;
}

.order-totals {
    margin-bottom: 30px;
}

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

.grand-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--success-color);
}

.secure-icon svg {
    stroke: var(--success-color);
}

.satisfaction-guarantee {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.guarantee-icon svg {
    stroke: var(--secondary-color);
}

.guarantee-text h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.guarantee-text p {
    font-size: 0.9rem;
}

.support-info {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.support-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.support-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Success Page */
.success-section {
    padding: 80px 0;
    background-color: white;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 30px;
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.success-message {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.next-steps {
    text-align: left;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.next-steps h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.step-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.support-contact {
    text-align: left;
    margin-bottom: 40px;
}

.support-contact h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.support-contact p {
    margin-bottom: 10px;
}

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

/* Responsive Styles */
@media (max-width: 1100px) {
    .product-main {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-form-container {
        padding-right: 0;
    }
    
    .order-summary {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 900px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
        margin-top: 30px;
    }
    
    .instructor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .instructor-image {
        margin: 0 auto;
    }
    
    .review-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .rating-bars {
        padding-left: 0;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    header nav {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: white;
        z-index: 1000;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    header nav.active {
        right: 0;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item-image img {
        margin: 0 auto;
    }
    
    .cart-item-total {
        text-align: center;
    }
    
    .item-quantity {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tab-button {
        padding: 10px;
        font-size: 0.9rem;
    }
}
