/* Base styles */
.header-section {
  background-image: url("website/header_home.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; /* Center the background image */
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100vw;
}

@media only screen and (max-width: 767px) {
  .header-section {
    background-image: url("Facebook post - 2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100vw;
  }
}

.overlay-content {
  color: #bf392c;
  font-weight: 800;
}

.logo-img {
  height: 30vh;
}

h1 {
  color: #bf392c;
  font-weight: 800;
  text-shadow: 1px 0 0 #fdfdfd, 0 1px 0 #fdfdfd, -1px 0 0 #fdfdfd,
    0 -1px 0 #fdfdfd;
  font-size: 40px;
  margin: 0;
  line-height: 1.2;
}

/* lenova leptop screen start  */
@media only screen and (min-width: 1366px) and (max-height: 768px) {
  .header-section {
    height: 60vh !important;
  }

  .logo-img {
    max-width: 200px;
    /* margin-bottom: 20px; */
    height: 25vh !important;
  }

  html,
  body {
    overflow-x: hidden;
  }

  #lenova_history_mob {
    display: none !important;
  }

  #lenova_history_pc {
    display: block;
    font-size: 80px !important;
    text-align: justify;
  }

  #lenova_history_pc2 {
    display: block;
    font-size: 40px !important;
    text-align: justify;
  }

  #lenova_college {
    font-size: 24px !important;
    text-align: left;
  }

  #college-description {
    font-size: 25px !important;
  }

  .history-title {
    font-size: 85px !important;
  }

  .lenova_hist_text {
    font-size: 85px !important;
  }

  .history-title {
    font-size: 80px !important;
  }

  #leptop_president {
    font-size: 80px !important;
  }

  #leptop_president2 {
    font-size: 35px !important;
  }

  .container {
    max-width: 90% !important;
  }

  #leptop_preside {
    display: none;
  }

  .ipad_pro_font {
    text-align: left !important;
  }

  #lenova_text {
    text-align: justify !important;
    font-size: 23px !important;
  }

  #leptop_preside2 {
    display: block !important;
  }

  .tab_img_president {
    object-fit: contain;
  }

  /* Your CSS code here */
}

/* lenova leptop screen End  */

/* Responsive styles */
@media (max-width: 1200px) {
  .logo-img {
    height: 25vh;
  }

  h1 {
    font-size: 35px;
  }
}

@media (max-width: 992px) {
  .logo-img {
    height: 20vh;
  }

  h1 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 15vh;
  }

  h1 {
    font-size: 25px;
  }

  .header-section {
    height: 50vh; /* Adjust height if necessary */
  }
}

@media (max-width: 576px) {
  .logo-img {
    height: 10vh;
  }

  h1 {
    font-size: 20px;
  }

  .header-section {
    height: 48vh; /* Adjust height if necessary */
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 20vh;
  }

  h1 {
    font-size: 22px;
  }

  .header-section {
    height: 48vh; /* Adjust height if necessary */
  }
}

.navbar-nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.navbar-nav .nav-item {
  margin: 0 10px; /* Adjust spacing between menu items */
}
.nav-link {
  font-size: 1.3vw;
  color: white !important;
}

.mission-card {
  height: 60vh;
}

.mission-content {
  height: 57vh;
}

@media (min-width: 1025px) {
  .mission-card {
    height: 70vh; /* Increase height for larger screens */
    background-size: cover; /* Ensure the background covers the entire card */
  }

  .mission-content {
    height: 67vh; /* Match content height to the card */
    padding: 20px; /* Add extra padding for readability */
  }

  h3 {
    font-size: 26px; /* Slightly increase font size for better readability */
  }

  p,
  ol {
    font-size: 20px; /* Increase paragraph and list font sizes */
  }
}

@media (min-width: 1366px) {
  .mission-card {
    height: 75vh; /* Slightly taller cards on larger screens */
  }

  .mission-content {
    height: 72vh; /* Match content height with card */
  }

  h3 {
    font-size: 28px; /* Increase heading font size */
  }

  p,
  ol {
    font-size: 22px; /* Increase font size for text and list */
  }
}

@media (min-width: 1600px) {
  .mission-card {
    height: 80vh; /* Taller cards for ultra-wide screens */
  }

  .mission-content {
    height: 77vh; /* Match content height with card */
  }

  h3 {
    font-size: 30px; /* Larger heading for extra-large screens */
  }

  p,
  ol {
    font-size: 24px; /* Larger font size for extra readability */
  }
}

/* Responsive font sizes based on viewport width */
@media (max-width: 1200px) {
  h3 {
    font-size: 2rem; /* Slightly smaller heading for mid-large screens */
  }

  p,
  ol {
    font-size: 1.125rem; /* Smaller text for mid-large screens */
  }
}

@media (max-width: 1024px) {
  h3 {
    font-size: 1.8rem; /* Heading size for tablet landscape */
  }

  p,
  ol {
    font-size: 1.1rem; /* Text size for tablet landscape */
  }
}

@media (max-width: 768px) {
  h3 {
    font-size: 1.6rem; /* Heading size for tablets and smaller devices */
  }

  p,
  ol {
    font-size: 1rem; /* Text size for tablets */
  }
}

@media (max-width: 576px) {
  h3 {
    font-size: 1.4rem; /* Heading size for small mobile devices */
  }

  p,
  ol {
    font-size: 0.95rem; /* Text size for small mobile devices */
  }
}

@media (max-width: 360px) {
  h3 {
    font-size: 1.2rem; /* Very small devices */
  }

  p,
  ol {
    font-size: 0.9rem; /* Text size for very small devices */
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .mission-card {
    height: 45vh;
  }
  .mission-content {
    height: 42vh;
  }
  h3 {
    font-size: 22px;
  }
  p,
  ol {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .mission-card {
    height: auto;
    background-size: contain;
  }
  .mission-content {
    height: auto;
    padding: 15px;
  }
  h3 {
    font-size: 24px;
  }
  p,
  ol {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  h3 {
    font-size: 20px;
  }
  p,
  ol {
    font-size: 16px;
  }
  .mission-content {
    padding: 10px;
  }
}

/* ipad mini screen size start */

@media (min-width: 768px) and (max-width: 1024px) {
  .mission-card {
    height: auto;
    background-size: cover;
  }
  .mission-content {
    height: auto;
    padding: 20px;
  }
  h3 {
    font-size: 22px;
  }
  p,
  ol {
    font-size: 18px;
  }
  .mob_none {
    display: none;
  }
  .rotated-img {
    top: 20% !important;
  }
}

/* ipad mini screen size end */

@media only screen and (min-width: 610px) and (max-width: 1000px) {
  .mission-card {
    height: auto;
    background-size: cover;
  }
  .mission-content {
    height: auto;
    padding: 18px;
  }
  h3 {
    font-size: 20px;
  }
  p,
  ol {
    font-size: 16px;
  }
}

/*  */

.academic-objectives-section {
  background: url("website/academic_home.png") no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.7); /* Adjust RGB value and opacity */
  color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
}

.overlay h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.overlay ul {
  padding: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.overlay ul li {
  margin-bottom: 10px;
}

.overlay ul li:last-child {
  margin-bottom: 0;
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
  .overlay {
    padding: 15px;
  }
  .overlay h2 {
    font-size: 1.8rem;
  }
  .overlay ul {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .overlay {
    padding: 10px;
  }
  .overlay h2 {
    font-size: 1.6rem;
  }
  .overlay ul {
    font-size: 1rem;
  }

  .map-iframe {
    margin-left: 0px !important;
  }
}

@media (max-width: 480px) {
  .academic-objectives-section {
    padding: 0; /* Remove padding in mobile view */
  }
  .overlay {
    padding: 0; /* Remove padding inside the overlay */
  }
  .overlay h2 {
    font-size: 1.4rem;
  }
  .overlay ul {
    font-size: 0.8rem;
  }
  .overlay ul li {
    margin-bottom: 5px; /* Reduce spacing to avoid long layout */
  }
}

/* Base styles for desktop view */
.custom-map-section {
  background: #fefce5;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  /* margin-left: -10px; */
  /* Adjust as needed */
}

.info-column {
  padding: 2rem;
}

.info-title {
  margin-top: 1rem;
}

.info-text {
  font-size: 18px;
  letter-spacing: 1px;
}

.info-image {
  box-shadow: 10px 10px #ffcea0;
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .custom-map-section {
    flex-direction: column;
  }

  .map-iframe {
    height: 300px; /* Adjust as needed */
  }

  .info-column {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .map-iframe {
    height: 250px; /* Adjust as needed */
  }

  .info-column {
    padding: 1rem;
  }
  .tablet_pend_acad {
    padding: 28px !important;
  }
}

@media (max-width: 480px) {
  .map-iframe {
    height: 200px; /* Adjust as needed */
  }

  .info-column {
    padding: 0.5rem;
  }

  .info-title {
    font-size: 18px;
  }

  .info-text {
    font-size: 16px;
    text-align: justify;
  }
}

/* Target tablet view (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .header-section {
    /* Adjust padding or other styles for better fit on tablet */
    padding: 20px;
    text-align: center;
  }

  .overlay-content {
    /* Make sure content centers properly */
    margin-top: -55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    /* Adjust the logo size for tablet view */
    max-width: 209px; /* Set the appropriate size */
    /* margin-bottom: 20px; */
    height: 21vh;
  }

  .header-section {
    height: 30vh;
  }

  h1 {
    font-size: 36px; /* Adjust the font size for the heading */
    line-height: 1.2;
  }

  .history-title {
    font-size: 125px !important;
  }

  .historical-foundation {
    font-size: 60px !important;
  }

  .college-name {
    font-size: 35px !important;
  }

  .college-description {
    font-size: 25px !important;
  }

  .overlay ul {
    font-size: 1.2rem;
  }

  .overlay h2 {
    font-size: 2.6rem;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: portrait) {
 
  .header-section {
    /* Adjust padding or other styles for better fit on tablet */
    padding: 20px;
    text-align: center;
  }

  .overlay-content {
    /* Make sure content centers properly */
    margin-top: -55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    /* Adjust the logo size for tablet view */
    max-width: 275px; /* Set the appropriate size */
    /* margin-bottom: 20px; */
    height: 20vh;
  }

  .header-section {
    height: 28vh;
  }

  h1 {
    font-size: 40px; /* Adjust the font size for the heading */
    line-height: 1.2;
  }

  .history-title {
    font-size: 125px !important;
  }

  .historical-foundation {
    font-size: 60px !important;
  }

  .college-name {
    font-size: 35px !important;
  }

  .college-description {
    font-size: 25px !important;
  }

  .overlay ul {
    font-size: 1.2rem;
  }

  .overlay h2 {
    font-size: 2.6rem;
  }
  /* Styles for portrait orientation */
}

/* ipad Air screen size start */

@media only screen and (min-width: 810px) and (max-width: 834px) and (orientation: portrait) {
  .header-section {
    /* Adjust padding or other styles for better fit on tablet */
    padding: 20px;
    text-align: center;
  }

  .overlay-content {
    /* Make sure content centers properly */
    margin-top: -55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    /* Adjust the logo size for tablet view */
    max-width: 190px; /* Set the appropriate size */
    /* margin-bottom: 20px; */
    height: 17vh;
  }

  .header-section {
    height: 25vh;
  }

  h1 {
    font-size: 40px; /* Adjust the font size for the heading */
    line-height: 1.2;
  }

  .history-title {
    font-size: 125px !important;
  }

  .historical-foundation {
    font-size: 60px !important;
  }

  .college-name {
    font-size: 35px !important;
  }

  .college-description {
    font-size: 25px !important;
  }

  .overlay ul {
    font-size: 1.2rem;
  }

  .overlay h2 {
    font-size: 2.6rem;
  }

  .mob_histroly {
    text-align: center;
  }

  .history_mob {
    display: block !important;
  }

  .history_pc {
    display: none;
  }

  .mob_nandkuver_img {
    display: block !important;
  }

  .tab_img_president {
    height: 100%;
    /* Smaller fixed height for mobile view */
    object-fit: cover;
    /* Keeps the image scaling properly */
  }

  .pc_nandkuver_img {
    display: none !important;
  }

  .tab_img_president {
    height: 100% !important;
    object-fit: cover;
  }

  .ipad_air_font {
    font-size: 28px;
    font-weight: bold;
  }

  .college-description {
    font-size: 27px !important;
  }

  .canteen_text {
    margin-top: -200px;
  }

  .rotated-img {
    top: 12% !important;
  }
  /* Styles for portrait orientation */
}

/* ipad Air screen size end */

/* ipad pro screen size start */

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  
  .history_mob {
    display: block !important;
  }

  .history_pc {
    display: none;
  }

  .mob_nandkuver_img {
    display: block !important;
  }

  .tab_img_president {
    height: 100%;
    /* Smaller fixed height for mobile view */
    object-fit: cover;
    /* Keeps the image scaling properly */
  }

  .pc_nandkuver_img {
    display: block;
  }

  .tab_img_president {
    height: 100% !important;
    object-fit: cover;
  }

  .ipad_air_font {
    font-size: 28px;
    font-weight: bold;
  }

  .college-description {
    font-size: 30px !important;
  }

  .ipad_pro_mou {
    height: 380px;
  }

  .ipad_pro_vision {
    height: 33vh !important;
  }

  .tab_img_president {
    height: auto;
  }

  .col-lg-12-ipad-pro {
    flex: 0 0 100%;
    max-width: 50%;
  }

  .ipad_pro_font {
    text-align: center !important;
    font-size: 35px;
    font-weight: bold;
  }

  .overlay ul {
    font-size: 1.7rem;
  }

  .iped_font_location {
    font-size: 35px;
    text-align: center;
  }

  .info-text {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-align: justify;
  }

  .custom-map-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .map-iframe,
  .info-column {
    width: 100vw;
  }

  /* Styles for iPad Pro 12.9-inch */
}

/* ipad pro screen size end */

/* surface pro 7 screen size start */

@media only screen and (min-width: 912px) and (max-width: 1368px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header-section {
    /* Adjust padding or other styles for better fit on tablet */
    padding: 20px;
    text-align: center;
  }

  .overlay-content {
    /* Make sure content centers properly */
    margin-top: -55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    /* Adjust the logo size for tablet view */
    max-width: 190px; /* Set the appropriate size */
    /* margin-bottom: 20px; */
    height: 17vh;
  }

  .header-section {
    height: 25vh;
  }

  h1 {
    font-size: 40px; /* Adjust the font size for the heading */
    line-height: 1.2;
  }

  .history-title {
    font-size: 125px !important;
  }

  .historical-foundation {
    font-size: 60px !important;
  }

  .college-name {
    font-size: 35px !important;
  }

  .college-description {
    font-size: 25px !important;
  }

  .overlay ul {
    font-size: 1.2rem;
  }

  .overlay h2 {
    font-size: 2.6rem;
  }

  .mob_histroly {
    text-align: center;
  }

  .history_mob {
    display: block !important;
  }

  .history_pc {
    display: none;
  }

  .mob_nandkuver_img {
    display: block !important;
  }

  .tab_img_president {
    height: 100%;
    /* Smaller fixed height for mobile view */
    object-fit: cover;
    /* Keeps the image scaling properly */
  }

  .pc_nandkuver_img {
    display: none !important;
  }

  .tab_img_president {
    height: 100% !important;
    object-fit: cover;
  }

  .ipad_air_font {
    font-size: 28px;
    font-weight: bold;
  }

  .college-description {
    font-size: 27px !important;
  }

  .container {
    max-width: 865px;
  }

  .ipad_pro_font {
    text-align: center !important;
    font-size: 35px;
    font-weight: bold;
  }

  .overlay ul {
    font-size: 1.8rem;
  }

  .iped_font_location {
    font-size: 35px;
    text-align: center;
  }

  .info-text {
    font-size: 30px !important;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-align: justify;
  }
}

/* surface pro 7 screen size end */

/* surface duo screen size start */

@media screen and (min-width: 540px) and (max-width: 720px) {
  /* Your CSS styles go here */
  .header-section {
    /* Adjust padding or other styles for better fit on tablet */
    padding: 20px;
    text-align: center;
  }

  .overlay-content {
    /* Make sure content centers properly */
    margin-top: -35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    /* Adjust the logo size for tablet view */
    max-width: 190px; /* Set the appropriate size */
    /* margin-bottom: 20px; */
    height: 17vh;
  }

  .header-section {
    height: 25vh;
  }

  .history-title {
    font-size: 90px !important;
  }

  .historical-foundation {
    font-size: 30px !important;
  }

  .college-description {
    font-size: 17px !important;
  }
}

/* surface duo screen size end */

/* Asus zenbook screen size start */

@media screen and (min-width: 853px) and (max-width: 1280px) {
  /* Your CSS styles go here */
  .header-section {
    /* Adjust padding or other styles for better fit on tablet */
    padding: 20px;
    text-align: center;
  }

  .overlay-content {
    /* Make sure content centers properly */
    margin-top: -55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    /* Adjust the logo size for tablet view */
    max-width: 190px; /* Set the appropriate size */
    /* margin-bottom: 20px; */
    height: 17vh;
  }

  .header-section {
    height: 25vh;
  }

  h1 {
    font-size: 40px; /* Adjust the font size for the heading */
    line-height: 1.2;
  }

  .history-title {
    font-size: 125px !important;
  }

  .historical-foundation {
    font-size: 60px !important;
  }

  .college-name {
    font-size: 35px !important;
  }

  .college-description {
    font-size: 25px !important;
  }

  .overlay ul {
    font-size: 1.2rem;
  }

  .overlay h2 {
    font-size: 2.6rem;
  }

  .mob_histroly {
    text-align: center;
  }

  .history_mob {
    display: block !important;
  }

  .history_pc {
    display: none;
  }

  .mob_nandkuver_img {
    display: block !important;
  }

  .tab_img_president {
    height: 100%;
    /* Smaller fixed height for mobile view */
    object-fit: cover;
    /* Keeps the image scaling properly */
  }

  .pc_nandkuver_img {
    display: none !important;
  }

  .tab_img_president {
    height: 100% !important;
    object-fit: cover;
  }

  .ipad_air_font {
    font-size: 28px;
    font-weight: bold;
  }

  .college-description {
    font-size: 27px !important;
  }

  .container {
    max-width: 865px;
  }

  .ipad_pro_font {
    text-align: center !important;
    font-size: 35px;
    font-weight: bold;
  }

  .overlay ul {
    font-size: 1.8rem;
  }

  .iped_font_location {
    font-size: 35px;
    text-align: center;
  }

  .info-text {
    font-size: 30px !important;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-align: justify;
  }
}

/* Asus zenbook screen size end */

/* New CSS Start */

/* Styles for screen widths between 972px and 1024px */
@media (min-width: 972px) and (max-width: 1024px) {
  .mission-card {
    height: auto;
    background-size: cover;
  }
  .mission-content {
    height: auto;
    padding: 20px;
  }
  h3 {
    font-size: 22px;
  }
  p,
  ol {
    font-size: 18px;
  }
  .mob_none {
    display: none;
  }
  .rotated-img {
    top: 20% !important;
  }

  .history-title {
    font-size: 6vw;
    text-align: center;
    opacity: 0.1;
  }
  .historical-foundation {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
  }
  .college-name {
    font-size: 22px;
    text-align: center;
  }
  .college-description {
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 20px;
  }
  .mob_histroly {
    text-align: center;
  }
  .img_mob {
    height: 70vh !important;
    width: 100%;
    max-height: 66vh;
  }
  .teb_viewimg,
  .teb_viewdetail {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 10px;
  }
  .counter h1 {
    font-size: 2.5rem;
  }
  .counter {
    margin-bottom: 15px;
    text-align: center;
  }
  .home_btninfo {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  .tab_img_president {
    height: 500px;
    object-fit: cover;
  }
}

/* Styles for screen widths between 1006px and 1024px */
@media (min-width: 1006px) and (max-width: 1024px) {
  .mission-card {
    height: auto;
    background-size: cover;
  }
  .mission-content {
    height: auto;
    padding: 20px;
  }
  h3 {
    font-size: 22px;
  }
  p,
  ol {
    font-size: 18px;
  }
  .mob_none {
    display: none;
  }
  .rotated-img {
    top: 20% !important;
  }

  .history-title {
    font-size: 6vw;
    text-align: center;
    opacity: 0.1;
  }
  .historical-foundation {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
  }
  .college-name {
    font-size: 22px;
    text-align: center;
  }
  .college-description {
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 20px;
  }
  .mob_histroly {
    text-align: center;
  }
  .img_mob {
    height: 70vh !important;
    width: 100%;
    max-height: 66vh;
  }
  .teb_viewimg,
  .teb_viewdetail {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 10px;
  }
  .counter h1 {
    font-size: 2.5rem;
  }
  .counter {
    margin-bottom: 15px;
    text-align: center;
  }
  .home_btninfo {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  .tab_img_president {
    height: 500px;
    object-fit: cover;
  }
}

/* Styles for screen widths between 1336px and 1024px */
@media (min-width: 1336px) and (max-width: 1024px) {
  .mission-card {
    height: auto;
    background-size: cover;
  }
  .mission-content {
    height: auto;
    padding: 20px;
  }
  h3 {
    font-size: 22px;
  }
  p,
  ol {
    font-size: 18px;
  }
  .mob_none {
    display: none;
  }
  .rotated-img {
    top: 20% !important;
  }

  .history-title {
    font-size: 6vw;
    text-align: center;
    opacity: 0.1;
  }
  .historical-foundation {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
  }
  .college-name {
    font-size: 22px;
    text-align: center;
  }
  .college-description {
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 20px;
  }
  .mob_histroly {
    text-align: center;
  }
  .img_mob {
    height: 70vh !important;
    width: 100%;
    max-height: 66vh;
  }
  .teb_viewimg,
  .teb_viewdetail {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 10px;
  }
  .counter h1 {
    font-size: 2.5rem;
  }
  .counter {
    margin-bottom: 15px;
    text-align: center;
  }
  .home_btninfo {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  .tab_img_president {
    height: 500px;
    object-fit: cover;
  }
}

@media (min-width: 995px) and (max-width: 1024px) {

  .header-section {
    height: 75vh !important;
  }

  .map-column {
    width: 100%;
  }
  .info-column {
    width: 100%;
  }

  .mob_nandkuver_img {
    display: none !important;
  }
  .pc_nandkuver_img {
    display: block !important;
  }
  /* Mission Section */
  .mission-card {
    height: 95% !important;
    background-size: cover !important;
  }
  .mission-content {
    height: 100% !important;
    padding: 20px !important;
  }
  h3 {
    font-size: 22px !important;
  }
  p,
  ol {
    font-size: 18px !important;
  }
  .mob_none {
    display: none !important;
  }
  .rotated-img {
    top: 20% !important;
  }

  /* History Section */
  .history-title {
    font-size: 6vw !important;
    text-align: center !important;
    opacity: 0.1 !important;
  }
  .historical-foundation {
    font-size: 30px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
  }
  .college-name {
    font-size: 22px !important;
    text-align: center !important;
  }
  .college-description {
    font-size: 16px !important;
    padding: 0 15px !important;
    margin-bottom: 20px !important;
  }
  .mob_histroly {
    text-align: center !important;
  }

  /* Image Adjustments */
  .img_mob {
    height: 70vh !important;
    width: 100% !important;
    max-height: 66vh !important;
  }
  .teb_viewimg,
  .teb_viewdetail {
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }

  /* Counter Section */
  .counter h1 {
    font-size: 2.5rem !important;
  }
  .counter {
    margin-bottom: 15px !important;
    text-align: center !important;
  }

  /* Button Adjustments */
  .home_btninfo {
    width: 100% !important;
    text-align: center !important;
    padding: 10px !important;
  }

  /* President Image */
  .tab_img_president {
    height: 500px !important;
    object-fit: cover !important;
  }
}
