/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Utility Classes */
.text-orange {
    color: #FF6F00;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap; 
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    background: transparent;
    color: #666;
    gap: 8px;
}

.btn-secondary:hover {
    color: #FF6F00;
}

.btn-outline {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
}

.btn-outline:hover {
    border-color: #FF6F00;
    color: #FF6F00;
}

.btn-orange {
    background-color: #FF6F00;
    color: #fff;
}

.btn-orange:hover {
    background-color: #e55a00;
}

.btn-full {
    width: 100%;
}

.btn-google {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    gap: 12px;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* Contact Bar */
.contact-bar {
    background-color: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 24px;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #FF6F00;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-icon {
    background-color: #FF6F00;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    margin-left: 12px;
    font-size: 20px;
    font-weight: bold;
}

/* Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.nav-link:hover {
    color: #FF6F00;
}

.nav-highlight {
    font-weight: bold;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #FF6F00;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 24px;
    padding: 12px 16px;
    max-width: 300px;
    flex: 1;
}

.search-bar i {
    color: #999;
    margin-right: 12px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 16px 0;
}

.mobile-search {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 24px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.mobile-search i {
    color: #999;
    margin-right: 12px;
}

.mobile-search input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    color: #333;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #FF6F00;
}

/* Hero Section */
.hero {
    padding: 64px 0;
    background: #fff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-right {
    position: relative;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-floating-element {
    position: absolute;
    background: #FF6F00;
    border-radius: 50%;
    opacity: 0.2;
}

.hero-element-1 {
    width: 96px;
    height: 96px;
    top: -24px;
    left: -24px;
}

.hero-element-2 {
    width: 128px;
    height: 128px;
    bottom: -24px;
    right: -24px;
}

.hero-stats-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-indicator {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
}

.stats-number {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.stats-label {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: #f9fafb;
    padding: 64px 0;
}

.stats-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 48px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.partner-logo {
    font-weight: 600;
    color: #666;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #FF6F00;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
}

/* Courses Section */
.courses-section {
    padding: 64px 0;
    background: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.see-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.see-more:hover {
    color: #FF6F00;
}

.courses-carousel {
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #f9fafb;
}

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

.courses-container {
    display: flex;
    transition: transform 0.3s ease;
    gap: 24px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: calc(33.333% - 16px);
    flex: none;
}

.course-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.course-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FF6F00;
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.course-content {
    padding: 24px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

.course-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
}

.course-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-lessons {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 16px;
    font-size: 14px;
}

.course-pricing {
    margin-bottom: 16px;
}

.pricing-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.pricing-original {
    text-decoration: line-through;
    color: #999;
}

.pricing-discount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6F00;
}

.pricing-savings {
    color: #22c55e;
    font-weight: 500;
    font-size: 14px;
}

.course-cta {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.course-cta:hover {
    background: #333;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #FF6F00;
}

/* Categories Section */
.categories-section {
    padding: 64px 0;
    background: #f9fafb;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.category-image {
    position: relative;
    height: 128px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0,0,0,0.3);
}

.category-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: #fff;
}

.category-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.category-count {
    font-size: 12px;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 64px 0;
    background: #fff;
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.features-subtitle {
    font-size: 1.5rem;
    color: #FF6F00;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #fef3e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: background 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #fed7aa;
}

.feature-icon i {
    font-size: 32px;
    color: #FF6F00;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 64px 0;
    background: #f9fafb;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.testimonials-subtitle {
    font-size: 1.125rem;
    color: #666;
}

.testimonials-carousel {
    position: relative;
    max-width: 768px;
    margin: 0 auto;
}

.testimonial-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.testimonial-quote {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 48px;
    color: #fed7aa;
}

.testimonial-body {
    display: flex;
    align-items: center;
    gap: 32px;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fef3e7;
}

.testimonial-text {
    flex: 1;
}

.testimonial-message {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.testimonial-role {
    color: #FF6F00;
    font-weight: 500;
}

/* Mobile App Section */
.mobile-app-section {
    background: linear-gradient(135deg, #FF6F00 0%, #e55a00 100%);
    color: #fff;
    padding: 64px 0;
}

.mobile-app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.mobile-app-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.mobile-app-description {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: #fed7aa;
}

.app-store-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.app-store-btn {
    background: #000;
    border-radius: 8px;
    padding: 12px 24px;
    transition: background 0.3s ease;
}

.app-store-btn:hover {
    background: #333;
}

.app-store-btn img {
    height: 40px;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-feature i {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.phone-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.2);
}

.phone-screen {
    background: #000;
    border-radius: 16px;
    padding: 8px;
}

.phone-screen img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.floating-element {
    position: absolute;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.floating-element-1 {
    width: 32px;
    height: 32px;
    top: -16px;
    left: -16px;
}

.floating-element-2 {
    width: 48px;
    height: 48px;
    bottom: -16px;
    right: -16px;
}

/* Blog Section */
.blog-section {
    padding: 64px 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FF6F00;
    color: #fff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-body {
    padding: 24px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #FF6F00;
}

.blog-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    font-size: 14px;
}

.blog-read-more {
    color: #FF6F00;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: #e55a00;
}

/* Instructor CTA Section */
.instructor-cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #000 100%);
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.instructor-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.instructor-cta-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
}

.instructor-cta-description {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 32px;
}

.instructor-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-item i {
    width: 32px;
    height: 32px;
    background: rgba(255, 111, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6F00;
    font-size: 16px;
}

.instructor-image-container {
    position: relative;
}

.instructor-image-container img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.instructor-stat {
    position: absolute;
    background: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 16px;
}

.instructor-stat-1 {
    top: 24px;
    left: 24px;
}

.instructor-stat-2 {
    bottom: 24px;
    right: 24px;
}

.instructor-stat .stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6F00;
}

.instructor-stat .stat-label {
    font-size: 14px;
}

.instructor-bg-element {
    position: absolute;
    background: #FF6F00;
    border-radius: 50%;
    opacity: 0.2;
}

.instructor-bg-1 {
    width: 96px;
    height: 96px;
    top: -24px;
    right: -24px;
}

.instructor-bg-2 {
    width: 128px;
    height: 128px;
    bottom: -24px;
    left: -24px;
}

/* Footer */
.footer {
    background: #f3f4f6;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6F00;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 32px;
}

.social-connect {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-connect span {
    color: #666;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF6F00;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 14px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #666;
}

.modal-body {
    padding: 24px;
}

.tab-buttons {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 8px 16px;
    background: none;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.tab-btn.active {
    background: #fff;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #FF6F00;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #666;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: #FF6F00;
}

.forgot-password {
    font-size: 14px;
    color: #FF6F00;
    text-decoration: none;
}

.forgot-password:hover {
    color: #e55a00;
}

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: #fff;
    padding: 0 16px;
    color: #999;
    font-size: 14px;
}

.switch-form {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.switch-btn {
    background: none;
    border: none;
    color: #FF6F00;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.switch-btn:hover {
    color: #e55a00;
}

/* Responsive Design */

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
    
    /* ADD THESE TWO LINES TO FORCE A SINGLE LINE LAYOUT */
    white-space: nowrap; 
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    /* .nav-desktop {
        display: none;
    }
     */
    .mobile-menu-toggle {
        display: block;
    }
    
    .search-bar {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-container {
        justify-content: flex-start;
    }
    
    .course-card {
        min-width: calc(50% - 12px);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-body {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-app-content {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instructor-cta-content {
        grid-template-columns: 1fr;
    }
    
    .instructor-cta-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-title {
        font-size: 2rem;
    }
    
    .partners-logos {
        gap: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .course-card {
        min-width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonial-content {
        padding: 32px 24px;
    }
    
    .mobile-app-title {
        font-size: 2rem;
    }
    
    .app-store-buttons {
        flex-direction: column;
    }
    
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-cta-title {
        font-size: 2rem;
    }
    
    .instructor-benefits {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 32px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-section,
    .courses-section,
    .categories-section,
    .features-section,
    .testimonials-section,
    .mobile-app-section,
    .blog-section,
    .instructor-cta-section {
        padding: 48px 0;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 24px 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}


/* Add these new rules at the bottom of your CSS file */

/* For the logged-in "My Courses" button */
.header .auth-buttons .btn-primary {
    background-color: #4A5568; /* A dark slate gray color */
    color: #fff;
}
.header .auth-buttons .btn-primary:hover {
    background-color: #2D3748; /* A darker slate for hover */
}

/* For the "Get Started" button when logged out */
.header .auth-buttons button.btn-primary {
    background-color: #000; /* Keep this one black */
    color: #fff;
}
.header .auth-buttons button.btn-primary:hover {
    background-color: #333;
}


/* === DROPDOWN MENU STYLES === */

/* The container for the dropdown link and menu */
.nav-item.dropdown {
    position: relative;
}

/* The dropdown menu itself (hidden by default) */
.dropdown-menu {
    position: absolute;
    top: 100%; /* Position it right below the nav link */
    left: 0;
    z-index: 1000;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 8px 0;
    min-width: 250px;
    margin-top: 8px; /* Small gap from the top nav */

    /* Hide it with opacity and visibility for smooth transitions */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* When you hover over the dropdown's container, show the menu */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* The individual links inside the dropdown */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #FF6F00; /* Use your brand's orange color on hover */
}

/* === COURSE DETAIL PAGE STYLES === */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 24px; }
.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb a:hover { color: #FF6F00; }
.breadcrumb i { font-size: 12px; }

.course-main-header h1 { font-size: 2.5rem; font-weight: bold; margin-bottom: 8px; }
.course-by { font-size: 1.125rem; color: #666; margin-bottom: 16px; }
.course-meta { display: flex; gap: 24px; color: #666; }
.course-meta span { display: flex; align-items: center; gap: 8px; }

.course-detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; margin-top: 48px; }
.course-content-left h4 { font-size: 1.25rem; font-weight: bold; margin-top: 24px; margin-bottom: 16px; }
.course-content-left ul { list-style: none; padding-left: 20px; }
.course-content-left ul li { position: relative; margin-bottom: 8px; }
.course-content-left ul li::before { content: '✓'; color: #22c55e; position: absolute; left: -20px; }

.tab-nav { border-bottom: 1px solid #e5e7eb; margin-bottom: 24px; display: flex; }
.tab-link { background: none; border: none; padding: 12px 24px; cursor: pointer; font-size: 1rem; color: #666; border-bottom: 2px solid transparent; }
.tab-link.active { color: #333; font-weight: 600; border-bottom-color: #FF6F00; }
.tab-panel { display: none; }

.curriculum-section { border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 16px; }
.curriculum-section .section-header { background: #f9fafb; padding: 16px; font-weight: bold; display: flex; justify-content: space-between; border-top-left-radius: 8px; border-top-right-radius: 8px; }
.lesson-list { list-style: none; padding: 0; }
.lesson-item { padding: 16px; border-top: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; }
.lesson-item span:first-child { display: flex; align-items: center; gap: 12px; }
.lesson-item span:first-child i { color: #999; }
.lesson-item span:last-child { color: #666; font-size: 14px; }

.instructor-profile { display: flex; gap: 24px; align-items: flex-start; }
.instructor-profile img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.instructor-profile h3 { font-size: 1.5rem; font-weight: bold; margin-bottom: 8px; }

.course-sidebar-right .sticky-sidebar { position: sticky; top: 120px; border: 1px solid #e5e7eb; border-radius: 12px; }
.sidebar-img { width: 100%; border-top-left-radius: 12px; border-top-right-radius: 12px; }
.sidebar-content { padding: 24px; }
.price-info { text-align: center; margin-bottom: 16px; }
.original-price { text-decoration: line-through; color: #999; margin-right: 8px; }
.discount-price { font-size: 2rem; font-weight: bold; color: #FF6F00; }
.buy-btn { width: 100%; padding: 16px; font-size: 1rem; }
.course-stats { list-style: none; padding: 0; margin-top: 24px; }
.course-stats li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.course-stats li i { width: 20px; text-align: center; color: #666; }

@media (max-width: 992px) {
    .course-detail-layout { grid-template-columns: 1fr; }
    .course-sidebar-right .sticky-sidebar { position: static; }
}


/* === COURSE DETAIL - VIDEO LOCKING STYLES === */

.lesson-item.locked {
    opacity: 0.6; /* Make the locked item appear faded */
    background-color: #f9fafb;
    cursor: not-allowed;
}

.lesson-item.locked i.fa-lock {
    color: #9ca3af; /* A light gray color for the lock icon */
}

.lesson-item .video-container {
    width: 100%;
}

.lesson-item .lesson-title {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lesson-item .lesson-title i {
    color: #FF6F00;
}

.buy-btn.enrolled {
    background-color: #16a34a; /* A green color for enrolled students */
    border-color: #16a34a;
}

.buy-btn.enrolled:hover {
    background-color: #15803d; /* Darker green on hover */
}



/* === YOUTUBE RESPONSIVE IFRAME STYLES === */

/* This container creates a 16:9 aspect ratio box */
.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    position: relative;
    height: 0;
    margin-top: 10px;
    border-radius: 8px;
}

/* This makes the iframe fill the container perfectly */
.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/* === FORM INPUT NORMALIZATION FIX === */

/* This rule targets all text, email, and password inputs inside the auth form */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    /* These properties ensure consistent appearance and height */
    display: block;
    width: 100%;
    padding: 12px; /* This is the key property for height */
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box; /* This is crucial for padding to work correctly */

    /* Reset browser-specific styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Add back the focus effect */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    border-color: #FF6F00;
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
    outline: none;
}


/* === LIVE SEARCH BAR STYLES === */

.search-bar-container {
    position: relative;
    flex: 1; /* Allows the search bar to grow */
    max-width: 400px;
}

.search-results-box {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f9fafb;
}

.search-result-item img {
    width: 50px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.no-results {
    padding: 16px;
    color: #6b7280;
    text-align: center;
}



/* === GENERIC PAGE SUBTITLE STYLE === */

.page-subtitle {
    max-width: 650px;      /* Restricts the width for better readability */
    margin-left: auto;     /* These two lines center the block */
    margin-right: auto;
    color: #666;           /* A softer color for subtitle text */
    font-size: 1.125rem;   /* A standard, readable font size */
    line-height: 1.7;      /* A little extra space between lines */
}


/* === COURSE GRID LAYOUT STYLE === */

.courses-grid {
    display: grid;
    /* Creates responsive columns that are at least 300px wide */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px; /* Space between the course cards */
}


/* === HOMEPAGE LAYOUT AND COURSE CARD FIX === */

/* 1. Define the responsive grid layout for course containers */
.courses-grid {
    display: grid;
    /* On desktops, show up to 3 columns. On smaller screens, it will adjust. */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* 2. Reset the problematic styles on the course card itself */
.course-card {
    min-width: 0; /* REMOVES the rigid minimum width */
    flex: 1 1 auto; /* Allows the card to grow and shrink naturally */
}

/* === UPGRADED JAVASCRIPT STYLES === */

/* This rule shows the mobile menu when the .active class is added by JS */
.nav-mobile.active {
    display: block;
}

/* This rule shows the dropdown menu on mobile when the .active class is added by JS */
@media (max-width: 1024px) {
    .nav-item.dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}



/* === DEFINITIVE HEADER RESPONSIVE FIX === */

/* Rule to prevent the whole page from showing a horizontal scrollbar */
body {
    overflow-x: hidden;
}

/* This media query targets tablets and mobile phones */
@media (max-width: 1024px) {

    /* 1. Tell the main header container to allow wrapping */
    .header-content {
        flex-wrap: wrap; 
        justify-content: space-between; /* Keep logo left, buttons right */
    }

    /* 2. Hide the elements that are too wide for mobile */
    .nav-desktop,
    .search-bar-container { /* Hides the search bar and its container */
        display: none;
    }
    
    /* 3. Make sure the mobile menu button (hamburger icon) is visible */
    .mobile-menu-toggle {
        display: block; /* It was 'none' by default, this shows it */
        order: 3; /* Ensures it's on the right side */
    }
}