/* ==========================================================================
   RESET & VARIABLE CONFIGURATION
   ========================================================================== */
:root {
    --primary-color: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: rgba(37, 99, 235, 0.1);
    --secondary-color: #0F172A;
    --text-color: #334155;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-radius: 18px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(37, 99, 235, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* REUSABLE CLASSES & GLASSMORPHISM */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* FLOATING BACKGROUND SHAPES */
.shape{
    position:fixed;
    border-radius:50%;
    filter:blur(80px);
    pointer-events:none;
    z-index:-1;
    overflow:hidden;
}

.shape-1{
    width:220px;
    height:220px;
    top:10%;
    left:-120px;
}

.shape-2{
    width:260px;
    height:260px;
    top:45%;
    right:-160px;
}

.shape-3{
    width:180px;
    height:180px;
    bottom:8%;
    left:15%;
}

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(50px) rotate(45deg); }
}

/* BUTTONS & RIPPLE EFFECT */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================================
   1. LOADING SCREEN
   ========================================================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #E2E8F0;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader h2 {
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.loader p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(239,246,255,1) 0%, rgba(255,255,255,1) 100%);
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.typing-text {
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color); }
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.hero-card h4 {
    font-size: 1rem;
    color: var(--secondary-color);
}

.hero-card p {
    font-size: 0.8rem;
    margin: 0;
}

.hero{
    overflow:hidden;
}

.hero-container{
    width:100%;
    max-width:1200px;
    margin:auto;
}

/* ==========================================================================
   5. ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 40px 30px;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ==========================================================================
   6. ANGGOTA KELAS
   ========================================================================== */

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.student-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #F1F5F9;
}

.student-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.student-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.student-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.student-card:hover .student-img-wrapper img {
    transform: scale(1.1);
}

.absen-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.student-info {
    padding: 20px;
}

.student-info h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.student-card:hover .student-info h3 {
    color: var(--primary-color);
}

.student-info .role {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.student-info .dream {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SLIDER ANGGOTA KELAS
   ========================================================================== */

.students {
    position: relative;
    overflow: hidden;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #4f46e5;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 4px 12px rgba(79,70,229,.25);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.students-slider {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
    box-sizing: border-box;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #4f46e5 transparent;
}

/* Chrome */
.students-slider::-webkit-scrollbar {
    height: 8px;
}

.students-slider::-webkit-scrollbar-track {
    background: transparent;
}

.students-slider::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 10px;
}

/* CARD */
.students-slider .student-card {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    scroll-snap-align: start;
}

/* ===========================
   TABLET
=========================== */

@media (max-width:992px){

    .students-slider{
        gap:20px;
    }

    .students-slider .student-card{
        flex:0 0 260px;
        width:260px;
        max-width:260px;
    }

}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

    .slider-controls{
        justify-content:center;
    }

    .students-slider{
        gap:16px;
        padding-bottom:16px;
    }

    .students-slider .student-card{
        flex:0 0 85%;
        width:85%;
        max-width:85%;
    }

}

@media (max-width:576px){

    .students-slider .student-card{
        flex:0 0 90%;
        width:90%;
        max-width:90%;
    }

    .slider-btn{
        width:40px;
        height:40px;
        font-size:1rem;
    }

}

/* ==========================================================================
   7. JADWAL PELAJARAN
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    text-align: left;
}

.schedule-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 18px 20px;
    font-weight: 600;
}

.schedule-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
    transition: var(--transition);
}

.schedule-table tbody tr:hover td {
    background-color: var(--primary-light);
}

.schedule-table .day {
    font-weight: 600;
    color: var(--secondary-color);
}

/* ==========================================================================
   8. GALERI
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 240px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    transform: translateY(-10px);
    transition: var(--transition);
}

.gallery-overlay p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    transform: translateY(10px);
    transition: var(--transition);
}

.btn-gallery {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transform: translateY(15px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p,
.gallery-item:hover .btn-gallery {
    transform: translateY(0);
}

/* ==========================================================================
   9. STATISTIK KELAS
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 40px 20px;
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   10. TIMELINE KEGIATAN
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #E2E8F0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    height: 18px;
    width: 18px;
    background-color: var(--primary-color);
    border: 4px solid white;
    position: absolute;
    border-radius: 50%;
    top: 25px;
    z-index: 1;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -11px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -9px;
}

.timeline-content {
    padding: 25px;
}

.timeline-content .date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* ==========================================================================
   11. CONTACT SECTION
   ========================================================================== */
.contact-wrapper {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E2E8F0;
    background: transparent;
    border-radius: 12px;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary-color);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 10px;
    background: white;
    padding: 0 8px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================================================
   12. FOOTER & BACK TO TOP
   ========================================================================== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

/* ==========================================================================
   SCROLL ANIMATION CLASSES (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-card {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-card { transform: translateY(30px); }

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-card.active {
    opacity: 1;
    transform: translate(0);
}

/* STAGGERED ANIMATION FOR CARDS */
.stagger-container .active:nth-child(1) { transition-delay: 0.1s; }
.stagger-container .active:nth-child(2) { transition-delay: 0.2s; }
.stagger-container .active:nth-child(3) { transition-delay: 0.3s; }
.stagger-container .active:nth-child(4) { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    /* HAMBURGER ANIMATION */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   MOBILE RESPONSIVE (<=576px)
========================================== */
@media (max-width: 576px) {

    html,
    body {
        overflow-x: hidden;
    }

    .container,
    .nav-container,
    .hero-container {
        width: 100%;
        padding: 0 18px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: .95rem;
    }

    /* HERO */
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 60px;
        overflow: hidden;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: .95rem;
    }

    .typing-text {
        white-space: normal;
        border-right: none;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
    }

    .image-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 18px;
    }

    .hero-card {
        position: relative;
        left: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        margin-top: 20px;
    }

    /* ABOUT */
    .about-grid {
        grid-template-columns: 1fr;
    }

    /* STUDENTS */
    .students-slider {
        gap: 15px;
        padding-bottom: 20px;
    }

    .students-slider .student-card {
        flex: 0 0 88%;
        max-width: 88%;
    }

    /* GALLERY */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* STATS */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* TIMELINE */
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 10px;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    /* TABLE */
    .table-responsive {
        overflow-x: auto;
    }

    .schedule-table {
        min-width: 700px;
    }

    /* CONTACT */
    .contact-wrapper {
        padding: 25px 18px;
    }

    /* FOOTER */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* BACK TO TOP */
    .back-to-top {
        width: 42px;
        height: 42px;
        right: 15px;
        bottom: 15px;
    }
}