.body {
    overflow-x: hidden;
}
/* topheader */
#topheader {
    background-image: linear-gradient(#b9d7ef, #ffffff);
    padding: 2px 0;
}

.logo img {
    max-width: 100%;
    height: auto;
    margin-left: 5px;
}

.leader-row {
    gap: 2px; /* Space between items */
}

.leader-card {
    width: 150px; /* Fixed width for uniformity */
}

.leader-img {
    width: 100%;
    height: auto;
    max-width: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.divider {
    width: 2px;
    background-color: #ccc;
    height: 80px;
}

@media (max-width: 768px) {
    .divider {
        display: none; /* Hide divider on smaller screens */
    }

    .leader-card {
        width: 120px;
    }

    .leader-img {
        max-width: 80px;
    }
}

.text {
    color: green;
    font-size: larger;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

/*.img-size {
    max-width: 55%;
    height: auto;
}*/

.img-size {
    width: auto;
    height: 80px;
}



/* end of the first header */

/* first navbar */
/* Navbar toggler button styling */
.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Custom navbar menu item spacing */
.custom-nav .nav-item {
    margin-right: 15px;
}

/* Custom link styles */
.custom-link {
    position: relative;
    color: yellow !important;
    text-decoration: none;
    font-weight: bold;
}

    .custom-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: yellow;
        transition: all 0.3s ease-in-out;
        transform: translateX(-50%);
    }

    .custom-link:hover::after {
        width: 100%;
    }

/* Optional: Adjust button spacing on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
    }

    .btn {
        margin-top: 10px;
    }
}


/* third header */
.secondHeader {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1vh;
    padding: 1px 0;
    margin-top: 1px;
    margin-bottom: 4px;
    position: relative;
}

/* Hide checkbox */
.menu-toggle {
    display: none;
}

/* Hamburger Button */
.toggle-btn {
    font-size: 1.8rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: none; /* Hidden by default */
}

.secondHeader ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.secondHeader li {
    background-color: white;
    color: black;
    border: 1px solid white;
    padding: 7px 20px;
    text-align: center;
    font-size: 1rem;
    width: 150px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

/*  .secondHeader li:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
  }*/

.secondHeader a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Responsive for Tablets */
@media (max-width: 992px) {
    .secondHeader ul {
        gap: 10px;
        justify-content: center;
    }

    .secondHeader li {
        width: 130px;
        padding: 8px 15px;
        font-size: 0.95rem;
    }
}

/* Responsive for Mobile Devices */
@media (max-width: 576px) {
    /* Show toggle button */
    .toggle-btn {
        display: block;
    }

    /* Default hide menu */
    .secondHeader ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #222;
        padding: 10px 0;
        z-index: 999;
        align-items: center;
        justify-content: center;
    }

    /* Show menu when checkbox is checked */
    .menu-toggle:checked + .toggle-btn + .nav-menu {
        display: flex;
    }

    .secondHeader li {
        width: 100%;
        font-size: 1rem;
    }
}





/* govtIndia sec */
#goverNemt {
    background-color: #213555;
    overflow: hidden; /* hides overflow content */
    width: 100%;
    height: 50px;
    margin-top: -3px;
}

.text1 {
    width: 100%;
    height: 100px;
    /* display: flex
; */
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    font-size: 1.2rem; /* Default font size */
    animation: scroll-left 40s linear infinite;
}

.headline {
    display: inline-block;
    margin-right: 200px; /* Adjust the gap as needed */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Responsive font sizes */

/* Small devices (phones) */
@media (max-width: 600px) {
    .scroll-text {
        font-size: 0.8rem; /* Smaller text for phones */
    }

    .text1 {
        height: 70px; /* Reduce height if needed */
    }
}

/* Medium devices (tablets) */
@media (min-width: 601px) and (max-width: 992px) {
    .scroll-text {
        font-size: 1rem; /* Medium size text */
    }

    .text1 {
        height: 80px; /* Adjust height if needed */
    }
}

/* Large devices (desktops and above) */
@media (min-width: 993px) {
    .scroll-text {
        font-size: 1.2rem; /* Default size */
    }

    .text1 {
        height: 100px; /* Default height */
    }
}



/* image with text section */
/* Background Image Section */
.backGround-img {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px; /* Minimum height, can adjust */
    text-align: center;
    background: url('../Image/mountain.png') no-repeat center center / cover;
    position: relative;
    padding: 40px 20px;
}

/* Dark Transparent Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Centered Content */
.text-content {
    width: 80%;
    max-width: 800px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .text-content h4 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

.textBackGround2 p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
}

/* Custom Button */
#custom-btn-readmore {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: yellow;
    color: rgb(19, 18, 18);
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #f7d800;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .text-content h4 {
        font-size: 1.5rem;
    }

    .textBackGround2 p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .text-content {
        width: 90%;
    }

        .text-content h4 {
            font-size: 1.2rem;
        }

    .textBackGround2 p {
        font-size: 0.9rem;
    }

    .custom-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}



/* mapsection */


.mapSize {
    width: 100%;
    height: 444px;
    /*height: 437px;*/
}






/* grid section Section */
.container .boxes {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 10px;
    padding: 10px;
}

/* Left Section */
.left {
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
    width: 100%;
}

/* Upper Section (Split left and right) */
.upper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    width: 100%;
}

/* Upper Left (Stack two cards vertically) */
.upper-left {
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
}

/* Card Style */
.boxes .card {
    display: flex;
    flex-direction: column;
    background-image: url('../Image/XMLID_1_.png');
    background-color: rgba(214, 240, 247, 0.9);
    background-size: cover;
    background-position: center;
    border: 1px solid black;
    padding: 10px !important; /* Override Bootstrap */
    box-shadow: none !important; /* In case Bootstrap adds shadows */
}

/* Individual card height overrides if needed */
#card2, #card3, #card4 {
    height: auto;
}

/* List details spacing */
.listDetails {
    margin-left: 2px;
    margin-top: -12px;
}

.headerclr {
    color: blue;
    font-size: small;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 991px) {
    .container .boxes {
        grid-template-columns: 1fr;
    }

    .upper {
        grid-template-columns: 1fr;
    }

    .upper-left {
        grid-template-rows: auto auto;
    }

    .mapSize {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .container-fluid .row {
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
    }

    .container .boxes {
        display: flex;
        flex-direction: column;
    }

    .upper {
        display: flex;
        flex-direction: column;
    }

    .mapSize {
        height: 350px;
    }
}





/* map gallery and photo gallery */

.heading-map {
    text-align: center;
    margin-bottom: 20px;
    margin-left: 10px;
}

    .heading-map h3 {
        font-size: 24px;
    }

.map_sld {
    margin: 0 auto;
    width: 90%;
}

.photo_sld {
    margin: 0 auto;
    width: 90%;
}

.map_sld .element {
    margin-right: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.photo_sld .element {
    margin-right: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.map_sld .slick-slide:last-child .element {
    margin-right: 0;
}

.photo_sld .slick-slide:last-child .element {
    margin-right: 0;
}

.map_sld .element {
    width: 100%;
    height: auto !important;
    /*    border: 2px solid #ddd;*/
    border: 2px solid #6f6969;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
}


.documents_wld .item {
    width: 380px !important;
}

.documents_wld .slick-slide img {
    display: block;
    width: 100%;
    min-height: 300px !important;
    object-fit: fill;
    max-height: 300px !important;
}

.photo_sld .element {
    width: 100%;
    height: auto !important;
    /*    border: 2px solid #ddd;*/
    border: 2px solid #6f6969;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
}

.map_sld .element img {
    width: auto;
    height: auto !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo_sld .element img {
    width: auto;
    height: auto !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}


/*.photo_sld .slick-slide .element {
        width: 100% !important;
        height: auto !important;
        border-radius: 5px;
        overflow: hidden;
        position: relative;
        background-color: #f9f9f9 !important;
    }

        .photo_sld .slick-slide .element img {
            width: auto;
            height: auto !important;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .photo_sld .slick-slide .element:hover img {
            transform: scale(0.9);
        }
*/

.map_sld .element:hover img {
    transform: scale(0.9);
}

.photo_sld .element:hover img {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    .map_sld .element,
    .photo_sld .element {
        margin-right: 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Styles */
/*.modal {
  display: none;*/ /* Hidden by default */
/*position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);

  display: flex;*/ /* You can toggle between none and flex */
/*justify-content: center;
  align-items: center;
}

.modal-content-Main {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 1061px;
  max-width: 90%;
  height: 601px;
  position: relative;
  animation: fadeIn 0.5s;
  box-sizing: border-box;
}*/

/*.modal-content-Main img {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: contain;
}*/

.modal-info {
    font-size: 16px;
    color: #333;
    align-items: center;
    justify-content: center;
}

/*.close-btn {
  position: absolute;
  top: 0px;
  right: 8px;
  color: #333;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}*/


/*new css*/
/*.modal-map-gallery {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center !important;
    align-items: center;
}

.modal-content-Main {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 1061px;
    max-width: 90%;
    height: 601px;
    position: relative;
    animation: fadeIn 0.5s;
    box-sizing: border-box;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}

#modalImage {
    max-width: 100%;
    height: auto;
}
*/ /**/

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .modal-info {
        font-size: 14px;
    }

    .close-btn {
        font-size: 24px;
        top: 5px;
        right: 10px;
    }
}









/* Documents Section */
.heading-documents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .heading-documents h2 {
        font-size: 28px;
    }

.see-more-btn {
    text-decoration: none;
    color: #5696ca;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .see-more-btn:hover {
        color: #3f7bb2;
    }

/* Slick Slider Wrapper (documents_wld replaces documents-slider) */
.documents_wld {
    /*  margin: 0 -20px;*/
    gap: 10px;
    padding: 10px 68px;
}

    .documents_wld .slick-track {
        width: 1200px !important;
    }

.documentsss_wld .item {
    padding: 4px; /* Space between each slide */
    box-sizing: border-box;
    gap: 5px;
}

.item.box {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);*/
    /*    transition: transform 0.3s ease;
*/ height: auto;
}
/*
.item.box:hover {
  transform: translateY(-5px);
}*/

.documentsss_wld .image-wrapper {
    position: relative;
    width: 100%;
    /*    height: 300px;
*/ overflow: hidden;
    border-radius: 10px;
    border: 2px solid #6f6969;
    height: auto !important
}

/*.image-wrapper {
     position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    border-radius: 10px;
 
}*/

.image-wrapper img {
    width: 100%;
   min-height:350px;
   max-height:350px;
    object-fit: inherit;
}

/* Hover Content */
.hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: rgba(86, 150, 202, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(10px);
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: height 0.5s ease-in-out, background-color 0.5s ease-in-out;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.image-wrapper:hover .hover-content {
    height: 100%;
    background: rgba(185, 215, 239, 0.7);
    border-radius: 10px;
}

.hover-content h6 {
    margin: 5px 0;
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

/*.hover-content p {
  font-size: 16px;
  opacity: 0;
  transform: translateY(20px);
  color: #000;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-weight: bold;
}*/

.hover-content p {
    font-size: 16px;
    opacity: 0;
    transform: translate(20px);
    color: #000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-weight: bold;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word; /* fallback */

    white-space: normal; /* allow wrapping */

    line-height: 1.2;
}

.image-wrapper:hover .hover-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .image-wrapper {
        height: 250px;
    }
}



/* General Section Styling */









.slick-slide {
    float: left;
    height: auto;
    min-height: 1px;
}



/* contact us */
/* Base styling for both buttons */
.contact-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

    /*.contact-section h3 {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}*/
    .contact-section h3 {
        font-size: 1.75rem;
        margin-bottom: 30px;
        /* color: #333;*/
        font-family: 'Lora-Bold';
    }


/* Slider Track spacing */
.custom-contact-slider {
    padding: 0 20px;
    box-sizing: border-box;
}

    /* Profile Card styles */
    .custom-contact-slider .profile-card {
        position: relative;
        margin: 2px 5px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        /*  border: none;*/
        border: 2px solid #6f6969;
        border-radius: 10px;
        text-align: center;
        padding: 20px;
        background-color: #fff;
        overflow: hidden;
        transition: transform 0.3s ease;
        margin-bottom: 5px;
        /*height: 400px;*/
        height: 375px;
        width: 432px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

/*.custom-contact-slider .profile-card:hover {
  transform: translateY(-5px);
}*/

.profile-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10%;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
}

.profile-card:hover img {
    transform: scale(1.05);
}

.profile-card h5 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.profile-card .designation {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 15px;
}

/* Overlay renamed class */
.contact-section {
    padding: 40px;
    text-align: center;
    background: #fff;
}

    .contact-section h3 {
        font-size: 28px;
        margin-bottom: 30px;
        /*color: #333;*/
    }

.custom-contact-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.profile-card {
    position: relative;
    width: 250px;
    height: 350px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

    /*.profile-card:hover {
  transform: translateY(-10px);
}*/

    .profile-card img {
        width: 60%;
        height: 200px;
        object-fit: cover;
    }

.name-designation {
    padding: 0px;
}

    .name-designation h5 {
        margin: 10px 0 5px;
        font-size: 20px;
        color: #333;
    }

    .name-designation p {
        margin: 5px 0;
        color: #666;
        font-size: 14px;
    }

    .name-designation h6 {
        margin: 5px 0;
        color: #007bff;
        font-size: 16px;
    }

/* Hover Overlay */
/*.contact-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #007acc, #00d4ff);*/ /* Water theme gradient */
/*color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(20%);
  transition: all 0.5s ease-in-out;
  border-radius: 12px;
  z-index: 2;
}*/

/*.profile-card:hover .contact-hover-overlay {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}*/

.contact-hover-overlay h6 {
    margin: 10px 0;
    font-size: 20px;
}

.contact-hover-overlay p {
    font-size: 16px;
    margin: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-contact-slider {
        flex-direction: column;
        align-items: center;
    }

    .profile-card {
        width: 90%;
        height: auto;
    }

        .profile-card img {
            height: 200px;
        }
}

@media (max-width: 480px) {
    .contact-hover-overlay {
        font-size: 14px;
        padding: 15px;
    }

        .contact-hover-overlay h6 {
            font-size: 18px;
        }

        .contact-hover-overlay p {
            font-size: 14px;
        }
}



/* footerMain */
.footer-main {
    margin-top: 5px;
    width: 100%;
    height: auto;
}

.footer-text {
    color: white;
}
