/* ============================================
   THE PROVIDENCE SCHOOL - PREMIUM STYLESHEET
   Blue, White & Yellow Theme
   ============================================ */

:root {
    --primary-blue: #0f3b7a;
    --primary-dark: #0a2c5a;
    --accent-yellow: #f5b042;
    --accent-orange: #e6a125;
    --light-blue: #eef2ff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    overflow-x: hidden;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

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

.section-header .subtitle {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

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

.btn-light:hover {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-blue);
    border-top: 4px solid var(--primary-blue);
    border-right: 4px solid var(--accent-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Topbar */
.topbar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.contact-info span {
    margin-right: 20px;
}

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

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    color: var(--white);
    transition: all 0.3s;
    font-size: 1rem;
}

.social-icons a:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

.admission-badge {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.logo span {
    font-size: 0.7rem;
    color: var(--gray-600);
}

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

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: var(--gray-800);
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s;
}

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

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

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1b4a8b 50%, #2a5a9a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://placehold.co/1920x1080') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(15,59,122,0.8), rgba(15,59,122,0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat span:first-child {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.stat span:last-child {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 25px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.mv-card {
    background: var(--light-blue);
    padding: 25px;
    border-radius: 20px;
    transition: all 0.3s;
}

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

.mv-card i {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.mv-card h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
}

.about-features i {
    color: var(--accent-yellow);
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Academics Section */
.academics {
    background: var(--light-blue);
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.academic-card {
    background: var(--white);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: var(--shadow-sm);
}

.academic-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.academic-card i {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.academic-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.academic-card p {
    color: var(--gray-600);
}

/* Campuses Section */
.campuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.campus-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
}

.campus-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.campus-img {
    overflow: hidden;
    height: 260px;
}

.campus-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.campus-info {
    padding: 25px;
}

.campus-info h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.campus-info h3 i {
    margin-right: 8px;
    color: var(--accent-yellow);
}

.campus-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.campus-features span {
    background: var(--light-blue);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-blue);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-caption {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--white);
}

/* Videos Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 30px;
}

/* Mobile ke liye */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.video-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: var(--shadow-sm);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-preview {
    position: relative;
    height: 220px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-preview video {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-card:hover .play-overlay {
    background: rgba(0,0,0,0.2);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: all 0.3s;
}

.video-card:hover .play-btn {
    transform: scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Staff Section */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

.staff-card {
    background: var(--white);
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: var(--shadow-md);
    width: 100%;
}

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

.staff-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-yellow);
}

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

.staff-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.staff-card p {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Admission Banner */
.admission-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.admission-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.admission-banner p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Admission Form */
.admission-form-section {
    background: var(--gray-50);
}

.admission-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    z-index: 1;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 14px 18px 14px 45px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white);
}

.input-group textarea {
    border-radius: 25px;
    padding-top: 14px;
    resize: vertical;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--accent-yellow);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245,176,66,0.1);
}

.full-width {
    grid-column: span 2;
}

.full-width i {
    top: 23px;
    transform: none;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.activity-card {
    background: var(--white);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s;
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
}

.activity-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.activity-icon i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
}

.activity-card h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.activity-card p {
    color: var(--gray-600);
}

/* Testimonials Section */
.testimonials {
    background: var(--light-blue);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background: var(--accent-yellow);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--accent-yellow);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-card {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
}

.info-card h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-600);
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.contact-map iframe {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
}

.contact-form {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    transition: all 0.3s;
}

.contact-form textarea {
    border-radius: 20px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-yellow);
    outline: none;
}

/* Footer */
footer {
    background: #0a2540;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 70px;
    margin-bottom: 15px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-col h4 {
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-yellow);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

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

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

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

.footer-social a:hover {
    background: var(--accent-yellow);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright i {
    color: #ff4444;
}

/* Floating Social Buttons */
.floating-social {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.floating-social a:hover {
    transform: scale(1.1);
}

.whatsapp-btn { background: #25D366; }
.facebook-btn { background: #1877f2; }
.instagram-btn { background: linear-gradient(45deg, #f09433, #d62976); }
.tiktok-btn { background: #000000; }
.email-btn { background: #ea4335; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .campuses-grid {
        grid-template-columns: 1fr;
    }
    .topbar .container {
        flex-direction: column;
        text-align: center;
    }
    .contact-info span {
        display: inline-block;
        margin: 5px;
    }
    .mission-vision {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .floating-social {
        left: 10px;
        bottom: 10px;
    }
    .floating-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
}
