/* General Styles */
:root {
    --primary-color: #0d2c54; /* Deep Indigo */
    --secondary-color: #26a69a; /* Teal */
    --accent-color: #f9a825; /* Amber/Gold */
    --light-color: #FFFFFF;
    --dark-color: #1a1a1a; /* Darker than original for more contrast */
    --gray-color: #f8f9fa; /* Bootstrap light gray */
    --text-color: #495057; /* Bootstrap default body text */
    --heading-color: #ffffff; /* Bootstrap default heading color */
    --border-color: #dee2e6; /* Bootstrap border color */

    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    --rgb-primary-color: 13, 44, 84;
    --rgb-secondary-color: 38, 166, 154;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 0;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}
.section-header.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d; /* Bootstrap muted */
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #0a2540; /* Darker primary */
    border-color: #0a2540;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--rgb-primary-color),0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}
.btn-secondary:hover {
    background-color: #1e8a7d; /* Darker secondary */
    border-color: #1e8a7d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--rgb-secondary-color),0.3);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: var(--light-color);
}
.btn-outline-light:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}


/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e9ecef; /* Light gray */
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
header.shrink {
    padding: 8px 0;
    background-color: #0a2540; /* Slightly darker on shrink */
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 10px 18px !important;
    margin: 0 2px;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    visibility: visible;
    width: 70%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--light-color);
}

.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler i {
    font-size: 1.5rem;
}


.site-time { /* Class for current time */
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* Hero Slider */
.hero-slider .carousel-item {
    height: 90vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    bottom: 20%;
    left: 10%;
    right: 10%;
    text-align: left;
    color: var(--light-color);
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    color: var(--light-color);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    border: 1px solid var(--light-color);
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--light-color);
}

/* Quick Info */
.quick-info {
    background-color: var(--gray-color);
    position: relative;
    z-index: 2;
    /* margin-top: -60px; */ /* Removed to avoid overlap issues, rely on py-5 */
    border-bottom: 1px solid var(--border-color);
}

.info-box {
    padding: 30px 20px;
    background: var(--light-color);
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--border-color);
    height: 100%;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.info-box i {
    color: var(--secondary-color);
}

.info-box h3.counter {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--primary-color);
}

.info-box p {
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-img {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.about-img img {
    transition: transform 0.5s ease;
}
.about-img:hover img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 0 10px rgba(var(--rgb-secondary-color), 0.3);
}

.play-btn:hover {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 15px rgba(var(--rgb-primary-color), 0.3);
}

.achievements {
    margin-top: 30px;
}

.achievement-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.achievement-item i {
    width: 45px;
    height: 45px;
    background: rgba(var(--rgb-secondary-color), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Programs Section */
.programs-section {
    padding: 80px 0;
}

.program-card {
    background: var(--light-color);
    border-radius: 0.5rem;
    padding: 35px 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--rgb-primary-color), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background: var(--primary-color);
    color: var(--light-color);
    transform: rotateY(360deg);
}

.program-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.program-card p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}
.read-more:hover i {
    transform: translateX(5px);
}

/* Admission Section */
.admission-section {
    padding: 80px 0;
}

.admission-img img {
    transition: transform 0.5s ease;
}
.admission-img:hover img {
    transform: scale(1.03);
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.process-step .step-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.process-step:hover .step-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}


.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.step-content p {
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.admission-notice.alert-info {
    background-color: rgba(var(--rgb-secondary-color), 0.1);
    border-left: 5px solid var(--secondary-color);
    color: var(--primary-color); /* Darker text for better readability */
}
.admission-notice h5 {
    color: var(--primary-color);
    font-weight: 700;
}
.admission-notice p {
    color: var(--text-color);
}

/* News Section */
.news-section {
    padding: 80px 0;
}

.news-card {
    background: var(--light-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: all 0.3s ease-in-out;
    height: 100%;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}

.news-img {
    position: relative;
    overflow: hidden;
    height: 250px; /* Fixed height for consistency */
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px; /* Changed position */
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 8px 12px;
    border-radius: 0.25rem;
    text-align: center;
    font-weight: 700;
    z-index: 1;
    line-height: 1;
}

.news-date span { font-size: 1.3rem; display: block; }
.news-date small { font-size: 0.75rem; text-transform: uppercase; }

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #6c757d;
}

.news-meta span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.news-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-content h3 a {
    color: var(--primary-color);
}
.news-content h3 a:hover {
    color: var(--secondary-color);
}

.news-content p {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(rgba(var(--rgb-primary-color), 0.85), rgba(var(--rgb-primary-color), 0.9)), url('https://via.placeholder.com/1920x800/e0e0e0/333333?text=Abstract+Background') no-repeat center center;
    background-size: cover;
    position: relative;
    color: var(--light-color);
}

.testimonial-section .section-title,
.testimonial-section .section-subtitle {
    color: var(--light-color);
}
.testimonial-section .section-title::after {
    background: var(--light-color);
}
.testimonial-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.testimonial-item {
    padding: 0 10%;
}

.testimonial-img {
    margin-bottom: 20px;
}

.testimonial-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    color: rgba(255,255,255,0.9);
}

.testimonial-content p::before {
    content: "\f10d"; /* FontAwesome quote left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 10px;
    vertical-align: middle;
}
.testimonial-content p::after {
    content: "\f10e"; /* FontAwesome quote right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-left: 10px;
    vertical-align: middle;
}


.testimonial-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--light-color);
}

.testimonial-content span {
    font-size: 0.9rem;
    opacity: 0.8;
    color: rgba(255,255,255,0.8);
}

.testimonial-section .carousel-control-prev,
.testimonial-section .carousel-control-next {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-section .carousel-control-prev:hover,
.testimonial-section .carousel-control-next:hover {
    background: var(--secondary-color);
    opacity: 1;
}

.testimonial-section .carousel-control-prev { left: 2%; }
.testimonial-section .carousel-control-next { right: 2%; }

.testimonial-section .carousel-control-prev-icon,
.testimonial-section .carousel-control-next-icon {
    background-size: 50%;
}


/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.contact-info-wrapper {
    background: var(--light-color);
    padding: 30px;
    border-radius: 0.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--rgb-secondary-color), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}
.contact-info-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--light-color);
    padding: 30px;
    border-radius: 0.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem !important; /* Override Bootstrap default for h3 if any */
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px); /* Bootstrap's default */
    line-height: 1.25;
}
.form-floating > label {
    padding: 1rem 0.75rem; /* Bootstrap's default */
}

.form-control {
    border-radius: 0.375rem; /* Bootstrap default */
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--rgb-secondary-color), 0.25);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Map Section */
.map-section {
    position: relative;
    line-height: 0; /* Remove any extra space below iframe */
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(30%); /* Subtle desaturation */
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: rgba(255,255,255,0.7);
}

.footer-logo img {
    margin-bottom: 15px; /* Reduced margin */
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    color: var(--light-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    margin-right: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.footer-social a:last-child {
    margin-right: 0;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--light-color);
}

.subscribe-form .form-control {
    height: 48px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--light-color);
    font-size: 0.9rem;
}
.subscribe-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}
.subscribe-form .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary-color);
    box-shadow: none;
}

.subscribe-form .btn {
    background: var(--secondary-color);
    color: var(--light-color);
    border: none;
    height: 48px;
    padding: 0 20px;
}
.subscribe-form .btn:hover {
    background: var(--primary-color);
}

.footer hr {
    border-color: rgba(255,255,255,0.15);
}

.footer-bottom-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-bottom-links li {
    display: inline-block;
    margin-left: 15px;
}
.footer-bottom-links li:first-child {
    margin-left: 0;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}
.footer-bottom-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--secondary-color);
    color: var(--light-color);
    border-radius: 50%; /* Circle */
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(var(--rgb-secondary-color), 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(var(--rgb-primary-color), 0.4);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    
    .carousel-caption {
        bottom: 15%;
        text-align: center; /* Center on smaller screens */
    }
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important; /* Full width clickable area */
        text-align: center;
    }
    .navbar-nav .nav-link:before {
        width: 30%; /* Smaller underline for mobile centered nav */
    }
    
    .info-box h3.counter {
        font-size: 2rem;
    }
    .contact-info-wrapper, .contact-form {
        margin-bottom: 30px;
    }
    .footer-title {
        margin-top: 20px; /* Space between columns on mobile */
    }
    .footer-title:first-of-type {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    
    .hero-slider .carousel-item {
        height: 75vh;
        min-height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .about-section, .programs-section, .admission-section, .news-section, .testimonial-section, .contact-section, .quick-info {
        padding: 60px 0;
    }
    .quick-info {
        margin-top: 0;
    }
    
    .testimonial-item {
        padding: 0 5%;
    }
    .testimonial-content p {
        font-size: 1rem;
    }
    .testimonial-section .carousel-control-prev { left: 0; }
    .testimonial-section .carousel-control-next { right: 0; }

    .footer .text-md-end {
        text-align: center !important;
    }
    .footer .text-md-start {
        text-align: center !important;
    }
    .footer-bottom-links li { margin: 0 8px; }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.6rem;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-slider .carousel-item {
        height: 65vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    .carousel-caption .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .contact-form { padding: 20px; }
    .contact-info-wrapper { padding: 20px; }

    .footer { padding-top: 40px; padding-bottom: 20px;}
    .footer-social a { margin-right: 5px; width: 36px; height: 36px; font-size: 0.9rem;}

}