:root {
    --primary: #FF6B00;
    --primary-dark: #cc5500;
    --secondary: #1a1a1a;
    --text: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 125px;
    width: auto;
    animation: fadeInLogo 0.5s ease forwards;
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav-cta {
    background: var(--secondary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 107, 0, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
    max-width: 90%;
}

.hero-support {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.trust-badges i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Hero Form */
.hero-form-wrapper {
    perspective: 1000px;
}

.glass-form {
    background: var(--glass);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-form h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.glass-form p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.form-group {
    margin-bottom: 1rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.blob-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: #FFD1A9;
}

.blob-2 {
    bottom: -50px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: #E0E7FF;
}

/* Offerings Section */
.offerings-section {
    padding: 5rem 0;
    position: relative;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Category Navigation (Pills) */
.category-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pill-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-filter-wrapper {
    position: relative;
    min-width: 220px;
}

.quick-filter-select {
    width: 100%;
    padding: 10px 16px;
    border-radius: 100px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.quick-filter-select:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.nav-pill {
    padding: 10px 24px;
    border-radius: 100px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.nav-pill:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.nav-pill.active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.program-card {
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.program-card.hidden {
    display: none;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.card-title h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.card-title h3 i {
    margin-right: 12px;
    color: var(--primary);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.price-pill {
    background: #fff5eb;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.program-card .feature-list {
    margin-bottom: 24px;
    flex-grow: 1;
}

.program-card .register-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 1.5rem 2rem;
    /* Reduced padding */
    border-radius: 12px;
    width: 95%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    /* Prevent overflowing screen */
    overflow-y: auto;
    /* Enable scrolling if needed */
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--secondary);
}

.modal-header h2 {
    margin-bottom: 1rem;
    color: var(--primary);
    /* Changed to Orange for emphasis */
}

/* Two Column Form Grid */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.input-with-action {
    display: flex;
    gap: 0.5rem;
}

.btn-text {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.9rem;
}

.btn-text:hover {
    background: var(--primary);
    color: white;
}

.validation-msg {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--primary);
}

.payment-section {
    margin: 1.5rem 0;
}

.payment-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-card {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.radio-card input {
    display: none;
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    color: #555;
    font-weight: 500;
}

.radio-card input:checked+.card-content {
    border-color: var(--primary);
    background: #fff5eb;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}

.card-content i {
    font-size: 1.2rem;
}

.payment-details {
    display: none;
    margin-top: 1rem;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.payment-details.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fee-display {
    background: #f0f0f0;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.fee-display strong {
    color: var(--primary);
    font-size: 1.3rem;
}

/* Success Animation */
.success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.next-steps {
    margin: 2rem 0;
    text-align: left;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
}

.next-steps ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-subtext,
    .hero-support {
        margin-left: auto;
        margin-right: auto;
    }

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo img {
        height: 80px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-content {
        padding: 1.5rem;
        width: 92%;
        margin: 10px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        align-items: center;
    }

    .header-right {
        display: none;
    }

    .accordion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .accordion-header .header-right {
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .program-meta {
        font-size: 0.8rem;
    }

    .payment-options {
        flex-direction: column;
        gap: 0.5rem;
    }

    .fee-section-wrapper {
        padding: 12px !important;
    }

    .coupon-row {
        flex-direction: row;
        /* Keep coupon and button together on mobile */
    }
}

.frozen-select {
    pointer-events: none;
    background-color: #e9ecef;
    color: #495057;
    border-color: #ced4da;
    cursor: not-allowed;
    appearance: none;
    /* Hide dropdown arrow in some browsers */
    -webkit-appearance: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.section-pill {
    display: inline-block;
    padding: 8px 20px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.highlight-underline {
    color: var(--primary);
    position: relative;
    padding-bottom: 5px;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0.6;
}

.section-subtext {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4b5563;
    font-size: 1.1rem;
}

/* Slider Layout */
.testimonials-container {
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
    width: 100%;
    flex-wrap: nowrap;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.testimonial-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-author {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    margin-top: auto;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #64748b;
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}