
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
body {
    margin: 0;
    padding: 0;
}

.hero-section {
     margin-top: 0 !important;
    padding-top: 0 !important;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.hero-text-top {
    margin-bottom: 20px;
}

.hero-text-top h1 {
    font-size: 2.8rem;
    color: #08386c;
    font-family: 'Arial', sans-serif;
    margin-bottom: 10px;
}

.hero-text-top p {
    font-size: 1.2rem;
    color: #555;
}
.hero-image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
}
.hero-image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
}

/* FIXED SLIDER */
.slider {
    display: flex;
    height: 100%;
    animation: slideAnim 10s infinite;
}

/* FIX: EACH IMAGE = FULL WIDTH ALWAYS */
.slider img {
    width: 100%;
    flex-shrink: 0;   /* IMPORTANT – prevents images from shrinking */
    height: 100%;
    object-fit: cover;
}

/* KEYFRAMES FOR 2 IMAGES */
@keyframes slideAnim {
    0%   { transform: translateX(0%); }
    45%  { transform: translateX(0%); }
    55%  { transform: translateX(-100%); }
    100% { transform: translateX(-100%); }
}


.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5);  */
    pointer-events: none; 
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Hero Image */
.hero-image img {
    width: 100%;
    max-height: 60vh; /* adjust as needed */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 0.75; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 56, 108, 0.6); /* dark overlay for better text visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

.hero-text p {
    font-size: 1.2rem;
}

/* Vision & Mission Section */
/* .vision-mission {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.box {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    max-width: 500px;
    text-align: justify;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box h2 {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    color: #08386c;
    margin-bottom: 15px;
}

.box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
} */

.about-intro {
    padding: 60px 20px;
    background-color: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Text */
.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    color: #08386c;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 18px;
    text-align: justify; 
}

/* Image */
.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        margin-top: 20px;
    }
}


.vmm-section {
    display: flex;
    width: 100%;
    min-height: 500px;
    
}

/* Common box styling */
.vmm-box {
    flex: 1;
    padding: 80px 40px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Colors (matched closely) */
.vision {
    background: linear-gradient(135deg, #08386c, #0a4d8c);
}

.mission {
    background: linear-gradient(135deg, #0a4d8c, #1e6fb9);
}

.motto {
    background: linear-gradient(135deg, #1e6fb9, #4fa3d1);
}

/* Improve text clarity */
.vmm-box {
    color: #ffffff;
}
.vmm-icon {
    font-size: 100px;  
    margin-bottom: 30px;
    opacity: 0.35;     
}


/* Small line */
.line {
    width: 40px;
    height: 4px;
    background-color: rgba(255,255,255,0.6);
    margin: 0 auto 30px;
}

/* Headings */
.vmm-box h2 {
    font-size: 38px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* Text */
.vmm-box p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
    .vmm-section {
        flex-direction: column;
    }

    .vmm-box {
        padding: 60px 25px;
    }

    .vmm-icon {
        font-size: 70px;
    }
}


/* Events Gallery */
.events-gallery {
    padding: 50px 20px;
    background-color: #f0f4f8;
    text-align: center;
}

/* Main Heading */
.events-gallery h2 {
    font-size: 2rem; /* Reduced font size */
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 10px; /* Less space than before */
    position: relative;
}

.events-gallery h2::after {
    content: "";
    display: block;
    width: 60px; /* smaller underline */
    height: 3px;
    background-color: #3498db;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Subheading */
.events-gallery .subheading {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Gallery Grid */
.events-gallery .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Images */
.events-gallery .gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.events-gallery .gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .events-gallery .gallery {
        position: relative;
        height: 220px;
        overflow: hidden;
    }

    .events-gallery .gallery img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }

    .events-gallery .gallery img.active {
        opacity: 1;
    }
}

.learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background-color: #1e73be; /* change to your theme color */
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.learn-more-btn:hover {
    background-color: #155a96;
    transform: translateY(-2px);
}

.blog-preview {
    padding: 40px 20px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title and subtitle */
.blog-preview-title {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px; /* space below h2 */
}

.blog-preview-subheading {
    font-size: 1em;
    color: #555;
    text-align: center;
    margin-bottom: 30px; /* space before blog grid */
}

/* ---------------- BLOG SECTION ---------------- */
.blog-preview {
    padding: 40px 20px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title and subtitle */
.blog-preview-title {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.blog-preview-subheading {
    font-size: 1em;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Grid for cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

/* Each card */
.blog-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Image wrapper */
.blog-card-img-wrapper {
    width: 100%;
    height: 120px; /* desktop height */
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card content */
.blog-content {
    padding: 10px 12px;
}

.blog-content h3 {
    margin: 0 0 6px;
    font-size: 0.95em;
    line-height: 1.2;
}

.blog-content p {
    margin: 0;
    font-size: 0.8em;
    color: #555;
    line-height: 1.3;
}

/* Read More */
.read-more {
    font-weight: 600;
    color: #1e73be;
}

/* All Blogs Link */
.all-blogs-link-desktop,
.all-blogs-link-mobile {
    display: none;
}

.all-blogs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.all-blogs-link {
    display: inline-block;
    padding: 14px 40px;
    font-size: 1.05em;
    font-weight: 600;
    color: #fff;
    background-color: #1e73be;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 115, 190, 0.25);
    letter-spacing: 0.5px;
}

.all-blogs-link:hover {
    background-color: #155a96;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(30, 115, 190, 0.35);
}

/* ================================
   RECENT ACTIVITIES SECTION
================================ */
.recent-activities {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.recent-activities .container {
    max-width: 1200px;
    margin: 0 auto;
}

.activities-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    color: #08386c;
    margin-bottom: 10px;
}

.activities-subheading {
    font-size: 1.1em;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.activity-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.activity-featured {
    border: 3px solid #1e73be;
    grid-template-columns: 400px 1fr;
}

.activity-featured .activity-image img {
    height: 280px;
}

.activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-content h3 {
    font-size: 1.5em;
    color: #08386c;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.4;
}

.activity-featured .activity-content h3 {
    font-size: 1.8em;
}

.activity-date {
    color: #999;
    font-size: 0.9em;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.activity-description {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.no-activities {
    text-align: center;
    color: #999;
    font-size: 1.1em;
    padding: 40px;
}

.all-blogs-link:hover {
    background-color: #155a96;
    transform: translateY(-2px);
}

/* ---------------- RESPONSIVE FIXES ---------------- */

/* Mobile: single column + readable images and text */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* full width cards */
        gap: 15px;
        width: 100%;
    }

    .blog-card-img-wrapper {
        height: 180px; /* taller images on mobile */
    }

    .blog-content h3 {
        font-size: 1em; /* readable title */
    }

    .blog-content p {
        font-size: 0.9em; /* readable text */
    }

    .blog-preview-title {
        font-size: 1.5em; /* slightly smaller on mobile */
    }

    .blog-preview-subheading {
        font-size: 0.95em;
    }

    /* Recent Activities Mobile */
    .activity-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .activity-featured {
        grid-template-columns: 1fr;
    }

    .activity-image {
        height: 220px;
    }

    .activity-featured .activity-image img {
        height: 250px;
    }

    .activity-content {
        padding: 18px;
    }

    .activity-content h3 {
        font-size: 1.2em;
    }

    .activity-featured .activity-content h3 {
        font-size: 1.4em;
    }

    .activities-title {
        font-size: 1.8em;
    }

    .activities-subheading {
        font-size: 1em;
    }
}

/* Tablet: 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blog-card-img-wrapper {
        height: 140px;
    }
}




/* FAQ SECTION */
.faq-section {
    padding: 60px 20px;
    background-color: #f6f9fc;
    text-align: center;
}

.faq-section h2 {
    font-size: 2rem;
    color: #08386c;
    margin-bottom: 10px;
}

.faq-section .subheading {
    font-size: 1.1rem;
    color: #6c7a89;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* FAQ Item */
.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Question */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #08386c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Icon */
.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
}

.faq-answer p {
    padding: 15px 0 25px;
    color: #333;
    line-height: 1.7;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

