/* ==========================================================================
   BSP — Global Styles
   ========================================================================== */

:root {
    --primary-color: #009028;
    --secondary-color: #ff9900;
    --accent-color: #f97316;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Page Loader
   ========================================================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Preloader (secondary, circle style) */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fefefe 0%, #f7f7f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
}

.circle {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(0, 0, 0, 0.1);
    border-top: 6px solid #28a745;
    border-right: 6px solid #ff7a00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #333;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeText 1.5s ease-in-out infinite;
}

@keyframes fadeText {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ==========================================================================
   Main Banner Carousel
   ========================================================================== */

#mainCarousel {
    margin-top: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-md);
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
    filter: brightness(0.9);
    transition: var(--transition);
}

.carousel-item:hover img {
    filter: brightness(1);
    transform: scale(1.02);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 239, 239, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.carousel-item:hover .carousel-overlay {
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.btn-orange {
    background-color: #ff7a00;
    color: #fff;
    border: none;
}

.btn-orange:hover {
    background-color: #e76a00;
    color: #fff;
}

/* ==========================================================================
   FlipDown Countdown
   ========================================================================== */

.flipdown {
    margin: 40px auto;
    font-size: 1rem !important;
    line-height: normal !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
}

.flipdown .rotor,
.flipdown .rotor-top,
.flipdown .rotor-leaf-front,
.flipdown .rotor-leaf-rear {
    background-color: #009028 !important;
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: inset 0 0 5px rgba(0, 214, 82, 0.76);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 4rem !important;
}

.flipdown .rotor-group-heading::before {
    display: none !important;
}

.flipdown .rotor-group-heading {
    color: #ff9900;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
}

.flipdown .rotor-group {
    background-color: #ffffff;
    border-radius: 8px;
    min-width: 140px !important;
    flex: 0 0 auto !important;
}

.flipdown.flipdown__theme-dark .rotor-bottom,
.flipdown.flipdown__theme-dark .rotor-leaf-rear {
    background-color: #009028 !important;
}

@media (max-width: 992px) {
    .flipdown .rotor-group {
        min-width: 90px !important;
    }
    .flipdown .rotor,
    .flipdown .rotor-leaf-front,
    .flipdown .rotor-leaf-rear {
        font-size: 2.5rem !important;
        height: 55px !important;
    }
}

@media (max-width: 876px) {
    .flipdown .rotor-group {
        min-width: 100px !important;
    }
    .flipdown .rotor,
    .flipdown .rotor-leaf-front,
    .flipdown .rotor-leaf-rear {
        font-size: 3rem !important;
        height: 55px !important;
    }
}

@media (max-width: 576px) {
    .flipdown {
        transform: scale(0.85);
        transform-origin: center;
        margin-top: 20px;
    }
}

/* ==========================================================================
   Preview Section
   ========================================================================== */

.preview-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.preview-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.preview-card:hover::before {
    transform: scaleX(1);
}

.preview-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.preview-card:hover .preview-icon {
    transform: scale(1.1) rotate(5deg);
}

.preview-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.preview-icon svg * {
    stroke: #fff;
}

.preview-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.preview-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modern-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 144, 40, 0.3);
    color: white;
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Event button (unused placeholder kept from original) */
.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg, #ff8c00, #ff5e00);
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 35px rgba(255, 94, 0, 0.55);
}

.event-btn__year {
    font-size: 13px;
    opacity: 0.9;
}

.event-btn__text {
    font-size: 15px;
}

.event-btn__arrow {
    transition: transform 0.3s ease;
}

.event-btn:hover .event-btn__arrow {
    transform: translateX(6px);
}

.event-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: 0.5s;
}

.event-btn:hover::before {
    left: 100%;
}

/* ==========================================================================
   Student Showcase
   ========================================================================== */

.student-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
}

.student-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.05) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fed7aa;
    color: #c2410c;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.showcase-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Student carousel */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.student-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.student-card:hover {
    transform: scale(1.05);
}

.student-image-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.student-image {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.student-card:hover .student-image {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: #fed7aa;
}

.achievement-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.student-name {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.student-card:hover .student-name {
    color: #ea580c;
}

.university-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: #374151;
    font-weight: 600;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 1rem;
}

.nav-button.next {
    right: 1rem;
}

.nav-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #f97316;
    width: 2rem;
    border-radius: 0.375rem;
}

.dot:hover:not(.active) {
    background: #9ca3af;
}

.dot:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

.icon {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.chevron {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ==========================================================================
   Scrolling Gallery
   ========================================================================== */

.scroll-gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.scroll-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.scroll-track {
    display: flex;
    width: calc(14 * 280px);
    animation: scrollLeft 25s linear infinite;
    will-change: transform;
}

.scroll-track img {
    width: 260px;
    height: 260px;
    flex-shrink: 0;
    margin-right: 20px;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 3px solid white;
}

.scroll-track img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-lg);
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Main Statistics Section
   ========================================================================== */

.main-stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #00b532);
    color: white;
    position: relative;
    overflow: hidden;
}

.main-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: var(--transition);
}

.stats-card:hover::before {
    transform: scale(1);
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.odometer {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

/* ==========================================================================
   Student Grid Section
   ========================================================================== */

.student-grid-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.student-grid-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.student-grid-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.student-item {
    text-align: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.student-item:hover {
    transform: translateY(-5px);
}

.student-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.student-item:hover img {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.student-item h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.student-item .text-muted {
    color: var(--text-light) !important;
    font-weight: 600;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .carousel-control-prev { left: 10px; }
    .carousel-control-next { right: 10px; }
}

@media (max-width: 992px) {
    .section-title { font-size: 2.5rem; }
    .countdown-title { font-size: 2.5rem; }
    .showcase-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .countdown-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .showcase-title { font-size: 2rem; }
    .flipdown { transform: scale(0.8); }

    .preview-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .student-item img { height: 120px; }
    .carousel-slide { padding: 2rem 1rem; }

    .student-image {
        width: 8rem;
        height: 8rem;
    }

    .student-name { font-size: 1.5rem; }

    .nav-button {
        width: 2.5rem;
        height: 2.5rem;
    }

    .nav-button.prev { left: 0.5rem; }
    .nav-button.next { right: 0.5rem; }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-number { font-size: 2rem; }
    .odometer { font-size: 2.5rem; }
    .stats-card { padding: 2rem; }
}

@media (max-width: 576px) {
    .countdown-title { font-size: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .showcase-title { font-size: 1.5rem; }
    .flipdown { transform: scale(0.7); }

    .preview-card { padding: 1.5rem; }

    .preview-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .student-image {
        width: 6rem;
        height: 6rem;
    }

    .achievement-badge {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.75rem;
    }

    .student-item img { height: 250px; }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .carousel-control-prev { left: 5px; }
    .carousel-control-next { right: 5px; }

    .scroll-track img {
        width: 200px;
        height: 200px;
    }

    .odometer { font-size: 2rem; }
    .stats-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 0.5rem; }

    .countdown-section,
    .preview-section,
    .student-showcase,
    .scroll-gallery,
    .main-stats-section,
    .student-grid-section {
        padding: 60px 0;
    }

    .student-grid-title { font-size: 1.75rem; }
    .student-grid-subtitle { font-size: 1.5rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-track {
        animation: none;
    }
}

/* Print */
@media print {
    .page-loader,
    .carousel-control-prev,
    .carousel-control-next,
    .nav-button {
        display: none !important;
    }
}/* ==========================================================================
   Homepage Redesign (index.html) — Feature Cards & Student Showcase v2
   Loaded AFTER style.css, so these rules intentionally override it.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9fbfd;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* ==========================================================================
   Feature Cards Section (formerly "Preview")
   ========================================================================== */

.feature-section {
    padding: 4rem 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 144, 40, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 144, 40, 0.15);
    border-color: #009028;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 144, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #009028;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #009028;
    color: #fff;
    transform: rotateY(180deg);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.feature-icon svg * {
    stroke: currentColor;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-desc {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-feature {
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-feature-success {
    background: #009028;
    color: white;
}

.btn-feature-success:hover {
    background: #007020;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 144, 40, 0.3);
}

/* ==========================================================================
   Student Showcase (rebranded green/gold)
   ========================================================================== */

.student-showcase {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    overflow: hidden;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dcfce7;
    color: #166534;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.showcase-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #009028 0%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

/* Student Card */
.student-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 350px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.student-image-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.student-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.achievement-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #009028 0%, #22c55e 100%);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 144, 40, 0.3);
    border: 2px solid white;
}

.student-name {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.student-card:hover .student-name {
    color: #009028;
}

.university-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #009028;
}

.nav-button:hover {
    background: #009028;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev { left: -20px; }
.nav-button.next { right: -20px; }

/* Dots */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #009028;
    width: 30px;
    border-radius: 10px;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #009028;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

/* ==========================================================================
   Scroll Gallery Fix
   ========================================================================== */

.scroll-gallery {
    padding: 40px 0;
    background: #fff;
    overflow: hidden;
}

.scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollAnimation 30s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scrollAnimation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .showcase-title { font-size: 2rem; }
    .nav-button.prev { left: 0; }
    .nav-button.next { right: 0; }
    .carousel-slide { padding: 0.5rem; }
}
