/* ===================================================================
   LANGUAGE LANDING PAGE STYLES
   =================================================================== */

.language-landing-page {
    background-color: #f8f9fa;
}

/* --- Hero Section --- */
.hero-section {
    padding: 60px 20px;
    background-color: #e7f1ff; /* Light Brand Blue */
}
.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-content {
    flex: 1;
}
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #1c1d1f;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    color: #1c1d1f;
    line-height: 1.1;
    margin: 0 0 20px 0;
}
.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 30px;
}
.hero-cta-button {
    display: inline-block;
    background-color: #1c1d1f;
    color: #fff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.hero-cta-button:hover {
    background-color: #000;
    transform: translateY(-2px);
}
.hero-image {
    flex: 1;
    max-width: 50%;
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* --- Stats Section --- */
.stats-section {
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.stat-item strong {
    font-size: 32px;
    font-weight: 800;
    color: #1c1d1f;
}
.stat-item span {
    font-size: 14px;
    color: #6c757d;
}

/* --- General Section Styling --- */
.tutor-carousel-section, .browse-courses-section, .how-it-works-section, .testimonial-section, .faq-section {
    padding: 80px 20px;
}
.carousel-container, .browse-courses-container, .how-it-works-container, .testimonial-container, .faq-container {
    max-width: 1280px;
    margin: 0 auto;
}
h2 {
    font-size: 40px;
    font-weight: 800;
    color: #1c1d1f;
    margin: 0 0 20px 0;
    text-align: center;
}
.carousel-container p {
    font-size: 18px;
    color: #495057;
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
}

/* --- Swiper Navigation Buttons --- */
.swiper-button-next, .swiper-button-prev {
    color: #1c1d1f;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}

/* --- Tutor Carousel Section --- */
.tutor-carousel-section {
    background-color: #fff;
}
.tutor-swiper {
    padding: 10px;
    margin: 0 -10px;
    width: 100%;
    position: relative;
    overflow: hidden; 
    min-height: 420px; 
}
.tutor-swiper .swiper-wrapper {
    align-items: stretch;
}
.tutor-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.tutor-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.tutor-card:hover {
    border-color: #1c1d1f;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.tutor-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.tutor-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.tutor-details {
    display: flex;
    flex-direction: column;
}
.tutor-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tutor-name-line h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.tutor-flag {
    width: 20px;
    height: auto;
}
.tutor-verified-badge {
    color: #0d6efd;
    display: flex;
    align-items: center;
}
.tutor-verified-badge svg {
    width: 18px;
    height: 18px;
}
.tutor-language {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6c757d;
    margin-top: 4px;
}
.tutor-language-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}
.tutor-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}
.tutor-price {
    color: #1c1d1f;
    font-size: 13px;
}
.tutor-price strong {
    font-size: 18px;
    font-weight: 800;
    margin-right: 4px;
}
.tutor-rating {
    color: #6c757d;
    font-size: 13px;
}
.tutor-rating strong {
    color: #1c1d1f;
    font-weight: 800;
}
.tutor-bio {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1; 
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 90px;
}
.view-listing-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #1c1d1f;
    color: #1c1d1f;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.tutor-card:hover .view-listing-btn {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
.more-tutors-link {
    margin-top: 40px;
    text-align: center;
}
.more-tutors-link a {
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid #0d6efd;
    background-color: #fff;
    color: #0d6efd;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}
.more-tutors-link a:hover {
    background-color: #0d6efd;
    color: #fff;
}
.no-tutors-found {
    padding: 60px 20px;
    margin: 40px 0;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: 16px;
}
.no-tutors-found p {
    margin: 0;
    font-size: 18px;
    color: #495057;
    line-height: 1.7;
}
.no-tutors-found p:first-child {
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 5px;
}

/* --- Browse Courses Section --- */
.browse-courses-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}
.browse-courses-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: left;
}
.browse-courses-container h2 {
    text-align: center;
    margin-bottom: 40px;
}
.trial-lesson-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 40px;
    transition: all 0.2s ease-in-out;
}
.trial-lesson-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.trial-card-label {
    font-size: 13px;
    font-weight: 700;
    color: #0d6efd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.trial-lesson-card h3 {
    font-size: 28px;
    color: #0d6efd;
    margin: 5px 0 10px 0;
}
.trial-lesson-card p {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}
.course-swiper {
    padding: 10px;
    margin: 0 -10px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}
.course-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.course-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
    width: 100%;
    height: 100%;
    align-items: flex-start;
}
.course-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.course-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    background-color: #0d6efd;
}
.course-card-content {
    flex-grow: 1;
}
.course-card-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1c1d1f;
}
.course-card-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
}

/* --- How It Works Section --- */
.how-it-works-section { background-color: #fff; }
.steps-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    text-align: left;
}
.step-item {
    max-width: 300px;
    display: flex;
    gap: 20px;
}
.step-icon-wrapper {
    flex-shrink: 0;
}
.step-icon-wrapper img {
    width: 80px;
    height: auto;
}
.step-content span {
    display: inline-block;
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 800;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 10px;
}
.step-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
}
.step-content p {
    margin: 0;
    font-size: 16px;
    color: #495057;
}

/* --- Testimonial Section --- */
.testimonial-swiper {
    padding-bottom: 40px;
}
.testimonial-swiper .swiper-slide {
    height: auto;
    display: flex; 
}
.testimonial-card {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%; 
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}
.author-name {
    font-weight: 700;
    font-size: 16px;
    color: #1c1d1f;
}
.testimonial-rating {
    font-size: 18px;
    color: #f59e0b;
    margin-bottom: 15px;
}
.testimonial-comment {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
    flex-grow: 1; 
}
.swiper-pagination-bullet-active {
    background-color: #0d6efd;
}

/* --- FAQ Section --- */
.faq-section { background-color: #fff; }
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    color: #1c1d1f;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    transition: transform 0.2s ease;
    font-weight: 300;
}
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    display: none;
    padding: 0 10px 20px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content p { max-width: 100%; }
    .hero-image { max-width: 80%; margin-top: 30px; }
    .steps-wrapper { flex-direction: column; align-items: center; gap: 60px; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 48px; }
    h2 { font-size: 32px; }
    .tutor-swiper, .course-swiper { padding: 10px 0; }
    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}