/* 
FinanceWise Academy Stylesheet
*/

/* ---------- Base Styles ---------- */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #64b5f6;
    --secondary-color: #4caf50;
    --secondary-dark: #2e7d32;
    --accent-color: #ff9800;
    --accent-dark: #f57c00;
    --text-dark: #212121;
    --text-medium: #555555;
    --text-light: #757575;
    --background-light: #ffffff;
    --background-off-white: #f5f7fa;
    --background-gray: #eef2f6;
    --background-dark: #263238;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', 'Roboto', sans-serif;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

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

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

button, .button, [type="button"], [type="submit"] {
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    transition: all var(--transition-normal);
}

ul {
    list-style-type: none;
}

.container {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

/* ---------- Utility Classes ---------- */
.text-center {
    text-align: center;
}

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

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

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

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

.p-20 {
    padding: 20px;
}

/* ---------- Header & Navigation ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-light);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
}

nav {
    margin-left: auto;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

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

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

.cart-link span {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    margin-left: 5px;
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E') center bottom no-repeat;
    background-size: cover;
    opacity: 0.2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 700px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 15px 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
}

.cta-button:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

/* ---------- Benefits Section ---------- */
.benefits {
    padding: 100px 0;
    background-color: var(--background-light);
}

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

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

.benefit-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.benefit-card .icon {
    margin-bottom: 20px;
    color: var(--primary-color);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.benefit-card p {
    color: var(--text-medium);
}

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

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

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

.stat p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

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

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

.about-products h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-products p {
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ---------- Products/Courses Section ---------- */
.products {
    padding: 100px 0;
    background-color: var(--background-light);
}

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

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

.product-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

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

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

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

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: background-color var(--transition-normal);
}

.view-button:hover {
    background-color: var(--primary-dark);
    color: white;
}

.add-to-cart {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--background-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.add-to-cart:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ---------- Parallax Section ---------- */
.parallax-section {
    padding: 120px 0;
    background: linear-gradient(rgba(30, 136, 229, 0.85), rgba(30, 136, 229, 0.85)), url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="100" height="100" fill="%23ffffff" fill-opacity="0.1"/%3E%3Cpath d="M0 50 L100 50 M50 0 L50 100" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="2"/%3E%3C/svg%3E');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
    position: relative;
}

.parallax-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.parallax-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.three-d-button-container {
    perspective: 1000px;
    display: inline-block;
}

.three-d-button {
    display: inline-block;
    padding: 18px 35px;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 0 var(--accent-dark), 0 15px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s, box-shadow 0.1s;
    transform-style: preserve-3d;
    position: relative;
    transform: translateZ(10px);
}

.three-d-button:hover {
    transform: translateZ(20px);
    box-shadow: 0 12px 0 var(--accent-dark), 0 18px 25px rgba(0, 0, 0, 0.35);
    color: white;
}

.three-d-button:active {
    transform: translateZ(0px) translateY(10px);
    box-shadow: 0 0 0 var(--accent-dark), 0 5px 10px rgba(0, 0, 0, 0.3);
}

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

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.reg-number {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4:after, .footer-contact h4:after, .footer-social h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-light);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-normal);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact p .icon {
    margin-right: 10px;
    color: var(--primary-light);
    flex-shrink: 0;
}

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

.footer-social .social-icons a {
    display: 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: all var(--transition-normal);
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--background-light);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    padding: 15px 20px;
    transition: bottom var(--transition-normal);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.cookie-content p {
    margin-bottom: 15px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

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

.cookie-button {
    padding: 8px 15px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.cookie-button.accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-button.accept:hover {
    background-color: var(--primary-dark);
}

.cookie-button.customize, .cookie-button.decline {
    background-color: var(--background-light);
    color: var(--text-medium);
    border: 1px solid var(--border-color);
}

.cookie-button.customize:hover, .cookie-button.decline:hover {
    background-color: var(--background-gray);
}

.cookie-more-info {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

/* ---------- Notification ---------- */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1002;
    max-width: 350px;
    transform: translateX(calc(100% + 20px));
    transition: transform var(--transition-normal);
}

.notification.show {
    transform: translateX(0);
}

.notification p {
    margin-bottom: 0;
    font-weight: 600;
}

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

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

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

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

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

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-right: 10px;
}

.stars.large {
    font-size: 1.5rem;
}

.rating-count {
    color: var(--text-medium);
}

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

.add-to-cart-btn, .buy-now-btn {
    padding: 15px 30px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    margin-right: 15px;
}

.add-to-cart-btn {
    background-color: var(--background-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.add-to-cart-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.buy-now-btn:hover {
    background-color: var(--primary-dark);
}

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

.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    font-size: 1.125rem;
    font-weight: 700;
    background-color: transparent;
    color: var(--text-medium);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
}

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

.tab-content h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.tab-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.tab-content p {
    margin-bottom: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

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

.tab-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: var(--text-medium);
}

.tab-content li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.module {
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.module-header {
    padding: 15px 20px;
    background-color: var(--background-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.module-length {
    color: var(--text-light);
    font-size: 0.9rem;
}

.lessons {
    padding: 15px 20px;
}

.instructor-profile {
    display: flex;
    gap: 30px;
}

.instructor-image {
    flex: 0 0 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-bio h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.instructor-title {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.review-summary {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.overall-rating {
    text-align: center;
    flex: 0 0 200px;
}

.overall-rating h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

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

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

.rating-bar .stars {
    width: 120px;
    text-align: left;
    margin-right: 15px;
}

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

.bar {
    height: 100%;
    background-color: var(--accent-color);
}

.percentage {
    width: 40px;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews-list {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.review {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

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

.reviewer-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.reviewer-info h4 {
    font-size: 1.125rem;
    margin-bottom: 3px;
}

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

.review .stars {
    margin-bottom: 10px;
}

.related-products {
    padding: 60px 0 80px;
    background-color: var(--background-gray);
}

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

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

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

.cart-section h1 {
    text-align: center;
    margin-bottom: 40px;
}

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

.empty-cart-icon {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background-gray);
    color: var(--text-medium);
}

.cart-empty h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

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

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

.cart-items {
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-dark);
}

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

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

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--background-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-normal);
}

.quantity-btn:hover {
    background-color: var(--border-color);
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    background-color: transparent;
    font-weight: 600;
    font-size: 1rem;
}

.remove-btn {
    color: var(--error-color);
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color var(--transition-normal);
}

.remove-btn:hover {
    background-color: rgba(244, 67, 54, 0.1);
}

.cart-summary {
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    align-self: start;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.125rem;
}

.summary-item.total {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

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

.checkout-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 15px;
    transition: background-color var(--transition-normal);
}

.checkout-button:hover {
    background-color: var(--primary-dark);
    color: white;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

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

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

.checkout-section h1 {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-empty {
    text-align: center;
    padding: 60px 0;
}

.empty-checkout-icon {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background-gray);
    color: var(--text-medium);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

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

.checkout-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

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

.form-group.half {
    flex: 1;
}

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

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400;
    position: relative;
    padding-left: 35px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.place-order-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
    margin-top: 30px;
    transition: background-color var(--transition-normal);
}

.place-order-btn:hover {
    background-color: var(--primary-dark);
}

.order-summary {
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    align-self: start;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

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

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.order-item-price {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.summary-calculations {
    margin-top: 30px;
}

.back-to-cart {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 30px;
}

/* ---------- Success Page ---------- */
.success-section {
    padding: 140px 0 100px;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.success-icon {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

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

.success-message {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.instruction {
    color: var(--text-medium);
    margin-bottom: 40px;
}

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

.next-steps h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.next-steps ol {
    padding-left: 20px;
}

.next-steps ol li {
    margin-bottom: 15px;
    padding-left: 10px;
    color: var(--text-medium);
}

.support-info {
    margin-bottom: 40px;
}

.support-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

.primary-button, .secondary-button {
    padding: 15px 30px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

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

.primary-button:hover {
    background-color: var(--primary-dark);
    color: white;
}

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

.secondary-button:hover {
    background-color: rgba(30, 136, 229, 0.05);
}

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

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

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

.page-banner h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

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

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
}

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

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-form-container p {
    margin-bottom: 30px;
    color: var(--text-medium);
}

.contact-form {
    margin-top: 30px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
    margin-top: 30px;
    transition: background-color var(--transition-normal);
    cursor: pointer;
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

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

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-medium);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 5px;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-content p, .info-content a {
    color: var(--text-medium);
}

.social-info {
    margin-top: 40px;
}

.social-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-gray);
    border-radius: 50%;
    color: var(--text-medium);
    transition: all var(--transition-normal);
}

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

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

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

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-section {
    padding: 80px 0;
}

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

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

.faq-item {
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.faq-item p {
    color: var(--text-medium);
}

/* ---------- About Page ---------- */
.about-story {
    padding: 80px 0;
}

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

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

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

.about-content h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.values-list {
    margin-left: 20px;
}

.values-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    color: var(--text-medium);
}

.values-list li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.mission-vision {
    padding: 80px 0;
    background-color: var(--background-gray);
}

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

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

.mission-box .icon, .vision-box .icon {
    margin: 0 auto 30px;
    color: var(--primary-color);
}

.mission-box h2, .vision-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-box p, .vision-box p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.7;
}

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-medium);
    font-size: 1.1rem;
}

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

.team-member {
    text-align: center;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p:nth-of-type(2) {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--background-gray);
    border-radius: 50%;
    color: var(--text-medium);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.achievements-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.achievement-card {
    padding: 40px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal);
}

.achievement-card:hover {
    transform: translateY(-10px);
}

.achievement-icon {
    margin: 0 auto 20px;
    color: var(--primary-color);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.achievement-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.achievement-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.testimonials-section {
    padding: 80px 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial {
    padding: 40px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial .quote {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary-light);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

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

.partners-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.partners-section > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-medium);
}

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

.partner {
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal);
}

.partner:hover {
    transform: translateY(-5px);
}

.partner-logo {
    margin: 0 auto 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.partner h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

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

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

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

/* ---------- Responsive Design ---------- */
@media screen and (max-width: 1200px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .product-detail-grid {
        gap: 30px;
    }
}

@media screen and (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-profile {
        flex-direction: column;
        align-items: center;
    }
    
    .instructor-bio {
        text-align: center;
    }
    
    .review-summary {
        flex-direction: column;
        gap: 30px;
    }
    
    .overall-rating {
        flex: none;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    header {
        height: auto;
        padding: 15px 0;
    }
    
    .main-nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 180px;
    }
    
    .tab-headers {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
        margin-bottom: 0;
    }
    
    .tab-btn.active {
        border-bottom-color: transparent;
        border-left-color: var(--primary-color);
    }
    
    .module-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .module-header h3 {
        margin-bottom: 5px;
    }
    
    .cart-item {
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
        grid-row: span 2;
    }
    
    .cart-item-actions {
        grid-column: 2;
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 575px) {
    .logo img {
        height: 40px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .view-button, .add-to-cart {
        width: 100%;
        text-align: center;
    }
    
    .add-to-cart-btn, .buy-now-btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .success-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}
