/* Design System Variables */
:root {
    --primary-900: #0c223f;
    --primary-700: #18365f;
    --primary-500: #1a47c8;
    --primary-300: #4499e8;
    --primary-100: #e0f2ff;
    --secondary-500: #2a7a4f;
    --secondary-300: #5ecf8a;
    --accent-500: #d45a1a;
    --accent-300: #f9a45c;
    --neutral-900: #141a25;
    --neutral-700: #3a4458;
    --neutral-500: #5f6b80;
    --neutral-300: #d1d8e0;
    --neutral-100: #f0f4f8;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', var(--font-primary);
    --h1-size: clamp(2.5rem, 5vw, 3.5rem);
    --h2-size: clamp(2rem, 4vw, 2.5rem);
    --h3-size: clamp(1.5rem, 3vw, 1.75rem);
    --body-size: clamp(1rem, 2vw, 1.125rem);
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-900);
    background-color: var(--neutral-100);
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: var(--h1-size); letter-spacing: -0.03em; }
h2 { font-size: var(--h2-size); letter-spacing: -0.02em; }
h3 { font-size: var(--h3-size); }
p { margin-bottom: var(--space-md); }

.container {
    width: min(90%, 1200px);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}

section {
    margin: 0;
    padding-block: var(--space-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.intro-video {
    background-color: var(--neutral-100);
    text-align: left;
    padding-block: calc(var(--space-lg) * 0.75);
}

.intro-video .video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.intro-video .video-text {
    max-width: 720px;
    text-align: center;
}

.intro-video .video-text h2 {
    margin-bottom: var(--space-xs);
}

.intro-video .video-text p {
    margin-bottom: 0;
    color: var(--neutral-700);
}

.intro-video .video-player {
    display: flex;
    justify-content: center;
    width: 100%;
}

.intro-video .video-frame {
    width: min(75vw, 1000px);
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background: #000;
}

.intro-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 150px 20px 60px;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}

.logo img {
    height: 80px;
}

nav {
    margin-top: 0;
    margin-right: 60px;
    z-index: 1000;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: var(--neutral-700);
    transition: color 0.3s ease, border-bottom 0.3s ease;
    font-size: 17px;
    position: relative;
    padding-bottom: 5px;
    margin-top: 0;
    padding-top: 0;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.menu a:hover {
    color: var(--primary-700);
    border-bottom: 2px solid var(--primary-700);
}

.header-cta {
    padding: 12px 24px;
    background-color: var(--accent-500);
    color: var(--white);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: fixed;
    top: 30px;
    right: 40px;
    border: none;
    font-weight: 600;
    z-index: 102;
}

.header-cta:hover {
    color: #ffffff;
    background-color: var(--accent-300);
    transform: translateY(-2px);
}

.header-cta.scrolled {
    background-color: var(--accent-300);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-cta.secondary {
    background-color: var(--primary-500);
    right: 160px;
}

.header-cta.secondary:hover {
    background-color: var(--primary-700);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-color: var(--primary-100);
    background-position: center;
    position: relative;
    padding-left: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
}

.hero-text {
    text-align: left;
    color: #333;
    z-index: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 2rem;
}

.hero-text p {
    color: var(--neutral-700);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-text .cta-button {
    padding: 12px 24px;
    background-color: var(--accent-500);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.hero-text .cta-button:hover {
    background-color: var(--accent-300);
    transform: translateY(-2px);
}

/* Info Strip */
.info-strip {
    padding: 15px 20px;
    background-color: var(--primary-700);
    color: var(--neutral-100);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

.info-strip .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.info-strip .info-point {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.info-strip .info-number {
    font-size: var(--h2-size);
    font-weight: bold;
    color: var(--accent-300);
}

.info-strip .info-label {
    font-size: var(--body-size);
    font-weight: 500;
    margin-top: 5px;
}

.info-strip .info-icon {
    font-size: var(--h2-size);
    color: var(--accent-300);
    margin-bottom: 5px;
}

/* Preview Section */
.preview {
    text-align: center;
    padding: 20px 20px;
    background-color: var(--neutral-100);
    background-image: none;
    background-repeat: repeat;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background: transparent;
}

.carousel-track {
    display: flex;
    gap: 60px;
    animation: scrollCards 30s linear infinite;
}

.carousel-card {
    flex: 0 0 300px;
    padding: 20px;
    height: 180px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.card-content {
    position: relative;
    z-index: 2;
}

.carousel-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.carousel-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

.download-sample {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.file-thumbnail {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.file-thumbnail:hover {
    transform: scale(1.1);
}

.download-sample span {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer; /* Add this line to change the cursor */
}

@keyframes scrollCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-85%)); }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-introduction {
    margin-bottom: 20px;
    text-align: center;
}

.modal-introduction h3 {
    font-size: var(--h3-size);
    margin-bottom: 10px;
}

.modal-introduction p {
    font-size: var(--body-size);
    line-height: 1.6;
}

.modal-introduction .modal-cta {
    margin-top: 20px;
}

.modal-content iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.modal-close:hover {
    color: #000;
}

.modal-download {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #007bff;
    text-decoration: none;
}

.modal-download:hover {
    text-decoration: underline;
}

.modal-cta {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-500);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: var(--body-size);
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.modal-cta:hover {
    background-color: var(--accent-300);
    transform: translateY(-2px);
}

.contact-modal-content {
    max-width: 540px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
}

.contact-form h3 {
    margin-bottom: calc(var(--space-xs) / 2);
    text-align: left;
}

.contact-form p {
    margin-bottom: var(--space-sm);
    color: var(--neutral-700);
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-700);
    gap: 6px;
}

.contact-form input,
.contact-form textarea {
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--neutral-300);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.contact-form textarea {
    resize: vertical;
}

.contact-submit {
    align-self: flex-start;
    padding: 12px 24px;
    background-color: var(--accent-500);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-submit:hover {
    background-color: var(--accent-300);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.contact-form .form-status {
    min-height: 1.25rem;
    margin: 0;
    color: var(--neutral-700);
    font-weight: 600;
}

.footer-contact-trigger {
    font-weight: 700;
    color: var(--accent-300);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-left: 6px;
    font-size: 1.05rem;
}

.footer-contact-trigger:hover,
.footer-contact-trigger:focus {
    color: #fff;
    text-decoration: underline;
}

/* Slider Indicator */
.slider-indicator {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.slider-indicator .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.slider-indicator .dot.active {
    background-color: var(--accent-500);
}

/* Why Choose Section */
.why-choose {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--primary-100);
    background-image: none;
    margin-top: var(--space-xs);
}

.why-choose h2 {
    font-size: var(--h2-size);
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
    text-align: center;
}

.why-choose .subtitle {
    font-size: var(--body-size);
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.why-choose .features {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose .feature {
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.why-choose .feature-left {
    text-align: left;
    flex-direction: row;
}

.why-choose .feature-right {
    text-align: right;
    flex-direction: row-reverse;
}

.why-choose .feature-icon {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.why-choose .feature-text {
    flex: 1;
}

.why-choose .feature h3 {
    font-size: var(--h3-size);
    color: var(--accent-500);
    margin-bottom: var(--space-sm);
    text-align: left;
}

.why-choose .feature-right h3 {
    text-align: left;
}

.why-choose .feature p {
    font-size: var(--body-size);
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
    text-align: left;
}

.why-choose .feature-right p {
    text-align: left;
}

.why-choose .feature.animate {
    opacity: 1;
    transform: translateY(0);
}

.why-choose .feature:hover .feature-icon {
    transform: translateY(-5px);
}

.why-choose .cta-container {
    margin-top: var(--space-lg);
    text-align: center;
}

.why-choose .cta-text {
    font-size: var(--h3-size);
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

.why-choose .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-500);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: var(--body-size);
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-choose .cta-button:hover {
    background-color: var(--accent-300);
    transform: translateY(-2px);
}

/* Call to Action Section */
.cta-section {
    padding: 40px 20px;
    background-color: var(--primary-700);
    color: var(--neutral-100);
    text-align: center;
}

.cta-section h2 {
    font-size: var(--h2-size);
    margin-bottom: var(--space-md);
    color: var(--neutral-100)
}

.cta-section p {
    color: var(--neutral-100);
    margin-bottom: var(--space-md);
}

.button-container {
    display: flex;
    border-radius: 10px;
    background-color: var(--primary-700);
    max-width: 600px;
    margin: 0 auto 40px;
}

.option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: #ddd;
    color: #333;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
}

.option-button.active {
    background-color: white;
    box-shadow: inset 0 0 3px 2px black;
    outline-color: transparent;
    transition: .1s;
}

.option-button:hover {
    background-color: #f1f1f1;
}

.option-button.active:hover {
    background-color: white;
}

.option-button i {
    font-size: 20px;
    margin: 0 10px;
}

.product-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-box {
    width: 300px;
    padding: 30px;
    background-color: white;
    color: #333;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-box:first-child {
    background-color: var(--neutral-100);
}

.product-box:last-child {
    background-color: var(--neutral-100);
}

.product-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-box .price {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #007bff;
}

.product-box p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.buy-now-button, .email-us-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.buy-now-button:hover, .email-us-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    background-color: var(--accent-300);
}

.product-box ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.product-box ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.product-box ul li i {
    margin-right: 10px;
    color: var(--secondary-500);
    font-size: 16px;
}

/* Orange border for all pricing product boxes */
#pricing .product-box {
    border: 3px solid var(--accent-500);
}

.product-box.preferred {
    border: 3px solid var(--accent-500);
}

.product-box.preferred .most-common {
    color: var(--accent-500);
    font-size: 16px;
    font-weight: normal;
}

#programs-section .product-box {
    width: 70%;
    margin: 0 auto;
    background-color: var(--neutral-100);
    color: var(--neutral-900);
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#programs-section .product-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-900);
}

#programs-section .product-box p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

#programs-section .product-box .email-us-button {
    background-color: var(--accent-500);
    color: var(--white);
    padding: 18px 36px;
    font-size: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: auto;
    margin: 0 auto;
    display: block;
}

#programs-section .product-box .email-us-button:hover {
    background-color: var(--accent-300);
    box-shadow: 0 6px 12px rgba(221, 107, 32, 0.4);
}

/* Email Capture Form */
.email-capture-form {
    background-color: var(--primary-500);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: var(--space-md);
    padding-bottom: 30px;
    margin-top: var(--space-sm);
}

.email-capture-form .form-text {
    font-size: var(--h2-size);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-300);
}

.email-capture-form p {
    margin-bottom: var(--space-md);
    font-size: var(--body-size);
    color: var(--neutral-100);
}

.email-capture-form form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.email-capture-form input {
    width: 300px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    font-size: var(--body-size);
}

.button.orange {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: var(--accent-500);
    color: #fff;
}

.button.orange:hover {
    background-color: var(--accent-300);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    margin-bottom: 10px;
}

footer em {
    font-style: italic;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-video .video-text {
        text-align: center;
        padding-inline: var(--space-sm);
    }

    .intro-video .video-frame {
        width: 100%;
        padding-top: 56.25%;
    }
    .info-strip .container {
        flex-direction: column;
        gap: 20px;
    }

    .info-strip .info-number {
        font-size: var(--h3-size);
    }

    .info-strip .info-label {
        font-size: 1rem;
    }

    .info-strip .info-icon {
        font-size: var(--h3-size);
    }

    .why-choose .feature {
        flex-direction: column;
        text-align: center;
    }

    .why-choose .feature-icon {
        margin-bottom: var(--space-sm);
    }

    .why-choose .feature-right {
        flex-direction: column;
        text-align: center;
    }

    .why-choose .feature h3, .why-choose .feature-right h3, .why-choose .feature p, .why-choose .feature-right p {
        text-align: center;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .logo {
        margin-bottom: 10px;
    }

    nav {
        width: 100%;
        margin-right: 0;
    }

    .menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu li {
        margin: 5px 0;
    }

    .header-cta {
        display: none;
    }

    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-track {
        animation: none;
        overflow-x: auto;
    }

    .carousel-card {
        flex: 0 0 80%;
        margin: 0 auto;
    }

    .slider-indicator {
        display: block;
    }

    .product-boxes {
        flex-direction: column;
        align-items: center;
    }

    .product-box {
        width: 90%;
        margin-bottom: 20px;
    }

    .button-container {
        flex-direction: column;
        max-width: 100%;
        margin-bottom: var(--space-md);
    }

    .option-button {
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid #ccc;
        display: flex;
        align-items: center;
    }

    .option-button i {
        margin-right: 10px;
        margin-left: 0;
        order: -1;
    }

    .option-button:last-child {
        border-bottom: none;
    }

    .product-boxes {
        flex-direction: column;
        align-items: center;
    }

    .product-box {
        width: 95%;
        margin-bottom: var(--space-md);
        box-sizing: border-box;
    }
    #programs-section .product-box {
        width: 95%;
    }
    #programs-section .email-us-button {
        width: 100%;
    }

    .contact-modal-content {
        max-width: 95%;
    }

    .contact-form {
        gap: var(--space-xs);
    }

    .contact-submit {
        align-self: center;
    }
}