* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section {
    flex: 0 0 auto;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
    position: relative;
    margin-left: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Profile Icon in Nav Bar */
.profile-icon-wrapper {
    position: relative;
}

.profile-icon-wrapper.desktop-profile {
    margin-left: auto;
}

.profile-icon-wrapper.mobile-profile {
    display: none;
}

.profile-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 22px;
    position: relative;
    padding: 0;
}

.profile-icon-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.profile-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid var(--white);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.profile-icon-wrapper.active .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
    padding: 20px;
    color: var(--white);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.profile-details p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.profile-dropdown-content {
    padding: 10px 0;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 14px;
    position: relative;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.dropdown-item#logoutBtn {
    color: #e74c3c;
}

.dropdown-item#logoutBtn:hover {
    background: #fee;
    color: #c0392b;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('image/banner.png') center center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease;
    width: 100%;
    max-width: 100%;
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(3px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    -webkit-text-stroke: 1px var(--primary-color);
    text-stroke: 1px var(--primary-color);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8), 
                 0 0 20px rgba(0, 0, 0, 0.6),
                 0 0 30px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.9));
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    -webkit-text-stroke: 1px var(--primary-color);
    text-stroke: 1px var(--primary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8),
                 0 0 15px rgba(0, 0, 0, 0.6),
                 0 0 25px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.9));
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-style: italic;
    -webkit-text-stroke: 1px var(--primary-color);
    text-stroke: 1px var(--primary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8),
                 0 0 15px rgba(0, 0, 0, 0.6),
                 0 0 25px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.9));
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e55a2a;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 24px;
    color: var(--white);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Products Preview */
.products-preview {
    padding: 80px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 250px;
    overflow: hidden;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    min-height: 60px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    text-align: center;
    padding: 10px;
    background: var(--light-color);
    border-radius: 10px;
}

.product-btn {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.product-btn:hover {
    background: #003d6b;
    transform: translateY(-2px);
}

/* Course Card Styles */
.course-card {
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
    transition: var(--transition);
}

.course-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.course-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wishlist-btn i {
    font-size: 18px;
    color: var(--text-light);
    transition: var(--transition);
}

.wishlist-btn:hover i {
    color: var(--primary-color);
}

.wishlist-btn.active i,
.wishlist-btn.wishlisted i {
    color: #e74c3c;
}

.wishlist-btn.active i,
.wishlist-btn.wishlisted i {
    font-weight: 900;
}

.wishlist-btn.active i::before,
.wishlist-btn.wishlisted i::before {
    content: '\f004';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.course-card.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.course-badge.popular {
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    animation: pulse-badge 2s infinite;
}

.course-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--dark-color);
}

.course-features {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 14px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.package-name {
    background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
    color: var(--white) !important;
    padding: 12px 15px !important;
    border-radius: 10px;
    margin-bottom: 15px !important;
    font-size: 16px !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.package-name i {
    color: var(--white) !important;
    font-size: 18px !important;
}

.package-name span {
    color: var(--white) !important;
}

.buy-now-btn {
    background: var(--primary-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    padding: 14px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    color: var(--white) !important;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

a.buy-now-btn {
    text-decoration: none;
    color: var(--white) !important;
}

.buy-now-btn:hover {
    background: #e55a2a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.buy-now-btn i {
    font-size: 18px;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.footer-top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-actions-right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    text-align: left;
}

@media (max-width: 768px) {
    .footer-top-bar {
        justify-content: center;
    }
    
    .footer-actions-right {
        justify-content: center;
        width: 100%;
    }
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 20px;
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.twitter {
    background: #1DA1F2;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-btn:hover {
    background: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* Fixed WhatsApp Button (Left Side) */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20ba5a;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: var(--dark-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: var(--dark-color);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        left: 15px;
        bottom: 15px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-large {
    max-width: 700px;
}

.modal-chat {
    max-width: 600px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 600px;
}

/* Policy Modal Styles */
.policy-modal-content {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.policy-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
}

.policy-content-wrapper {
    max-width: 100%;
}

.policy-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.policy-section:last-of-type {
    border-bottom: none;
}

.policy-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.policy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.policy-section ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 25px;
    margin-bottom: 15px;
    font-size: 15px;
}

.policy-section ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.policy-section ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info-box {
    background: var(--light-color);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}

.contact-info-box h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-info-box p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

.contact-info-box i {
    color: var(--primary-color);
    font-size: 18px;
}

.last-updated {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    margin-top: 30px;
}

.last-updated p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

.last-updated strong {
    color: var(--text-dark);
}

/* Scrollbar styling for policy modals */
.policy-modal-content::-webkit-scrollbar {
    width: 8px;
}

.policy-modal-content::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.policy-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.policy-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Login Form */
.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-size: 2rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.submit-btn:hover {
    background: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.signup-link {
    text-align: center;
    display: block;
    color: var(--text-light);
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* FAQ Styles */
.faq-container {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--light-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Chat Styles */
.chat-header {
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px 20px 0 0;
}

.chat-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--light-color);
}

.message {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    max-width: 80%;
}

.bot-message {
    background: var(--white);
    color: var(--text-dark);
    align-self: flex-start;
}

.user-message {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
}

.chat-input-container {
    padding: 20px;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    display: flex;
    gap: 10px;
}

.chat-input-container input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
}

.chat-input-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-input-container button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-container button:hover {
    background: #e55a2a;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 999;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .profile-icon-wrapper.desktop-profile {
        display: none;
    }

    .profile-icon-wrapper.mobile-profile {
        display: block;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .mobile-menu-btn {
        display: block;
        order: 1;
    }

    .profile-icon-wrapper.mobile-profile {
        order: 2;
    }

    .profile-dropdown {
        right: 0;
        left: auto;
        min-width: 280px;
    }

    .hero {
        height: 40vh;
        min-height: 280px;
        max-height: 350px;
        margin-top: 70px;
    }

    .hero::before {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0.5;
        width: 100%;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.2);
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
        color: var(--primary-color);
        -webkit-text-stroke: 1px var(--primary-color);
        text-stroke: 1px var(--primary-color);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--primary-color);
        -webkit-text-stroke: 1px var(--primary-color);
        text-stroke: 1px var(--primary-color);
    }

    .hero-tagline {
        font-size: 0.85rem;
        margin-bottom: 18px;
        opacity: 0.9;
        color: var(--primary-color);
        -webkit-text-stroke: 1px var(--primary-color);
        text-stroke: 1px var(--primary-color);
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .course-card.featured {
        transform: scale(1);
    }

    .course-card.featured::before {
        top: -12px;
        right: 15px;
        font-size: 11px;
        padding: 4px 12px;
    }

    .course-card.featured {
        transform: scale(1);
    }

    .course-card.featured::before {
        top: -12px;
        right: 15px;
        font-size: 11px;
        padding: 4px 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .account-dropdown {
        right: auto;
        left: 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr !important;
    }

    .footer-top-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-whatsapp-left {
        justify-content: center;
    }
    
    .footer-actions-right {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 35vh;
        min-height: 250px;
        max-height: 320px;
        margin-top: 70px;
    }

    .hero::before {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        opacity: 0.6;
        width: 100%;
        height: 100%;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.15);
    }

    .hero-content {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
        line-height: 1.2;
        color: var(--primary-color);
        -webkit-text-stroke: 1px var(--primary-color);
        text-stroke: 1px var(--primary-color);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.3;
        font-weight: 600;
        color: var(--primary-color);
        -webkit-text-stroke: 1px var(--primary-color);
        text-stroke: 1px var(--primary-color);
    }

    .hero-tagline {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
        opacity: 0.9;
        color: var(--primary-color);
        -webkit-text-stroke: 1px var(--primary-color);
        text-stroke: 1px var(--primary-color);
    }

    .hero-tagline {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
        opacity: 0.9;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 15px;
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        max-width: 250px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .logo {
        height: 30px;
    }

    .footer-top-bar {
        padding: 20px 0;
    }

    .footer-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .profile-dropdown {
        min-width: calc(100vw - 40px);
        right: 10px;
    }

