/* header css start */
.navbar-div {
  display: inline-flex;
  position: fixed;
  top: 87px;
  background-color: #063142;
  z-index: 996;
  width: 100%;
  align-items: center;
  /*height: 50px;*/
}

/* Desktop Navigation */
@media (min-width: 1060px) {
  .navmenu {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    max-height: 35px;
    margin-top: 0px;
    display: flex;
    min-height: 40px;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 1px 7px;
  }

  .navmenu a,
  .navmenu a:focus {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    /*text-shadow: 0 0 10px rgb(255, 255, 255);*/
    /* text-transform: uppercase; */
  }

  @media (min-width: 1225px) {
    .navmenu a,
    .navmenu a:focus {
      font-size: 1.1rem;
      /* Increase font size for screens wider than 1225px */
    }
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--heading-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 5px 0;
    /* background: var(--nav-dropdown-background-color); */
    background: rgba(255, 255, 255, 0.92);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 132%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 3px;
    z-index: 99;
    box-shadow: 0px 0px 20px rgba(148, 148, 148, 0.321);
  }

  .navmenu .dropdown ul li {
    min-width: 150px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    color: black;
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
    transition: ease-in-out 0.5s;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    transform: scale(1.05);
    /* color: #ffffff; */
  }

  .navmenu .dropdown ul li:hover {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 121%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  .navmenu .dropdown-content {
    /*display: none;*/
    position: absolute;
    background-color: rgba(252, 252, 252, 0.92);
    min-height: 400px;
    min-width: 900px;
    top: 132%;
    right: -699px;
    border-radius: 3px;
    z-index: 99;
    justify-content: space-evenly !important;
    box-shadow: 0px 0px 20px rgba(148, 148, 148, 0.321);

    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    transition-delay: 0.4s;
    /* Delay by default (mouse out) */
  }

  .navmenu .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
    /* No delay when hovered */
  }

  .navmenu .dropdown-content .side-heading {
    justify-content: center;
    width: 70px;
    padding: 5px;
  }

  .navmenu .dropdown-content .side-heading p {
    /* color: #364d59; */
    color: #3e5a6a;
    /* color: var(--accent-color); */
    font-weight: bold;
    font-family: "Exo 2", sans-serif;
    font-style: italic;
    font-size: 36px;
    transform: rotate(270deg);
    margin-top: 230px;
    margin-bottom: 0;
  }

  .navmenu .dropdown-content .col {
    flex: 1;
    padding: 20px;
    max-width: 400px;
  }

  .navmenu .dropdown-content .col .div-line {
    margin-top: 31px;
    width: 3px;
    height: 35px;
    margin-right: 5px;
    background-color: var(--accent-color);
    background-color: #3e5a6a;
  }

  .navmenu .dropdown-content .col h4 {
    padding-top: 30px;
    /* color:  #3e5a6a; */
    color: var(--accent-color);
    font-weight: bold;
  }

  .navmenu .dropdown-content .col a {
    padding: 6px 6px;
    padding-left: 15px;
    color: black;
    text-decoration: none;
    display: block;
  }

  .navmenu .dropdown-content .col a:hover {
    color: var(--accent-color);
    transform: scale(1.03);
  }

  .mobile-nav-toggle {
    display: none;
  }
}

@media (max-width: 1059.99px) {
  .admission-contact-popup {
    display: none;
  }

  .navmenu .dropdown:hover .dropdown-content {
    display: none;
  }

  .contact-marquee {
    position: fixed;
    top: 55px;
    z-index: 995;
    background-color: #ffffffc4;
    font-size: 14px;
    scroll-behavior: smooth;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }

  .contact-marquee i {
    margin-right: 5px;
  }

  .impnews-marquee {
    display: none;
    font-weight: bold;
  }

  .navmenu .dropdown .dropdown-content {
    display: none;
  }

  .impnews-marquee-mobile {
    position: fixed;
    display: block;
    top: 76px;
    right: 0;
    z-index: 994;
    background-color: #ffffffc4;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    /* Hide overflowing content */
    width: 100vw;
    /* Ensure it spans the full width */
  }
}

@media (min-width: 1060px) {
  .dropdown .dropdown-content-mobile {
    display: none !important;
  }
}

/* Backdrop for dropdown menu */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.553);
  /* Semi-transparent background */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 98;
  /* One level below the dropdown menu */
}

/* Ensure backdrop is visible when any dropdown is hovered */
.navmenu a:hover + .backdrop,
.navmenu a:focus + .backdrop {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation */
@media (max-width: 1059.99px) {
  .header {
    z-index: 995;
  }

  .navbar-div {
    background-color: transparent;
  }

  .mobile-nav-toggle {
    color: rgb(106 105 105);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    position: fixed;
    right: 1%;
    top: 1.4%;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 55px 10px 20px 10px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu li {
    border-bottom: 1px solid #d3d3d378;
  }

  .navmenu li:last-child,
  .navmenu li:last-child:focus {
    border-bottom: none;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: scaleY(-1);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #ffffff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  .logo img {
    max-height: 45px;
  }

  .nav-contact-detail p {
    display: none;
  }
}

.dropdown-menu .dropdown-menu {
  left: 100% !important;
  /* top: 0 !important; */
  margin-left: 0.125rem !important;
}

@media (min-width: 992px) {
  /* Show dropdown on hover */
  .dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  /* Default hidden state for dropdown */
  .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    position: absolute;
    left: 0;
    top: 100%;
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  /* Ensure submenus open properly */
  .dropdown .dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    left: 100%;
    /* Makes submenus appear on the right */
    top: 0;
  }
}

/* Mobile menu toggle */
@media (max-width: 991px) {
  .dropdown-menu {
    display: none;
  }

  .dropdown.active > .dropdown-menu {
    display: block;
  }

  /* Nested submenus (for mobile) */
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .top-menu a {
    display: none;
  }
}

/* Media Query for screens 760px or smaller */
@media (max-width: 760px) {
  .contact-email-section {
    display: none !important;
    /* Force hide the contact and email section */
  }
}

@media (max-width: 1060px) {
  .top-menu a {
    display: none;
  }
}

/* Media Query for screens 760px or smaller */
@media (max-width: 760px) {
  .contact-email-section {
    display: none !important;
    /* Force hide the contact and email section */
  }
}

/* new header Container and General Styles  */
/* Custom Container and General Styles */
.custom-container-header {
  width: 100%;
  max-width: 1200px;
  /* Adjust as needed */
  margin: 0 auto;
  /* Center the container */
  padding: 0 15px;
  /* Add some padding for smaller screens */
  box-sizing: border-box;
  /* Ensure padding is included in width */
}

/* Custom Flexbox Layout */
.custom-flex {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
}

.custom-justify-center {
  justify-content: center;
  /* Center content horizontally */
}

.custom-align-center {
  align-items: center;
  /* Center content vertically */
}

.custom-text-center {
  text-align: center;
  /* Center text */
}

/* Spacing and Padding */
.custom-px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.custom-py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.custom-me-md-5 {
  margin-right: 3rem;
  /* Spacing between sections */
}

.custom-mb-1 {
  margin-bottom: 0.25rem;
}

/* Typography */
.custom-fw-bold {
  font-weight: bold;
  /* Bold text */
}

.custom-fs-4 {
  font-size: 1.5rem;
  /* Adjust font size as needed */
}

.custom-small {
  font-size: 0.875rem;
  /* Smaller text */
}

.custom-text-muted {
  color: #6c757d;
  /* Muted text color */
}

.custom-text-uppercase {
  text-transform: uppercase;
  /* Uppercase text */
}

/* Logo and Text Sections */
.custom-logo-text1 h1 {
  margin: 0;
  /* Remove default margin */
  line-height: 1.2;
  /* Adjust line height for better readability */
  white-space: nowrap;
  /* Prevent line breaks by default */
}

@media (max-width: 1024px) {
  .custom-container-header {
    max-width: 95%;
    /* Ensure balanced left and right spacing */
    padding: 0 30px;
    /* Adjust padding to fit screen */
    margin: 0 auto;
    /* Center the container */
  }

  .custom-flex {
    max-width: 100%;
    padding: 0 20px;
    /* Fine-tune the spacing at 1024px */
  }

  .custom-logo-text1 h1 {
    white-space: nowrap;
    /* Prevent text from wrapping */
    font-size: 1.1rem;
    /* Slightly reduce font size for better fit */
  }
}

@media (max-width: 1024px) {
  .custom-container-header {
    padding: 0 10px;
    /* Adjust padding for 1024px screen size */
  }

  .custom-flex {
    flex-wrap: nowrap;
    /* Prevent wrapping for 1024px screen size */
  }

  .custom-logo-text1 h1 {
    white-space: nowrap;
    /* Ensure text stays in one line */
  }

  .custom-me-md-5 {
    margin-right: 1.5rem;
    /* Adjust spacing between sections for 1024px screen size */
  }
}

/* Responsive Adjustments */
@media (max-width: 568px) {
  .custom-flex {
    flex-direction: column;
    /* Stack items vertically on smaller screens */
  }

  .custom-me-md-5 {
    margin-right: 0;
    /* Remove right margin on smaller screens */
    /* margin-bottom: 1rem;  */
  }

  .custom-logo-text1 h1 {
    white-space: normal;
    /* Allow line breaks on smaller screens */
  }

  .custom-fs-4 {
    font-size: 1.25rem;
    /* Adjust font size for smaller screens */
  }

  .mobile-view {
    padding-top: 10px;
    margin: 0px;
  }
}

/* Change text color on hover for the name links */
.name-link:hover h1 {
  color: black;
  /* Change to your desired hover color */
}

/* Ensure the logo does not change color on hover */
a img:hover {
  opacity: 1;
  /* Keep the logo unchanged */
}

/* Media query for 1024px screens */
@media (min-width: 992px) and (max-width: 1199px) {
  /* Reduce spacing between Marathi text and logo */
  .marathi-text {
    margin-right: 1rem !important;
  }

  /* Reduce spacing between logo and English text */
  .logo-container {
    margin-right: 1rem !important;
  }

  /* Optionally adjust text size if needed */
  .custom-logo-text1 h1 {
    font-size: 1.1rem !important;
    line-height: 1.3;
  }
}

/* Mobile: min 400px */
@media (min-width: 401px) {
  .heading-paragraph {
    text-align: center;
    font-size: 8px;
  }
  p {
    /* font-size: 14px; */
  }
}

/* Mobile: max 400px */
@media (max-width: 400px) {
  .mobile-view {
    height: 220px;
  }

  .heading-paragraph {
    text-align: center;
    font-size: 7px;
  }
  p {
    font-size: 10px;
  }
}

@media (min-width: 769px) {
  .heading-paragraph {
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 700px) and (min-width: 580px) {
  .heading-paragraph {
    font-size: 8px;
    text-align: center;
  }

  .mobile-view {
    margin: 10px;
  }

  .tab {
    font-size: 13px !important;
  }
}

/* header css end  */

/* contact us breadcrum */
.contact-bread {
  position: relative;
  background: url("../images/kvn_img/college-front-image1.jpeg") center
    center/cover no-repeat;
  display: flex;
  height: 200px; /* Default height for larger screens */
  justify-content: center;
  align-items: flex-end;
  color: aliceblue;
  font-family: sans-serif;
  margin-top: 3%;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  z-index: 1;
}

.contact-contant {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 15px; /* Add padding for smaller screens */
}

.contact-contant h1 {
  color: antiquewhite;
  font-family: "Open Sans", sans-serif; /* Ensure font is applied */
  font-size: 34px; /* Default font size for larger screens */
  margin-bottom: 10px;
}

.contact-contant a {
  color: #fff;
  text-decoration: none;
}

.contact-contant a:hover {
  text-decoration: underline;
}

.contact-item {
  color: #fff;
}

.contact-item.active {
  color: #fff;
}

/* Default styles for larger screens */
@media (max-width: 1200px) {
  .contact-bread {
    height: 180px; /* Adjusted for large screens */
    margin-top: 3%;
  }

  .contact-contant h1 {
    font-size: 30px; /* Slightly smaller font size */
  }
}

/* Optimized for medium screens (laptops & smaller desktops) */
@media (max-width: 992px) {
  .contact-bread {
    height: 160px; /* Adjust height */
    margin-top: 12%;
  }

  .contact-contant h1 {
    font-size: 26px;
  }

  .contact-contant {
    padding: 0 18px; /* Improved spacing */
  }
}

/* Optimized for tablets (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
  .contact-bread {
    height: 160px;
    margin-top: 10%;
  }

  .contact-contant h1 {
    font-size: 26px;
  }

  .contact-contant {
    padding: 0 18px;
  }
}

/* Optimized for tablets & small screens (up to 768px) */
@media (max-width: 768px) {
  .contact-bread {
    height: 150px;
    margin-top: 4%; /* Adjusted for better spacing */
  }

  .contact-contant h1 {
    font-size: 24px; /* Readable font size */
  }

  .contact-contant {
    padding: 0 15px;
  }
}

/* Mobile-friendly styles (576px and below) */
@media (max-width: 576px) {
  .contact-bread {
    height: 120px;
    margin-top: 33%; /* Less margin for better fit */
  }

  .contact-contant h1 {
    font-size: 20px;
  }

  .contact-contant {
    padding: 0 12px; /* More padding for better readability */
  }
}

/* Smallest screens (extra small mobile - 400px and below) */
@media (max-width: 400px) {
  .contact-bread {
    height: 100px;
    margin-top: 51%;
  }

  .contact-contant h1 {
    font-size: 18px;
  }

  .contact-contant {
    padding: 0 8px;
  }
}

@media (max-width: 320px) {
  .contact-bread {
    height: 100px;
    margin-top: 60%;
  }

  .contact-contant h1 {
    font-size: 18px;
  }

  .contact-contant {
    padding: 0 8px;
  }
}

/* Additional styles for icons */
.info-box-address i {
  color: red;
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center !important;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

/* Responsive adjustments for icons */
@media (max-width: 768px) {
  .info-box-address i {
    width: 48px;
    height: 48px;
    font-size: 20px; /* Smaller icon size for tablets */
  }
}

@media (max-width: 576px) {
  .info-box-address i {
    width: 40px;
    height: 40px;
    font-size: 18px; /* Smaller icon size for mobile devices */
  }
}

/* Contact Container */
.contact-container-address {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 35px;
  gap: 20px;
}

/* Info Row */
.info-row-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 20px;
}

/* Info Box */
.info-box-address {
  text-align: center;
  flex: 1 1 calc(33.33% - 20px); /* Three boxes per row */
  min-width: 200px;
  max-width: 473px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added box shadow */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers icons horizontally */
  justify-content: center; /* Centers icons vertically */
  padding: 15px;
  background-color: #ffffff; /* White background for better contrast */
  border-radius: 8px; /* Rounded corners */
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.info-box-address img {
  height: 80px; /* Fixed height for icons */
}

.info-box-address h2 {
  color: black;
  font-weight: bold;
  margin: 10px 0; /* Spacing around headings */
}

/* Map Section */
.map-section-contact {
  flex: 2 1 60%; /* Takes 60% of the width */
  margin: 10px;
  min-width: 300px;
}

/* Form Section */
.form-section-contact {
  flex: 1 1 35%; /* Takes 35% of the width */
  max-width: 300px;
  margin: 10px;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Spacing between form elements */
}

input,
textarea,
button {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

button {
  background-color: #ff6b6b;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #ff5252;
}

/* Icon Container */
.icon-container {
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center */
  flex-direction: column; /* Stack content vertically if needed */
  text-align: center; /* Align text below the icon */
  width: 100%; /* Optional for responsiveness */
  height: 100%; /* Optional for vertical centering */
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .contact-container-address {
    padding: 80px; /* Reduce padding for large screens */
  }
}

@media (max-width: 1024px) {
  .info-box-address {
    flex: 1 1 calc(50% - 20px); /* Two boxes per row */
  }

  .map-section-contact {
    flex: 1 1 100%; /* Full width for map section */
  }

  .form-section-contact {
    flex: 1 1 100%; /* Full width for form section */
    max-width: 100%; /* Remove max-width restriction */
  }
}

@media (max-width: 768px) {
  .contact-container-address {
    padding: 40px; /* Further reduce padding for tablets */
  }

  .info-box-address {
    flex: 1 1 100%; /* One box per row */
  }

  .icon-container {
    font-size: 36px; /* Adjust icon size for smaller screens */
  }
}

@media (max-width: 480px) {
  .contact-container-address {
    padding: 20px; /* Minimal padding for mobile devices */
  }

  input,
  textarea,
  button {
    font-size: 12px; /* Smaller font size for form elements */
    padding: 8px; /* Reduce padding for form elements */
  }

  button {
    font-size: 14px; /* Adjust button font size */
  }

  .icon-container {
    font-size: 32px; /* Adjust icon size for extra-small screens */
  }
}
/* Board of Director */
/* General Styles */
.top-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff, #eaf4fc);
}

/* Board Container */
.board-container {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.board-container h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #d32f2f;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.board-container h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #d32f2f;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Board Members */
.board-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 members per row */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.member {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); /* Enhanced shadow */
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Enhanced hover shadow */
}

/* Member Image */
.member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Shadow for the image */
  transition: transform 0.3s ease;
}

.member img:hover {
  transform: scale(1.05);
}

/* Member Text */
.member h3 {
  font-size: 20px;
  margin: 10px 0 5px;
  color: #222;
}

.member p {
  font-size: 16px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .board-members {
    grid-template-columns: repeat(3, 1fr); /* Still 3 per row on tablets */
  }
}

@media (max-width: 768px) {
  .board-members {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on smaller screens */
  }

  .member img {
    width: 100px;
    height: 100px;
  }

  .member h3 {
    font-size: 18px;
  }

  .member p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .board-members {
    grid-template-columns: 1fr; /* 1 per row on small screens */
  }

  .board-container h2 {
    font-size: 28px;
  }
}

/* President Message */
/* General Styles */

/* Default styles for all screen sizes */
.top-section {
  padding: 20px 20px;
}

/* Message Container */
.message-container {
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Heading Styles */
.message-container h2 {
  font-size: 32px;
  color: #ec364b;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 3px solid #d32f2f;
  display: inline-block;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Message Content */
.message-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Text Section */
.text-section {
  flex: 2;
  order: 1; /* Default order for text (appears first on large screens) */
}

.text-section h3 {
  font-size: 24px;
  color: #444;
  margin-bottom: 20px;
}

.text-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  text-align: justify;
}

/* Image Section */
.image-section {
  flex: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2; /* Default order for image (appears second on large screens) */
}

.image-section img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-section img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
  .message-content {
    flex-direction: column;
    gap: 20px;
  }

  .text-section {
    text-align: center;
    order: 2; /* Text appears second on small screens */
  }

  .image-section {
    margin-top: 20px;
    order: 1; /* Image appears first on small screens */
  }
}

@media (max-width: 576px) {
  .message-container h2 {
    font-size: 28px;
  }

  .text-section h3 {
    font-size: 20px;
  }

  .text-section p {
    font-size: 14px;
  }
}

/* overview css */

/* General Reset */
/* 
   .container-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  
  .value-and-strength {
    background: linear-gradient(135deg, #f3f4f7, #e0e4e8);
    padding: 60px 20px;
  }
  
  .section-title-overview {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
    font-family: var(--georgia-reg);
     color: var(--color-prime-dark);
  }
  
  .content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
  }
  
  .actions {
    margin-top: 20px;
  }
  
  .btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .btn-primary:hover {
    background-color: #0056b3;
  }
  
  .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6c757d;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
    transition: background-color 0.3s ease;
  }
  
  .btn-secondary:hover {
    background-color: #5a6268;
  }
  
  .gallery {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .img-wrap {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }
  
  .img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
  }
  
  .img-wrap:hover img {
    transform: scale(1.1);
  }
  
  .img-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  }
  

  @media (max-width: 992px) {
    .image-grid {
      grid-template-columns: 1fr;
    }
  
    .content {
      margin-bottom: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .section-title {
      font-size: 24px;
    }
  
    .content p {
      font-size: 14px;
    }
  }
    */

/* Main Section Padding */
.value-and-strength {
  background: linear-gradient(135deg, #f8f9fa, #e1e5eb);
  padding: 25px 20px; /* Increase padding for a better look */
  /* padding: 80px 20px; */
}

@media (max-width: 992px) {
  .value-and-strength {
    padding: 10px 20px; /* Increase padding for a better look */
  }

  .content {
    /* margin-bottom: 40px;  */
  }
}

/* Title Styling - Improved Spacing */
.section-title-overview {
  font-size: 32px; /* Slightly reduced font size */
  margin-bottom: 25px; /* More space below the title */
  font-family: "Archivo", serif;
  color: #2c3e50;
  text-align: left;
  line-height: 1.4;
  font-weight: 700;
}

/* Content Paragraphs - Better Spacing */
.content p {
  font-size: 17px; /* Slightly larger text for better readability */
  margin-bottom: 18px; /* More space between paragraphs */
  color: #555;
  line-height: 1.7; /* Improved line-height for clarity */
}

/* Buttons - Increased Padding & Smoothed Hover */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #3498db;
  color: #fff;
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-3px); /* Smooth hover effect */
}

.btn-secondary {
  background-color: #7f8c8d;
  color: #fff;
  margin-left: 15px;
}

.btn-secondary:hover {
  background-color: #95a5a6;
  transform: translateY(-3px); /* Smooth hover effect */
}

/* Gallery - Improved Layout and Hover Effects */
.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Adjust grid for a balanced look */
  gap: 20px;
  margin: 0 15px;
}

.img-wrap {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* More subtle shadow */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.img-wrap:hover img {
  transform: scale(1.05); /* Smooth zoom effect */
}

.img-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Enhanced hover shadow */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .image-grid {
    grid-template-columns: 1fr; /* Single column layout for smaller screens */
  }

  .content {
    /* margin-bottom: 40px;  */
  }
}

@media (max-width: 768px) {
  .section-title-overview {
    font-size: 30px; /* Slightly reduced font size for smaller screens */
    text-align: center; /* Center-align title on mobile */
  }

  .content p {
    font-size: 16px; /* Slightly smaller text for mobile */
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 10px 20px; /* Reduced padding for mobile */
  }

  .gallery {
    margin-top: 40px;
  }
}

/* institution_page  */
.info-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding: 20px;
}

/* Text Section */
.subheading {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
}

.separator {
  width: 50px;
  height: 4px;
  background-color: #dc3545;
  margin: 1rem 0;
}

p {
  text-align: justify;
  /* padding:15px; */
}

.description {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 1.25rem;
}

.btn-outline-primary {
  color: #007bff;
  border: 2px solid #007bff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: #fff;
}

/* Image Section */
.img-fluid {
  /* border-radius: 10px; */
  /* filter: drop-shadow(2px 4px 6px black); */
}

.shadow-lg {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* institution gallery */

.head {
  text-align: center;
  margin: 20px 0;
  color: #333;
}

.head span {
  color: #a60000;
}

.gallery-container {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 4px 6px rgba(41, 6, 6, 0.63), 0 8px 20px rgba(0, 0, 0, 0.2); /* 3D shadow */
  height: 200px; /* Fixed height for all gallery items */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container without distortion */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for both effects */
}

.gallery-item:hover img {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0 10px 15px rgba(229, 9, 9, 0.877),
    0 15px 35px rgba(202, 10, 10, 0.922); /* Stronger shadow on hover */
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}
/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
}

/* classroom  */

.hostel-facilitie {
  margin-top: 30px;
}

.seminar-left {
  margin-top: 35px;
}
