/* ===================================
   Little Stars Nursery School - Custom CSS
   =================================== */

/* Root Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --light: #f3f4f6;
    --dark: #1f2937;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container,
.container-fluid {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1050;
    position: relative;
    overflow: visible !important;
}

.navbar .container {
    overflow: visible !important;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.fixed-top {
    z-index: 1050;
    overflow: visible !important;
}

.navbar-brand .brand-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.navbar-brand .brand-text {
    font-family: 'Fredoka', sans-serif;
    max-width: 180px;
    white-space: normal;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: normal;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown {
    position: relative;
}

.navbar .collapse,
.navbar .navbar-collapse,
.navbar-nav {
    overflow: visible !important;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    border: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    min-width: 240px;
    max-height: none !important;
    background-color: #ffffff;
    z-index: 9999;
    display: none;
}

.navbar-nav .dropdown-menu.show {
    display: block !important;
}

.navbar-nav .dropdown-item {
    padding: 0.65rem 1.25rem !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.navbar-nav .dropdown-item i {
    width: 22px !important;
    font-size: 0.9rem !important;
    color: #6366f1 !important;
    margin-right: 0.5rem !important;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f3f4f6 !important;
    color: #6366f1 !important;
    transform: translateX(3px) !important;
}

.dropdown-item:focus,
.dropdown-item:active {
    background-color: #e0e7ff;
    color: #6366f1;
}

.dropdown-divider {
    margin: 0.4rem 0.75rem;
    border-top: 1px solid #e5e7eb;
    opacity: 1;
}

.navbar-nav .nav-link.dropdown-toggle::after {
    margin-left: 0.4em;
    transition: transform 0.2s ease;
}

.navbar-nav .show > .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.bg-primary-soft {
    background-color: rgba(99, 102, 241, 0.1);
}

.bg-info-soft {
    background-color: rgba(59, 130, 246, 0.1);
}

.bg-success-soft {
    background-color: rgba(16, 185, 129, 0.1);
}

.bg-warning-soft {
    background-color: rgba(245, 158, 11, 0.1);
}

.bg-danger-soft {
    background-color: rgba(239, 68, 68, 0.1);
}

.stat-item {
    text-align: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image {
    border-radius: 30px;
    text-align: center;
    position: relative;
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.hero-image i {
    font-size: 3rem;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    top: 10%;
    left: -5%;
    animation: float 4s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    bottom: 20%;
    right: -3%;
    animation: float 5s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-3);
    bottom: -5%;
    left: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===================================
   Notices Section
   =================================== */
/* Notice Board Container */
/* ===================================
   Notices Section - Full Screen Continuous Scrolling Ticker
   =================================== */

/* Full Screen Ticker Wrapper */
.notices-ticker-wrapper-full {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: stretch;
    min-height: 80px;
}

/* Fixed Title on Left */
.ticker-fixed-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-right: 3px solid rgba(255, 255, 255, 0.2);
    min-width: 320px;
}

.ticker-title-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ticker-small-badge {
    font-size: 0.65rem;
    padding: 5px 12px;
    font-weight: 600;
}

.ticker-main-heading {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1;
}

.notices-ticker-wrapper-full::before,
.notices-ticker-wrapper-full::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.notices-ticker-wrapper-full::before {
    left: 0;
    background: linear-gradient(90deg, rgba(99, 102, 241, 1) 0%, rgba(99, 102, 241, 0) 100%);
    display: none;
}

.notices-ticker-wrapper-full::after {
    right: 0;
    background: linear-gradient(270deg, rgba(99, 102, 241, 1) 0%, rgba(99, 102, 241, 0) 100%);
}

.notices-ticker-track {
    display: flex;
    gap: 0;
    animation: scroll-left 40s linear infinite;
    width: fit-content;
    padding-left: 0;
    align-items: center;
    min-height: 80px;
}

.notices-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Ticker Item */
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 28px 35px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    min-height: 80px;
}

.ticker-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.ticker-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ticker-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    margin: 0 5px;
}

.ticker-content-stack {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
}

.ticker-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-title {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

/* Notice Modal Styling */
.notice-modal {
    border-radius: 28px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.notice-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1060;
    opacity: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.notice-modal-close::before,
.notice-modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: #6b7280;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.notice-modal-close::before {
    transform: rotate(45deg);
}

.notice-modal-close::after {
    transform: rotate(-45deg);
}

.notice-modal-close:hover {
    background: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.notice-modal-close:hover::before,
.notice-modal-close:hover::after {
    background: #374151;
}

.notice-modal .modal-header {
    padding: 45px 40px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.notice-modal .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.notice-modal-header-content {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.notice-modal-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.notice-modal-icon-bg {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.notice-modal-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.notice-modal-icon-wrapper.text-primary .notice-modal-icon {
    color: #667eea;
}

.notice-modal-icon-wrapper.text-success .notice-modal-icon {
    color: #10b981;
}

.notice-modal-icon-wrapper.text-warning .notice-modal-icon {
    color: #f59e0b;
}

.notice-modal-icon-wrapper.text-secondary .notice-modal-icon {
    color: #6b7280;
}

.notice-modal-header-text {
    flex: 1;
    min-width: 0;
}

.notice-modal-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.notice-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notice-modal-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.notice-modal-date i {
    font-size: 0.85rem;
}

.notice-modal .modal-body {
    padding: 35px 40px;
    background: #ffffff;
}

.notice-modal-content {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.8;
}

.notice-modal-content h6 {
    color: #1f2937;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.notice-modal-content p {
    margin-bottom: 1.2rem;
}

.notice-modal-content ul {
    margin: 1.2rem 0;
    padding-left: 1.5rem;
}

.notice-modal-content li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 8px;
}

.notice-modal-content li::marker {
    color: #667eea;
}

.notice-modal .modal-footer {
    padding: 20px 40px 35px;
    background: #ffffff;
    justify-content: center;
}

.btn-modal-close {
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #4b5563;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-modal-close:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Soft Backgrounds */
.bg-danger-soft {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.bg-success-soft {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.bg-warning-soft {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.bg-info-soft {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

/* ===================================
   About Section
   =================================== */
.about-image-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    min-height: 400px;
}

.image-card {
    background: white;
    border-radius: 20px;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.image-card-1 {
    grid-row: 1;
}

.image-card-1 img{
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.image-card-2 {
    grid-row: 1;
    margin-top: 3rem;
}

.image-card-2 img{
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.image-card-3 {
    grid-column: 1 / -1;
}

.image-card-3 img{
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--gradient-1);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateX(10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ===================================
   Features Section
   =================================== */
#features .row {
    margin: 0 -10px;
}

#features .row > [class*='col-'] {
    padding: 0 10px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-light);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-large {
    transform: scale(1.1) rotate(5deg);
}

/* ===================================
   Programs Section (Kept for compatibility)
   =================================== */
.program-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

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

.program-card-featured {
    background: var(--gradient-1);
    color: white;
    transform: scale(1.05);
}

.program-card-featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.program-icon {
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.program-card-featured .program-icon {
    background: rgba(255,255,255,0.2);
}

.program-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

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

.bg-gradient-1 { background: var(--gradient-1); }
.bg-gradient-2 { background: var(--gradient-2); }
.bg-gradient-3 { background: var(--gradient-3); }
.bg-gradient-4 { background: var(--gradient-4); }
.bg-gradient-5 { background: var(--gradient-5); }
.bg-gradient-6 { background: var(--gradient-6); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ===================================
   Teachers Section
   =================================== */
.teacher-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.teacher-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-avatar {
    transform: scale(1.1) rotate(5deg);
}

.social-links a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-3px);
}

/* Teachers Swiper Styling */
.teachersSwiper {
    padding: 20px 15px 60px !important;
    overflow: visible !important;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.teachersSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.teachersSwiper .swiper-slide {
    height: auto;
    display: flex;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    padding: 10px;
}

.teachersSwiper .teacher-card {
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
}

/* Swiper Navigation Buttons */
.teachersSwiper .swiper-button-next,
.teachersSwiper .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15) !important;
    color: var(--primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    cursor: pointer !important;
    margin-top: -25px !important;
    transition: all 0.3s ease !important;
}

.teachersSwiper .swiper-button-prev {
    left: 15px !important;
}

.teachersSwiper .swiper-button-next {
    right: 15px !important;
}

.teachersSwiper .swiper-button-next:hover,
.teachersSwiper .swiper-button-prev:hover {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4) !important;
    transform: scale(1.05) !important;
}

.teachersSwiper .swiper-button-next:after,
.teachersSwiper .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
}

.teachersSwiper .swiper-button-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

/* Swiper Pagination */
.teachersSwiper .swiper-pagination {
    bottom: 10px !important;
    left: 0 !important;
    right: 0 !important;
    position: absolute !important;
    text-align: center !important;
    z-index: 10 !important;
    display: block !important;
}

.teachersSwiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #ddd !important;
    opacity: 1 !important;
    display: inline-block !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
    cursor: pointer !important;
}

.teachersSwiper .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* Testimonials Swiper Styling */
.testimonialsSwiper {
    padding: 20px 15px 60px !important;
    overflow: visible !important;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.testimonialsSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.testimonialsSwiper .swiper-slide {
    height: auto;
    display: flex;
    flex-shrink: 0;
    width: 100%;
    position: relative;
}

/* Testimonials Swiper Navigation */
.testimonialsSwiper .swiper-button-next,
.testimonialsSwiper .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    color: var(--primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.testimonialsSwiper .swiper-button-next:hover,
.testimonialsSwiper .swiper-button-prev:hover {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3) !important;
    transform: scale(1.05) !important;
}

.testimonialsSwiper .swiper-button-next:after,
.testimonialsSwiper .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
}

/* Testimonials Swiper Pagination */
.testimonialsSwiper .swiper-pagination {
    bottom: 10px !important;
    left: 0 !important;
    right: 0 !important;
    position: absolute !important;
    text-align: center !important;
    z-index: 10 !important;
    display: block !important;
}

.testimonialsSwiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #ddd !important;
    opacity: 1 !important;
    display: inline-block !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
    cursor: pointer !important;
}

.testimonialsSwiper .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* ===================================
   Classes Swiper Styling
   =================================== */

.classesSwiper {
    padding: 30px 20px 70px;
    overflow: visible;
}

.classesSwiper .swiper-wrapper {
    padding-bottom: 15px;
}

.classesSwiper .swiper-slide {
    height: auto;
    padding: 15px;
}

/* Class Card Styling */
.class-card {
    background: white;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.class-card:hover::before {
    transform: scaleX(1);
}

.class-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Class Icon */
.class-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.class-card:hover .class-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.class-icon.bg-gradient-1 {
    background: var(--gradient-1);
}

.class-icon.bg-gradient-2 {
    background: var(--gradient-2);
}

.class-icon.bg-gradient-3 {
    background: var(--gradient-3);
}

.class-icon.bg-gradient-4 {
    background: var(--gradient-4);
}

.class-icon.bg-gradient-5 {
    background: var(--gradient-5);
}

.class-icon.bg-gradient-6 {
    background: var(--gradient-6);
}

/* Class Badge */
.class-badge {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.class-card:hover .class-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Class Features List */
.class-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
}

.class-features li {
    padding: 10px 0;
    font-size: 0.88rem;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.class-features li:hover {
    color: var(--dark);
    padding-left: 5px;
}

.class-features li i {
    margin-top: 3px;
    margin-right: 10px;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.class-card h4 {
    color: var(--dark);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.class-card .text-muted {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Classes Swiper Navigation */
.classesSwiper .swiper-button-next,
.classesSwiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary);
    transition: all 0.3s ease;
}

.classesSwiper .swiper-button-next:hover,
.classesSwiper .swiper-button-prev:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    transform: scale(1.1);
}

.classesSwiper .swiper-button-next:after,
.classesSwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Classes Swiper Pagination */
.classesSwiper .swiper-pagination {
    bottom: 15px !important;
    text-align: center;
    padding: 10px 0;
}

.classesSwiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
    background: #d1d5db !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.classesSwiper .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* Teachers Carousel Styling (OLD - Keep for compatibility) */
#teachersCarousel {
    position: relative;
    padding: 0 50px;
}

#teachersCarousel .carousel-inner {
    padding: 20px 0 60px;
}

#teachersCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-icon i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-icon i,
.carousel-control-next:hover .carousel-control-icon i {
    color: white;
}

/* Carousel Indicators */
#teachersCarousel .carousel-indicators {
    position: relative;
    bottom: -20px;
    margin: 0;
}

#teachersCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#teachersCarousel .carousel-indicators button.active {
    background-color: var(--primary);
    width: 30px;
    border-radius: 6px;
}

#teachersCarousel .carousel-indicators button:hover {
    background-color: var(--primary-light);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

/* Modern Testimonial Card */
.testimonial-card-modern {
    background: white;
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.testimonial-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card-modern:hover::before {
    transform: scaleX(1);
}

.testimonial-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.08) !important;
}

.quote-icon-large {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.08;
    z-index: 0;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    font-style: italic;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Testimonial Carousel Controls */
.testimonial-control-prev,
.testimonial-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 1;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-control-prev {
    left: 10px;
}

.testimonial-control-next {
    right: 10px;
}

.testimonial-control-prev:hover,
.testimonial-control-next:hover {
    background: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.testimonial-control-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.testimonial-control-prev:hover .testimonial-control-icon,
.testimonial-control-next:hover .testimonial-control-icon {
    color: white;
}

/* Testimonial Indicators */
.testimonial-indicators {
    bottom: -30px;
    margin-bottom: 0;
    position: relative;
}

.testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.testimonial-indicators button.active {
    /* width: 35px; */
    border-radius: 6px;
    background: var(--primary);
}

.testimonial-indicators button:hover {
    background: var(--primary-light);
}

#testimonialsCarousel .carousel-inner {
    padding-bottom: 3rem;
}

.stars i {
    font-size: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ===================================
   Success Stories / Alumni Section
   =================================== */
.success-image-wrapper {
    position: relative;
    height: 400px;
}

.success-main-image {
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.success-main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.success-stat-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite;
}

.stat-card-1 {
    top: 10%;
    left: 0;
}

.stat-card-2 {
    bottom: 0%;
    right: 0;
    animation-delay: 1s;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.alumni-feature {
    transition: all 0.3s ease;
}

.alumni-feature:hover {
    transform: translateX(10px);
}

.alumni-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-story-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.success-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

.success-story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact-item {
    display: flex;
    gap: 1rem;
}

.enrollment-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-control,
.form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.social-icon {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===================================
   Footer
   =================================== */
footer {
    position: relative;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.footer-brand-logo {
    height: 70px;
    width: 70px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-brand-text {
    font-family: 'Fredoka', sans-serif;
    max-width: 250px;
    white-space: normal;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: normal;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-icon-footer {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-icon-footer:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 0;
}

.newsletter-form .btn {
    border-radius: 0;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

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

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.6);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }

    /* Mobile Dropdown Styles */
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background: #f9fafb;
        border-radius: 8px;
        margin-top: 0.5rem;
        margin-left: 1rem;
        padding: 0.5rem 0;
    }

    .navbar-nav .dropdown-item {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .navbar-nav .dropdown-item:hover {
        padding-left: 1.25rem;
    }

    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .about-image-grid {
        min-height: 350px;
        gap: 1rem;
    }
    
    .image-card-2 {
        margin-top: 2rem !important;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 250px;
        height: 250px;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    /* Reduce section padding on mobile */
    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-image {
        padding: 1.5rem;
    }
    
    .hero-image i {
        font-size: 2.5rem;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1rem;
    }
    
    .image-card-1,
    .image-card-2,
    .image-card-3 {
        grid-column: 1;
        grid-row: auto;
        margin-top: 0 !important;
    }
    
    .experience-badge {
        position: relative;
        margin-top: 1rem;
    }
    
    .program-card-featured {
        transform: scale(1);
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Notice Section Mobile */
    .notices-ticker-wrapper-full {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }

    .ticker-fixed-title {
        padding: 15px 20px;
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
        min-width: auto;
    }

    .ticker-title-stack {
        gap: 6px;
    }

    .ticker-small-badge {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    .ticker-main-heading {
        font-size: 1.3rem;
    }

    .notices-ticker-track {
        min-height: 60px;
    }

    .ticker-item {
        padding: 20px 25px;
        min-height: 60px;
    }

    .ticker-content-stack {
        gap: 2px;
    }

    .ticker-date {
        font-size: 0.65rem;
    }

    .ticker-title {
        font-size: 0.95rem;
    }

    /* Notice Modal Mobile */
    .notice-modal .modal-header {
        padding: 35px 25px 25px;
    }

    .notice-modal-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .notice-modal-icon-wrapper {
        display: none;
    }

    .notice-modal-icon-bg,
    .notice-modal-icon {
        width: 75px;
        height: 75px;
    }

    .notice-modal-icon {
        font-size: 2rem;
    }

    .notice-modal-title {
        font-size: 1.4rem;
    }

    .notice-modal .modal-body {
        padding: 25px 25px;
    }

    .notice-modal-content {
        font-size: 0.95rem;
    }

    .notice-modal .modal-footer {
        padding: 15px 25px 25px;
    }

@media (max-width: 575px) {
    /* Further reduce section padding on small mobile */
    section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Notice Modal Small Mobile */
    .notice-modal .modal-header {
        padding: 30px 20px 20px;
    }

    .notice-modal-header-content {
        gap: 15px;
    }

    .notice-modal-icon-bg,
    .notice-modal-icon {
        width: 65px;
        height: 65px;
    }

    .notice-modal-icon {
        font-size: 1.75rem;
    }

    .notice-modal-badge {
        font-size: 0.65rem;
        padding: 5px 14px;
    }

    .notice-modal-title {
        font-size: 1.25rem;
    }

    .notice-modal-date {
        font-size: 0.85rem;
    }

    .notice-modal .modal-body {
        padding: 20px;
    }

    .notice-modal-content {
        font-size: 0.9rem;
    }

    .notice-modal .modal-footer {
        padding: 12px 20px 20px;
    }

    .btn-modal-close {
        padding: 10px 28px;
        font-size: 0.9rem;
    }

    .notice-modal-close {
        top: 20px;
        right: 20px;
        width: 34px;
        height: 34px;
    }

    .notice-modal-close::before,
    .notice-modal-close::after {
        width: 16px;
    }

    /* Notice Modal Small Mobile */
    .notice-modal .modal-header {
        padding: 30px 20px 20px;
    }

    .notice-modal-header-content {
        gap: 15px;
    }

    .notice-modal-icon-bg,
    .notice-modal-icon {
        width: 65px;
        height: 65px;
    }

    .notice-modal-icon {
        font-size: 1.75rem;
    }

    .notice-modal-badge {
        font-size: 0.65rem;
        padding: 5px 14px;
    }

    .notice-modal-title {
        font-size: 1.25rem;
    }

    .notice-modal-date {
        font-size: 0.85rem;
    }

    .notice-modal .modal-body {
        padding: 20px;
    }

    .notice-modal-content {
        font-size: 0.9rem;
    }

    .notice-modal .modal-footer {
        padding: 12px 20px 20px;
    }

    .btn-modal-close {
        padding: 10px 28px;
        font-size: 0.9rem;
    }

    .notice-modal-close {
        top: 20px;
        right: 20px;
        width: 32px;
        height: 32px;
    }
    }
    
    .container.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .enrollment-form {
        padding: 1.5rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .feature-card,
    .teacher-card,
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    .success-image-wrapper {
        height: 300px;
        margin-bottom: 2rem;
    }

    /* Teachers Carousel Mobile */
    #teachersCarousel {
        padding: 0 30px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-control-icon i {
        font-size: 0.9rem;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Utility Classes */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--danger) !important; }

/* ===================================
   RESULTS PAGE STYLES
   =================================== */

/* Results Section */
.results-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Results Icon */
.results-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
}

.results-icon i {
    font-size: 3rem;
    color: white;
}

/* Results Card */
.results-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.results-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.results-card .card-header {
    background: white;
    border-bottom: 2px solid #f3f4f6;
    padding: 1.5rem;
}

.results-card .card-body {
    padding: 2rem;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Info Item */
.info-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
}

/* Stat Card (Results) */
.stat-card {
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

/* Results Table */
.results-table {
    margin-bottom: 0;
}

.results-table thead {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%) !important;
}

.results-table thead th {
    font-weight: 600;
    color: #ffffff !important;
    padding: 1rem;
    border: none !important;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    background: transparent !important;
}

.results-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.results-table tbody tr:last-child td {
    border-bottom: none;
}

.results-table tbody tr:hover {
    background: #f9fafb;
}

/* Subject Name with Icon */
.subject-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subject-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

/* Grade Badge */
.grade-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.grade-a {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.grade-b {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.grade-c {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Skill Item */
.skill-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
}

.skill-item .progress {
    border-radius: 10px;
    background: #e5e7eb;
}

.skill-item .progress-bar {
    border-radius: 10px;
}

/* Remark Box */
.remark-box {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #6366f1;
}

/* No Results Icon */
.no-results-icon {
    width: 120px;
    height: 120px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.no-results-icon i {
    font-size: 3rem;
    color: #ef4444;
}

/* Coming Soon Icon */
.coming-soon-icon {
    width: 120px;
    height: 120px;
    background:  rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.coming-soon-icon i {
    font-size: 3rem;
    color: var(--warning);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Print Styles for Results */
@media print {
    nav, footer, button, .btn {
        display: none !important;
    }
    
    .results-section {
        background: white;
    }
    
    .results-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
        page-break-inside: avoid;
    }
}

/* Results Page Responsive */
@media (max-width: 767px) {
    .results-icon {
        width: 80px;
        height: 80px;
    }
    
    .results-icon i {
        font-size: 2rem;
    }
    
    .results-card .card-body {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .results-table {
        font-size: 0.875rem;
    }
    
    .results-table thead th,
    .results-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .subject-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .stat-card h3 {
        font-size: 1.5rem;
    }
}

/* ===================================
   Form Loader (Section-specific)
   =================================== */
.form-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    animation: fadeIn 0.3s ease-in;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-icon {
    font-size: 3rem;
    color: var(--primary);
    animation: searchPulse 1.5s ease-in-out infinite;
}

.loading-dots {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes searchPulse {
    0% {
        transform: translate(0, 0) scale(1) rotate(-15deg);
    }
    25% {
        transform: translate(10px, -10px) scale(1.1) rotate(-20deg);
    }
    50% {
        transform: translate(5px, 5px) scale(1) rotate(-10deg);
    }
    75% {
        transform: translate(-5px, 10px) scale(1.1) rotate(-25deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(-15deg);
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
