﻿h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

    a:hover {
        color: var(--secondary-color);
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

    .btn-primary:hover {
        background-color: transparent;
        border-color: var(--secondary-color);
        color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

    .btn-outline:hover {
        background-color: var(--white);
        color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

    .btn-light:hover {
        background-color: transparent;
        border-color: var(--white);
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

    .btn-outline-light:hover {
        background-color: var(--white);
        color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

.section-header {
    text-align: center;
/*    margin-bottom: 70px;*/
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    display: block;
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
}

.section-title {
    font-size: 40px;
    color: var(--white);
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(to right, var(--secondary-color), transparent);
    }

.section-description {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text-light);
    font-size: 16px;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    margin-top: -110px;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    overflow: hidden;
    background: #000;
}

/* ===== CAROUSEL CONTAINER ===== */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== SLIDES ===== */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

    .carousel-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 100, 110, 0.85) 0%, rgba(0, 130, 140, 0.75) 50%, rgba(0, 70, 80, 0.9) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

    .slide-content .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.content-wrapper {
    max-width: 800px;
    animation: slideUpFade 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.slide-description {
    text-align: center !important;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 102, 204, 0.4);
        background: linear-gradient(135deg, #0052a3, #004080);
    }

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

    .btn-outline:hover {
        border-color: white;
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ===== CAROUSEL NAVIGATION ===== */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .carousel-nav:hover {
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-nav.prev {
        left: 20px;
    }

    .carousel-nav.next {
        right: 20px;
    }

    .carousel-nav svg {
        width: 24px;
        height: 24px;
    }

/* ===== CAROUSEL INDICATORS ===== */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

        .carousel-indicators button:hover {
            background: rgba(255, 255, 255, 0.5);
            transform: scale(1.2);
        }

        .carousel-indicators button.active {
            background: white;
            width: 32px;
            border-radius: 6px;
        }

            .carousel-indicators button.active::after {
                content: '';
                position: absolute;
                top: -4px;
                left: -4px;
                right: -4px;
                bottom: -4px;
                border-radius: 10px;
                border: 1px solid rgba(255, 255, 255, 0.3);
            }

/* ===== PROGRESS BAR ===== */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.1s linear;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    animation: fadeIn 1s ease 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

.scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }

    .slide-content .container {
        padding: 0 16px;
    }

    .content-wrapper {
        text-align: center;
    }

    .slide-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }

    .slide-description {
        font-size: clamp(1rem, 1.8vw, 1.25rem);
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .carousel-nav {
        width: 44px;
        height: 44px;
    }

        .carousel-nav.prev {
            left: 10px;
        }

        .carousel-nav.next {
            right: 10px;
        }

        .carousel-nav svg {
            width: 20px;
            height: 20px;
        }

    .carousel-indicators {
        bottom: 20px;
    }

        .carousel-indicators button {
            width: 10px;
            height: 10px;
        }

            .carousel-indicators button.active {
                width: 24px;
            }
}

@media screen and (max-width: 480px) {
    .hero-section {
        min-height: 450px;
        height: 90vh;
    }

    .slide-title {
        font-size: 1.75rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        opacity: 0.9;
    }

    .scroll-indicator {
        bottom: 10px;
    }

    .mouse {
        width: 22px;
        height: 34px;
    }

    .scroll-text {
        font-size: 10px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .carousel-nav {
        background: black;
        border-color: white;
    }

    .btn-outline {
        border-color: white;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .carousel-slide,
    .content-wrapper,
    .btn,
    .carousel-nav {
        transition: none !important;
        animation: none !important;
    }

    .carousel-slide {
        transition: opacity 0.5s ease !important;
    }
}
/* Quick Info Bar  */
.quick-info-bar {
    background: linear-gradient(360deg, #298a8a 0%, #227373 100%);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wave-container {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 2;
/*    margin-top: 4rem;*/
    transform: rotate(180deg);
}

.wave-layer {
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    fill: none;
}

.wave-layer-1 .wave-path {
    fill: rgba(255, 255, 255, 0.15);
}

.wave-layer-2 .wave-path {
    fill: rgba(255, 255, 255, 0.1);
}

.wave-layer-3 .wave-path {
    fill: rgba(255, 255, 255, 0.05);
}

.quick-info-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 30px 0;
    max-width: 1240px;
    margin: 0 auto;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

    .quick-info-item:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: var(--shadow-hover);
    }

.info-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.quick-info-item:hover .info-icon {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.quick-info-item i {
    font-size: 30px;
    color: var(--white);
    transition: var(--transition);
}

.quick-info-item:hover i {
    color: var(--secondary-color);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.quick-info-item h3 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: var(--white);
}

.quick-info-item p {
    font-size: 12px;
    margin: 8px 0 0;
    opacity: 0.9;
    font-weight: 400;
} 



/* About Section */
.about-section {
    padding: 0 0;
    background: linear-gradient(180deg, #298a8a 0%, #227373 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    .image-frame img {
        width: 100%;
        height: auto;
        display: block;
        transition: var(--transition);
    }
    .image-frame:hover {
        border: dashed 1px var(--secondary-color);
    }

    .image-frame:hover img {
        transform: scale(1.05);
    }

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(45deg, var(--secondary-color), #2980b9);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    z-index: 3;
    transition: var(--transition);
}

    .experience-badge span {
        font-size: 44px;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .experience-badge p {
        margin-bottom: 0;
        font-size: 15px;
        text-transform: uppercase;
    }


.about-text p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 35px 0;
}

.feature-item {
    padding: 25px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: linear-gradient(135deg, #298a8a 0%, #185757 100%);
    position: relative;
    overflow: hidden;
    border: 2px dashed var(--secondary-color);
}

    .feature-item:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
        border: none;
    }

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--secondary-color);
}

.feature-item i {
    font-size: 24px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.feature-item:hover i {
    color: var(--white);
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--white);
}

.feature-item p {
    font-size: 12px;
    color: var(--white);
    margin-bottom: 0;
}

/* Departments Section */
.departments-section {
    padding: 40px 0;
    background: linear-gradient(360deg, #298a8a 0%, #227373 100%);
    position: relative;
    overflow: hidden;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.department-card {
    background: linear-gradient(135deg, #298a8a 0%, #185757 100%);
    border: dashed 2px var(--secondary-color);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .department-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: none;
        opacity: 0;
        z-index: -1;
        transition: var(--transition);
    }

.card-hover-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-12px);
    border: none;
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

    .department-card:hover::before {
        opacity: 1;
    }

    .department-card:hover .card-icon {
        background-color: var(--white);
        
    }

        .department-card:hover .card-icon i {
            color: var(--primary-color);
        }

        .department-card:hover p,
        .department-card:hover .read-more {
            color: var(--white);
        }

.card-icon {
    width: 90px;
    height: 90px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

    .card-icon i {
        font-size: 34px;
        color: var(--secondary-color);
        transition: var(--transition);
    }

.department-card h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.department-card p {
    color: var(--white);
    margin-bottom: 25px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

    .read-more i {
        margin-left: 8px;
        transition: var(--transition);
    }

.department-card:hover .read-more i {
    transform: translateX(5px);
}

/* Classes Section */
.classes-section {
    background: linear-gradient(180deg, #298a8a 0%, #227373 100%);
    position: relative;
    overflow: hidden;
}

.classes-tabs {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--primary-color);
}

.tab-button {
    flex: 1;
    padding:10px 20px;
    background: linear-gradient(135deg, #185757 0%, #185757 100%);
    border: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

    .tab-button:hover {
        color: var(--secondary-color);
        border: 1px dashed var(--secondary-color);
    }

    .tab-button::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: var(--secondary-color);
        transform: scaleX(0);
        transition: var(--transition);
    }

    .tab-button.active {
        color: var(--secondary-color);
        border: 2px dashed var(--secondary-color);
    }

        .tab-button.active::after {
            transform: scaleX(1);
        }

.tab-icon {
    font-size: 24px;
    transition: var(--transition);
}

.tab-button.active .tab-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.tab-label {
    transition: var(--transition);
}

.tab-button.active .tab-label {
    transform: translateY(5px);
}

.tab-content {
    display: none;
/*    padding: 40px;*/
}

    .tab-content.active {
        display: block;
        background: linear-gradient(135deg, #298a8a 0%, #77afb0 100%);
    }

.class-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /*height: 400px;*/
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

    /*.class-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }*/

.class-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: -webkit-fit-content;
}

    .class-image img {
        width: auto;
        height: 250px;
        object-fit: contain;
        transition: var(--transition);
    }

.class-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.class-card:hover .class-image-overlay {
    opacity: 1;
}

/*.class-card:hover img {
    transform: scale(1.03);
}*/

.class-info h3 {
    font-size: 30px;
    color: var(--white);
}

.class-grade {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.class-features {
    display: flex;
    gap: 25px;
    margin: 20px 0;
    flex-wrap: wrap;
}

    .class-features span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        color: var(--white);
    }

    .class-features i {
        color: var(--secondary-color);
    }

.class-description {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
}


/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(360deg, #298a8a 0%, #227373 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.testimonial-card {
    background-color: var(--primary-color);
    border: 2px dashed var(--secondary-color);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .testimonial-card:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: none;
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

.quote-icon {
    font-size: 44px;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 25px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

    .testimonial-content p {
        color: beige;
        font-style: italic;
        margin-bottom: 25px;
        position: relative;
        font-size: 16px;
        line-height: 1.6;
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

    .testimonial-author img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--secondary-color);
    }

    .testimonial-author h4 {
        font-size: 20px;
        margin-bottom: 8px;
        color: var(--secondary-color);
    }

    .testimonial-author p {
        font-size: 15px;
        color: beige;
        margin-bottom: 0;
        font-style: normal;
    }


/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }

    .about-content {
        gap: 40px;
    }

    .class-card {
        grid-template-columns: 1fr;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    }

    .class-image img {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .quick-info-items {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 40px;
    }



    .teacher-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .quick-info-item {
        padding: 20px;
        gap: 20px;
    }

        .quick-info-item h3 {
            font-size: 32px;
        }

    .info-icon {
        width: 60px;
        height: 60px;
    }

    .quick-info-item i {
        font-size: 24px;
    }

    .wave-container {
        height: 120px;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .class-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .quick-info-items {
        grid-template-columns: 1fr 1fr;
    }

    .quick-info-item {
        padding: 15px;
        gap: 15px;
    }

        .quick-info-item h3 {
            font-size: 28px;
        }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .wave-container {
        height: 100px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .department-card {
        padding: 25px;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }


}

@media (max-width: 480px) {
    .quick-info-items {
        grid-template-columns: 1fr;
    }



    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 18px;
    }
}


/* Scroll Container */

.scrolling-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #298a8a 0%, #227373 100%);
    position: relative;
    overflow: hidden;
}

.scroll-container {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
/*    background: var(--primary-color);*/
}

    .scroll-container .infinite-scroll-wrapper {
        overflow: hidden;
        width: 100%;
        position: relative;
    }

.infinite-scroll-wrapper .infinite-scroll-content {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    animation: scroll 100s linear infinite;
    width: 100%;
    gap: 16px;
}

.infinite-scroll-wrapper .infinite-scroll-items {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    gap: 16px;
}

.infinite-scroll-items .item-wrap {
    position: relative;
    min-width: 200px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.item-wrap img {
    border-radius: 35px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-wrap .text {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    color: #fff;
    font-weight: 500;
}

.item-wrap:hover img {
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .infinite-scroll-wrapper:hover .infinite-scroll-content {
        animation-play-state: paused;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

