/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-blue: #0A2351;
    /* Deep Navy */
    --secondary-blue: #0056b3;
    --accent-red: #E31837;
    /* Vibrant Red */
    --text-dark: #333333;
    --text-light: #fff;
    --bg-light: #F8F9FA;
    --font-main: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    /* Extra bold for headings */
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.9;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    /* Center Text */
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-red {
    background: linear-gradient(135deg, #D8232A, #b71c1c);
    /* Gradient Button */
    color: #fff;
    box-shadow: 0 4px 12px rgba(216, 35, 42, 0.4);
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(216, 35, 42, 0.5);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 30, 64, 0.3);
}

.btn-white {
    background-color: #fff;
    color: var(--primary-blue);
    border: 1px solid #e1e1e1;
}

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

.btn-highlight {
    background-color: rgba(216, 35, 42, 0.1);
    color: var(--accent-red);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-highlight:hover {
    background-color: var(--accent-red);
    color: #fff;
}

/* Header - Eye Catchy: Sticky + Shadow */
.top-header {
    padding: 1rem 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Distinct shadow */
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -1px;
}

.logo-icon-wrapper {
    color: var(--secondary-blue);
    font-size: 1.4rem;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-red);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #555;
    font-weight: 600;
}

.contact-info .separator {
    color: #ccc;
}

/* Hero Section */
.hero {
    width: 100%;
}

.hero img {
    width: 100%;
}






/* Stats Bar - Centered Items */
.stats-bar {
    background-color: #003366;
    color: #fff;
    padding: 2.5rem 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* Pop */
}

.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Center Horizontally */
    gap: 1rem;
    flex: 1;
    /* Equal Width */
}

.stat-icon {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.stat-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.stat-text p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    opacity: 0.8;
}


/* Courses */
.courses-section {
    padding: 6rem 0;
}

.courses-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.courses-sub-content {
    text-align: center;
    margin-bottom: 1rem;
}

.courses-subtitle {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: -30px;
    background: #73c056;
    /* Green */
    color: #fff;
    padding: 5px 30px;
    transform: rotate(-45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.card-img {
    height: 250px;
    position: relative;
}

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

/* Course Badge on Image */
.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    z-index: 10;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.8rem;
    align-items: center;
}

.card-meta .category {
    color: #555;
    font-weight: 600;
}

.card-body h3 {
    font-size: 1.50rem;
    margin-bottom: 0;
    color: #1a1a1a;
    line-height: 1.4;
    min-height: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: var(--font-main);
    text-align: center;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.rating {
    color: #92CDD0;
    /* Teal/Blueish stars from image */
    font-size: 0.9rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 800;
    color: blue;
    /* As per image */
}

.btn-full {
    width: 100%;
    border-radius: 30px;
    margin-top: 20px;
    /* Pill shape */
    padding: 0.8rem;
    font-size: 1.2rem;
    gap: 0.5rem;
    background: #D8232A;
}

.btn-full:hover {
    background: #b71c1c;
}

/* Webinar */
.webinar-section {
    background-color: var(--secondary-blue);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.webinar-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.webinar-section h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.webinar-section p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Course Highlights Section */
.course-highlights-section {
    padding: 6rem 0;
    background-color: #fff;
    text-align: center;
}

.highlights-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.highlights-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlights-header p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red), #c81531);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.highlight-icon i {
    font-size: 2.5rem;
    color: white;
}

.highlight-item h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    min-height: 3rem;
    display: flex;
    align-items: center;
}

.highlight-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .course-highlights-section {
        padding: 4rem 0;
    }
    
    .highlights-header h2 {
        font-size: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Features - Light Theme & 4 Columns */
.features-section {
    padding: 6rem 0;
    text-align: center;
    background-color: #f1f4f6;
    color: var(--text-dark);
}

.features-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.features-subtitle {
    font-size: 1.1rem;
    margin-bottom: 4rem;
    color: #666;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.feature-item i {
    font-size: 4rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
    min-height: 3rem;
    /* Align lines */
    display: flex;
    align-items: center;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* EBook - Mix Blend Mode for transparency */
.ebook-section {
    padding: 6rem 0;
    background: #ffffff;
}

.ebook-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.ebook-cover img {

    /* Increased Size */
    margin: 0 auto;
    /* Use mix-blend-mode to make the white background of the 3D book disappear into the light grey section bg */
    mix-blend-mode: multiply;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.ebook-form h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ebook-details p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    font-weight: 600;
}

.form-row {
    padding-bottom: 15px;
}

/* spacing */



/* Testimonials - Carousel */
.testimonials-section {
    padding: 6rem 0;
    text-align: center;
    background-color: #f8f9fa;
}

.testimonials-title h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.testimonials-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1rem;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 0 0 2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -10px;
}

.carousel-btn.next {
    right: -10px;
}

.review-card {
    flex: 0 0 calc(33.333% - 1.35rem);
    /* Default 3 cards on large screens */
    min-width: 320px;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f0f0f0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 calc(100% - 3rem);
        min-width: calc(100% - 3rem);
        max-width: calc(100% - 3rem);
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .carousel-container {
        padding: 0 1.5rem;
        margin: 0 auto;
    }
    
    .reviews-carousel {
        gap: 1.5rem;
        padding: 0 0 2rem 0;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 1.5rem;
    }
    
    .carousel-btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .review-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        width: calc(100% - 2rem);
        padding: 1.5rem 1rem;
        margin: 0;
    }
    
    .carousel-container {
        padding: 0 1rem;
    }
    
    .reviews-carousel {
        gap: 1rem;
        padding: 0 0 2rem 0;
        scroll-padding: 0 1rem;
    }
}

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

.google-icon-wrapper {
    margin-bottom: 1.5rem;
}

.google-img {
    width: 50px;
    height: auto;
    display: block;
}

/* Fallback if fa-google is standard color */
.review-card i.fa-google {
    background: none;
    color: #4285F4;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.client-name {
    font-weight: 800;
    display: block;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

/* FAQ */
.faq-section {
    padding: 6rem 0;
    max-width: 1250px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: none;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-header {
    background: var(--primary-blue);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    min-height: auto;
}

.faq-header:hover {
    background: var(--secondary-blue);
}

.faq-question {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

.faq-icon {
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Approximate max height */
    padding: 2rem;
    /* Add bottom padding when open */
    border-top: none;
}

.faq-answer p {
    margin: 0;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
}



/* Footer & CTA - Eye Catchy Footer */
.footer-cta {
    background: linear-gradient(135deg, #FF5252 0%, #D32F2F 100%);
    /* Brighter Gradient */
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Enhanced Main Footer */
.main-footer {
    background: #051025;
    /* Very dark navy */
    color: #a0aab5;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
    border-top: 5px solid var(--accent-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.brand-col p {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

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

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a:hover,
.legal-links a:hover {
    color: #fff;
    padding-left: 5px;
    /* smooth slide effect */
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.contact-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-list a:hover {
    color: #fff;
}

.contact-list i {
    color: var(--accent-red);
    margin-top: 4px;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

/* Ebook Call To Action Box */
.ebook-cta-box {
    background-color: #034b75;
    /* Dark Blue from Image */
    color: #fff;
    padding: 2.5rem;
    border-radius: 6px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(3, 75, 117, 0.2);
}

.ebook-cta-box h3 {
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.ebook-cta-box hr {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

.ebook-cta-box p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #fff;
    /* Assuming header is dark or image covers it */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.modal-header {
    height: 200px;
    background: #d4e4ef;
    /* Fallback styling */
    position: relative;
    overflow: hidden;
}

.modal-book-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.modal-body {
    padding: 2rem;
    background: #e6e9ec;
    /* Light grey bg from image */
}

/* Modal Form Styles */
.modal-body label {
    display: block;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modal-body input,
.modal-body select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.modal-body .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body .form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.align-center {
    align-items: center;
}

.modal-footer {
    text-align: right;
    margin-top: 1rem;
}

/* ===============================================
   PROFESSIONAL EBOOK MODAL STYLES
   =============================================== */

.ebook-modal-container {
    background: #ffffff;
    width: 95%;
    max-width: 1100px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .ebook-modal-container {
    transform: scale(1);
}

.ebook-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ebook-close-btn:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: rotate(90deg);
}

.ebook-modal-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    overflow: hidden;
}

/* Left Side - Preview Section */
.ebook-preview-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ebook-preview-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ebook-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ebook-badge i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.ebook-cover {
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.ebook-cover-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.ebook-cover:hover .ebook-cover-img {
    transform: translateY(-5px);
}

.ebook-highlights {
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 1;
}

.ebook-highlights h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.ebook-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ebook-features-list li {
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ebook-features-list i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Right Side - Form Section */
.ebook-form-section {
    padding: 3rem 3rem;
    background: #f8fafc;
    overflow-y: auto;
    max-height: 85vh;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-header p {
    color: #64748b;
    font-size: 1rem;
}

.otp-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

/* Modern Form Styles */
.ebook-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-group-modern label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.form-group-modern label i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

.form-group-modern input,
.form-group-modern select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e293b;
}

.form-group-modern input:focus,
.form-group-modern select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group-modern select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.captcha-group {
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.captcha-wrapper {
    margin-top: 0.5rem;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.captcha-question #mathQuestion {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.3rem;
}

.equals-sign {
    font-weight: 700;
    color: #64748b;
}

.captcha-question input {
    width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.error-message {
    display: none;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

.form-group-modern.error input,
.form-group-modern.error select {
    border-color: #dc2626;
}

.form-group-modern.error .error-message {
    display: block;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #dc2626;
}

.btn-submit-modern {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.btn-secondary-modern {
    width: 100%;
    padding: 0.9rem 2rem;
    background: #ffffff;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.btn-secondary-modern:hover {
    background: #eff6ff;
    transform: translateY(-1px);
}

.otp-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-disclaimer {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-disclaimer i {
    color: #10b981;
}

/* Responsive Design for Ebook Modal */
@media(max-width: 992px) {
    .ebook-modal-container {
        width: 98%;
        max-height: 95vh;
        overflow: hidden;
    }

    .ebook-modal-content {
        grid-template-columns: 1fr;
        overflow-y: auto;
        max-height: 95vh;
    }

    .ebook-preview-section {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .ebook-cover {
        max-width: 200px;
        margin-bottom: 1.5rem;
    }

    .ebook-highlights h3 {
        font-size: 1.1rem;
    }

    .ebook-features-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .ebook-form-section {
        padding: 2rem 1.5rem;
        max-height: none;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .ebook-close-btn {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }
}

@media(max-width: 768px) {
    .ebook-modal-container {
        width: 100%;
        border-radius: 10px;
    }

    .ebook-preview-section {
        padding: 1.8rem 1.2rem;
    }

    .ebook-cover {
        max-width: 180px;
    }

    .ebook-form-section {
        padding: 1.8rem 1.2rem;
    }

    .form-header h2 {
        font-size: 1.4rem;
    }

    .form-group-modern label {
        font-size: 0.9rem;
    }

    .form-group-modern input,
    .form-group-modern select {
        padding: 0.8rem 0.9rem;
        font-size: 0.95rem;
    }
}

@media(max-width: 576px) {
    .ebook-modal-container {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .ebook-modal-content {
        max-height: 100vh;
    }

    .ebook-preview-section {
        padding: 1.5rem 1rem;
    }

    .ebook-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .ebook-form-section {
        padding: 1.5rem 1rem;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .captcha-question {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .captcha-question input {
        width: 100%;
    }

    .ebook-close-btn {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* ===============================================
   CONTACT MODAL STYLES
   =============================================== */

.contact-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .contact-modal-container {
    transform: scale(1);
}

.contact-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-close-btn:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: rotate(90deg);
}

.contact-modal-content {
    padding: 3rem 3rem 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.contact-header h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.contact-header p {
    color: #64748b;
    font-size: 1rem;
}

.contact-form {
    max-width: 100%;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e293b;
    font-family: inherit;
    resize: vertical;
}

.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Responsive Contact Modal */
@media(max-width: 768px) {
    .contact-modal-container {
        width: 95%;
    }

    .contact-modal-content {
        padding: 2.5rem 2rem 1.5rem;
    }

    .form-row-two {
        grid-template-columns: 1fr;
    }

    .contact-header h2 {
        font-size: 1.5rem;
    }
}

@media(max-width: 576px) {
    .contact-modal-container {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .contact-modal-content {
        padding: 2rem 1.5rem 1rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .contact-header h2 {
        font-size: 1.3rem;
    }

    .contact-header p {
        font-size: 0.9rem;
    }

    .contact-close-btn {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* Mobile */
@media(max-width: 992px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
        order: 1;
    }

    .hero-image-container {
        flex: 0 0 auto;
        order: 2;
        margin: 0 auto;
        width: 80%;
    }

    .hero-image-container img {
        border-radius: 10px;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .about-grid,
    .ebook-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ebook-cover {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .ebook-cover img {
        margin: 0 auto !important;
        display: block !important;
    }
    
    .ebook-section .ebook-cover {
        margin: 0 auto 2rem;
    }

    .cards-grid,
    .reviews-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-item {
        margin: 0 auto;
    }

    .main-nav {
        display: none;
    }

    /* Hide nav on mobile for now */
    .mobile-toggle {
        display: block;
    }

    .footer-column {
        align-items: center;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-list {
        align-items: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
    
    .contact-list a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ===============================================
   MODAL / POPUP STYLES
   =============================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    display: flex;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 1100px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 2;
}

.modal-content.enrollment-modal {
    max-width: 850px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
}

.modal-close:hover {
    color: var(--accent-red);
    background: #ffe5e5;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

/* Course Details Modal - Two Column Layout */
.modal-course-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.modal-left {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-right {
    flex: 1;
    min-width: 0;
}

.modal-course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.modal-course-info {
    text-align: left;
}



.modal-course-info h2 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modal-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    justify-content: center;
}

.modal-rating i {
    color: #FFD700;
    font-size: 1rem;
}

.modal-rating span {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-features {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.modal-feature-item:last-child {
    margin-bottom: 0;
}

.modal-feature-item i {
    color: #28a745;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.modal-feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-price-section {
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #ffdbdb;
}

.modal-price-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-red);
}

.modal-enroll-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
}

/* Enrollment Form Modal */
.enrollment-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.enrollment-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.enrollment-subtitle span {
    font-weight: 700;
    color: var(--primary-blue);
}

.enrollment-price {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 2rem;
}

.enrollment-form {
    margin-top: 2rem;
}

.form-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.form-section h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 35, 81, 0.1);
}

.form-group input.valid {
    border-color: #28a745;
}

.form-group input.invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-group .error-message {
    display: none;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

.form-group.has-error .error-message {
    display: block;
}

.form-group.has-error input {
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.enrollment-form button[type="submit"] {
    margin-top: 1rem;
}

/* Coupon Section Styles */
.coupon-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem !important;
    border: 2px dashed #dee2e6;
}

.coupon-input-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.coupon-hints {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
}

.coupon-hints small {
    color: #856404;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-hints strong {
    color: #C62828;
    padding: 0.1rem 0.3rem;
    background: #fff;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.coupon-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.coupon-row .form-group {
    margin-bottom: 0;
}

.coupon-row .btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.coupon-row .btn.applied {
    background-color: #28a745;
    border-color: #28a745;
}

.coupon-row .btn.applied:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.coupon-message {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    min-height: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.coupon-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.coupon-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.price-breakdown-card {
    margin-top: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid #28a745;
}

.breakdown-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breakdown-content {
    padding: 1.25rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.price-row .price-label {
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-row .price-value {
    font-weight: 600;
    color: #212529;
    font-size: 1.1rem;
}

.price-row.discount-row {
    background: #f0f9ff;
    margin: 0 -1.25rem;
    padding: 0.75rem 1.25rem;
}

.price-row.discount-row .discount-value {
    color: #28a745;
    font-size: 1.15rem;
}

.coupon-code-badge {
    background: #C62828;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.price-row-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 0.75rem 0;
}

.price-row.total-row {
    background: #fff3cd;
    margin: 0 -1.25rem;
    padding: 1rem 1.25rem;
    border-top: 2px solid #ffc107;
}

.price-row.total-row .price-value {
    color: #C62828;
    font-size: 1.5rem;
    font-weight: 800;
}

.savings-badge {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Enrollment Price Display */
.enrollment-price-display {
    margin: 1rem 0 1.5rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.price-display-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.price-display-row .price-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
}

.price-display-row .price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212529;
}

.price-display-row.discount-applied {
    border-top: 2px dashed #28a745;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.price-display-row.discount-applied .price-amount.final-price {
    color: #28a745;
    font-size: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Modal Styles */

/* Tablet devices */
@media (max-width: 1024px) {
    .modal-content {
        width: 92%;
        max-width: 95%;
    }

    .modal-left {
        flex: 0 0 250px;
    }

    .modal-course-image {
        height: 180px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 8px;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .modal-course-layout {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modal-left {
        flex: 0 0 auto;
        width: 100%;
    }

    .modal-course-image {
        height: 200px;
    }

    .modal-course-info h2 {
        font-size: 1.4rem;
    }

    .modal-description {
        font-size: 0.95rem;
    }

    .modal-price {
        font-size: 1.5rem;
    }

    .modal-price-section {
        padding: 1rem 1.25rem;
    }

    .modal-features {
        padding: 1rem;
    }

    .modal-feature-item {
        font-size: 0.9rem;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .enrollment-title {
        font-size: 1.5rem;
    }

    .form-section {
        padding: 1rem;
    }

    .enrollment-form button[type="submit"] {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        max-height: 98vh;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-course-info h2 {
        font-size: 1.2rem;
    }

    .modal-description {
        font-size: 0.9rem;
    }

    .modal-feature-item {
        font-size: 0.85rem;
    }

    .modal-price-label {
        font-size: 0.9rem;
    }

    .modal-price {
        font-size: 1.4rem;
    }

    .enrollment-title {
        font-size: 1.3rem;
    }

    .enrollment-subtitle,
    .enrollment-price {
        font-size: 0.9rem;
    }

    .form-section h3 {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    /* Coupon section responsive */
    .coupon-section {
        padding: 1rem !important;
    }

    .coupon-input-wrapper {
        padding: 0.75rem;
    }

    .coupon-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .coupon-row .btn {
        width: 100%;
        align-self: stretch !important;
    }

    .coupon-hints {
        padding: 0.4rem;
    }

    .coupon-hints small {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .breakdown-header {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .breakdown-content {
        padding: 1rem;
    }

    .price-row {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .price-row .price-value {
        font-size: 1rem;
    }

    .price-row.discount-row {
        margin: 0 -1rem;
        padding: 0.6rem 1rem;
    }

    .price-row.total-row {
        margin: 0 -1rem;
        padding: 0.75rem 1rem;
    }

    .price-row.total-row .price-value {
        font-size: 1.3rem;
    }

    .savings-badge {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .enrollment-price-display {
        padding: 0.75rem;
    }

    .price-display-row .price-amount {
        font-size: 1.1rem;
    }

    .price-display-row.discount-applied .price-amount.final-price {
        font-size: 1.3rem;
    }
}
/* Enrollment Message Styles */
.enrollment-message {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.message-content.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
}

.message-content.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.message-content i {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.message-content.success i {
    color: #28a745;
}

.message-content.error i {
    color: #dc3545;
}

.message-text {
    flex: 1;
    line-height: 1.6;
}

.message-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.success-details {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.detail-row.discount {
    color: #dc3545;
    font-weight: 600;
}

.detail-row.total {
    border-top: 2px solid #28a745;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #155724;
}

.savings {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: #28a745;
    color: white;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
}

/* Why Section - Simple Info Layout */
.why-section-info {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.why-full-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.why-title {
    font-size: 2.8rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.why-intro {
    font-size: 1.3rem;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.why-info-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.info-block {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.info-block h3 {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-block p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
}

.why-stats-note {
    background: var(--primary-blue);
    color: white;
    padding: 2.5rem 3rem;
    border-radius: 8px;
    text-align: center;
}

.why-stats-note p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.why-stats-note strong {
    color: var(--accent-red);
    font-size: 1.2rem;
}

.why-stats-note .stats-source {
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .why-info-blocks {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-title {
        font-size: 2.2rem;
    }
    
    .why-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .why-section-info {
        padding: 3rem 0;
    }
    
    .why-full-width {
        padding: 0 20px;
    }
    
    .why-title {
        font-size: 1.8rem;
    }
    
    .why-intro {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .info-block {
        padding: 1.8rem;
    }
    
    .info-block h3 {
        font-size: 1.3rem;
    }
    
    .info-block p {
        font-size: 0.95rem;
    }
    
    .why-stats-note {
        padding: 2rem 1.5rem;
    }
    
    .why-stats-note p {
        font-size: 1rem;
    }
}

/* Why Content Text Styling */
.why-content-text {
    max-width: 1250px;
    margin: 3rem auto 0;
    background: white;
    padding: 3rem 4rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.why-content-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1.5rem;
}

.why-quote {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-red);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #333;
}

.why-source {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin: 1.5rem 0 2.5rem !important;
    font-style: italic;
}

.why-subtitle {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .why-content-text {
        padding: 2rem 1.5rem;
    }
    
    .why-content-text p {
        font-size: 1rem;
    }
    
    .why-quote {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .why-subtitle {
        font-size: 1.3rem;
    }
}

/* Floating Phone Call Button */
.floating-phone-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 
                0 6px 15px rgba(0, 0, 0, 0.3), 
                0 3px 8px rgba(37, 211, 102, 0.4),
                0 0 20px rgba(37, 211, 102, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.floating-phone-btn i {
    font-size: 1.5rem;
    color: white;
    animation: pulse-phone 2s infinite;
}

.floating-phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 
                0 8px 20px rgba(0, 0, 0, 0.4), 
                0 4px 12px rgba(37, 211, 102, 0.5),
                0 0 30px rgba(37, 211, 102, 0.3);
}

.floating-phone-btn:active {
    transform: scale(0.95);
}

@keyframes pulse-phone {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-phone-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-phone-btn i {
        font-size: 1.3rem;
    }
}

/* ===============================================
   MOBILE SECTION SPACING - Reduced for Better Mobile UX
   =============================================== */

/* Tablet and Mobile Devices */
@media (max-width: 768px) {
    /* Set container width for all sections */
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    /* Ensure consistent font family */
    body, h1, h2, h3, h4, h5, h6, p, a, button {
        font-family: var(--font-main) !important;
    }
    
    /* Reduce all main section paddings for mobile */
    .stats-bar {
        padding: 2rem 0;
    }
    
    .courses-section,
    .features-section,
    .ebook-section,
    .testimonials-section,
    .faq-section {
        padding: 3.5rem 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure consistent internal padding for section content */
    .courses-section .container,
    .features-section .container,
    .ebook-section .container,
    .testimonials-section .container,
    .faq-section .container {
        padding: 0 1.5rem;
    }
    
    .footer-cta {
        padding: 3.5rem 1.5rem;
    }
    
    .main-footer {
        padding: 3rem 0 1.5rem;
    }
    
    /* Reduce heading heights and adjust titles for mobile */
    .courses-title,
    .features-title,
    .testimonials-title h2,
    .faq-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        min-height: auto;
        padding: 0;
    }
    
    .footer-cta h2 {
        font-size: 2rem;
        line-height: 1.2;
        padding: 0;
    }
    
    .why-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    /* Reduce card heading heights on mobile */
    .card-body h3,
    .card-body h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        min-height: auto;
        margin-bottom: 0.8rem;
        padding: 0;
    }
    
    .feature-item h3,
    .highlight-item h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        min-height: auto;
        padding: 0;
    }
    
    .faq-question {
        font-size: 1.1rem;
        line-height: 1.3;
        padding: 0;
    }
    
    .faq-header {
        padding: 1rem 1.2rem;
        min-height: auto;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    /* Container sizing */
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* Further reduce padding on very small screens */
    .stats-bar {
        padding: 1.5rem 0;
    }
    
    .courses-section,
    .features-section,
    .ebook-section,
    .testimonials-section,
    .faq-section {
        padding: 3rem 0;
        width: 100%;
    }
    
    /* Ensure consistent internal padding for section content */
    .courses-section .container,
    .features-section .container,
    .ebook-section .container,
    .testimonials-section .container,
    .faq-section .container {
        padding: 0 1rem;
    }
    
    .footer-cta {
        padding: 3rem 1rem;
    }
    
    .main-footer {
        padding: 2.5rem 0 1rem;
    }
    
    /* Further reduce heading heights for small mobile */
    .courses-title,
    .features-title,
    .testimonials-title h2,
    .faq-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        min-height: auto;
        padding: 0;
    }
    
    .footer-cta h2 {
        font-size: 1.6rem;
        line-height: 1.2;
        padding: 0;
    }
    
    .why-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .courses-sub-content,
    .features-subtitle,
    .testimonials-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    /* Further reduce card heading heights */
    .card-body h3,
    .card-body h2 {
        font-size: 1.1rem;
        line-height: 1.3;
        min-height: auto;
        margin-bottom: 0.5rem;
        padding: 0;
    }
    
    .feature-item h3,
    .highlight-item h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        min-height: auto;
        padding: 0;
    }
    
    .faq-question {
        font-size: 0.95rem;
        line-height: 1.3;
        padding: 0;
    }
    
    .faq-header {
        padding: 0.8rem 1rem;
        min-height: auto;
    }
}

/* ===============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   =============================================== */

/* Mobile Navigation - Hamburger Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* Tablet Responsive - 992px */
@media (max-width: 992px) {
    /* Header */
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .contact-info {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        padding: 80px 1.5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-nav-overlay {
        display: block;
    }
    
    /* Stats Bar */
    .stats-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-text h3 {
        font-size: 1.1rem;
    }
    
    /* Course Cards Grid */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Footer Grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Responsive - 768px */
@media (max-width: 768px) {
    /* Header */
    .top-header {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    /* Hero Section */
    .hero img {
        min-height: 200px;
        object-fit: cover;
    }
    
    /* Stats Bar */
    .stats-bar {
        padding: 1.5rem 0;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
        max-width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .stat-icon {
        font-size: 2rem;
        min-width: 60px;
    }
    
    .stat-text h3 {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .stat-text p {
        font-size: 0.75rem;
        text-align: left;
    }
    
    /* Course Cards Grid - 1 column */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card {
        max-width: 100%;
    }
    
    .card-img {
        height: 200px;
    }
    
    .card-body h3,
    .card-body h2 {
        font-size: 1.25rem;
        min-height: auto;
    }
    
    .btn-full {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    /* Features Grid - 1 column */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
        min-height: auto;
    }
    
    /* Highlights Grid */
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .highlight-item {
        padding: 1.5rem;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
    }
    
    .highlight-icon i {
        font-size: 1.8rem;
    }
    
    /* Ebook Section */
    .ebook-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ebook-cover {
        order: -1;
    }
    
    .ebook-cover img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .ebook-form h2 {
        font-size: 1.8rem;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-title h2 {
        font-size: 1.6rem;
    }
    
    /* FAQ Section */
    .faq-section {
        padding: 3rem 1rem;
    }
    
    .faq-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .footer-column h3 {
        margin-bottom: 1rem;
    }
    
    .footer-nav li {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Footer CTA */
    .footer-cta {
        padding: 3rem 1rem;
    }
    
    .footer-cta h2 {
        font-size: 1.8rem;
    }
    
    .footer-cta p {
        font-size: 1rem;
    }
    
    /* Why Section */
    .why-info-blocks {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-block {
        padding: 1.5rem;
    }
    
    .why-stats-note {
        padding: 1.5rem;
    }
    
    /* Webinar Section */
    .webinar-section {
        padding: 3rem 1rem;
    }
    
    .webinar-icon {
        font-size: 3rem;
    }
    
    .webinar-section h2 {
        font-size: 1.6rem;
    }
    
    .webinar-section p {
        font-size: 1rem;
    }
}

/* Small Mobile - 576px */
@media (max-width: 576px) {
    /* Global */
    .container {
        padding: 0 1rem;
    }
    
    /* Header */
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    /* Stats Bar */
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-text h3 {
        text-align: center;
        font-size: 0.85rem;
    }
    
    /* Course Cards */
    .card-img {
        height: 180px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-body h3,
    .card-body h2 {
        font-size: 1.1rem;
    }
    
    .card-body p {
        font-size: 0.9rem;
    }
    
    .btn-full {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Section titles */
    .courses-title,
    .features-title {
        font-size: 1.5rem;
    }
    
    .courses-subtitle {
        font-size: 0.9rem;
    }
    
    /* Features */
    .feature-item i {
        font-size: 2.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    /* Highlights */
    .highlights-header h2 {
        font-size: 1.5rem;
    }
    
    .highlight-item h3 {
        font-size: 1.1rem;
    }
    
    /* Ebook */
    .ebook-form h2 {
        font-size: 1.5rem;
    }
    
    .ebook-details p {
        font-size: 1rem;
    }
    
    .ebook-cover img {
        max-width: 220px;
    }
    
    /* Testimonials */
    .review-card {
        padding: 1.5rem 1rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .client-name {
        font-size: 1rem;
    }
    
    /* FAQ */
    .faq-title {
        font-size: 1.4rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-logo {
        font-size: 1.4rem;
    }
    
    .footer-column h3 {
        font-size: 1rem;
    }
    
    .footer-cta h2 {
        font-size: 1.5rem;
    }
    
    .footer-cta p {
        font-size: 0.95rem;
    }
    
    /* Why Section */
    .why-title {
        font-size: 1.4rem;
    }
    
    .why-intro {
        font-size: 0.95rem;
    }
    
    .info-block h3 {
        font-size: 1.2rem;
    }
    
    .info-block p {
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile - 480px */
@media (max-width: 480px) {
    /* Logo and Header */
    .logo img {
        max-height: 35px;
    }
    
    .main-nav {
        width: 100%;
        right: -100%;
    }
    
    /* Stats */
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .stat-text h3 {
        font-size: 0.8rem;
    }
    
    /* Cards */
    .card-img {
        height: 160px;
    }
    
    .card-body h3,
    .card-body h2 {
        font-size: 1rem;
    }
    
    /* Section spacing */
    .courses-section,
    .features-section,
    .ebook-section,
    .testimonials-section {
        padding: 2.5rem 0;
    }
    
    /* Buttons */
    .btn-full {
        padding: 0.65rem;
        font-size: 0.85rem;
    }
    
    /* Footer */
    .main-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
}

/* Prevent horizontal scroll on all screens */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for iOS touch devices - prevent zoom on form focus */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input, select, textarea {
        font-size: 16px !important;
    }
}
