/*
 * Modern School Theme
 * A clean, modern school website theme inspired by SDH.sch.id
 * Using Bootstrap 5, Swiper.js, AOS.js
 * Color: Blue Theme
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-lighter: #3182ce;
    --primary-dark: #0f2744;
    --secondary: #f7fafc;
    --accent: #ed8936;
    --success: #38a169;
    --text-dark: #1a202c;
    --text-body: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--primary-lighter);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-primary { background-color: var(--primary) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-gray { background-color: var(--gray-100) !important; }

.text-primary { color: var(--primary) !important; }
.text-primary-light { color: var(--primary-lighter) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Section Title */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-lighter);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header .description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

.section-header.text-start {
    text-align: left;
}

.section-header.text-start .description {
    margin: 0;
}

.section-header.light .subtitle { color: var(--accent); }
.section-header.light .title { color: var(--white); }
.section-header.light .description { color: rgba(255,255,255,0.8); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.938rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background-color: #dd6b20;
    border-color: #dd6b20;
    color: var(--white);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: rgba(255,255,255,0.9);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .contact-info i {
    margin-right: 6px;
}

.top-bar .social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar .social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.top-bar .social-links a:hover {
    background: rgba(255,255,255,0.2);
}

/* Main Navbar */
.main-navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-navbar .navbar-brand img {
    height: 50px;
    width: auto;
}

.main-navbar .navbar-brand .school-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    max-width: 220px;
    flex-shrink: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-navbar .navbar-brand .school-name small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

/* Main content area */
main {
    min-height: 50vh;
    position: relative;
}

/* Navbar collapse proper width */
.main-navbar .navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end;
}

.main-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 1rem 0.85rem !important;
    position: relative;
    font-size: 0.9rem;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary);
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: calc(100% - 2rem);
}

.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
    min-width: 220px;
    z-index: 1050;
    margin-top: 0;
}

.main-navbar .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text-body);
}

.main-navbar .dropdown-item:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Dropdown submenu for nested menus */
.main-navbar .dropdown-submenu {
    position: relative;
}

.main-navbar .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
    display: none;
}

.main-navbar .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.main-navbar .dropdown-submenu > .dropdown-toggle::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    border: none;
    float: right;
    margin-left: 10px;
}

/* Ensure dropdown shows on hover for desktop */
@media (min-width: 992px) {
    .main-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    .main-navbar .dropdown-menu {
        margin-top: 0;
    }
}

.main-navbar .btn-enroll {
    margin-left: 15px;
}

/* Scrolled navbar */
.main-navbar.scrolled {
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 600px;
    height: auto;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
    z-index: 10;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    min-height: 600px;
}

.hero-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(49, 130, 206, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 25;
    color: var(--white);
    max-width: 700px;
    padding: 0 15px 100px 15px;
}

.hero-content .welcome-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 15px;
    display: inline-block;
}

.hero-content .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-content .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 15;
}

.hero-slider .swiper-pagination {
    bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================================================
   Vision Mission Section (Quotes)
   ========================================================================== */
.vision-mission-section {
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.vm-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--shadow-lg);
    height: 100%;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.vm-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
}

.vm-card .icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vm-card .icon-box i {
    font-size: 1.75rem;
    color: var(--white);
}

.vm-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.vm-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.938rem;
}

.vm-card a {
    color: var(--primary);
    font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section .about-image {
    position: relative;
}

.about-section .about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-section .about-image .experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-section .about-image .experience-badge .years {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.about-section .about-image .experience-badge span {
    font-size: 0.875rem;
}

.about-section .about-content {
    padding-left: 40px;
}

.about-section .about-content .lead {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 25px;
}

.about-section .feature-list {
    margin-bottom: 30px;
}

.about-section .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.about-section .feature-list li i {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==========================================================================
   Gallery Section (Albums)
   ========================================================================== */
.gallery-section {
    background: var(--gray-50);
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.gallery-card .gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.gallery-card .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-card .gallery-overlay h5 {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
}

.gallery-card .gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 15px 20px;
}

.gallery-card .gallery-info h5 {
    margin: 0;
    font-size: 1rem;
}

/* Gallery Navigation */
.gallery-section .swiper-button-next,
.gallery-section .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.gallery-section .swiper-button-next::after,
.gallery-section .swiper-button-prev::after {
    font-size: 1rem;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section {
    position: relative;
    background: var(--primary);
    overflow: hidden;
}

.video-section .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.video-section .video-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 100px 0;
}

.video-section .play-btn {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.video-section .play-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.video-section .play-btn i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-left: 5px;
}

.video-section .play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Staff Section
   ========================================================================== */
.staff-section {
    background: var(--white);
}

.staff-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.staff-card .staff-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--gray-100);
}

.staff-card .staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card h5 {
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.staff-card .position {
    color: var(--primary-lighter);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.staff-card .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.staff-card .social-links a {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.staff-card .social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-section {
    background: var(--gray-50);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.news-card .news-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.news-card .news-content {
    padding: 25px;
}

.news-card .news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-card .news-meta i {
    margin-right: 5px;
}

.news-card h5 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-card h5 a {
    color: var(--text-dark);
}

.news-card h5 a:hover {
    color: var(--primary);
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.938rem;
    margin-bottom: 15px;
}

.news-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--primary);
}

.news-card .read-more:hover {
    gap: 12px;
}

/* ==========================================================================
   Events Section
   ========================================================================== */
.event-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 20px;
}

.event-item:hover {
    box-shadow: var(--shadow-md);
}

.event-item .event-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    padding: 15px;
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--white);
}

.event-item .event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.event-item .event-date .month {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.event-item .event-info h5 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.event-item .event-info p {
    color: var(--text-muted);
    font-size: 0.938rem;
    margin-bottom: 10px;
}

.event-item .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.event-item .event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-item .event-meta i {
    color: var(--primary);
}

/* ==========================================================================
   Counter Section
   ========================================================================== */
.counter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.counter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.counter-box {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 10;
}

.counter-box .counter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.counter-box .counter-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.counter-box .counter-icon i {
    font-size: 2rem;
    color: var(--white);
}

.counter-box .counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.counter-box .counter-label {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 500;
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */
.testimonial-section {
    background: var(--white);
}

.testimonial-section .featured-alumni {
    display: flex;
    align-items: center;
    gap: 60px;
}

.testimonial-section .alumni-image {
    flex-shrink: 0;
    position: relative;
}

.testimonial-section .alumni-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.testimonial-section .alumni-image .quote-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-section .alumni-image .quote-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.testimonial-section .alumni-content blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-section .alumni-content .alumni-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.testimonial-section .alumni-content .alumni-info .title {
    color: var(--primary-lighter);
    font-weight: 500;
    margin-bottom: 5px;
}

.testimonial-section .alumni-content .alumni-info .class-year {
    color: var(--text-muted);
    font-size: 0.938rem;
}

.testimonial-section .alumni-content .rating {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.testimonial-section .alumni-content .rating i {
    color: #fbbf24;
    font-size: 1.25rem;
}

/* Testimonial Carousel */
.testimonial-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card-inner {
    display: flex;
    align-items: stretch;
    min-height: 350px;
}

.testimonial-card .testimonial-image {
    flex-shrink: 0;
    width: 300px;
    position: relative;
}

.testimonial-card .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .testimonial-image .quote-icon {
    position: absolute;
    top: 20px;
    right: -25px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.testimonial-card .testimonial-image .quote-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.testimonial-card .testimonial-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card .testimonial-content blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-card .testimonial-author h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.testimonial-card .testimonial-author .position {
    color: var(--primary-lighter);
    font-weight: 500;
    font-size: 0.938rem;
}

.testimonial-card .rating {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.testimonial-card .rating i {
    color: #fbbf24;
    font-size: 1.125rem;
}

.testimonial-carousel-wrapper .swiper-button-next,
.testimonial-carousel-wrapper .swiper-button-prev {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.testimonial-carousel-wrapper .swiper-button-next::after,
.testimonial-carousel-wrapper .swiper-button-prev::after {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.testimonial-carousel-wrapper .swiper-pagination-bullet-active {
    background: var(--primary);
}

.testimonial-main-slider .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

/* Responsive Testimonial */
@media (max-width: 768px) {
    .testimonial-card-inner {
        flex-direction: column;
        min-height: auto;
    }
    
    .testimonial-card .testimonial-image {
        width: 100%;
        height: 250px;
    }
    
    .testimonial-card .testimonial-image .quote-icon {
        right: 20px;
        top: auto;
        bottom: -25px;
    }
    
    .testimonial-card .testimonial-content {
        padding: 30px 25px;
    }
    
    .testimonial-carousel-wrapper {
        padding: 0 15px;
    }
}

/* Legacy Testimonial Carousel Support */
.testimonial-carousel .testimonial-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-carousel .testimonial-item .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--gray-200);
}

.testimonial-carousel .testimonial-item .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-carousel .testimonial-item blockquote {
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 20px;
}

.testimonial-carousel .testimonial-item h5 {
    margin-bottom: 5px;
}

.testimonial-carousel .testimonial-item .position {
    color: var(--primary-lighter);
    font-size: 0.875rem;
}

/* ==========================================================================
   CTA / PPDB Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section .cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 80px 0;
}

.cta-section .cta-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section h2 span {
    color: var(--accent);
}

.cta-section p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* PPDB Image Grid */
.ppdb-images {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-top: 40px;
}

.ppdb-images img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.ppdb-images img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* ==========================================================================
   Partners / Banners Section
   ========================================================================== */
.partners-section {
    background: var(--white);
    padding: 50px 0;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.partner-item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer .footer-brand {
    margin-bottom: 25px;
}

.footer .footer-brand img {
    height: 60px;
    margin-bottom: 15px;
}

.footer .footer-brand h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.footer .footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.footer .footer-desc {
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer .footer-social {
    display: flex;
    gap: 10px;
}

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

.footer .footer-social a:hover {
    background: var(--primary-lighter);
}

.footer h5 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-lighter);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer ul li a i {
    font-size: 0.75rem;
}

.footer .contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer .contact-info li i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer .contact-info li span {
    flex: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: var(--primary-lighter);
}

/* ==========================================================================
   Inner Page Header / Breadcrumb
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.page-header .breadcrumb-item {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-widget h5 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.sidebar-widget h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

/* Profile Widget */
.sidebar-widget.profile-widget {
    text-align: center;
}

.sidebar-widget.profile-widget img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid var(--gray-100);
}

.sidebar-widget.profile-widget h6 {
    margin-bottom: 5px;
}

.sidebar-widget.profile-widget .position {
    color: var(--primary-lighter);
    font-size: 0.875rem;
}

/* Search Widget */
.sidebar-widget .search-form {
    display: flex;
}

.sidebar-widget .search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
}

.sidebar-widget .search-form input:focus {
    border-color: var(--primary);
}

.sidebar-widget .search-form button {
    padding: 12px 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
}

/* Category List */
.sidebar-widget .category-list li {
    margin-bottom: 10px;
}

.sidebar-widget .category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--gray-50);
    border-radius: var(--radius);
    color: var(--text-body);
}

.sidebar-widget .category-list li a:hover {
    background: var(--primary);
    color: var(--white);
}

.sidebar-widget .category-list li a span {
    background: var(--primary);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.sidebar-widget .category-list li a:hover span {
    background: var(--white);
    color: var(--primary);
}

/* Popular Posts */
.sidebar-widget .post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget .post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget .post-item img {
    width: 80px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.sidebar-widget .post-item h6 {
    font-size: 0.938rem;
    line-height: 1.5;
    margin-bottom: 5px;
}

.sidebar-widget .post-item h6 a {
    color: var(--text-dark);
}

.sidebar-widget .post-item h6 a:hover {
    color: var(--primary);
}

.sidebar-widget .post-item .date {
    font-size: 0.813rem;
    color: var(--text-muted);
}

/* Tags */
.sidebar-widget .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-widget .tags a {
    display: inline-block;
    padding: 6px 15px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.813rem;
    color: var(--text-body);
}

.sidebar-widget .tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Blog Post / Single Post
   ========================================================================== */
.blog-single {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-single .featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.blog-single .post-content {
    padding: 40px;
}

.blog-single .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.blog-single .post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.blog-single .post-meta i {
    color: var(--primary);
}

.blog-single h1 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.blog-single .entry-content {
    font-size: 1rem;
    line-height: 1.9;
}

.blog-single .entry-content p {
    margin-bottom: 1.5rem;
}

.blog-single .entry-content img {
    border-radius: var(--radius);
    margin: 20px 0;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

.share-buttons span {
    font-weight: 600;
    color: var(--text-dark);
}

.share-buttons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.share-buttons a.facebook { background: #3b5998; }
.share-buttons a.twitter { background: #1da1f2; }
.share-buttons a.whatsapp { background: #25d366; }
.share-buttons a.linkedin { background: #0077b5; }

/* Comments */
.comments-section {
    margin-top: 50px;
}

.comments-section h4 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.comment-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-item .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-item .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-item .comment-content {
    flex: 1;
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius);
}

.comment-item .comment-content h6 {
    margin-bottom: 5px;
}

.comment-item .comment-content .date {
    font-size: 0.813rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Comment Form */
.comment-form {
    margin-top: 40px;
}

.comment-form h4 {
    margin-bottom: 25px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.938rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.938rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Card Style Form */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-card h3 {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    color: var(--text-body);
    font-weight: 500;
}

.pagination .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-info-card {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
}

.contact-info-card h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.contact-info-card .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-card .info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .info-item h6 {
    color: var(--white);
    margin-bottom: 5px;
}

.contact-info-card .info-item p {
    margin: 0;
    opacity: 0.9;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ==========================================================================
   Admission Form
   ========================================================================== */
.admission-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.admission-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.admission-steps .step {
    position: relative;
    z-index: 10;
    text-align: center;
}

.admission-steps .step .step-number {
    width: 50px;
    height: 50px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 10px;
    color: var(--text-muted);
}

.admission-steps .step.active .step-number {
    background: var(--primary);
    color: var(--white);
}

.admission-steps .step.completed .step-number {
    background: var(--success);
    color: var(--white);
}

.admission-steps .step .step-label {
    font-size: 0.813rem;
    color: var(--text-muted);
}

.admission-steps .step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   Employee / Staff Grid
   ========================================================================== */
.employee-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.employee-card .employee-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.employee-card .employee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.employee-card:hover .employee-image img {
    transform: scale(1.05);
}

.employee-card .employee-info {
    padding: 20px;
    text-align: center;
}

.employee-card .employee-info h5 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.employee-card .employee-info .position {
    color: var(--primary-lighter);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.employee-card .employee-info .nip {
    color: var(--text-muted);
    font-size: 0.813rem;
}

/* ==========================================================================
   Student Grid
   ========================================================================== */
.student-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 25px 20px;
    transition: var(--transition);
}

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

.student-card .student-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 4px solid var(--gray-100);
}

.student-card .student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-card h6 {
    margin-bottom: 5px;
}

.student-card .nisn {
    color: var(--text-muted);
    font-size: 0.813rem;
    margin-bottom: 5px;
}

.student-card .class {
    color: var(--primary-lighter);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ==========================================================================
   File Downloads
   ========================================================================== */
.file-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    transition: var(--transition);
}

.file-item:hover {
    box-shadow: var(--shadow);
}

.file-item .file-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-item .file-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.file-item .file-info {
    flex: 1;
}

.file-item .file-info h6 {
    margin-bottom: 5px;
}

.file-item .file-info .file-meta {
    font-size: 0.813rem;
    color: var(--text-muted);
}

.file-item .download-btn {
    padding: 10px 20px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1199.98px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-content .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-content .hero-title {
        font-size: 2.5rem;
    }
    
    .about-section .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .about-section .about-image .experience-badge {
        right: 0;
    }
    
    .testimonial-section .featured-alumni {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .top-bar .contact-info {
        display: none;
    }
    
    .footer-main .col-lg-4,
    .footer-main .col-lg-2 {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-header .title {
        font-size: 1.75rem;
    }
    
    .hero-content .hero-title {
        font-size: 2rem;
    }
    
    .hero-content .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content .hero-buttons {
        flex-direction: column;
    }
    
    .hero-content {
        padding-bottom: 30px;
    }

    .vision-mission-section {
        margin-top: 0;
    }

    .vm-card {
        margin-bottom: 20px;
    }
    
    .counter-box .counter-number {
        font-size: 2.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .cta-buttons {
        flex-direction: column;
    }
    
    .ppdb-images {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-item .event-date {
        width: 100%;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: flex-start;
    }
    
    .sidebar {
        margin-top: 40px;
    }
    
    .blog-single .post-content {
        padding: 25px;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .admission-steps {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .admission-steps::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .top-bar {
        display: none;
    }
    
    .main-navbar .navbar-brand .school-name {
        font-size: 1rem;
    }
    
    .ppdb-images {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info-card {
        padding: 25px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

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

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

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #128c7e;
    color: var(--white);
    transform: scale(1.1);
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
}
