* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.navbar {
    background-color: #1e3a5f;
	
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 8px 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
	z-index: 1010;
}

.menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 5px;
    gap: 9px;
	z-index: 1011;
}

.menu > li {
    position: relative;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.menu > li:hover {
    background-color: #2a4a6e;
    transform: translateY(-2px);
    border-radius: 10px;
}

.menu > li > a {
    color: white;
    text-decoration: none;
    display: block;
}

/* Dropdown Menu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a4a6e;
    min-width: 160px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1012;
    border-radius: 8px;
    overflow: hidden;
}

.submenu li {
    padding: 8px 12px;
    color: white;
    transition: background 0.3s ease;
}

.submenu li:hover {
    background: #3a5a7e;
}

.submenu li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.menu > li:hover .submenu {
    display: block;
	z-index: 1015;
}

/* Left Submenu */
.left-submenu {
    width: 200px;
    background: #2a4a6e;
    color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    flex-shrink: 0;
}

.left-submenu ul {
    list-style: none;
    padding: 0;
}

.left-submenu ul li {
    padding: 8px 10px;
    transition: background 0.3s ease;
}

.left-submenu ul li:hover {
    background: #3a5a7e;
}

.left-submenu ul li a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.breadcrumb a {
    color: #1e3a5f;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Container */
.container {
    flex-grow: 1;
    max-width: 1200px;
    margin: 20px 20px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

h2 {
    font-size: 28px;
    color: #1e3a5f;
    margin-bottom: 20px;
    font-weight: 700;
}

.content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        text-align: center;
    }

    .submenu {
        position: static;
        box-shadow: none;
        background: #2a4a6e;
        border-radius: 0;
    }

    .menu > li {
        padding: 10px;
    }

    .menu > li:hover {
        transform: none;
    }

    .left-submenu {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .container {
        padding: 20px;
    }
}

/* Footer Styles */
.footer {
    background-color: #1e3a5f;
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.footer-row {
    margin-bottom: 15px;
}

.columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
    padding: 0 10px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    box-sizing: border-box;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links li a:hover {
    color: #ffcc00;
    transform: translateX(5px);
}

.contact-info, .location-info {
    list-style: none;
}

.contact-info li, .location-info li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info li i, .location-info li i {
    color: #ffcc00;
}

.footer-column iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
}

.copyright {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .columns {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        min-width: 100%;
        padding: 10px;
    }

    .footer-links li a:hover {
        transform: none;
    }

    .footer-column iframe {
        height: 150px;
    }
}

/*news-scroll */


/* Container for the scrolling matter and badge */
.scrolling-container {
    display: flex;
    align-items: center;
    background-color: #1e3a5f; /* Dark blue background */
    padding: 10px;
    color: white;
    overflow: hidden; /* Hide overflow for scrolling effect */
    position: relative;
    width: 100%; /* Adjust width as needed */
    max-width: 100%; /* Maximum width */
	z-index:1;
   
}

/* Badge styling */
.badge {
    background-color: #ffcc00; /* Yellow badge */
    color: #1e3a5f; /* Dark blue text */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-right: 15px; /* Space between badge and text */
    white-space: nowrap; /* Prevent badge text from wrapping */
}

/* Scrolling text container */
.scrolling-text {
    flex: 1; /* Take remaining space */
    overflow: hidden; /* Hide overflow for scrolling effect */
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Scrolling text animation */
.scrolling-text p {
    display: inline-block;
    padding-left: 100%; /* Start text outside the container */
    animation: scroll-text 20s linear infinite; /* Reduced speed (20s) */
}

/* Keyframes for scrolling animation */
@keyframes scroll-text {
    0% {
        transform: translateX(100%); /* Start from the right */
    }
    100% {
        transform: translateX(-100%); /* Move to the left */
    }
}


/* ===== HOME PAGE ADDITIONS ===== */

.quick-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.quick-links a {
    background: #1e3a5f;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.quick-links a:hover {
    background: #4a6da7;
}

.welcome-section {
    background: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.welcome-section h2 {
    color: #1e3a5f;
    margin-bottom: 15px;
}

.welcome-section p {
    max-width: 900px;
    margin: auto;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #1e3a5f;
    font-weight: bold;
    text-decoration: none;
}

.newsletter-section {
    text-align: center;
    margin: 40px 0;
}

.newsletter-button {
    display: inline-block;
    background-color: #1e3a5f;
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.newsletter-button:hover {
    background-color: #4a6da7;
}

/* Important Links Section */
.important-links-section {
    width: 100%;
    margin: 40px auto 20px;
}

/* Title */
.badgei {
    width: fit-content;          /* FIX 1 */
    margin: 0 auto 10px;         /* FIX 2 */
    padding: 10px 30px;
    background-color: #1e3a5f;
    color: #fff;
    font-weight: bold;
    border-radius: 0 0 10px 10px;
    text-align: center;
}
@media (max-width: 768px) {
    .box {
        width: 160px;
        height: 160px;
        margin: 15px;
    }

    .badgei {
        font-size: 16px;
        padding: 8px 20px;
    }
}
/* ================================
   IMPORTANT LINKS – FIX ALIGNMENT
   ================================ */

.scroll-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;   /* centers content */
    align-items: center;
    background: #ffffff;
}

.scroll-content {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;        /* 🔥 THIS FIXES MISALIGNMENT */
    animation: scroll 25s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.box {
    width: 220px;
    height: 220px;
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.stats-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    background: #f8f9fa;
    flex-wrap: wrap;
}

.stat-card {
    background: #1e3a5f;
    color: white;
    width: 220px;
    height: 140px;
    border-radius: 12px;
    text-align: center;
    padding: 25px 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.stat-card h2 {
    font-size: 36px;
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 16px;
    font-weight: 600;
}
.events-section {
    padding: 40px 20px;
    background: white;
}

.section-title {
    text-align: center;
    color: #1e3a5f;
    margin-bottom: 30px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.event-card {
    background: #f4f6f8;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #1e3a5f;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.event-card h3 {
    color: #1e3a5f;
    margin-bottom: 10px;
}
.achievements-section {
    padding: 40px 20px;
    background: #f8f9fa;
}

.achievement-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scroll-snap-type: x mandatory;
}

.achievement-item {
    min-width: 280px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: #1e3a5f;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    scroll-snap-align: start;
}
/* =========================
   PRINCIPAL MESSAGE SECTION
   ========================= */

.principal-section {
    background: #f8f9fa;
    padding: 50px 20px;
}

.principal-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.principal-photo {
    flex: 0 0 260px;
    text-align: center;
}

.principal-photo img {
    width: 260px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.principal-message {
    flex: 1;
}

.principal-message h2 {
    color: #1e3a5f;
    margin-bottom: 15px;
    font-size: 26px;
}

.principal-message p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    text-align: justify;
}

.signature {
    margin-top: 15px;
    font-size: 15px;
    color: #1e3a5f;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .principal-container {
        flex-direction: column;
        text-align: center;
    }

    .principal-message p {
        text-align: left;
    }

    .principal-photo img {
        width: 220px;
    }
}
/* Read More toggle */
.more-text {
    display: none;
}

.read-more-btn {
    background: none;
    border: none;
    color: #1e3a5f;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
}

.read-more-btn:hover {
    text-decoration: underline;
}
/* =========================
   VISION & MISSION
   ========================= */

.vision-mission {
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 20px;
}

.vm-box {
    background: #f8f9fa;
    padding: 25px;
    border-left: 5px solid #1e3a5f;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.vm-box h3 {
    color: #1e3a5f;
    margin-bottom: 10px;
}

.vm-box p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #444;
}

/* Mobile */
@media (max-width: 768px) {
    .vision-mission {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 769px) {
    .read-more-btn {
        display: none;
    }
}
/* ================= HOME 60–40 LAYOUT ================= */

.home-main {
    display: flex;
    gap: 25px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* LEFT 60% */
.home-left {
    flex: 6;
}

.block {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.block h2 {
    color: #1e3a5f;
    margin-bottom: 12px;
}

/* Principal Block */
.principal-wrap {
    display: flex;
    gap: 20px;
}

.principal-wrap img {
    width: 130px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.principal-text .more-text {
    display: none;
}

.read-toggle {
    margin-top: 10px;
    background: #1e3a5f;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* RIGHT 40% */
.home-right {
    flex: 4;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.side-card h3 {
    margin-bottom: 12px;
    color: #1e3a5f;
}

.side-card ul {
    list-style: none;
    padding-left: 0;
}

.side-card ul li {
    margin-bottom: 8px;
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stats span {
    font-size: 26px;
    font-weight: bold;
    color: #1e3a5f;
}

/* Mobile */
@media (max-width: 768px) {
    .home-main {
        flex-direction: column;
    }

    .principal-text .more-text {
        display: none;
    }
}
/* ===== Latest Events – Vertical Style ===== */

.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
}

.event-item {
    background: #ffffff;
    padding: 12px;
    border-left: 4px solid #1e3a5f;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.event-item p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.event-date {
    font-size: 12px;
    font-weight: 600;
    color: #1e3a5f;
}
/* =====================================================
   HOME PAGE – 60 / 40 LAYOUT (APPENDED, SAFE)
   ===================================================== */

.home-main {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 30px auto;
    align-items: flex-start;
}

.home-left {
    width: 60%;
}

.home-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Side cards (right column blocks) */
.side-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ---------------- Latest Events (VERTICAL) ---------------- */
.home-right .events-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
}

.home-right .event-card {
    background: #f8f9fa;
    padding: 12px;
    border-left: 4px solid #1e3a5f;
    border-radius: 6px;
}

/* ---------------- Achievements (VERTICAL) ---------------- */
.home-right .achievement-slider {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-right .achievement-item {
    background: #eef2f7;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    border-left: 4px solid #ff9800;
}

/* ---------------- Stats (VERTICAL) ---------------- */
.home-right .stats-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-right .stat-card {
    width: 100%;
    background: #1e3a5f;
    color: #ffffff;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
}

/* ---------------- Quick Links (VERTICAL) ---------------- */
.home-right .quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-right .quick-links a {
    width: 100%;
    background: #eef2f7;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #1e3a5f;
    font-weight: 500;
    text-align: center;
    transition: 0.3s;
}

.home-right .quick-links a:hover {
    background: #1e3a5f;
    color: #ffffff;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .home-main {
        flex-direction: column;
    }

    .home-left,
    .home-right {
        width: 100%;
    }
}
