/* Trial Course Page Styles */

.trial-course-section {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f4f0 0%, #fff 50%, #f8f4f0 100%);
}

.trial-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Side - Images */
.trial-image-side {
    position: sticky;
    top: 100px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #f0f0f0;
    border: 3px solid #2c2c2c;
    box-shadow: 12px 12px 0 #bc6c25;
    overflow: hidden;
}

.trial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.trial-image.active {
    opacity: 1;
}

.trial-info-box {
    margin-top: 40px;
    padding: 30px;
    background-color: #2A9D8F;
    color: #fff;
    border: 3px solid #2c2c2c;
}

.trial-info-box h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.trial-info-box p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Right Side - Form */
.trial-form-side {
    background-color: #fff;
    padding: 40px;
    border: 3px solid #2c2c2c;
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2A9D8F;
    transition: width 0.3s ease;
    width: 12.5%; /* 1/8 steps */
}

.step-indicator {
    text-align: center;
    margin-bottom: 30px;
}

.step-text {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#currentStep {
    color: #2A9D8F;
    font-weight: 700;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.2;
}

.step-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Language Dropdown */
.language-dropdown-wrapper {
    margin-bottom: 30px;
}

.dropdown-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-dropdown {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

.language-dropdown:hover {
    border-color: #2A9D8F;
}

.language-dropdown:focus {
    outline: none;
    border-color: #2A9D8F;
    box-shadow: 4px 4px 0 #1e7267;
}

/* Language Grid (kept for backward compatibility) */
.language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.language-option input,
.goal-option input,
.timeline-option input,
.level-option input,
.tutor-language-option input,
.day-option input,
.time-option input {
    display: none;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 80px;
    text-align: center;
}

.option-card:hover {
    border-color: #2A9D8F;
    background-color: #f8f8f8;
}

.language-option input:checked ~ .option-card,
.goal-option input:checked ~ .option-card,
.timeline-option input:checked ~ .option-card,
.level-option input:checked ~ .option-card,
.tutor-language-option input:checked ~ .option-card {
    background-color: #2A9D8F;
    border-color: #2A9D8F;
    color: #fff;
    box-shadow: 4px 4px 0 #1e7267;
}

.option-card i {
    font-size: 28px;
    margin-bottom: 10px;
}

.option-text {
    font-weight: 600;
    font-size: 16px;
}

.option-subtitle {
    font-size: 13px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Goal Options */
.goal-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* Timeline Options */
.timeline-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.timeline-option .option-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    padding: 20px 25px;
}

.timeline-option .option-card i {
    margin-bottom: 0;
}

.timeline-option .option-card .option-text {
    flex: 1;
    text-align: left;
}

/* Level Options */
.level-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.level-option .option-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 25px;
    align-items: center;
}

.level-icon {
    display: flex;
    gap: 5px;
}

.level-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    display: block;
}

.level-option input:checked ~ .option-card .level-dot {
    background-color: #fff;
}

/* Tutor Language Options */
.tutor-language-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* Class Type Options */
.class-type-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.class-type-option input {
    display: none;
}

.class-type-option .option-card {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    padding: 25px 30px;
    align-items: center;
    min-height: 100px;
}

.class-type-option .option-card i {
    font-size: 32px;
    margin-bottom: 0;
}

.class-type-option .option-card .option-text {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}

.class-type-option .option-card .option-subtitle {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
    text-align: left;
}

.class-type-option input:checked ~ .option-card {
    background-color: #2A9D8F;
    border-color: #2A9D8F;
    color: #fff;
    box-shadow: 4px 4px 0 #1e7267;
}

.tutor-language-option input:checked ~ .option-card {
    background-color: #F4A259;
    border-color: #F4A259;
    box-shadow: 4px 4px 0 #bc6c25;
}

/* Schedule Section */
.schedule-section {
    margin-bottom: 30px;
}

.schedule-label {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.day-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background-color: #fff;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.day-card:hover {
    border-color: #2A9D8F;
    background-color: #f8f8f8;
}

.day-option input:checked ~ .day-card {
    background-color: #2A9D8F;
    border-color: #2A9D8F;
    color: #fff;
    box-shadow: 3px 3px 0 #1e7267;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.time-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.time-card:hover {
    border-color: #2A9D8F;
    background-color: #f8f8f8;
}

.time-option input:checked ~ .time-card {
    background-color: #2A9D8F;
    border-color: #2A9D8F;
    color: #fff;
    box-shadow: 4px 4px 0 #1e7267;
}

.time-card i {
    font-size: 20px;
}

/* Summary Card */
.summary-card {
    background-color: #f8f8f8;
    padding: 30px;
    border: 2px solid #ddd;
}

.summary-card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.summary-details {
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row i {
    color: #2A9D8F;
    font-size: 18px;
    width: 25px;
}

.summary-label {
    font-weight: 600;
    min-width: 120px;
}

.summary-value {
    color: #666;
    flex: 1;
}

/* Price Section */
.price-section {
    background-color: #fff;
    padding: 20px;
    border: 2px solid #2A9D8F;
    margin-bottom: 25px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
}

.price-row.total {
    border-top: 2px solid #2A9D8F;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 20px;
}

.price-value {
    font-weight: 700;
    color: #2A9D8F;
}

.price-row.total .price-value {
    font-size: 28px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info input[type="text"],
.contact-info input[type="email"],
.contact-info input[type="tel"] {
    padding: 15px;
    border: 2px solid #ddd;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-info input:focus {
    outline: none;
    border-color: #2A9D8F;
}

/* WhatsApp Section */
.whatsapp-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    background-color: #f8f8f8;
    border: 2px solid #ddd;
}

.whatsapp-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.whatsapp-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2A9D8F;
}

.whatsapp-checkbox span {
    user-select: none;
}

#whatsappNumber {
    padding: 12px;
    border: 2px solid #ddd;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

#whatsappNumber:focus {
    outline: none;
    border-color: #2A9D8F;
}

/* Country Dropdown */
.country-dropdown {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

.country-dropdown:hover {
    border-color: #2A9D8F;
}

.country-dropdown:focus {
    outline: none;
    border-color: #2A9D8F;
    box-shadow: 4px 4px 0 #1e7267;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.btn-back {
    background-color: #fff;
    color: #000;
    border: 2px solid #2c2c2c;
    box-shadow: none;
}

.btn-back:hover {
    background-color: #f8f8f8;
}

.btn-back:active {
    transform: none;
}

#backBtn[style*="display: none"] ~ #nextBtn {
    margin-left: auto;
}

/* Thank You Screen */
.thank-you-container {
    text-align: center;
    padding: 40px 20px;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-icon i {
    font-size: 80px;
    color: #2A9D8F;
}

.thank-you-container h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 42px;
    margin-bottom: 15px;
    color: #000;
}

.thank-you-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.thank-you-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.thank-you-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: #f8f8f8;
    border: 2px solid #ddd;
    text-align: left;
}

.thank-you-box i {
    font-size: 28px;
    color: #2A9D8F;
    margin-top: 5px;
    flex-shrink: 0;
}

.thank-you-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.thank-you-box strong {
    color: #2A9D8F;
}

#confirmEmail {
    color: #2A9D8F;
    font-weight: 600;
}

.thank-you-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trial-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trial-image-side {
        position: relative;
        top: 0;
    }

    .image-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .trial-form-side {
        padding: 25px;
    }

    .form-step h2 {
        font-size: 26px;
    }

    .language-grid,
    .goal-options,
    .tutor-language-options,
    .times-grid {
        grid-template-columns: 1fr;
    }

    .days-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-navigation {
        flex-direction: column;
    }

    .form-navigation .btn {
        width: 100%;
    }

    #backBtn[style*="display: none"] ~ #nextBtn {
        margin-left: 0;
    }

    .thank-you-container h2 {
        font-size: 32px;
    }

    .thank-you-icon i {
        font-size: 60px;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

    .thank-you-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .trial-course-section {
        padding: 80px 0 40px;
    }

    .image-wrapper {
        height: 300px;
        box-shadow: 8px 8px 0 #bc6c25;
    }

    .trial-form-side {
        padding: 20px;
        box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
    }

    .form-step h2 {
        font-size: 22px;
    }

    .option-card {
        padding: 20px 15px;
        min-height: 70px;
    }

    .days-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }

    .day-card {
        padding: 12px 5px;
        font-size: 12px;
    }

    .summary-card {
        padding: 20px;
    }
}

/* Hide Newsletter Section on Trial Course Page */
.newsletter {
    display: none;
}


