/* CSS Reset & Variables */
:root {
    --primary-color: #004a81;
    /* Blue */
    --primary-dark: #003359;
    --accent-color: #fcef21;
    /* Yellow */
    --accent-hover: #e6da0a;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --bg-dark: #002845;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1100px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.text-white {
    color: white !important;
}

.text-light-blue {
    color: #cfdcea !important;
}

.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--bg-light);
}

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

.section-dark {
    background-color: var(--bg-dark);
    color: white;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-blue .section-title,
.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--accent-color);
    z-index: -1;
    opacity: 0.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.5em;
    font-weight: 600;
    border-radius: 50px;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.5em 1.2em;
    border-radius: 4px;
    box-shadow: 0 4px 0 #d4c000;
}

.btn-cta:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d4c000;
}

.btn-outline-blue {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-blue:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-only {
    display: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    /* Adjust according to logo aspect ratio */
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-color);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Modern Split */
.hero {
    position: relative;
    padding: 0;
    min-height: 90vh;
    display: flex;
    align-items: stretch;
    /* Full height */
    overflow: hidden;
    background: #fff;
    flex-direction: row;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    /* Full width */
    margin: 0;
    padding: 0;
    gap: 0;
}

.hero-text {
    padding: 4rem 6rem;
    /* Generous padding for text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    z-index: 2;
}

.hero-visual {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the entire area */
    border-radius: 0;
    /* Removing radius for full bleed */
    box-shadow: none;
    transform: none;
}

.hero-visual:hover img {
    transform: scale(1.03);
    /* Subtle zoom */
}

/* Responsive fix for split hero */
@media (max-width: 992px) {
    .hero {
        min-height: auto;
        flex-direction: column;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text {
        padding: 4rem 2rem;
    }

    .hero-visual {
        height: 400px;
    }
}

.badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.4em 1em;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-bullets {
    margin-bottom: 2rem;
}

.hero-bullets li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.hero-bullets .icon {
    color: var(--primary-color);
    background: var(--accent-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stars {
    color: #FFC107;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-style: normal;
}

/* Course */
.course-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equal split */
    gap: 5rem;
    /* More whitespace */
    align-items: center;
}

.course-info p {
    margin-bottom: 1.5rem;
}

.course-features {
    margin-bottom: 2rem;
}

.feature-item {
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.requirements-box {
    background: #f0f7ff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
}

.requirements-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirements-box ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    border-radius: var(--radius);
    font-weight: 500;
}

.image-placeholder.vertical {
    height: 100%;
    min-height: 400px;
}

.content-visual img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

/* Pricing Carousel Enhanced */
.pricing-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 4rem calc(50% - 160px);
    /* Center the first/last items! card width approx 320 */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    align-items: center;
    justify-content: flex-start;
}

/* Scrollbar styling */
.pricing-grid::-webkit-scrollbar {
    height: 8px;
}

.pricing-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.pricing-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    color: var(--text-color);
    min-width: 320px;
    max-width: 320px;
    scroll-snap-align: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    transform: scale(1);
    /* Reset default scale logic */
    opacity: 0.5;
    /* Fade out inactive */
    filter: blur(1px);
}

/* Active State (handled by JS) */
.pricing-card.active {
    transform: scale(1.15);
    /* Pop out more */
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    border-color: var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.3em 1em;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ideal-for {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.price-box {
    margin: 1.5rem 0;
    font-weight: 700;
    color: var(--primary-color);
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
}

.plan-features {
    margin-bottom: 2rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.payment-methods {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Steps */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    counter-reset: step;
}

.step {
    flex: 1 1 180px;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.9rem;
}

/* Differentiators */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.check-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

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

/* FAQ */
.narrow-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    padding: 1.2rem 0;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: #555;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.link-white {
    color: white;
    text-decoration: underline;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    position: relative;
    background-color: #ccc;
}

.how-to-get {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.how-to-get h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: #00223a;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-content,
    .course-layout,
    .contact-grid,
    .diff-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .content-visual,
    .diff-img {
        display: none;
        /* Hide visual on tablet/mobile for simplicity or move below */
    }

    .hero {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bullets li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1000;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-flex;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}