* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
}

/* HEADER */
header {
    background: #0f2453;
    color: #fff;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    font-size: 26px;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}

/* SLIDER */
.slider {
    width: 100%;
    height: 420px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 420px;
    position: absolute;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    background: rgba(0,0,0,0.45);
    padding: 10px 20px;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .slider, .slide img {
        height: 260px;
    }

    .text {
        font-size: 20px;
        bottom: 20px;
        left: 20px;
    }
}


/*------------------------------ slider css   -----------------------                   */



.slider-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-height: 480px;
}

.slider-wrapper {
    width: 100%;
    position: relative;
}

.slider-slide {
    display: none;
    position: relative;
    width: 100%;
}

.active-slide {
    display: block;
}

.slider-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    padding: 12px 20px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 6px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slider-prev,
.slider-next {
    cursor: pointer;
    background: rgba(0,0,0,0.45);
    padding: 12px 18px;
    color: #fff;
    font-size: 26px;
    border-radius: 4px;
    transition: 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(0,0,0,0.7);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot-active {
    background: #333;
}

/* Responsive */
.slider-responsive-small {
    height: 260px;
}

.slider-responsive-image {
    height: 260px;
}

.slider-responsive-caption {
    font-size: 18px;
    bottom: 20px;
    left: 20px;
}



/*-------------------------- marqee tag css */


.marquee-section {
    width: 100%;
    background: #0f2453;
    padding: 10px 0;
    overflow: hidden;
}

.marquee-scroll {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive text size class */
.marquee-responsive {
    font-size: 16px;
}

/* -------------------------------------------------about and our activities -----------------------------*/
.about-wrapper {
    padding: 60px 5%;
    background: #ffffff;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.about-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.secretary-name {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

/* Activities Section */
.activities-wrapper {
    padding: 60px 5%;
    background: #f7f9fc;
    text-align: center;
}

.section-subtitle {
    font-size: 17px;
    color: #555;
    margin-top: -10px;
    margin-bottom: 40px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.activity-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}


/*------------------------------------------------------courses ------------------------------------------------------------------*/


.dept-wrapper {
    padding: 60px 5%;
    background: #f7f9fb;
    text-align: center;
}

.dept-title {
    font-size: 36px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 10px;
}

.dept-subtitle {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.dept-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.dept-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.dept-icon {
    font-size: 45px;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
}

/* Icon BG Colors */
.bg-yellow { background: #f4b400; }
.bg-blue { background: #1e88e5; }
.bg-green { background: #43a047; }
.bg-cyan { background: #00acc1; }
.bg-red { background: #e53935; }
.bg-orange { background: #fb8c00; }
.bg-pink { background: #ec407a; }
.bg-purple { background: #8e24aa; }
.bg-blue2 { background: #3949ab; }
.bg-yellow2 { background: #fdd835; }
.bg-red2 { background: #d32f2f; }

.dept-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}



/* ===== END FOOTER (Optimized) ===== */

.end-footer {
    background: #062445;
    color: #ffffff;
    padding: 50px 20px 20px;
    border-top: 5px solid #0d47a1;
}

.end-footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.end-footer-title {
    color: #20ff02;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.end-footer-text {
    color: #f0eaea;
    font-size: 15px;
    margin: 6px 0;
}

.end-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.end-footer-list li {
    margin-bottom: 8px;
}

.end-footer-link {
    color: #0ac2f0;
    text-decoration: none;
    transition: .3s;
}

.end-footer-link:hover {
    text-decoration: underline;
}

/* Map */
.end-footer-map {
    width: 100%;
    height: 170px;
    border-radius: 8px;
    border: 0;
    margin-bottom: 12px;
}

/* Visitor count */
.end-footer-visitors {
    margin-top: 10px;
    text-align: center;
}

.visitor-count {
    font-size: 22px;
    font-weight: bold;
    background: #111;
    color: #00ff6a;
    padding: 8px 20px;
    border-radius: 8px;
    letter-spacing: 3px;
    display: inline-block;
}

.visitor-label {
    font-size: 14px;
    margin-top: 3px;
    color: #eee;
}

@media (max-width: 600px) {
    .visitor-count {
        font-size: 18px;
        padding: 6px 16px;
        letter-spacing: 2px;
    }
}


/* Bottom line */
.end-footer-bottom {
    border-top: 1px solid #234d75;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    color: #f7f8f8;
    font-size: 14px;
}

/* Mobile Optimization */
@media (max-width: 600px) {
    .end-footer-title {
        font-size: 18px;
    }
    .visitor-count {
        font-size: 18px;
    }
    .end-footer {
        padding: 40px 15px 15px;
    }
}
