/* Custom Fonts (optional: for a look closer to Marathi govt sites) */
 @import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Marathi:wght@400;700&display=swap'); 

/* --- General Styles --- */
body {
     font-family: 'Tiro Devanagari Marathi', sans-serif; 
    color: #333;
    /*font-family: 'Poppins', sans-serif ; */


}

.navbar-custom {
    box-shadow: 0 2px 4px rgba(0,0,0,.1); /* Slight shadow to lift the navbar */
}

/* --- 1. Header Bar Styles (Top Section) --- */
.header-bar {
    background-color: #f8f9fa; /* Light background for the top bar */
    border-bottom: 1px solid #dee2e6;
    font-size: 0.85rem;
    color: #495057;
}

.maharashtra-logo {
    height: 40px; /* Adjust size as needed */
}

.government-text {
    font-weight: bold;
    color: #000;
    font-size: 1.67rem;
}

.contact-info i {
    color: #000; /* Bootstrap primary color for icons */
    margin-right: 5px;
}

.social-icons .social-icon {
    color: white;
    background-color: #007bff; /* A standard blue color */
    width: 30px;
    height: 30px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    margin-left: 8px;
    display: inline-block;
    transition: background-color 0.3s;
}

/* Match the colors in the image closely */
.social-icons a:nth-child(1) { background-color: #3b5998; } /* Facebook */
.social-icons a:nth-child(2) { background-color: #00acee; } /* X/Twitter */
.social-icons a:nth-child(3) { background-color: #0077B5; } /* LinkedIn */
.social-icons a:nth-child(4) { 
    /* Gradient for Instagram */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
} 

.social-icons .social-icon:hover {
    opacity: 0.8;
}

/* --- 2. Main Menu Styles (Middle Section) --- */
.main-menu-nav {
    background-color: white;
    border-bottom: 1px solid #ccc;
}

.main-menu-nav .navbar-nav .nav-link {
    color: #000;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-right: 1px solid #eee; /* Vertical divider between links */
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

.main-menu-nav .navbar-nav .nav-item:last-child .nav-link {
     border-right: none;
}

.main-menu-nav .navbar-nav .nav-link:hover,
.main-menu-nav .navbar-nav .nav-link.active {
    color: #ff0002; /* Blue color on hover/active */
    background-color: #f1f1f1;
}

.main-menu-nav .dropdown-menu {
    border-radius: 0;
    margin-top: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

/* Customizing the Bootstrap Toggler for Mobile */
.custom-toggler {
    border-color: rgba(0,0,0,.1);
}
.maharashtra-logo-mobile {
    height: 30px;
}
.government-text-mobile {
    font-weight: bold;
    color: #000;
    font-size: 0.9rem;
}


/* --- 3. Sub-Menu Banner Styles (Bottom Section) --- */
.sub-menu-banner {
    background-color: #fff;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    padding-bottom: 0.5rem !important; /* Adjust padding to match image */
}

.sub-menu-banner p {
    font-size: 0.9rem;
}

.sub-menu-banner .highlight-text {
    color: #dc3545; /* Red color for the highlight text */
    font-weight: normal;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 991.98px) {
    /* Hide the top header bar on smaller screens for cleaner look */
    .header-bar {
        display: none !important;
    }

    .main-menu-nav .navbar-nav {
        text-align: left;
    }

    .main-menu-nav .navbar-nav .nav-link {
        border-right: none;
        border-bottom: 1px solid #eee; /* Horizontal divider for mobile links */
        padding-left: 1rem;
    }
    
    .main-menu-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 15px; /* Indent dropdown items */
    }

    .sub-menu-banner {
        padding: 0.5rem 1rem !important;
    }
}


.hdnum{
        font-size: 0.89rem;
    font-weight: 700;
    color: #000;
}


.navbar-nav {
    display: flex;
    flex-wrap: wrap; /* allow items to wrap to next line if space runs out */
    justify-content: center; /* optional: center the nav items */
    gap: 0.5rem; /* optional: spacing between items */
}

.navbar-nav .nav-item {
    white-space: nowrap; /* keep the text in a single line per item */
}












/* Dropdown container */
.dropdown-menu {
  min-width: 200px;
  background-color: #fff;        /* White background */
  border: 1px solid #e0e0e0;    /* Light gray border */
  border-radius: 8px;            /* Rounded corners */
  box-shadow: 0 8px 16px rgba(0,0,0,0.15); /* Subtle shadow */
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Dropdown items */
.dropdown-item {
  font-size: 0.98rem;
  color: #333;                   /* Dark text */
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
.dropdown-item:hover {
  background-color: #f5f5f5;     /* Light gray hover */
  color: #007bff;                /* Accent color */
  cursor: pointer;
}

/* Optional: add small divider between items */
.dropdown-item + .dropdown-item {
  border-top: 1px solid #e0e0e0;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .dropdown-menu {
    min-width: 160px;
  }
  .dropdown-item {
    padding: 8px 15px;
  }
}







  /* --- Custom Offcanvas Styles --- */
        .offcanvas-body {
            background-color: #fff;
            padding: 1rem;
            
        }

.offcanvas.offcanvas-start{
    max-width: 90% !important;
}

        .offcanvas-body .nav-link {
            color: #333;
            font-weight: 600;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s, color 0.3s;
        }

        .offcanvas-body .nav-link:hover {
            background-color: #f5f5f5;
            color: #007bff;
        }

        .offcanvas-body .dropdown-item {
            padding: 0.5rem 1rem;
            font-size: 0.95rem;
            color: #333;
        }

        .offcanvas-body .dropdown-item:hover {
            background-color: #f1f1f1;
            color: #007bff;
        }

        /* Nested collapse for submenus */
        .offcanvas-body .collapse .dropdown-item { 
            padding-left: 2rem; 
        }

        .offcanvas-body .collapse { 
            transition: all 0.3s ease; 
        }

        /* Offcanvas toggle button */
        .navbar-toggler.custom-toggler {
            border: 1px solid #ddd;
        }













/*Hero css slider */

/* Slider container */
.hero-slider {
  position: relative;
  width: 100%;
  /*height: 80vh;*/
}

.slider-image {
  position: relative;
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 20px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Common button styles */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4); /* Semi-transparent dark */
  border-radius: 50%;                /* Circular */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Hover effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0,0,0,0.7); /* Darker on hover */
  transform: translateY(-50%) scale(1.1); /* Slight zoom effect */
}

/* Arrow icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 35px 35px;  
  filter: invert(-1);           
}

/* Position adjustments */
.carousel-control-prev {
  left: 15px; /* Slightly inside the left edge */
}

.carousel-control-next {
  right: 15px; /* Slightly inside the right edge */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 25px 25px;
  }
}


/* Responsive */
@media (max-width: 992px) {
  .hero-slider, .slider-image { height: 60vh; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
}

@media (max-width: 768px) {
  .hero-slider, .slider-image { height: 50vh; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
}















/*about us css */
/* --- Gram Panchayat Members Section Styles --- */

/* Section background color matching the image */
.grampanchayat-members {
    background-color: #f7f7f7; 
}

/* Heading Style */
.grampanchayat-members h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
}

/* Member Card Container */
.member-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), /* Inner shadow */
                0 0 0 1px rgba(0, 0, 0, 0.05); /* Light border effect */
    transition: transform 0.3s ease-in-out;
}

.member-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper (Circular Cutout and Border) */
.member-image-container {
    display: inline-block;
    width: 150px; /* Size of the circular image */
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
        margin: -45px 0px 0px 0px;
    /* White/Light Border Effect */
    border: 8px solid rgba(255, 255, 255, 0.8);
    /* Soft blurred shadow */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); 
        background: #ffffff;
}

/* Actual Image */
.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* Ensures the image itself is circular */
}

/* Name and Designation Styles */
.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.member-designation {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

/* "More" Button Style */
.btn-more {
    display: inline-block;
    padding: 10px 30px;
    background-color: #ffc107; /* Amber/Orange color matching the image */
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.btn-more:hover {
    background-color: #e0a800; /* Darker amber on hover */
    color: #000;
}

/* --- Mobile Responsiveness (Adjustments for small screens) --- */
@media (max-width: 575.98px) {
    .grampanchayat-members h2 {
        font-size: 1.5rem; /* Smaller heading on very small screens */
    }
    
    .member-card {
        padding: 15px; /* Less padding on small cards */
    }

    .member-image-container {
        width: 120px; /* Slightly smaller image on mobile */
        height: 120px;
        border-width: 6px;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-designation {
        font-size: 0.9rem;
    }
}



/* --- Gram Panchayat Info Section Styles --- */

.grampanchayat-info {
    background-color: #fff; /* White background */
}

/* Text Content Styles */
.grampanchayat-info .subtitle {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

 .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 3px solid #ffc107; /* Blue line under the title, adjust color as needed */
    display: inline-block;
    padding-bottom: 5px;
}

.grampanchayat-info .description-text {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 30px;
}

/* Button Style */
.btn-info-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffc107; /* Amber/Orange color matching the image */
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.btn-info-more:hover {
    background-color: #e0a800; /* Darker amber on hover */
    color: #000;
}

/* Image Panel Layout (The unique overlapping design) */
.image-panel {
    position: relative;
    width: 100%;
    /* Set a max-width for better control on large screens */
    max-width: 550px; 
    height: 400px; /* Define a fixed height for the container */
}

.image-card {
    position: absolute;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    /* Ensure images fill the card */
    display: block; 
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Top Image Positioning and Sizing */
.image-top {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2; /* Ensure it slightly overlaps the bottom image */
}

/* Bottom Image Positioning and Sizing */
.image-bottom {
    width: 70%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 2; 
}


/* --- Mobile Responsiveness (Adjustments for small screens) --- */
@media (max-width: 991.98px) {
    /* On mobile, stack text and images, and simplify the image panel */
    
    .grampanchayat-info .section-title {
        font-size: 1.8rem;
    }

    /* Flatten the overlapping images for mobile */
    .image-panel {
        max-width: 100%;
        height: auto;
        /* Revert to a simple block layout */
        position: static; 
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Space between the two stacked images */
    }

    .image-card {
        position: static;
        width: 100%; /* Full width in the column */
        height: auto;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .image-card img {
        height: auto;
        min-height: 200px; /* Ensure images are visible */
    }

    /* Remove z-index and specific sizing used for the overlapping effect */
    .image-top, .image-bottom {
        width: 90%;
        height: auto;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        z-index: auto;
    }
}








/* --- Village Stats Section Styles --- */

.village-stats {
    background-color: #fff; /* White background for contrast if used below a light section */
    /* Alternatively, if you want a subtle background like the image: */
    /* background-color: #f8f9fa; */
}

/* Stat Card Styling */
.stat-card {
    background-color: #f7f7f7; /* Light gray background matching the image */
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* Soft shadow */
    transition: transform 0.2s;
    height: 100%; /* Ensure all cards are the same height */
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.stat-icon {
    font-size: 2.5rem;
    color: #4CAF50; /* Green color matching the image icons */
    margin-bottom: 15px;
    display: block;
}

/* Number Styling */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529; /* Dark text color */
    margin-bottom: 5px;
}

/* Label Styling */
.stat-label {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.3;
}

/* --- Mobile Responsiveness (Adjustments for small screens) --- */
@media (max-width: 767.98px) {
    /* On small screens (col-6), the icon and number sizes are slightly reduced */
    .stat-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }

    .stat-card {
        padding: 20px 15px;
    }
}




/* --- Village Personnel and Committee Styles --- */

 
.card-custom {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft shadow */
    overflow: hidden; /* Ensures header border radius is respected */
}

.card-header-custom {
     /* Bootstrap primary blue color */
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-bottom: none;
}



/* Styling for the Functionaries List */
.list-group-item {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-color: #f0f0f0; /* Lighter borders between items */
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Alternating background color for better readability (like zebra stripes) */
.list-group-item:nth-child(even) {
    background-color: #fcfcfc;
}

/* Styling for the Committees List */
.committee-list .list-group-item {
    font-weight: 500;
    color: #333;
    /* Add a simple dot or bullet point for clarity */
    list-style: disc;
    margin-left: 20px;
}
.committee-list {
    padding-left: 0; /* Override default list group padding */
}



.col1{
    background-color: #4caf50;
}

.col2{
    background-color: #ff0002;
}
















/* --- Testimonial Section Styles --- */

.testimonial-section {
    /* Subtle background image for visual appeal */
    background-image: url('../img/bg-domain.png'); 
    
    /* Ensure the image covers the section */
    background-size: cover; 
    
    /* Keep the image fixed or scroll with the content */
    background-attachment: fixed; /* Optional: Creates a parallax-like effect */
    /* background-attachment: scroll;  (Use this if you prefer it to scroll normally) */
    
    /* Center the image */
    background-position: center center; 
    
    /* Fallback color in case the image doesn't load */
    background-color: #f7f7f7; 
    
    padding: 50px 0; /* Ensure some vertical padding remains */
    position: relative; /* Needed if you use an overlay */
}

/* Optional: Add a subtle overlay to ensure text readability */
.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Use a semi-transparent white or black gradient/color */
    /*background-color: rgba(255, 255, 255, 0.7);  */
    z-index: 1;
}

 

/* Main Card Styling */
.testimonial-card {
    max-width: 800px; /* Limit width for readability */
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);*/
    text-align: center;
    position: relative;
    /*box-shadow: 0px 4px 5px 2px rgba(0, 0, 0, 0.25);*/
margin: 0px 0px 10px 0px;
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.1);

}

/* Quote Icon Styling */
.quote-icon {
    font-size: 3rem;
    color: #ffc107; /* Primary blue accent */
    margin-bottom: 15px;
    opacity: 0.7; /* Make it subtle */
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000;
    margin-bottom: 30px;
    padding: 0 10%; /* Indent text slightly */
}

/* Author Details */
.testimonial-author {
    margin-top: 20px;
}

.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #ffc107; /* Orange accent border */
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
}

.author-title {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

 

/* --- Mobile Responsiveness --- */
@media (max-width: 767.98px) {
    .testimonial-card {
        padding: 30px 15px; /* Less padding on small screens */
    }
    .testimonial-text {
        font-size: 1rem;
        padding: 0; /* Remove horizontal indent on mobile */
    }
    .quote-icon {
        font-size: 2.5rem;
        top: 15px;
        left: 15px;
    } 
}










/* --- Photo Gallery Section Styles --- */

.photo-gallery-section {
    background-color: #ffffff; /* Clean white background */
}

/* Reusing the custom title style */
.photo-gallery-section .section-title-custom {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffc107; /* Orange/Amber accent line */
    display: inline-block;
}

/* Individual Gallery Item Container */
.gallery-item {
    position: relative;
    overflow: hidden; /* Important for clean borders and effects */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 0; /* Prevents extra spacing under the image */
}

/* Image Styling - ensures uniform look and height */
.gallery-img {
    width: 100%;
    height: 250px; /* Fixed height for consistent grid look */
    object-fit: cover; /* Ensures image fills the space without distortion */
    transition: transform 0.4s ease-in-out;
}

/* Hover Effect: Image Zoom */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

/* Overlay for Hover Effect (Caption) */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: rgba(13, 110, 253, 0.75);  */
    /*background: rgb(76 175 80 / 81%); */
    background: rgb(22 22 22 / 81%);

    opacity: 0; /* Hidden by default */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

/* Hover Effect: Show Overlay */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Caption Text */
.gallery-caption {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border: 2px solid white;
    border-radius: 5px;

    display: -webkit-box;          /* Required for line clamping */
    -webkit-box-orient: vertical;  
    -webkit-line-clamp: 2;         /* Number of lines to show */
    overflow: hidden;               /* Hide overflow */
    text-overflow: ellipsis;        /* Show ... at the end */
}

/* Reusing the "More" button style */
.btn-info-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffc107; 
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.btn-info-more:hover {
    background-color: #e0a800;
    color: #000;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 767.98px) {
    /* Reduce height of images on mobile for better screen space management */
    .gallery-img {
        height: 200px;
    }
}



/* --- Custom Modal (Lightbox) Styles --- */

.modal-content-custom {
    background-color: transparent; /* Remove white background */
    border: none;
}

.modal-body {
    position: relative;
    text-align: center;
}

#modalImage {
    max-height: 90vh; /* Limit height to 90% of viewport height */
    width: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* Custom Close Button Position */
.btn-close-white {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1060; /* Above the image */
    opacity: 0.8;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 1));
}

/* Caption Text */
.modal-caption-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 1rem;
    z-index: 1050;
    max-width: 80%;
}

/* Navigation Buttons Styling */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal-nav-btn:hover {
    opacity: 1;
}

/*.modal-nav-btn .carousel-control-prev-icon,
.modal-nav-btn .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}
*/
#prevImage {
    left: 5px;
}

#nextImage {
    right: 5px;
}

@media (max-width: 767.98px) {
    #modalImage {
        max-height: 80vh; 
    }
    .modal-nav-btn {
        width: 40px;
        height: 40px;
    }
}
















/* --- Notice Section Styles --- */

.notice-section {
    background-color: #f8f9fa; /* Light gray background */
}

/* Reusing the custom title style */
.notice-section .section-title-custom {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd; /* Blue accent line */
    display: inline-block;
}

/* Notice Card Styling */
/*.notice-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #4caf50;  
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}*/

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* --- Notice Section Styles (with Image Integration) --- */

.notice-section {
    background-color: #f8f9fa; /* Light gray background */
}

/* Reusing the custom title style */
.notice-section .section-title-custom {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd; /* Blue accent line */
    display: inline-block;
}

/* Notice Card Styling */
.notice-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    
    /* DEFAULT ACCENT: Blue */
    border-left: 5px solid #4caf50; 
    
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center; /* Center all text content within the card by default */
}

/* TARGET: Every 2nd card in the row of 3 (the 2nd, 5th, 8th, etc. card) */
/* Formula: 3n + 2 */
.col-lg-4:nth-child(3n + 2) .notice-card {
    border-left: 5px solid #ffc107; /* Black accent color */
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
 
/* TARGET: Every 2nd card's image wrapper (2nd, 5th, 8th, etc.) */
.col-lg-4:nth-child(3n + 2) .notice-image-wrapper {
    background-color: rgba(33, 37, 41, 0.1); /* Light gray/black background */
}
 
.col-lg-4:nth-child(3n + 2) .notice-card:hover .notice-image-wrapper {
    background-color: #212529; /* Black solid background on hover for 2nd card */
}
 
 

/* Tags/Flags */
.notice-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.active-tag {
    background-color: #dc3545; /* Red for "Important/Urgent" */
    color: white;
}

.standard-tag {
    background-color: #ffc107; /* Orange/Amber for general notices */
    color: #333;
}

/* Title and Content */
.notice-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.notice-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1; /* Pushes the footer to the bottom */
}

/* Footer (Date and Read More Link) */
.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    margin-top: 15px;
}

.notice-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.notice-read-more {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.notice-read-more:hover {
    color: #0a58ca;
}

/* Reusing the main "More" button style */
.btn-info-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffc107; 
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.btn-info-more:hover {
    background-color: #e0a800;
    color: #000;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 767.98px) {
    .notice-card {
        padding: 20px;
    }
    .notice-title {
        font-size: 1.2rem;
    }
    .notice-content {
        font-size: 0.9rem;
    }
    .notice-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* --- Notice Section Styles (with Image Integration) --- */

/* ... (Keep previous .notice-section and .section-title-custom styles) ... */

/* Image Wrapper */
.notice-image-wrapper {
    text-align: center;
    margin-bottom: 20px;
    width: 100%; 
    max-height: 180px;  
    margin-left: auto;  
    margin-right: auto; 
    /*border-radius: 50%;*/
    /* Accent background for the image wrapper */
    background-color: rgba(13, 110, 253, 0.1); 
    display: flex; /* Use flexbox to center the image inside */
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

/* Image Styling */
.notice-image {
    max-width: 100%;  
    max-height: 180px;
    height: auto;
    border-radius: 4px;
    display: block; /* Remove extra space below image */
    transition: transform 0.3s ease-in-out;
}

/* Optional: Change wrapper background on card hover */
.notice-card:hover .notice-image-wrapper {
    background-color: #0d6efd;
}

/* Optional: Animate image on hover */
.notice-card:hover .notice-image {
    transform: scale(1.1);
    filter: brightness(1);  
}


/* Notice Card Styling */
/*.notice-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #0d6efd; 
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center; /* Center all text content within the card by default */
}*/

/* Tags/Flags - Adjusted for centered card text */
.notice-tag {
    display: inline-block; /* Keep inline-block for fitting content */
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-left: auto; /* Center the tag if card is text-align center */
    margin-right: auto; /* Center the tag if card is text-align center */
}

/* ... (Keep the rest of your original Notice Card, title, content, and footer styles) ... */

/* --- Mobile Responsiveness --- */
@media (max-width: 767.98px) {
    .notice-card {
        padding: 20px;
    }
    .notice-title {
        font-size: 1.2rem;
    }
    .notice-content {
        font-size: 0.9rem;
    }
    .notice-footer {
        flex-direction: column;
        align-items: center; /* Center items in footer on mobile */
        gap: 5px;
    }
    .notice-date, .notice-read-more {
        text-align: center;
    }
}










/* --- Footer Section Styles --- */

.main-footer {
    background-color: #212529;  
    color: #f8f9fa;  
}

.footer-heading {
    color: #fff;  
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
    padding-bottom: 5px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #adb5bd;
}
 
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 8px;
}

.footer-links a, .footer-contact a {
    color: #ced4da;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #ffc107;  
}
 
.footer-contact .contact-icon {
    color: #fff;
    margin-right: 10px;
    font-size: 1rem;
}
 
.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background-color: #343a40;
    color: #adb5bd;
    font-size: 1rem;
    margin-right: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.social-icon:hover {
    background-color: #0d6efd;  
    color: white;
}
 
.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;  }

.copyright-text {
    font-size: 0.8rem;
    color: #adb5bd;
}

.designed-by {
    font-weight: 300;
}

 
@media (max-width: 767.98px) {
    .footer-heading {
        margin-top: 15px;
    }
     
    .footer-col:not(:last-child) {
        padding-bottom: 20px;
    }
}

 
/*
.alt-main-footer {
    background-color: #f0f4f7;  
    color: #495057;  
    border-top: 5px solid #0d6efd;  
}

.alt-footer-heading {
    color: #0d6efd;  
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ced4da;  
}

.alt-footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
}
 
.alt-footer-links, .alt-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alt-footer-links li {
    margin-bottom: 8px; 
    position: relative;
    padding-left: 15px;
}
.alt-footer-links li::before {
    content: "•";
    color: #ffc107; 
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.alt-footer-links a, .alt-footer-contact a {
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.alt-footer-links a:hover, .alt-footer-contact a:hover {
    color: #0d6efd; 
}
 
.alt-footer-contact li {
    font-size: 0.95rem;
    color: #495057;
}

.alt-contact-icon {
    color: #0d6efd;
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px; 
}
 
.alt-social-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 4px;  
    border: 1px solid #ced4da;
    background-color: transparent;
    color: #0d6efd;
    font-size: 1.1rem;
    margin-right: 10px;
    transition: all 0.3s;
}

.alt-social-icon:hover {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}
 
.alt-footer-bottom {
    background-color: #343a40;  
}

.alt-copyright-text {
    font-size: 0.85rem;
    color: #ced4da;  
}

 
@media (max-width: 767.98px) {
    .alt-footer-heading {
        margin-top: 15px;
        font-size: 1.2rem;
    }
     
    .footer-col {
        text-align: center;
    }

    .alt-footer-links li, .alt-footer-contact li {
        text-align: left; 
        display: inline-block;
        width: 100%;
    }
    
    .alt-footer-links li {
        padding-left: 0;  
    }
    .alt-footer-links li::before {
        left: -10px;  
        position: relative;
    }
    
    .alt-contact-icon {
        float: left;
    }
}*/






.bg-red{
    background-color: #ff0002;
}


.text-primary{
    color: #ff0002 !important;
}

.border-success{
    border-color: #4CAF50 !important;
}


.border-danger{
    border-color: #ff0002 !important;
}


.bg-success{
    background-color: #4CAF50 !important;
}

.btn-success{
    background-color: #4CAF50 !important;
}