/* ============================================
   MERAKI THE SCHOOL - PREMIUM CSS
   ============================================ */

:root {
    --primary-color: #0F4C81;
    --secondary-color: #F59E0B;
    --accent-color: #22C55E;
    --bg-color: #F8FAFC;
    --dark-text: #1F2937;
    --card-white: #FFFFFF;
    --light-gray: #E5E7EB;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-text);
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease-in-out 2s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner div {
    position: absolute;
    border: 4px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.spinner div:nth-child(2) {
    animation-delay: -0.3s;
}

.spinner div:nth-child(3) {
    animation-delay: -0.6s;
}

.spinner div:nth-child(4) {
    animation-delay: -0.9s;
}

@keyframes spin {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */

.announcement-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, #1366A0 100%);
    color: white;
    padding: 12px 0;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.badge-animation {
    display: inline-block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.announcement-bar .badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* ============================================
   NAVBAR
   ============================================ */

.sticky-navbar {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.sticky-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-text) !important;
    margin: 0 8px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar .btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0F4C81 0%, #1366A0 100%);
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1427504494785-cdfa8b3a3d7f?w=1200&fit=crop') center/cover;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 76, 129, 0.7);
    animation: fadeInOverlay 1s ease-out;
}

@keyframes fadeInOverlay {
    from { opacity: 0.3; }
    to { opacity: 0.7; }
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    fill: white;
    animation: waveMove 15s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(1200px); }
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: white;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, white 0%, rgba(245, 158, 11, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #F8A621);
    border: none;
    color: white;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
}

.hero-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-4px);
}

/* Hero Illustration */
.hero-illustration {
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.illustration-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.illustration-card {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.6s ease-out forwards;
}

.illustration-card:nth-child(2) {
    animation-delay: 0.2s;
}

.illustration-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.illustration-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.illustration-card p {
    color: white;
    margin: 0;
    font-weight: 600;
}

/* ============================================
   GLASSMORPHISM EFFECT
   ============================================ */

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background: white;
    position: relative;
}

.about-image-container {
    position: relative;
    display: inline-block;
}

.about-image-container img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.badge-content {
    text-align: center;
    color: white;
}

.badge-content h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.badge-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Info Cards */
.info-card {
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-title {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.card-text {
    color: #6B7280;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 0;
}

.light-bg {
    background-color: rgba(248, 250, 252, 0.8);
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */

.highlights-section {
    background: white;
    position: relative;
}

.highlight-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #1366A0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.highlight-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

.highlight-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.highlight-card .card-text {
    font-size: 0.95rem;
    color: #6B7280;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */

.why-choose-section {
    background: white;
}

.why-choose-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    transition: var(--transition);
}

.why-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #F8A621);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.why-text h6 {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.why-text p {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 0;
}

/* ============================================
   ACADEMIC PROGRAMS SECTION
   ============================================ */

.academics-section {
    background: var(--bg-color);
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.05), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.program-card:hover::after {
    opacity: 1;
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.program-title {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-list li {
    padding: 0.5rem 0;
    color: #6B7280;
    font-size: 0.95rem;
}

.program-list i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.statistics-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1366A0 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.statistics-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite 2s;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* ============================================
   FACILITIES SECTION
   ============================================ */

.facilities-section {
    background: white;
}

.facility-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
}

.facility-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    z-index: -1;
}

.facility-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.facility-card:hover::before {
    opacity: 0.1;
}

.facility-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #1366A0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.75rem;
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    transform: scale(1.1) rotate(-10deg);
    background: linear-gradient(135deg, var(--secondary-color), #F8A621);
}

.facility-card h5 {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.facility-card p {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0;
}

.facility-card:hover p {
    color: var(--dark-text);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
    background: var(--bg-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.8), rgba(245, 158, 11, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
    color: white;
    animation: slideIn 0.3s ease-out;
}

.overlay-content h6 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.overlay-content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: white;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-md);
    height: 100%;
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0;
}

.rating {
    margin-bottom: 1rem;
}

.rating i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

.testimonial-text {
    color: #6B7280;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.7;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev i,
.carousel-control-next i {
    color: white;
}

/* ============================================
   ADMISSION BANNER SECTION
   ============================================ */

.admission-banner-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #F8A621 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.admission-banner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.admission-banner-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.admission-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
    color: white;
}

.banner-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.banner-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
    opacity: 0.95;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-buttons .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.banner-buttons .btn-light {
    background: white;
    color: var(--secondary-color);
}

.banner-buttons .btn-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.banner-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
}

.banner-buttons .btn-outline-light:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-4px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: white;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1366A0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h6 {
    color: var(--dark-text);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-details p {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form {
    position: relative;
}

.form-control,
.form-select {
    background: var(--bg-color);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--dark-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
    background: white;
}

.form-control::placeholder {
    color: #9CA3AF;
}

.form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
    width: 100%;
    background: var(--bg-color);
    padding: 2rem 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
    background: linear-gradient(135deg, var(--dark-text) 0%, #111827 100%);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    color: inherit;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-4px);
}

.footer-newsletter {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 10px 12px;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .form-control:focus {
    border: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.15);
}

.footer-newsletter .btn {
    background: linear-gradient(135deg, var(--secondary-color), #F8A621);
    border: none;
    color: white;
    padding: 0 1.5rem;
    font-weight: 600;
}

.footer-newsletter .btn:hover {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 998;
}

#backToTop:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 76, 129, 0.4);
}

#backToTop.show {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 997;
    text-decoration: none;
    animation: slideUp 0.5s ease-out 2.5s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

/* ============================================
   MODAL STYLING
   ============================================ */

.modal-content {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
}

.modal-header {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.05), rgba(245, 158, 11, 0.05));
}

.modal-title {
    font-weight: 700;
    color: var(--dark-text);
}

.btn-close {
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

/* ============================================
   BUTTONS GLOBAL
   ============================================ */

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1366A0);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1366A0, #0F4C81);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #F8A621);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #F8A621, #F59E0B);
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-illustration {
        margin-top: 2rem;
    }

    .about-section .row {
        gap: 2rem;
    }

    .image-badge {
        bottom: -20px;
        right: -20px;
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
    }

    .why-choose-grid {
        gap: 1rem;
    }

    .contact-section .row {
        gap: 2rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .col-md-6:last-child {
        margin-top: 1rem;
    }

    #backToTop {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 90px;
        right: 20px;
    }

    .sticky-navbar .btn {
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .announcement-bar {
        font-size: 0.85rem;
        padding: 10px 0;
    }

    .announcement-bar .row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .announcement-bar .col-md-4 {
        text-align: center !important;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .facility-card {
        padding: 1.5rem 1rem;
    }

    .admission-banner {
        padding: 2rem 1.5rem;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .highlight-card {
        padding: 1.5rem 1rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .contact-info-item {
        gap: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .contact-section .row {
        gap: 1.5rem;
    }

    .why-item {
        padding: 1rem;
        gap: 1rem;
    }

    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .program-card {
        padding: 1.5rem 1rem;
    }
}

/* ============================================
   AOS ANIMATIONS
   ============================================ */

[data-aos] {
    opacity: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container-xl {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gap-5 {
    gap: 3rem !important;
}

.text-center {
    text-align: center;
}

.text-md-start {
    text-align: start;
}

.text-md-end {
    text-align: end;
}

@media (max-width: 768px) {
    .text-md-start,
    .text-md-end {
        text-align: center;
    }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}
