/* Global Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --gray-color: #6c757d;
    --light-gray-color: #e9ecef;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Header/Navigation */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.feature-list i {
    margin-top: 0.25rem;
}

/* #herobanner {
    height: auto;
} */

/* Updated Differentiator Section */
.differentiator-section {
    background-color: var(--dark-color);
    padding: 5rem 0;
}

.comparison-container {
    background-color: var(--dark-color);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-header {
    display: flex;
    margin-bottom: 20px;
}

.comparison-row {
    display: flex;
    margin-bottom: 15px;
}

.comparison-side {
    flex: 1;
    padding: 15px 20px;
}

.comparison-side.negative {
    background-color: #3a0a0a;
    border-radius: 8px;
    margin-right: 10px;
}

.comparison-side.positive {
    background-color: #0a3a1a;
    border-radius: 8px;
    margin-left: 10px;
}

.red-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #ff4d4d;
    border-radius: 50%;
    margin-left: 10px;
}

.green-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #4caf50;
    border-radius: 50%;
    margin-left: 10px;
}

.diff-card {
    border-radius: 8px;
    height: 100%;
}

.diff-card-negative {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.diff-card-positive {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Info Section */
/* Updated Info Section with background colors */
.info-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.info-card .card-inner {
    padding: 1.5rem;
}

/* Removing hover effects for flat design */
.info-card:hover {
    /* Removed transform and box-shadow effects */
}

.learn-card {
    background-color: #00544F;
    color: #ffffff;
}

.learn-card h3,
.learn-card p,
.learn-card li {
    color: #ffffff;
}

.learn-card .text-success {
    color: #4fffb4 !important;
}

.build-card {
    background-color: #E0D9BF;
}

.deploy-card {
    background-color: #1B1B1B;
    color: #ffffff;
}

.deploy-card h3,
.deploy-card p,
.deploy-card li {
    color: #ffffff;
}

.deploy-card .text-success {
    color: #4fffb4 !important;
}

.object-fit-cover {
    object-fit: cover;
    border-radius: 8px;
}

/* Benefits Section */
.benefit-card {
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Course Content Section */
.nav-tabs .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background-color: transparent;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(67, 97, 238, 0.1);
}

/* Instructor Section */
.instructor-img {
    border: 5px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Pricing Section */
.pricing-card {
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-container {
    text-align: center;
}

.original-price {
    font-size: 1.2rem;
    color: var(--gray-color);
    text-decoration: line-through;
}

.current-price {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.discount-badge {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 8px;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.feature-list i {
    margin-top: 0.25rem;
}

/* FAQs Section */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 500;
    padding: 1.25rem;
    background-color: white;
}

.accordion-body {
    padding: 1.25rem;
    background-color: var(--light-color);
}

/* Footer */
.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color) !important;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .differentiator-section {
        padding: 3rem 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .comparison-header,
    .comparison-row {
        flex-direction: column;
    }
    
    .comparison-side.negative {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .comparison-side.positive {
        margin-left: 0;
    }
}


/* Course Module Styles */
.course-module {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin-bottom: 1.5rem; /* Reduced from 3rem (mb-5) to 1.5rem */
}

.module-header {
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.module-header h3 {
    font-size: 1.20rem; /* Adjusted font size for better readability */
    margin-bottom: 0;
    font-weight: 500; /* Added slightly bolder font weight */
}

.module-header:hover {
    background-color: #e9ecef;
}

.module-content {
    border-top: 1px solid #e9ecef;
}

/* Keep existing accordion styles */
.accordion-item {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .module-header h3 {
        font-size: 1.01rem;
    }
}

/* Countdown Timer Section */
.countdown-section {
    background-color: var(--dark-color);
    color: white;
    padding: 10px 0;
    /* Remove sticky positioning */
    position: static;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.countdown-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.countdown-item span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.waitlist-btn {
    font-weight: 600;
    padding: 8px 16px;
}

.waitlist-text {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Adjust header position - make it the primary sticky element */
header {
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 1100; /* Higher z-index to ensure it's above other elements */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for countdown */
@media (max-width: 767.98px) {
    .countdown-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .countdown-title, .countdown-timer, .col-md-3 {
        margin-bottom: 10px;
    }
    
    .col-md-3.text-md-end {
        text-align: center !important;
    }
    
    .countdown-timer {
        margin: 5px auto;
    }
    
    /* Remove this as header is now the primary sticky element */
    /* header {
        top: 140px;
    } */
}

/* Differentiator Section Headings */
.diff-card h3 {
    font-size: 1.25rem; /* Reduced from default h3 size */
    font-weight: 500;
}

/* Mobile-specific adjustments for course syllabus section */
@media (max-width: 767.98px) {
    /* 1. Smaller module content font size */
    .module-content p {
        font-size: 0.9rem;
    }
    
    /* 2. Smaller submodule accordion text and lists */
    .accordion-button .w-100 span {
        font-size: 0.85rem;
    }
    
    .accordion-body ul.list-unstyled li {
        font-size: 0.85rem;
    }
    
    /* 3. Smaller "What you'll learn" font and list items */
    .module-content h4 {
        font-size: 1rem;
    }
    
    .module-content ul.list-unstyled li {
        font-size: 0.85rem;
    }
    
    /* 4. Smaller module content heading */
    .module-header h3 {
        font-size: 0.95rem;
    }
}

/* 5. Adjust padding for course-syllabus-section */
@media (max-width: 767.98px) {
    .course-content-section {
        padding-top: 2rem;
        padding-bottom: 3rem;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Course Summary Banner - Redesigned */
.course-summary-banner {
    background-color: #f0f5ff; /* Light blue background */
    position: relative;
    overflow: hidden;
    border-bottom: none; /* Remove the previous border */
}

.course-summary-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(76, 201, 240, 0.1) 100%);
    z-index: 0;
}

.stats-container {
    background-color: white;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.stat-item {
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.stat-label {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.stat-sublabel {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.difficulty-badge {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 4px;
}

.course-summary-banner .badge {
    font-size: 0.8rem;
    padding: 0.5em 1em;
    font-weight: 500;
}

/* Responsive adjustments for course summary banner */
@media (max-width: 767.98px) {
    .course-summary-banner .row > div {
        margin-bottom: 1.5rem;
    }
    
    .course-summary-banner .fs-1 {
        font-size: 1.8rem !important;
    }
    
    .stat-item {
        padding: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .difficulty-badge {
        font-size: 0.9rem;
        padding: 0.2rem 0.8rem;
    }
    
    .course-summary-banner .row > div:last-child {
        margin-bottom: 0;
    }
}

/* Syllabus Link Styling */
.syllabus-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.2s ease;
    font-size: 1.05rem;
    padding-bottom: 2px;
}

.syllabus-link:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Responsive adjustments for mobile */
@media (max-width: 767.98px) {
    .syllabus-link {
        margin-top: 1rem;
        margin-left: 0 !important;
        display: inline-block;
        font-size: 0.95rem; /* Added smaller font size for mobile */
    }
}

/* Video Teaser Styling */
.video-teaser-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.video-cover {
    position: relative;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(67, 97, 238, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 30px;
    margin-left: 5px; /* Slight offset for play icon */
}

.video-cover:hover .play-button {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Pricing Block Container Styling */
.pricing-block-container {
    display: flex;
    justify-content: center;
}

/* Pricing Block Styling */
.pricing-block {
    background-color: white;
    border-radius: 12px;
    max-width: 85%;
    margin: 0 auto;
    padding: 1.5rem !important;
}

.video-teaser-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem !important;
}

.discount-badge {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.current-price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.original-price {
    font-size: 1rem;
    color: var(--gray-color);
    text-decoration: line-through;
}

.buy-now-btn {
    font-weight: 600;
    padding: 10px 20px;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .pricing-block {
        max-width: 100%;
        /* margin-top: 2rem; */
    }
    
    .pricing-block-container {
        justify-content: flex-start;
    }
}