@charset "utf-8";

/* ===== GLOBAL RESPONSIVE SETTINGS ===== */
:root {
    --mobile-breakpoint: 480px;
    --tablet-breakpoint: 768px;
    --small-desktop-breakpoint: 992px;
    --large-desktop-breakpoint: 1200px;

    /* Colors */
    --primary-color: #f54336;
    --secondary-color: #009999;
    --text-dark: #0f172a;
    --text-medium: #666;
    --text-light: #fff;
    --background-light: #f4f8ff;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== HOME SLIDER ===== */
.home_slider_content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
}

.slider_text {
    padding: 20px;
    border-radius: 10px;
}

.home_slider_title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.home_slider_subtitle {
    font-size: 19px;
    line-height: 1.6;
    max-width: 600px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    display: flex;
    align-items: center;
    padding: 80px 5% 0 5%;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
}

.about-images {
    position: relative;
    flex: 1;
    min-width: 300px;
    height: 450px;
}

.dot-pattern {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(#d3d3d3 1px, transparent 1px);
    background-size: 10px 10px;
    top: -20px;
    right: 20px;
    z-index: 0;
}

.img1 {
    width: 100%;
    max-width: 580px;
    border-radius: 10px;
    left: 40px;
    bottom: 110px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    min-width: 300px;
    max-width: 750px;
}

.about-content span {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 35px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-content h2 .highlight {
    color: var(--primary-color);
    font-size: 35px;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.about-content p {
    color: var(--text-medium);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
    text-justify: inter-word;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    background: #e6f7f7;
    padding: 15px;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img {
    width: 24px;
    height: 24px;
}

.info-text h3 {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #000000;
    font-size: 20px;
    line-height: 1.3;
}

.info-text p {
    margin: 0;
    color: var(--text-medium);
    font-size: 17px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    background: #e03a2d;
    transform: scale(1.05);
    color: #ffffff;
}

/* ===== APP SECTION ===== */
.app-section {
    background-color: #e5f2ff;
    padding: 70px 50px;
    border-radius: 24px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 60px auto;
    overflow: visible;
    gap: 40px;
}

.app-content {
    max-width: 57%;
    z-index: 2;
    position: relative;
}

.app-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    line-height: 1.4;
}

.app-content h4::after {
    content: '';
    width: 80px;
    height: 6px;
    background-image: url('https://assets.website-files.com/64499b56e522ec83511c7926/645a3f7bfa16f8e694d4669e_underline-blue.svg');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    bottom: -6px;
}

.app-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin: 15px 0 25px;
    line-height: 1.3;
}

.app-content p {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0;
}

.app-image {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.app-image img {
    width: 480px;
    max-width: none;
    border-radius: 10px;
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: cover;
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 50px 8%;
    background: linear-gradient(90deg, #e9f7f7 0%, #fde7ea 100%);
    text-align: center;
}

.features-section h3 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.features-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 60px;
    line-height: 1.2;
}

.features-section h2 span {
    color: var(--primary-color);
}

.features-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    width: calc(33.333% - 40px);
    min-width: 260px;
    max-width: 380px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: #f66a75;
    color: #fff;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: #fff;
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon img {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
    text-align: center;
    line-height: 1.3;
}

.feature-card p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-medium);
    text-align: justify;
    text-justify: inter-word;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 50px auto;
    max-width: 1200px;
    text-align: center;
}

.categories h3,
.categories h2 {
    grid-column: 1 / -1;
    text-align: center;
}

.categories h3 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 22px;
}

.categories h2 {
    grid-column: span 3;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #333;
}

.categories h2 span {
    color: var(--primary-color);
}

.category-card {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #fff;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--icon-color);
    opacity: 0.7;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    z-index: 1;
}

.category-card:hover::before {
    width: 1000px;
    height: 1000px;
    opacity: 0.6;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.category-card:hover::after {
    opacity: 1;
}

.category-card * {
    position: relative;
    z-index: 2;
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-radius: 20px;
    background: var(--icon-color);
    color: #fff;
    transition: background 0.5s ease, color 0.5s ease;
}

.category-card:hover .icon-box {
    background: transparent;
    color: #fff;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: #fff;
}

.category-card.biology {
    --icon-color: #28a745;
    background: #e9f9ef;
}

.category-card.biology::after {
    background-image: url('/images/top/bio.jpeg');
}

.category-card.accounts {
    --icon-color: #007bff;
    background: #eaf2ff;
}

.category-card.accounts::after {
    background-image: url('/images/top/acc.jpeg');
}

.category-card.finance {
    --icon-color: #ffc107;
    background: #fff9e6;
}

.category-card.finance::after {
    background-image: url('/images/top/fin.jpg');
}

.category-card.chemistry {
    --icon-color: #ff6b6b;
    background: #fff0f0;
}

.category-card.chemistry::after {
    background-image: url('/images/top/che.jpeg');
}

.category-card.maths {
    --icon-color: #9b59b6;
    background: #f6e9fa;
}

.category-card.maths::after {
    background-image: url('/images/top/mat.jpeg');
}

.category-card.physics {
    --icon-color: #17a2b8;
    background: #e6f9fb;
}

.category-card.physics::after {
    background-image: url('/images/top/phy.jpeg');
}

/* ===== COUNTER SECTION ===== */
.counter {
    position: relative;
    min-height: 300px;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.counter_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.counter_content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.counter_title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.counter_highlight {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 28px;
    display: inline-block;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.75rem;
    margin: 20px 0;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.counter_highlight:hover {
    transform: scale(1.1);
    background-color: #d93a2f;
    color: #fff;
}

.counter_text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--background-light);
    margin: 0;
    padding: 4rem 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.slider-container {
    position: relative;
    width: 90%;
    margin: auto;
    overflow: hidden;
}

.teachers-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.teacher-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    height: 400px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.stars i {
    color: #ccc;
    font-size: 16px;
}

.stars i.filled {
    color: #fbc02d;
}

.dot-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.dot {
    width: 40px;
    height: 7px;
    border-radius: 6px;
    background: #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: var(--primary-color);
    width: 40px;
}

.teacher-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.teacher-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 8px 0 5px;
    line-height: 1.3;
}

.teacher-card p {
    font-size: 14px;
    color: #555;
    margin: 4px 0;
    line-height: 1.5;
}

.read-more {
    color: #ab1f23;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
}

.arrows-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    padding: 7px;
}


.arrow {
    position: static !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15); */
    font-size: 22px;
    color: #333;
    transition: all 0.3s ease;
}

.arrow:hover {
    background: #0b1d26;
    color: #fff;
    border-color: #0b1d26;
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 500px;
    max-width: 90%;
    text-align: center;
    position: relative;
}

.modal-content img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: block;
    object-fit: cover;
}

.modal-content h2 {
    margin: 10px 0;
    font-size: 20px;
    line-height: 1.3;
}

.modal-content p {
    margin: 6px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: red;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .about-section {
        padding: 100px 8% 0 8%;
        gap: 80px;
    }

    .about-content {
        max-width: 800px;
    }

    .app-section {
        padding: 80px 60px;
    }

    .app-content h2 {
        font-size: 36px;
    }
}

/* Medium Desktop (992px - 1199px) */
@media (max-width: 1199.98px) {
    .counter {
        padding: 80px 0;
    }

    .counter_title {
        font-size: 2.5rem;
    }

    .counter_highlight {
        font-size: 1.5rem;
        padding: 10px 24px;
    }

    .feature-card {
        width: calc(50% - 25px);
        padding: 30px 25px;
        min-height: 280px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991.98px) {
    .counter {
        padding: 70px 0;
    }

    .counter_title {
        font-size: 2.2rem;
    }

    .counter_highlight {
        font-size: 1.4rem;
        padding: 8px 20px;
    }

    .counter_text p {
        font-size: 1rem;
    }

    .about-section {
        padding: 70px 5%;
        gap: 50px;
    }

    .about-images {
        height: 380px;
    }

    .img1 {
        max-width: 480px;
        left: 20px;
        bottom: 30px;
    }

    .dot-pattern {
        width: 100px;
        height: 100px;
        top: -10px;
        right: 10px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-content h2 .highlight {
        font-size: 32px;
    }

    .about-content p {
        font-size: 17px;
        line-height: 1.7;
    }

    .info-text h3 {
        font-size: 19px;
    }

    .info-text p {
        font-size: 16px;
    }

    .app-section {
        padding: 60px 30px;
        gap: 30px;
    }

    .app-content h2 {
        font-size: 32px;
    }

    .app-image img {
        width: 400px;
    }

    .features-section h2 {
        font-size: 32px;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories h2 {
        grid-column: span 2;
        font-size: 28px;
    }

    .teacher-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        height: auto;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .teacher-card {
        min-width: 240px;
        width: 240px;
        height: auto;
        min-height: 300px;
    }

    .teacher-card img {
        width: 100px;
        height: 100px;
    }
}

/* Small Tablet (600px - 767px) */
@media (max-width: 767.98px) {
    .counter {
        padding: 60px 0;
    }

    .counter_title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .counter_highlight {
        font-size: 1.25rem;
        margin: 12px 0;
        padding: 8px 18px;
    }

    .counter_text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
        gap: 40px;
    }

    .about-images {
        margin-bottom: 40px;
        text-align: center;
        height: auto;
        min-height: 300px;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .dot-pattern {
        display: none;
    }

    .img1 {
        position: static;
        max-width: 100%;
        bottom: 0;
        left: 0;
    }

    .about-content h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-content h2 .highlight {
        font-size: 28px;
    }

    .about-content {
        text-align: center;
    }

    .about-content p {
        text-align: center;
        font-size: 16px;
        line-height: 1.6;
    }

    .info-box {
        justify-content: center;
        text-align: left;
    }

    .info-text {
        max-width: 400px;
    }

    .read-more-btn {
        padding: 14px 28px;
    }

    .app-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .app-content {
        max-width: 100%;
    }

    .app-content h2 {
        font-size: 28px;
        margin: 12px 0 20px;
    }

    .app-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .app-image {
        position: static;
        transform: none;
        margin-top: 30px;
        text-align: center;
    }

    .app-image img {
        width: 100%;
        max-width: 350px;
    }

    .features-section h2 {
        font-size: 32px;
    }

    .feature-card {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        min-height: 260px;
    }

    .teacher-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
        scroll-snap-align: start;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .slider-container {
        flex-direction: column;
        align-items: center;
    }

    .arrow {
        width: 40px;
        height: 40px;
    }

    .arrows-bottom {
        display: none;
    }

    .teachers-wrapper {
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .teachers-wrapper::-webkit-scrollbar {
        display: none;
    }

    .dot-container {
        display: none !important;
    }
}

.feature-card.active {
    transform: translateY(-10px);
    background-color: #f66a75;
    color: #fff;
}

.feature-card.active h2,
.feature-card.active p {
    color: #fff;
}

.feature-card.active .card-icon {
    background-color: rgba(255, 255, 255, 0.35);
}

.category-card.active {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-card.active::before {
    width: 1000px;
    height: 1000px;
    opacity: 0.6;
}

.category-card.active::after {
    opacity: 1;
}

.category-card.active .icon-box {
    background: transparent;
    color: #fff;
}

.category-card.active h3 {
    color: #fff;
}

/* Mobile (481px - 600px) */
@media (max-width: 600px) {
    .about-section {
        padding: 50px 4%;
        gap: 0px;
    }

    .about-images {
        max-width: 400px;
        min-height: 250px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-content h2 .highlight {
        font-size: 26px;
    }

    .about-content span {
        font-size: 19px;
    }

    .slider_text {
        text-align: center !important;
    }

    .home_slider_title {
        font-size: 1.8rem;
    }

    .home_slider_subtitle {
        font-size: 1rem;
    }

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

    .categories h2 {
        grid-column: span 1;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .counter {
        padding: 50px 0;
    }

    .counter_title {
        font-size: 1.5rem;
    }

    .counter_highlight {
        font-size: 1.1rem;
        padding: 6px 16px;
    }

    .counter_text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .about-section {
        padding: 40px 4%;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content h2 .highlight {
        font-size: 24px;
    }

    .about-content span {
        font-size: 18px;
    }

    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .info-text {
        text-align: center;
        max-width: 300px;
    }

    .info-text h3 {
        font-size: 18px;
    }

    .info-text p {
        font-size: 16px;
    }

    .about-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .read-more-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .about-images {
        min-height: 200px;
        max-width: 350px;
    }

    .features-section {
        padding: 60px 5%;
    }

    .features-section h2 {
        font-size: 28px;
    }

    .feature-card {
        padding: 25px 20px;
        min-height: 250px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    .feature-card p {
        font-size: 16px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon img {
        width: 28px;
        height: 28px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .teacher-card img {
        width: 90px;
        height: 90px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }
}

/* Extra Small Mobile (up to 360px) */
@media (max-width: 360px) {
    .about-section {
        padding: 30px 3%;
    }

    .about-content h2 {
        font-size: 22px;
    }

    .about-content h2 .highlight {
        font-size: 22px;
    }

    .about-content span {
        font-size: 18px;
    }

    .info-text {
        max-width: 280px;
    }

    .info-text h3 {
        font-size: 17px;
    }

    .info-text p {
        font-size: 15px;
    }

    .about-content p {
        font-size: 14px;
    }

    .read-more-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .teacher-card {
        padding: 12px;
    }

    .teacher-card img {
        width: 75px;
        height: 75px;
    }

    .teacher-card h2 {
        font-size: 16px;
    }

    .teacher-card p {
        font-size: 12px;
    }

    .modal-content h2 {
        font-size: 18px;
    }

    .modal-content p {
        font-size: 13px;
    }
}