/* Apply Roboto font globally */
body, p, h1, h2, h3, h4, h5, h6, a, li {
    font-family: 'Roboto', sans-serif;
}

/* --- General Styles --- */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal overflow on smaller screens */
    max-width: 100%; /* Ensure body doesn't exceed screen width */
}

h1, h2, h3 {
    margin-bottom: 15px;
}

h2 {
    margin: 10px 0 10px 0; /* Top and bottom margin for h2 */
    padding: 5px 0; /* Vertical padding for better spacing */
}

p {
    margin: 0 0 15px 0; /* Global paragraph margin for consistency */
    padding: 0; /* Ensure no padding unless specified */
    font-size: 16px; /* Default font size for paragraphs */
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Header --- */
header {
    background: #00529B;
    color: white;
    padding: 15px 30px;
    width: 100%;
    box-sizing: border-box; /* Include padding in width calculation */
}

header .banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

header .banner .logo {
    width: 11%;
    margin-right: 20px;
    border-radius: 6em;
    box-shadow: 0px 0px 0px 3px orangered;
    max-width: 100px; /* Cap logo size on smaller screens */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px; /* Reduced gap for smaller screens */
    margin: 0;
    padding: 0;
    flex-wrap: wrap; /* Wrap navigation items on small screens */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 14px; /* Smaller font for navigation on mobile */
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* --- Popup --- */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.popup-content {
    background: white;
    max-width: 90%; /* Reduced to fit smaller screens */
    margin: 10% auto;
    padding: 15px; /* Reduced padding */
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.popup-content img {
    width: 80px; /* Reduced image size */
    margin-bottom: 10px;
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px; /* Reduced font size */
    cursor: pointer;
    color: #333;
}

.popup-content .close:hover {
    color: #00529B;
}

.popup-content h2 {
    margin: 10px 0; /* Adjusted for popup h2 */
    padding: 5px 0;
    font-size: 1.2em; /* Reduced font size */
}

.popup-content p {
    margin: 0 0 10px 0; /* Reduced margin */
    font-size: 14px; /* Smaller font for readability */
}

/* --- Hero Section --- */
.hero {
    display: grid;
    align-items: flex-start;
    background: #f0f8ff;
    margin: 0 !important;
    padding: 15px !important; /* Reduced padding */
    font-size: 0;
    line-height: 0;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.hero-text {
    flex: 1;
    margin: 0 !important;
    padding: 0 15px 0 0 !important; /* Reduced padding */
    font-size: 14px; /* Reduced font size */
    line-height: 1.5; /* Slightly reduced line height */
}

.hero-text h1.school-name {
    font-size: 2em; /* Reduced from 2.5em */
    color: #1e90ff;
    margin: 0 0 10px 0;
}

.hero-text h2 {
    color: #ffb703;
    font-size: 1.5em; /* Reduced from 1.8em */
    margin: 0 0 10px 0;
}

.hero-text p {
    font-size: 0.9em; /* Reduced from 1em */
}

/* --- Fee Payment Section --- */
.fee-payment-glitter {
    padding: 15px; /* Reduced padding */
    background: linear-gradient(45deg, #ffeb3b, #ff9800, #ffeb3b);
    text-align: center;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 8px rgba(255, 152, 0, 0.3); /* Reduced shadow intensity */
    animation: glitterGlow 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.fee-payment-glitter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%); /* Reduced opacity */
    animation: shimmer 3s linear infinite;
    z-index: 0;
}

.fee-payment-content {
    max-width: 100%; /* Ensure it fits screen */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fee-payment-glitter h2 {
    color: #fff;
    margin: 0px 0 5px 0; /* Reduced margin */
    padding: 8px 0; /* Reduced padding */
    font-size: 1.3em; /* Reduced from 1.5em */
    text-shadow: 0 0 3px #fff, 0 0 5px #ffd700; /* Reduced shadow */
}

@keyframes glitterGlow {
    0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 5px rgba(255, 152, 0, 0.3); }
    50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.7), 0 0 10px rgba(255, 152, 0, 0.5); }
    100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 5px rgba(255, 152, 0, 0.3); }
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Highlights Section --- */
.highlights {
    padding: 20px; /* Reduced padding */
    background: #f0f8ff;
}

.highlights h2 {
    text-align: center;
    color: #00529B;
    margin: 15px 0 10px 0; /* Reduced margin */
    padding: 8px 0; /* Reduced padding */
    font-size: 1.3em; /* Reduced from default */
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduced min width */
    gap: 15px; /* Reduced gap */
    max-width: 100%; /* Ensure it fits */
    margin: 0 auto;
}

.highlight-card {
    background: white;
    padding: 15px; /* Reduced padding */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    text-align: center;
}

.highlight-card h3 {
    color: #00529B;
    margin-bottom: 8px; /* Reduced margin */
    font-size: 1.1em; /* Reduced font size */
}

.highlight-card p {
    margin: 0 0 8px 0; /* Reduced margin */
    font-size: 0.9em; /* Reduced font size */
}

/* --- About Section --- */
.about {
    padding: 20px; /* Reduced padding */
    max-width: 90%; /* Reduced max width */
    margin: auto;
}

.about h2 {
    color: #00529B;
    margin: 15px 0 10px 0; /* Reduced margin */
    padding: 8px 0; /* Reduced padding */
    font-size: 1.3em; /* Reduced from default */
}

.about p {
    line-height: 1.6; /* Reduced from 1.8 */
    font-size: 0.9em; /* Reduced font size */
}

/* School Info Section */
.school-info {
    background: #f9f9f9;
    padding: 40px 20px;
    margin: 40px auto;
    border-radius: 12px;
    max-width: 1000px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.school-info h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #222;
}

.school-info .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: left;
}

.school-info .info-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.school-info .info-item h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #0073e6;
}

.school-info .info-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
}

.school-info .info-item.full-width {
    grid-column: 1 / -1; /* spans full width */
}






/* --- Gallery Section --- */
.images {
    padding: 20px; /* Reduced padding */
}

.images h2 {
    color: #00529B;
    margin: 15px 0 10px 0; /* Reduced margin */
    padding: 8px 0; /* Reduced padding */
    text-align: center;
    font-size: 1.3em; /* Reduced from default */
}

.gallery {
    display: flex;
    flex-direction: row;
    gap: 10px; /* Reduced gap */
    max-width: 100%; /* Ensure it fits */
    margin: 0 auto;
    overflow: hidden;
    flex-wrap: wrap; /* Wrap images on small screens */
}

.gallery img {
    width: 100%; /* Full width on small screens */
    height: auto;
    border-radius: 6px; /* Reduced radius */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .gallery img {
        width: 30% !important; /* Revert to 3-column layout on larger screens */
		height: 300px !important;
		
    }
	
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0; /* Reduced padding */
    margin-top: 20px; /* Reduced margin */
    width: 100%;
    box-sizing: border-box;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9em; /* Reduced font size */
}

.footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* --- Contact Section --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced gap */
    max-width: 90%; /* Reduced max width */
    margin: 15px auto; /* Reduced margin */
    padding: 15px; /* Reduced padding */
    box-sizing: border-box;
}

.contact-form h2 {
    color: #00529B;
    margin: 15px 0 10px 0; /* Reduced margin */
    padding: 8px 0; /* Reduced padding */
    font-size: 1.3em; /* Reduced from default */
}

.contact-form label {
    font-weight: bold;
    color: #00529B;
    font-size: 0.9em; /* Reduced font size */
}

.contact-form input,
.contact-form textarea {
    padding: 8px; /* Reduced padding */
    border: 1px solid #ccc;
    border-radius: 4px; /* Reduced radius */
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em; /* Reduced font size */
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form p {
    margin: 0 0 8px 0; /* Reduced margin */
    font-size: 0.9em; /* Reduced font size */
}

.submit-button {
    background: #FF6F00;
    color: white;
    font-size: 0.9em; /* Reduced font size */
    padding: 10px 20px; /* Reduced padding */
    border: none;
    border-radius: 6px; /* Reduced radius */
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 111, 0, 0.6); /* Reduced shadow */
}

/* --- Notices Section --- */
.notice {
    background: #f9f9f9;
    padding: 10px; /* Reduced padding */
    margin-bottom: 10px; /* Reduced margin */
    border-left: 4px solid #FF6F00; /* Reduced border width */
    border-radius: 4px; /* Reduced radius */
}

.notice h2 {
    color: #00529B;
    margin: 8px 0; /* Reduced margin */
    padding: 4px 0; /* Reduced padding */
    font-size: 1.1em; /* Reduced font size */
}

.notice p {
    margin: 0 0 8px 0; /* Reduced margin */
    font-size: 0.9em; /* Reduced font size */
}

/* --- Fees & Policies Section --- */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px; /* Reduced margin */
    background: white;
}

.fee-table th,
.fee-table td {
    border: 1px solid #ddd;
    padding: 8px; /* Reduced padding */
    text-align: center;
    font-size: 0.9em; /* Reduced font size */
}

.fee-table th {
    background-color: #00529B;
    color: white;
}

.fee-table td {
    color: #333;
}

.fee-table h2 {
    color: #00529B;
    margin: 15px 0 10px 0; /* Reduced margin */
    padding: 8px 0; /* Reduced padding */
    font-size: 1.3em; /* Reduced from default */
}

/* --- Flashy Button (Redesigned for Distinction) --- */
.flashy-button {
    display: inline-block;
    font-size: 1.1em; /* Reduced from 1.3em */
    font-weight: 700;
    padding: 12px 25px; /* Reduced padding */
    border-radius: 10px; /* Reduced radius */
    text-decoration: none;
    color: #fff;
    background: linear-gradient(45deg, #8a2be2, #00b7eb, #8a2be2);
    background-size: 200% 200%;
    box-shadow: 0 2px 10px rgba(138, 43, 226, 0.4), 0 0 8px rgba(0, 183, 235, 0.3); /* Reduced shadow */
    animation: neonPulse 2.5s ease-in-out infinite;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 2;
    width: auto; /* Ensure it fits content */
    box-sizing: border-box;
}

.flashy-button:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.6), 0 0 10px rgba(0, 183, 235, 0.4);
}

.flashy-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0% { box-shadow: 0 2px 10px rgba(138, 43, 226, 0.4), 0 0 8px rgba(0, 183, 235, 0.3); }
    50% { box-shadow: 0 4px 15px rgba(138, 43, 226, 0.6), 0 0 10px rgba(0, 183, 235, 0.4); }
    100% { box-shadow: 0 2px 10px rgba(138, 43, 226, 0.4), 0 0 8px rgba(0, 183, 235, 0.3); }
}

@keyframes borderGlow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* --- Gallery Section (Swiper Compatible for gallery.php) --- */
.swiper {
    width: 100%;
    height: 300px; /* Reduced height */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px; /* Reduced radius */
}

.swiper-button-next,
.swiper-button-prev {
    color: #00529B;
}

.swiper-pagination-bullet {
    background: #00529B;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .fee-payment-glitter {
        padding: 12px;
    }
    .fee-payment-glitter h2 {
        font-size: 1.2em;
    }
    .gallery {
        max-width: 90%;
    }
    .gallery img {
        width: 100%;
    }
    .highlight-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-text {
        padding: 0 10px 0 0;
    }
    .hero-text h1.school-name {
        font-size: 1.8em;
    }
    .hero-text h2 {
        font-size: 1.3em;
    }
    .hero-text p {
        font-size: 0.8em;
    }
    .fee-payment-glitter {
        padding: 10px;
    }
    .fee-payment-glitter h2 {
        font-size: 1.1em;
    }
/*    .gallery {
        max-width: 100%;
    }
    .gallery img {
        width: 100%;
    }*/
}

@media (max-width: 480px) {
    .hero-text h1.school-name {
        font-size: 1.5em;
    }
    .hero-text h2 {
        font-size: 1.1em;
    }
    .hero-text p {
        font-size: 0.7em;
    }
    .fee-payment-glitter h2 {
        font-size: 1em;
    }
    .gallery {
        max-width: 100%;
    }
    .gallery img {
        width: 100%;
    }
}







/* School People Section */
.school-people {
    background: #f9f9f9;       /* light background */
    padding: 10px 5px;        /* space from all sides */
    text-align: center;
    margin-top: 10px;
}

.school-people h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #00529B;
}

.school-people .people {
    display: flex;
    flex-wrap: wrap;           /* wrap on smaller screens */
    justify-content: center;   /* center horizontally */
    gap: 30px;                 /* space between profiles */
}

.school-people figure {
    flex: 0 0 20%;             /* each takes ~30% width */
    max-width: 30%;            /* cap size */
    min-width: 220px;          /* don’t get too small */
    text-align: center;
    box-sizing: border-box;
}

.school-people img {
    width: 100%;               /* scale image inside figure */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.school-people img:hover {
    transform: scale(1.03);
}

.school-people figcaption {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #00529B;
	line-height: 12px;
	
}

/* Responsive - phones */
@media (max-width: 600px) {
    .school-people figure {
        flex: 0 0 90%;         /* almost full width */
        max-width: 90%;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
    .school-people figure {
        flex: 0 0 45%;         /* 2 per row */
        max-width: 45%;
    }
}

figure {
    margin: 0px 0px 0px 0px;
    height: 200px;
}
figure img {
    height: 100% !important;
}


section.page-section h2 {
    text-align: center;
    color: #00529b;
}


/* ---------------- About Page ---------------- */
.about-page-hero {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-heading {
    font-size: 2.2rem;
    color: #00529B;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
}

/* School Information Section */
.about-school-info {
    padding: 60px 20px;
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.about-subheading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #00529B;
}

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.about-info-card {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-info-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #00529B;
}

.about-info-text {
    font-size: 1rem;
    color: #333;
}

.about-faculty-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-faculty-list li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .about-heading {
        font-size: 1.8rem;
    }
    .about-subheading {
        font-size: 1.6rem;
    }
    .about-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-heading {
        font-size: 1.6rem;
    }
    .about-subheading {
        font-size: 1.4rem;
    }
    .about-info-card {
        padding: 15px;
    }
}


/* ---------------- Admissions Page ---------------- */
.admissions-page {
    background: #f9f9f9;
    padding: 60px 20px;
}

.admissions-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.admissions-heading {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #00529B;
}

.admissions-intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    color: #444;
}

.admissions-subheading {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.admissions-steps,
.admissions-dates {
    margin-left: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.admissions-steps li,
.admissions-dates li {
    margin-bottom: 10px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .admissions-container {
        padding: 25px 20px;
    }
    .admissions-heading {
        font-size: 1.8rem;
    }
    .admissions-subheading {
        font-size: 1.2rem;
    }
    .admissions-intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .admissions-container {
        padding: 20px 15px;
    }
    .admissions-heading {
        font-size: 1.6rem;
    }
    .admissions-subheading {
        font-size: 1.1rem;
    }
}


.contact-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info, .contact-form-wrapper {
    flex: 1 1 400px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info h3, .contact-form-wrapper h3 {
    margin-bottom: 15px;
    color: #333;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.submit-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background-color: #005bb5;
}


.fees-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.fee-table th, .fee-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: center;
}

.fee-table th {
    background-color: #0073e6;
    color: #fff;
    font-weight: 600;
}

.fee-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.payment-policies ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 16px;
    color: #333;
}

.pay-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b00;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.pay-button:hover {
    background-color: #e65c00;
}

.flashy-button {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


/* Existing terms-section CSS remains unchanged */

.payment-policies {
    background-color: #fff8e1;
    padding: 25px 30px;
    margin: 20px 0;
    border-left: 5px solid #ff6b00;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.payment-policies h3 {
    color: #ff6b00;
    margin-bottom: 15px;
}

.payment-policies ul {
    list-style: disc;
    padding-left: 20px;
    color: #555;
    line-height: 1.6;
}

.payment-policies ul li {
    margin-bottom: 10px;
}

.pay-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b00;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.pay-button:hover {
    background-color: #e65c00;
}

.flashy-button {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}







.banner .scname {
    float: left !important;
    width: 88% !important;
}


.mission-values {
    padding: 60px 20px;
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
    text-align: center;
}
.mission-values h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 700;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.mv-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0d47a1;
}

.mission-box {
    border-left: 6px solid #1976d2;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

.values-box {
    border-left: 6px solid #f57c00;
    background: linear-gradient(135deg, #fff3e0, #ffffff);
}

.values-list {
    padding: 0;
    list-style: none;
    margin: 0;
}
.values-list li {
    margin: 10px 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(245, 124, 0, 0.08);
    transition: background 0.3s ease;
}
.values-list li:hover {
    background: rgba(245, 124, 0, 0.2);
}



.highlights {
    padding: 10px 2px;
    background: linear-gradient(135deg, #f5f7fa, #e4ebf0);
    text-align: center;
}
.highlights h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 700;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.highlight-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0d47a1;
}

.highlight-card p {
    color: #555;
    line-height: 1.6;
}

/* Different accent colors for variety */
.highlight-card.faculty {
    border-top: 6px solid #1976d2;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}
.highlight-card.facilities {
    border-top: 6px solid #388e3c;
    background: linear-gradient(135deg, #e8f5e9, #ffffff);
}
.highlight-card.development {
    border-top: 6px solid #f57c00;
    background: linear-gradient(135deg, #fff3e0, #ffffff);
}




/* Hero Section */
.hero {
  text-align: center;
  padding: 0;
  margin: 0;
}

.hero-image img {
    width: 100%;
    height: 700px;
    display: block;
}

.hero-text {
  background: #f8f9fa;
  padding: 40px 20px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.hero-text h2 {
  font-size: 2.2rem;
  color: #003566;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
}

.hero-btn {
  display: inline-block;
  background: #ffb703;
  color: #000;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
}

.hero-btn:hover {
  background: #003566;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}


/* Section background */
.fee-payment {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 5px;
  background: #f5f9ff;
}

/* Glitter Card */
.fee-payment-card {
  position: relative;
  background: linear-gradient(135deg, #fff 25%, #fdf6d9 50%, #fff 75%);
  background-size: 300% 300%;
  padding: 30px 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 53, 102, 0.2);
  border: 2px solid #ffe066;
  animation: shimmer 5s linear infinite;
  overflow: hidden;
}

.fee-payment-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.3;
  animation: sparkle 10s linear infinite;
}

.fee-payment-card h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #003566;
  position: relative;
  z-index: 1;
}

/* Pay Button */
.pay-button {
  display: inline-block;
  background: linear-gradient(45deg, #ffd60a, #ffb703);
  color: #003566;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(255, 182, 3, 0.5);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pay-button:hover {
  background: linear-gradient(45deg, #ffb703, #ffd60a);
  box-shadow: 0 8px 25px rgba(255, 182, 3, 0.7);
  transform: scale(1.05);
}

/* Animations */
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sparkle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}




/* Compact About + Info */
.about-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding: 50px 20px;
  background: #f9fbff;
}

.about-card, 
.info-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px 30px;
  box-shadow: 0 6px 18px rgba(0, 53, 102, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover, 
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 53, 102, 0.2);
}

.about-card h2, 
.info-card h2 {
  color: #003566;
  margin-bottom: 15px;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.info-item h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #003566;
}

.info-item p, 
.info-item a {
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
  color: #00509d;
}

/* Responsive */
@media (max-width: 768px) {
  .about-info {
    grid-template-columns: 1fr;
  }
}






/* ===== NAVIGATION BAR STYLING ===== */
header {
    background: #004080; /* Dark blue background */
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

header .banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    flex-wrap: wrap;
}

header .logo {
    height: 100%;
    width: auto;
}

header .scname h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

/* NAV MENU */
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
    margin: 10px 0 -20px 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Hover effect */
nav ul li a:hover {
    background: #0066cc;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Active page style */
nav ul li a.active {
    background: #ffcc00;
    color: #000;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    header .banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

header {
    padding: 5px 5px;
}

    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 10px;
    }
}



/* Custom Navbar Styling */
.custom-navbar {
  background-color: #0d47a1; /* Deep school blue */
  font-family: 'Roboto', sans-serif;
}

.custom-navbar .navbar-brand {
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff !important;
}

.custom-navbar .nav-link {
  color: #fff !important;
  margin-left: 10px;
  transition: color 0.2s ease-in-out;
}

.custom-navbar .nav-link:hover {
  color: #ffd54f !important; /* Golden yellow hover */
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: invert(100%);
}

/* Custom Navbar */
.custom-navbar {
  background-color: #003366; /* dark navy */
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Brand (logo + text) */
.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #fff !important;
  white-space: nowrap;
}

.custom-navbar .navbar-brand img {
  height: 48px;
  width: auto;
  margin-right: 10px;
}

/* Desktop full name */
.custom-navbar .navbar-brand .d-sm-inline {
  font-size: 1.5rem; /* larger on desktop */
  font-weight: 700;
  color: #fff;
}

/* Mobile short name */
.custom-navbar .navbar-brand .d-sm-none {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Nav links */
.custom-navbar .nav-link {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s, background 0.3s;
}

/* Hover + active */
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: #ffcc00 !important;
}

/* Mobile toggler button */
.navbar-toggler {
  border: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

img.me-2 {
    height: 100px !important;
    width: 100px !important;
    border-radius: 4em;
}