﻿/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--edtt-color-bg-default);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.tailwind-text-primary {
    color: var(--edtt-color-primary-base);
}

/* Common Flex Layouts */
.hero,
.subjects-row,
.course-tags,
.course-stats,
.stat,
.stat-item,
.stat-content,
.stat-icon,
.arrow-button,
.testimonial-grid,
.testimonial-card,
.exam-card,
.exam-card-header,
.exam-subject-tag,
.exam-question-count,
.exam-progress-info {
    display: flex;
    align-items: center;
}

.tag,
.cta-button,
.course-button,
.exam-button {
    display: flex;
    align-items: center;
}

.header-content,
.statistics .container,
.exam-progress-info {
    justify-content: space-between;
}

.hero,
.subjects-row,
.courses-grid,
.articles-grid,
.testimonial-grid,
.cta-button,
.course-button,
.stat-icon,
.arrow-button {
    justify-content: center;
}

.hero,
.stat-content,
.testimonial-card,
.exam-card,
.exam-progress-section {
    flex-direction: column;
}

/* Common Text Styles */
.subjects,
.courses,
.articles,
.testimonial,
.exams,
.hero {
    text-align: center;
}

.subjects h2,
.courses h2,
.articles h2,
.testimonial h2,
.exams h2 {
    color: var(--edtt-color-primary-base);
    margin-bottom: 1.5rem;
}

.subjects p,
.courses p,
.articles p,
.testimonial p {
    max-width: 52.875rem;
    margin: 0 auto 2.5rem;
    color: var(--edtt-color-text-secondary);
}

/* Common Section Padding */
.subjects,
.courses,
.articles,
.testimonial,
.exams,
.statistics {
    padding: var(--section-padding);
}

/* Common Background */
.hero,
.subjects {
    background: var(--gradient-bg);
}

/* Common Button Styles */
.cta-button,
.course-button,
.exam-button {
    gap: 0.5rem;
    background-color: var(--edtt-color-primary-base);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.course-button:hover,
.exam-button:hover {
    background-color: var(--edtt-color-primary-500);
}

/* Common Card Styles */
.course-card,
.article-card,
.exam-card {
    border: 1px solid var(--edtt-color-border-default);
    border-radius: var(--edtt-border-radius-lg);
    background-color: var(--edtt-color-bg-default);
}

/* Common Grid Layouts */
.courses-grid,
.articles-grid,
.testimonial-grid {
    gap: var(--card-gap);
    margin: 0 auto;
}

.separator-line {
    width: 18.875rem;
    height: 2px;
    background-color: var(--edtt-color-primary-base);
    margin: 1.5rem auto;
}

/* Hero Section */
.hero {
    gap: 1.5rem;
    padding: 3rem 1rem;
    background-image: url('../../images/home/bg-hero.jpg');
    position: relative;
    height: 90vh;
    background-size: cover;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: brightness(0.5);
}

.hero-content {
    gap: 1.5rem;
    padding: 3rem 1rem;
    z-index: 1;
}

.hero h1 {
    line-height: 2.875rem;
    color: var(--edtt-color-white);
    width: 100%;
    text-align: center;
}

.hero p {
    font-size: var(--edtt-font-size-2xl);
    line-height: 1.75rem;
    color: var(--edtt-color-white);
    max-width: 52.875rem;
    margin: 1rem auto;
}

.cta-button {
    padding: 0.5rem 5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: var(--edtt-font-size-body);
    color: var(--edtt-color-white);
}

.cta-button:hover {
    background-color: var(--edtt-color-primary-500);
}

/* Subject Cards */
.subjects-grid {
    max-width: 66.375rem;
    margin: 0 auto;
}

.subjects-row {
    gap: var(--card-gap);
    margin-bottom: 2.5rem;
}

.subject-card {
    flex: 1;
    padding: 1rem;
    border-radius: var(--edtt-border-radius-lg);
    text-align: center;
    position: relative;
}

.subject-card img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.5rem;
}

.subject-card h4 {
    color: var(--edtt-color-text-default);
    margin-bottom: 2.5rem;
}

.subject-card.math .arrow-button {
    background-color: var(--edtt-color-primary-300);
}

.subject-card.literature .arrow-button {
    background-color: var(--edtt-color-secondary-300);
}

.subject-card.language .arrow-button {
    background-color: var(--edtt-color-quaternary-300);
}

.subject-card.science .arrow-button {
    background-color: var(--edtt-color-tertiary-300);
}

.subject-card.social .arrow-button {
    background-color: var(--edtt-color-quaternary-300);
}

.arrow-button {
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--edtt-color-primary-base);
    border-radius: 50%;
    cursor: pointer;
}

.arrow-button i {
    color: var(--edtt-color-white);
    display: inline-block;
    height: 1.25rem;
    font-size: var(--edtt-font-size-2xl);
    transform: translateY(-2px);
}
/* Subject Background Colors */
.subject-card.math {
    background-color: var(--edtt-color-primary-100);
}

.subject-card.literature {
    background-color: var(--edtt-color-secondary-100);
}

.subject-card.language {
    background-color: var(--edtt-color-quaternary-100);
}

.subject-card.science {
    background-color: var(--edtt-color-tertiary-100);
}

.subject-card.social {
    background-color: var(--edtt-color-primary-100);
}

/* Course Cards */
.courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--card-gap);
    max-width: 80rem;
    margin: 0 auto;
}

.course-card {
    flex: 0 1 calc(25% - var(--card-gap));
    min-width: 18.875rem;
    max-width: 18.875rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.course-image {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.course-tags {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag {
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: var(--edtt-font-size-xs);
    font-weight: 500;
}

.subject-tag {
    background-color: var(--edtt-color-tertiary-100);
    color: var(--edtt-color-tertiary-500);
}

.grade-tag {
    background-color: var(--edtt-color-border-default);
    color: var(--edtt-color-text-default);
    height: 100%;
    padding: 0.125rem 0.625rem;
    font-size: var(--edtt-font-size-xs);
    font-weight: 500;
}

.course-card h3 {
    font-size: var(--edtt-font-size-sm);
    font-weight: 500;
    color: var(--edtt-color-text-default);
    margin-bottom: 0.5rem;
    height: 2.75rem;
    overflow: hidden;
    text-align: start;
}

.exam-length-icon {
    color: var(--edtt-color-primary-base);
}

.course-stats {
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    gap: 0.25rem;
    font-size: var(--edtt-font-size-xs);
    color: var(--edtt-color-text-default);
}

.stat i {
    font-size: 1rem;
}

.course-button {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-top: auto;
    font-size: var(--edtt-font-size-body);
}

.exam-title {
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn trong 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Course Cards Responsive Design */
@media (max-width: 1200px) {
    .course-card {
        flex: 0 1 calc(33.333% - var(--card-gap));
    }
}

@media (max-width: 768px) {
    .course-card {
        flex: 0 1 calc(50% - var(--card-gap));
        min-width: 16rem;
    }

    .courses-grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .course-card {
        flex: 0 1 100%;
        min-width: auto;
        max-width: none;
    }

    .courses-grid {
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Statistics Section */
.statistics {
    background-color: var(--edtt-color-quaternary-100);
}

.statistics .container {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 12rem;
}

.stat-icon {
    background-color: var(--edtt-color-bg-default);
    border-radius: 50%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number,
.stat-label {
    font-weight: 600;
    color: var(--edtt-color-quaternary-base);
}

.stat-number {
    font-size: var(--edtt-font-size-7xl);
}

.stat-label {
    font-size: var(--edtt-font-size-3xl);
}

/* Exams Section */
.exams {
    padding: var(--section-padding);
    text-align: center;
}

.exams h2 {
    color: var(--edtt-color-primary-base);
    margin-bottom: 1.5rem;
}

.exams-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: var(--card-gap);
    padding: 2rem;
}

.exam-card {
    background-color: var(--edtt-color-bg-default);
    border-radius: var(--edtt-border-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exam-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exam-subject-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: var(--edtt-font-size-body);
}

.exam-subject-tag.khtn {
    background-color: var(--edtt-color-tertiary-50);
    color: var(--edtt-color-tertiary-500);
}

.exam-subject-tag.other {
    background-color: var(--edtt-color-primary-50);
    color: var(--edtt-color-primary-500);
}

.exam-grade {
    font-size: var(--edtt-font-size-body);
    color: var(--edtt-color-text-secondary);
}

.exam-title {
    font-weight: 500;
    color: var(--edtt-color-text-default);
    margin: 0;
}

.exam-question-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--edtt-font-size-body);
    color: var(--edtt-color-text-secondary);
}

.exam-progress-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exam-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: var(--edtt-font-size-body);
}

.exam-progress-text {
    color: var(--edtt-color-text-secondary);
}

.exam-status {
    color: var(--edtt-color-error);
}

.exam-progress-bar {
    height: 0.25rem;
    background-color: var(--edtt-color-bg-default);
    border-radius: 9999px;
    overflow: hidden;
}

.exam-progress-fill {
    height: 100%;
    background-color: var(--edtt-color-primary-base);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.exam-button {
    width: 100%;
    background-color: var(--edtt-color-primary-base);
    color: var(--edtt-color-bg-default);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.exam-button:hover {
    background-color: var(--edtt-color-primary-500);
}

/* Testimonial Section - Unified Styles */
.testimonial {
    background: var(--gradient-bg);
    padding: var(--section-padding);
    text-align: center;
}

.testimonial,
.student-feedback {
    padding: var(--section-padding);
    text-align: left;
}

.testimonial h2,
.student-feedback h2 {
    color: var(--edtt-color-primary-base);
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial p,
.student-feedback p {
    max-width: 52.875rem;
    margin: 0 auto 2.5rem;
    color: var(--edtt-color-text-secondary);
}

/* Custom Testimonial Carousel */
.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    flex: 0 0 33.333%;
    padding: 0 15px;
}

.testimonial-card {
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-avatar {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.25rem;
    border: 3px solid var(--edtt-color-border-default);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-name {
    color: var(--edtt-color-primary-base);
    font-size: var(--edtt-font-size-lg);
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--edtt-color-text-default);
    line-height: 1.6;
    font-size: var(--edtt-font-size-default);
}

/* Student Info for Bootstrap Carousel */
.student-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.student-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--edtt-color-border-default);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.student-name {
    color: var(--edtt-color-primary-base);
    margin-bottom: 0;
    font-weight: 600;
    font-size: var(--edtt-font-size-lg);
}

.student-class {
    margin-bottom: 0;
    color: var(--edtt-color-text-secondary);
    font-size: var(--edtt-font-size-default);
}

/* Articles */
.articles-grid {
    max-width: 80rem;
    display: flex;
    flex-wrap: wrap;
}

.article-card {
    flex: 1;
    min-width: 18rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.article-card img {
    width: 100%;
    height: 13.25rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.article-card h3 {
    font-size: var(--edtt-font-size-lg);
    color: var(--edtt-color-text-default);
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.article-card p {
    font-size: var(--edtt-font-size-default);
    color: var(--edtt-color-text-secondary);
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

/* Custom Testimonial Arrow Buttons */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--edtt-color-bg-default);
    border: 2px solid var(--edtt-color-border-default);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--edtt-color-text-secondary);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.testimonial-arrow:hover {
    background: var(--edtt-color-primary-base);
    border-color: var(--edtt-color-primary-base);
    color: var(--edtt-color-bg-default);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
}

.testimonial-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonial-arrow:disabled:hover {
    background: var(--edtt-color-bg-default);
    border-color: var(--edtt-color-border-default);
    color: var(--edtt-color-text-secondary);
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-arrow-left {
    left: 10px;
}

.testimonial-arrow-right {
    right: 10px;
}

/* Bootstrap Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: var(--edtt-color-primary-base);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -10px;
}

.carousel-control-next {
    right: -10px;
}

.carousel-arrow {
    color: var(--edtt-color-bg-default);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Animation */
.carousel-item {
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

/* Student Feedback Carousel - FIXED MOBILE OVERFLOW */
.student-feedback-carousel-container {
    position: relative;
    padding: 0 var(--edtt-spacing-xl);
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.student-feedback-carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 100%;
}

.student-feedback-item {
    flex: 0 0 25%;
    padding: 0 var(--edtt-spacing-sm);
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
}

.student-feedback-card {
    position: relative;
    border: 1px solid var(--edtt-color-border-default);
    background: var(--edtt-color-bg-card);
    border-radius: var(--edtt-border-radius-lg);
    padding: var(--edtt-spacing-lg);
    text-align: left;
    height: 100%;
    transition: transform var(--edtt-transition-normal),
        box-shadow var(--edtt-transition-normal);
    box-shadow: var(--edtt-shadow-card);
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.student-feedback-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--edtt-shadow-lg);
}

.student-feedback-text {
    color: var(--edtt-color-text-default);
    line-height: 1.6;
    font-size: var(--edtt-font-size-body);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin-bottom: var(--edtt-spacing-md);
}

/* Bootstrap Row/Col Override for Student Feedback */
.student-feedback-card .row {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100%;
    overflow: hidden;
}

.student-feedback-card .col {
    padding: 0 var(--edtt-spacing-xs);
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.student-feedback-card .thumbnail {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--edtt-color-border-light);
}

.student-feedback-card .student-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.student-feedback-card .tailwind-text-primary {
    color: var(--edtt-color-primary-base);
    font-weight: 600;
    font-size: var(--edtt-font-size-body);
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

.student-feedback-card p {
    margin: 0;
    font-size: var(--edtt-font-size-body);
    color: var(--edtt-color-text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Use exact same arrow styles as testimonial */
.student-feedback-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--edtt-color-bg-default);
    border: 2px solid var(--edtt-color-border-default);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--edtt-color-text-secondary);
    transition: all var(--edtt-transition-normal);
    z-index: 10;
    box-shadow: var(--edtt-shadow-md);
    cursor: pointer;
}

.student-feedback-arrow:hover {
    background: var(--edtt-color-primary-base);
    border-color: var(--edtt-color-primary-base);
    color: var(--edtt-color-bg-default);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--edtt-shadow-lg);
}

.student-feedback-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.student-feedback-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.student-feedback-arrow:disabled:hover {
    background: var(--edtt-color-bg-default);
    border-color: var(--edtt-color-border-default);
    color: var(--edtt-color-text-secondary);
    transform: translateY(-50%);
    box-shadow: var(--edtt-shadow-md);
}

.student-feedback-arrow-left {
    left: 10px;
}

.student-feedback-arrow-right {
    right: 10px;
}

.testimonial .thumbnail,
.student-feedback .thumbnail {
    width: 3rem;
    height: 3rem;
    padding: 0;
}

.testimonial .thumbnail img,
.student-feedback .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* IMPROVED Responsive Design for Student Feedback Carousel */
/* Large Desktop */
@media (max-width: 1440px) {
    .student-feedback-item {
        flex: 0 0 25%;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .student-feedback-item {
        flex: 0 0 33.333%;
    }

    .student-feedback-card {
        padding: var(--edtt-spacing-md);
    }

    .student-feedback-card .thumbnail {
        width: 40px;
        height: 40px;
    }

    .student-feedback-text {
        font-size: var(--edtt-font-size-sm);
    }

    .student-feedback-card .tailwind-text-primary {
        font-size: var(--edtt-font-size-sm);
    }

    .student-feedback-card p {
        font-size: var(--edtt-font-size-sm);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .student-feedback-item {
        flex: 0 0 50%;
        padding: 0 var(--edtt-spacing-xs);
        max-width: 50%;
        overflow: hidden;
    }

    .student-feedback-carousel-container {
        padding: 0 var(--edtt-spacing-lg);
        max-width: 100vw;
    }

    .student-feedback-card {
        padding: var(--edtt-spacing-sm);
        max-width: 100%;
        overflow: hidden;
    }

    .student-feedback-text {
        font-size: var(--edtt-font-size-sm);
        line-height: 1.5;
    }

    .student-feedback-card .row {
        align-items: center !important;
        text-align: center;
        gap: var(--edtt-spacing-xs) !important;
        margin-top: var(--edtt-spacing-sm) !important;
    }

    .student-feedback-card .thumbnail {
        width: 36px;
        height: 36px;
        margin: 0 auto;
    }

    .student-feedback-card .col {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .student-feedback-card .tailwind-text-primary {
        font-size: var(--edtt-font-size-sm);
    }

    .student-feedback-card p {
        font-size: var(--edtt-font-size-xs);
        text-align: start;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .student-feedback-item {
        flex: 0 0 100%;
        padding: 0 4px;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }

    .student-feedback-carousel-container {
        padding: 0 var(--edtt-spacing-md);
        max-width: 100vw;
    }

    .student-feedback-carousel {
        max-width: 100%;
    }

    .student-feedback-arrow {
        width: 40px;
        height: 40px;
    }

    .student-feedback-arrow-left {
        left: 5px;
    }

    .student-feedback-arrow-right {
        right: 5px;
    }

    .student-feedback-card {
        padding: var(--edtt-spacing-md);
        border-radius: var(--edtt-border-radius-sm);
        max-width: 100%;
        overflow: hidden;
    }

    .student-feedback-card .thumbnail {
        width: 32px;
        height: 32px;
    }

    .student-feedback-text {
        font-size: var(--edtt-font-size-xs);
        line-height: 1.4;
        margin-bottom: var(--edtt-spacing-xs);
    }

    .student-feedback-card .tailwind-text-primary {
        font-size: var(--edtt-font-size-xs);
    }

    .student-feedback-card p {
        font-size: 11px;
    }

    .student-feedback-card .row {
        margin-top: var(--edtt-spacing-xs) !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .student-feedback-item {
        padding: 0 2px;
        max-width: calc(100vw - 4px);
    }

    .student-feedback-carousel-container {
        padding: 0 var(--edtt-spacing-sm);
        max-width: 100vw;
    }

    .student-feedback-card {
        padding: 8px;
        max-width: 100%;
        overflow: hidden;
    }

    .student-feedback-card .thumbnail {
        width: 28px;
        height: 28px;
    }

    .student-feedback-text {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .student-feedback-card .tailwind-text-primary {
        font-size: 11px;
    }

    .student-feedback-card p {
        font-size: 10px;
    }

    .student-feedback-arrow {
        width: 35px;
        height: 35px;
    }
}

/* Prevent horizontal scroll on entire page */
html {
    overflow-x: hidden;
}

.articles {
    background-image: url('../../images/home/background.png');
}

.footer-logo h2 {
    font-size: var(--edtt-font-size-2xl);
}
