﻿:root {
    --primary: #1E3A8A;
    --accent: #F59E0B;
    --light: #F9FAFB;
    --dark: #1F2937;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

.top-bar {
    background: var(--primary);
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

.navbar {
    background: white;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary) !important;
}

.hero {
    background: url('../images/school.jpg') center/cover no-repeat;
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
}

.hero h1 {
    background: rgba(0,0,0,0.5);
    padding: 15px;
}

.section {
    padding: 60px 0;
}

.btn-custom {
    background: var(--accent);
    color: white;
}

.section h2 {
    font-weight: 700;
}

.section img {
    transition: 0.3s;
}

.section img:hover {
    transform: scale(1.05);
}
.bulletin-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.bulletin-card:hover {
    transform: translateY(-5px);
}

.card-header {
    font-weight: 600;
    font-size: 16px;
}

.card-body {
    background: #fff;
    min-height: 300px;
}

.bg-primary {
    background: #1E3A8A !important;
}

.bg-warning {
    background: #F59E0B !important;
}

.quick-links-section {
    background: #f9fafb;
}

.quick-box {
    padding: 20px 10px;
    border-radius: 12px;
    color: white;
    transition: 0.3s;
    cursor: pointer;
}

.quick-box .icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.quick-box p {
    margin: 0;
    font-weight: 600;
}

/* Different Colors */
.qb1 { background: #1E3A8A; }   /* Blue */
.qb2 { background: #16A34A; }   /* Green */
.qb3 { background: #9333EA; }   /* Purple */
.qb4 { background: #F59E0B; }   /* Gold */
.qb5 { background: #DC2626; }   /* Red */
.qb6 { background: #0EA5E9; }   /* Sky Blue */

.quick-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.unique-section {
    background: linear-gradient(135deg, #1E3A8A, #172554);
    color: white;
}

.divider {
    width: 70px;
    height: 3px;
    background: #F59E0B;
    margin: 10px auto 0;
}

.unique-card {
    background: white;
    color: #1F2937;
    padding: 25px;
    border-radius: 12px;
    height: 100%;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.unique-card h5 {
    color: #1E3A8A;
    font-weight: 600;
    margin-bottom: 10px;
}

.unique-card a {
    text-decoration: none;
    color: #F59E0B;
    font-weight: 600;
}

.unique-card:hover {
    transform: translateY(-10px);
}
.desk-section {
    background: #F9FAFB;
}

.desk-img {
    max-height: 300px;
    object-fit: cover;
}

.desk-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quote {
    font-size: 18px;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 10px;
}
.gallery-section {
    background: #F9FAFB;
    overflow: hidden;
}

.gallery-slider {
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    width: calc(250px * 12);
    animation: scroll 25s linear infinite;
}

.gallery-track img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    margin: 0 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-track img:hover {
    transform: scale(1.1);
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.gallery-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-track {
    display: flex;
    animation: scroll 25s linear infinite;
}

.gallery-track img {
    width: 220px;
    height: 160px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-track img:hover {
    transform: scale(1.1);
}

/* Smooth animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.footer-section {
    background: #1E3A8A;
    color: white;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #F59E0B;
}

.footer-section i {
    color: white;
}

/* Social Icon */
.social-icon {
    display: inline-block;
    margin-top: 10px;
    width: 35px;
    height: 35px;
    background: #F59E0B;
    color: white;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    background: white;
    color: #1E3A8A;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}
.top-bar {
    background: #172554; /* slightly darker than primary */
    color: #fff;
    font-size: 14px;
}

.top-bar i {
    color: #F59E0B;
}

/* Social Icon */
.top-social {
    display: inline-block;
    margin-left: 8px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #F59E0B;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    transition: 0.3s;
}

.top-social:hover {
    background: white;
    color: #1E3A8A;
}
/* Navbar spacing */
.navbar {
    padding: 10px 0;
}

/* Main Logo */
.main-logo {
    height: 90px;   /* BIG size */
    width: auto;
    transition: 0.3s;
}

/* Slight zoom on hover */
.main-logo:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .main-logo {
        height: 65px;
    }
}
.navbar {
    background: #fff;
    border-bottom: 3px solid #F59E0B;
}

.main-logo {
    height: 100px;
}
/* Footer Background */
.footer-section {
    background: linear-gradient(135deg, #1E3A8A, #172554);
    color: white;
}

/* Logo */
.footer-logo {
    height: 80px;
    width: auto;
}

/* Headings */
.footer-section h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #F59E0B;
}

/* Icons */
.footer-section i {
    color: #F59E0B;
}

/* Social */
.social-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #F59E0B;
    color: white;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    background: white;
    color: #1E3A8A;
}

/* Bottom line */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}
/* Navbar links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #1E3A8A;
    margin-left: 10px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #F59E0B;
}

/* Dropdown */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-item:hover {
    background: #F59E0B;
    color: white;
}
/* Show dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Smooth effect */
.dropdown-menu {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

/* Optional: slight delay feel */
.dropdown-menu {
    transform: translateY(10px);
}

.navbar .dropdown:hover .dropdown-menu {
    transform: translateY(0);
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
.dropdown-menu {
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Card Style */
.vm-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.vm-card:hover {
    transform: translateY(-8px);
}

/* Icon */
.vm-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/* Heading */
.vm-card h3 {
    color: #1E3A8A;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Text */
.vm-card p {
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}
/* Image */
.msg-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #F59E0B;
}

/* Quote */
.quote {
    font-weight: 600;
    font-size: 18px;
    color: #1E3A8A;
    margin-bottom: 10px;
}
.fee-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.fee-card h5 {
    background: #1E3A8A;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.table td {
    vertical-align: middle;
}

/* Admission Cards */
.admission-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.admission-card:hover {
    transform: translateY(-8px);
}

/* Step Circle */
.step-circle {
    width: 50px;
    height: 50px;
    background: #F59E0B;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    line-height: 50px;
    margin: 0 auto 10px;
}

/* Documents */
.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.rule-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.rule-card:hover {
    transform: translateY(-6px);
}

.rule-card h5 {
    color: #1E3A8A;
    margin-bottom: 10px;
}

.rule-card ul {
    padding-left: 18px;
}

.rule-card li {
    margin-bottom: 6px;
    color: #444;
}

.feature-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-8px);
}

.feature-box i {
    font-size: 30px;
    color: #F59E0B;
    margin-bottom: 10px;
}

.feature-box h5 {
    color: #1E3A8A;
}
/* Lab Boxes */
.lab-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.lab-box:hover {
    transform: translateY(-6px);
}

.lab-box i {
    font-size: 28px;
    color: #F59E0B;
    margin-bottom: 10px;
}

.lab-box h6 {
    color: #1E3A8A;
}

/* Sports Boxes */
.sport-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.sport-box:hover {
    transform: translateY(-6px);
}

.sport-box i {
    font-size: 28px;
    color: #F59E0B;
    margin-bottom: 10px;
}

.sport-box h6 {
    color: #1E3A8A;
}

.contact-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-box i {
    color: #F59E0B;
}

.map-box iframe {
    border-radius: 10px;
}

.gallery-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    background: #fff;
}

.gallery-card:hover {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Category label */
.category-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(30, 58, 138, 0.9); /* theme blue */
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.gallery-slider {
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    width: calc(250px * 20); /* adjust if needed */
    animation: scroll 25s linear infinite;
}

.gallery-track img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

table.calendar td {
    height: 80px;
    vertical-align: top;
    padding: 5px;
}

table.calendar {
    width: 100%;
}

table.calendar td {
    height: 90px;              /* 🔥 control height */
    vertical-align: top;
    padding: 5px;
    position: relative;
}

table.calendar th {
    text-align: center;
}

/* Event text styling */
.calendar-event {
    display: block;
    font-size: 11px;
    color: #fff;
    background: #ef4444;
    padding: 2px 4px;
    margin-top: 3px;
    border-radius: 4px;
}
.calendar-event {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}