/* Tutor Page Specific Styles */

/* Hero Section */
.tutor-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #264653;
}

.tutor-hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image-left,
.hero-image-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-image-left img,
.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tutor-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(38, 70, 83, 0.85), rgba(42, 157, 143, 0.75));
    z-index: 1;
}

.tutor-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.tutor-hero-content h1 {
    font-size: 64px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.tutor-hero-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Why Teach Section */
.why-teach {
    padding: 80px 0;
    background-color: #fff;
}

.why-teach h2 {
    text-align: center;
    font-size: 42px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-bottom: 80px;
    letter-spacing: 0.25px;
}

.why-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.why-section:last-child {
    margin-bottom: 0;
}

.why-section.reverse {
    direction: rtl;
}

.why-section.reverse > * {
    direction: ltr;
}

.why-image {
    width: 100%;
}

.why-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 3px solid #264653;
}

.why-section:nth-child(3) .why-image img {
    border-color: #264653;
}

.why-section:nth-child(4) .why-image img {
    border-color: #264653;
}

.why-content h3 {
    font-size: 32px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
    color: #000;
}

.why-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* Process Section */
.tutor-process {
    padding: 80px 0;
    background-color: #fff;
}

.tutor-process h2 {
    text-align: center;
    font-size: 42px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-bottom: 60px;
    letter-spacing: 0.25px;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.process-card {
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 3px solid #ddd;
}

.process-number {
    width: 60px;
    height: 60px;
    background-color: #2A9D8F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-family: 'Archivo Black', sans-serif;
    margin: 0 auto 20px;
}

.process-card:nth-child(3) .process-number {
    background-color: #F4A259;
}

.process-card:nth-child(5) .process-number {
    background-color: #264653;
}

.process-card h3 {
    font-size: 24px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
    color: #000;
}

.process-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.process-arrow {
    font-size: 32px;
    color: #2A9D8F;
}


/* Requirements Section */
.tutor-requirements {
    padding: 80px 0;
    background-color: #fff;
}

.requirements-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #fff;
    border: 2px solid #000;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
}

.requirements-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.requirements-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.requirements-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #2A9D8F;
    color: #fff;
}

.requirements-content h2 {
    font-size: 36px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 0.25px;
    color: #fff;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.requirement-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.requirement-item i {
    font-size: 24px;
    color: #F4A259;
    flex-shrink: 0;
    margin-top: 5px;
}

.requirement-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.requirement-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Testimonials Section */
.tutor-testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.tutor-testimonials h2 {
    text-align: center;
    font-size: 42px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-bottom: 60px;
    letter-spacing: 0.25px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #f8f8f8;
    padding: 40px 30px;
    border-left: 4px solid #2A9D8F;
}

.testimonial-card:nth-child(2) {
    border-left-color: #F4A259;
}

.testimonial-card:nth-child(3) {
    border-left-color: #264653;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000;
}

.testimonial-author p {
    font-size: 14px;
    color: #666;
}

/* Application CTA Section */
.application-cta {
    padding: 80px 0;
    background-color: #264653;
    color: #fff;
}

.application-cta h2 {
    text-align: center;
    font-size: 42px;
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.25px;
}

.application-cta > .container > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A9D8F;
}

.form-group textarea {
    resize: vertical;
}

.application-form .btn {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .tutor-hero-content h1 {
        font-size: 48px;
    }

    .why-section,
    .why-section.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .why-image img {
        height: 300px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .requirements-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .requirements-image {
        height: 400px;
    }
    
    .requirements-content {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .application-form {
        padding: 30px 20px;
    }

    .why-teach h2,
    .tutor-process h2,
    .tutor-requirements h2,
    .tutor-testimonials h2,
    .application-cta h2 {
        font-size: 32px;
    }

    .why-content h3 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .tutor-hero {
        min-height: calc(100vh + 80px);
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .tutor-hero {
        height: 500px;
        padding-top: 70px;
    }

    .tutor-hero-content h1 {
        font-size: 36px;
    }

    .tutor-hero-content p {
        font-size: 16px;
    }

    .why-card,
    .process-card,
    .benefit-item,
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .requirements-image {
        height: 300px;
    }
    
    .requirements-content {
        padding: 30px 20px;
    }
    
    .requirements-content h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
}


