/* Mobile-specific adjustments (max-width: 576px) */

/* Base styling for the about card */
.about-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: auto; /* Ensure height adapts */
}

.about-card-thumb {
    width: 100%;
}

.about-card-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 1s ease-in-out;
}

.about-card-thumb:hover img {
    transform: scale(1.1);
}

/* Desktop layout: Image and text side by side */
@media (min-width: 992px) {
    .about-card {
        flex-direction: row;
        height: 400px; /* Fixed height for desktop consistency */
    }

    .about-card-thumb {
        width: 50%;
        height: 100%;
    }

    .about-card-thumb img {
        height: 100%;
    }

    .about-card-content {
        position: absolute;
        top: 171px;
        right: 30px;
        background-color: #e6f0fa;
        padding: 20px;
        width: 50%;
        height: max-content;
    }
}

/* Mobile and tablet layout: Stack text below image */
@media (max-width: 991.98px) {
    .about-card-content {
        position: static;
        width: 100%;
        margin-top: 20px;
        padding: 15px; /* Reduced padding for smaller screens */
    }

    .about-card {
        height: auto; /* Reset height for responsiveness */
    }
    .defence-section {
  padding-top: 60px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-bottom: 0px;
}
  
}


.footer__section {
   padding: 20px 0;
}

.footer__inner__blk {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;
   padding: 0 15px;
}

.mobpad-40 {
          margin-top: 40px !important
      } 

.mobpad-80 {
          margin-top: 80px !important
      } 

.footer-links {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   list-style: none;
   margin: 0;
   padding: 0;
}

.footer-links li {
   margin: 0 10px;
}

.footer-links li a {
   text-decoration: none;
   font-size: 14px;
   white-space: nowrap;
}

.footer-links li a:hover {
   text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 767px) {
   .footer__inner__blk {
      flex-direction: column;
      text-align: center;
   }

   .copyright__text {
      margin-bottom: 10px;
   }

   .footer-links {
      flex-direction: column;
      align-items: center;
   }

   .footer-links li {
      margin: 0px 0;
   }

   .footer-links li a {
      font-size: 12px;
   }
}
/* xxl */
@media (min-width: 1400px) and (max-width: 1700px) {
}

/* xl */
@media (min-width: 1200px) and (max-width: 1399px) {
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
   .header__section {
      padding: 20px 0;
   }

   .single__facilities__card {
      margin-bottom: 30px;
   }

   .find_btn span {
      width: 12px;
   }

   .expert__card__content p {
      font-size: 20px;
      line-height: 30px;
      font-family: 'vinci_sanslight'; 
   }

   .single_expart_btn span,
   .single_expart_btn a {
      font-size: 16px;
   }

   .expert__btn__blk {
      margin-top: 20px;
   }

   .expert__card__content {
      margin-bottom: 20px;
   }

   .expert__card__content h4 {
      font-size: 30px;
      margin-bottom: 20px;
      line-height: 40px;
   }

   .single__expert__card {
      min-height: 280px;
   }

   .section__title p {
      font-size: 18px;
      line-height: 26px;
   }

   .news__title h3,
   .section__title h2 {
      font-size: 40px;
      line-height: 40px;
   }

   .news__card__date h3 {
      font-size: 16px;
      line-height: 20px;
   }

   .news__card__content p {
      font-size: 20px;
      line-height: 24px;
   }

   .news__card__content {
      min-height: 100px;
   }

   .facilities__card__text h3 {
      font-size: 30px;
      line-height: 40px;
   }

   .commit__card__content h3 br {
      display: none;
   }

   .commit__card__content h3 {
      font-size: 26px;
      min-height: 35px;
   }

   .commit__card__content p {
      font-size: 16px;
   }

   .commit__card__ico {
      width: 80px;
      min-height: 80px;
   }

   .single__commit__card {
      margin-bottom: 30px;
   }

   .about__slider__content h3 {
      font-size: 30px;
      line-height: 30px;
   }

   .about__slider__content p {
      font-size: 18px;
      line-height: 22px;
   }

   .header__dropown ul {
      left: auto;
      right: 0;
   }
   .about__slider__card {
      min-height: 450px;
   }

   .about-card-content {
      padding: 32px;
   }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
   .header__section {
      padding: 20px 0;
   }

   .single__facilities__card {
      margin-bottom: 30px;
   }

   .find_btn span {
      width: 12px;
   }

   .expert__card__content p {
      font-size: 16px;
      line-height: 26px;
   }

   .single_expart_btn span,
   .single_expart_btn a {
      font-size: 16px;
   }

   .expert__btn__blk {
      margin-top: 20px;
   }

   .expert__card__content {
      margin-bottom: 20px;
   }

   .expert__card__content h4 {
      font-size: 24px;
      margin-bottom: 20px;
      line-height: 36px;
   }

   .single__expert__card {
      min-height: 250px;
      margin-bottom: 30px;
   }

   .section__title p {
      font-size: 16px;
      line-height: 26px;
   }

   .news__title h3,
   .section__title h2 {
      font-size: 30px;
      line-height: 30px;
   }

   .footer__menu ul {
      gap: 10px;
   }

   .footer__menu ul li a {
      font-size: 14px;
   }

   .copyright__text p span {
      font-size: 16px;
   }

   .copyright__text p {
      font-size: 16px;
      line-height: 20px;
   }

   .news__card__date h3 {
      font-size: 16px;
      line-height: 20px;
   }

   .news__card__content p {
      font-size: 20px;
      line-height: 24px;
      max-width: 450px;
   }

   .news__card__content {
      min-height: 100px;
   }

   .news__section {
      padding-top: 60px;
      padding-bottom: 60px;
   }

   .facilities__card__text h3 {
      font-size: 30px;
      line-height: 40px;
   }

   .commit__card__content h3 br {
      display: none;
   }

   .commit__card__content h3 {
      font-size: 26px;
      min-height: 35px;
   }

   .commit__card__content p {
      font-size: 16px;
   }

   .commit__card__ico {
      width: 80px;
      min-height: 80px;
   }

   .single__commit__card {
      margin-bottom: 30px;
   }

   .about__slider__content h3 {
      font-size: 30px;
      line-height: 30px;
   }

   .about__slider__content p {
      font-size: 18px;
      line-height: 22px;
   }
   .header__dropown ul {
      left: auto;
      right: 0;
   }
   .about__slider__card {
      min-height: 800px;
   }
   .about__slider__card2 {
      min-height: 800px;
   }
   .about__slider__card3 {
      min-height: 800px;
   }
   .about-card-content {
      padding: 24px;
      width: 50%;
      top: 165px;
   }
   .about-card-desc {
      font-size: 20px;
   }
   .full-width-container {
       padding: 0 10px !important;
   }
}

/* xs */
@media (max-width: 576px) {
   .full-width-container-headers {
       padding-left: 0px !important;
       padding-right: 0px !important;
   }
   .hero-slide-content-defence {
       background-color: #EEEEEE;
       padding: 20px;
       max-width: 100%;
       width: 100%;
       min-height: auto;
       opacity: 0.9;
       margin: 0;
       
   }
    
    .section__title h1 {
  font-size: 2em;
  text-align: center;
}
    .about__inner__blk {
    padding-left: 2%;
    padding-right: 2%;
}

.about-pad {
    margin-top: 10%;
    margin-bottom: 10%;
    padding-left: 0%;
    padding-right: 8%;
}
.text-section-pad {
    margin-top: 0%;
    margin-bottom: 0%;
    margin-left: 2%;
    margin-right: 2%;
}
    .defence-section2 {
  padding-top: 30px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-bottom: 30px;
}
  .defence-section22 {
  padding-top: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-bottom: 30px;
}
  
    
   .hero-slide-content-contact {
       background-color: #EEEEEE;
       padding: 20px;
       max-width: 100%;
       width: 100%;
       min-height: auto;
       opacity: 0.9;
       margin: 0;
   }
   .header__section {
       padding: 15px 0;
   }
   .about__slider__card {
       opacity: 1;
       width: 100%;
       height: auto;
       min-height: 300px;
   }
   .about__slider__card2 {
       opacity: 1;
       width: 100%;
       height: auto;
       min-height: 300px;
   }
   .about__slider__card3 {
       opacity: 1;
       width: 100%;
       height: auto;
       min-height: 300px;
   }
   .single__facilities__card {
       margin-bottom: 20px;
   }
   .find_btn span {
       width: 10px;
   }
   .expert__card__content p {
       font-size: 14px;
       line-height: 20px;
   }
   .single_expart_btn span,
   .single_expart_btn a {
       font-size: 14px;
   }
   .expert__btn__blk {
       margin-top: 15px;
   }
   .expert__card__content {
       margin-bottom: 15px;
   }
   .expert__card__content h4 {
       font-size: 20px;
       margin-bottom: 15px;
       line-height: 28px;
   }
   .single__expert__card {
       min-height: 200px;
       margin-bottom: 20px;
   }
   .section__title p {
       font-size: 14px;
       line-height: 20px;
   }
   .news__title h3,
   .section__title h2 {
       font-size: 24px;
       line-height: 28px;
   }
   .footer__menu ul {
       gap: 6px;
   }
   .footer__menu ul li a {
       font-size: 12px;
   }
   .copyright__text p span {
       font-size: 14px;
   }
   .copyright__text p {
       font-size: 14px;
       line-height: 18px;
   }
   .footer__inner__blk {
       flex-direction: column;
       gap: 10px;
   }
   .expert__section {
       padding: 30px 0;
   }
   .news__card__date h3 {
       font-size: 14px;
       line-height: 18px;
   }
   .news__card__content p {
       font-size: 16px;
       line-height: 20px;
       max-width: 100%;
   }
   .news__card__content {
       min-height: 80px;
   }
   .news__section {
       padding: 40px 0;
   }
   .single__news__card {
       margin-bottom: 20px;
   }
   .facilities__card__text h3 {
       font-size: 24px;
       line-height: 32px;
   }
   .commit__card__content h3 br {
       display: none;
   }
   .commit__card__content h3 {
       font-size: 20px;
       min-height: auto;
   }
   .commit__card__content p {
       font-size: 18px;
   }
   .commit__card__ico {
       width: 150px;
       min-height: 150px;
   }
   .single__commit__card {
       margin-bottom: 20px;
   }
   .hero-slide-content h3 {
       font-size: 20px;
       line-height: 24px;
   }
   .hero-slide-content p {
       font-size: 14px;
       line-height: 18px;
   }
   .header__logo a {
       width: 120px;
   }
   .header__dropown ul {
       left: auto;
       right: 0;
   }
   .header__contact__blk {
       gap: 12px;
   }
   .hero-slider .container {
       padding: 0;
       max-width: 100%;
   }
   .hero-slide-content {
       max-width: 100%;
       min-height: auto;
       opacity: 1;
       margin: 0;
   }
   .hero-slide-bg {
       position: static !important;
   }
   .slider-controls-wrapper {
       width: 100%;
   }
   .about-card-thumb {
       width: 100%;
   }
   .about-card-content {
       padding: 15px;
       width: 90%;
       position: static !important;
       margin: -30px auto 0;
   }
   .about-card-desc {
       font-size: 16px;
   }
   .hero-slide-content-education {
       background-color: #EEEEEE;
       padding: 20px;
       max-width: 100%;
       width: 100%;
       min-height: auto;
       opacity: 0.9;
       margin: 0;
   }
   .header__left__blk {
       display: flex;
       align-items: center;
       gap: 30px;
       padding-left: 0;
   }
   .expert__section .full-width-container {
       padding: 0 10px;
   }
   .expert__section h2 {
       font-size: 20px;
       line-height: 24px;
   }
   .expert__section p {
       font-size: 12px;
       line-height: 16px;
   }
   .expert__section img {
       max-width: 100%;
       height: auto;
   }
    
    .full-width-container {
       padding: 0 10px !important;
   }
    .blue-comments-box-inner1 {
  background-repeat: no-repeat;
  font-size: 20px;
  margin-right: 0px;
  color: #0B5A86;
  margin-top: 20px;
}
    
    .text-section-pad h3 {
  font-size: 1.8em !important;
  color: #0D5C9C;
  line-height: 1.4em;
  font-weight: 300 !important;
  margin-bottom: 40px;
  font-family: 'vinci_sanslight';
}
    
}

  @media (max-width: 767.98px) {
    .vfont-thin {
      font-size: 2.5rem !important; /* Reduced size for mobile */
      line-height: 1.2 !important; /* Tighten line height */
      white-space: normal !important; /* Allow wrapping */
      padding: 0 10px !important; /* Add padding to prevent edge clipping */
      word-wrap: break-word !important; /* Ensure text wraps */
    }
    .full-width-container {
      padding: 0 5% !important; /* Reduce padding for mobile to fit content */
      max-width: 100% !important; /* Prevent overflow */
    }
    .roundedbold {
      font-size: 1.2rem !important; /* Ensure readability */
      line-height: 1.5 !important;
      padding: 0 10px !important;
    }
    img.img-fluid {
      max-width: 100% !important; /* Ensure images scale */
      height: auto !important;
    }
      
      .mobpad-40 {
          margin-top: 20px !important
      } 
      .mobpad-80 {
          margin-top: 20px !important
      } 
      
.leadership-section {
  padding-top: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 00px;
}
  .leadershipbox-top {
  background-color: #f4f5f6;
  padding: 0px !important;
  margin-left: 0px;
}    
      .leaderships h2 {
  font-size: 2em;
  line-height: 1em;
  padding-bottom: 30px;
  padding-top: 0px;
}
      
      .md-commitment h3 {
  font-size: 1.4em;
}
      .md-commitment h1 {
  color: #A3A3A4;
  font-size: 1.6em;
  margin-bottom: 40px;
}
      
      .defence-section3 {
    padding-bottom: 0px
}
      .vfont-thin {
  color: #231F21;
  font-family: 'vinci_sansextra_light';
  font-weight: 200;
  line-height: 1em;
  margin-left: 0px;
  margin-right: 0px;
}
      
      .award-photo {
          padding-top: 10px !important;
         margin-bottom: 20px;      
      }      
.hometextpad {
  padding-left: 10px;
  padding-right: 10px;
 font-size: 0.9em;    
}
    
      .padfix {
          padding-top: 80px !important
      }
     .commit__section {
  padding-top: 35px;
  padding-bottom: 25px;
} 
      
.defence-section {
  padding-top: 30px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  padding-bottom: 0px;
}      

      .vzero-text {
    font-size: 1.2em !important;
    line-height: 1.2em !important;      
}
  .strip-top {
    margin-top: 0px !important
}    
      
      .stat-box {
          align-content: center;
          text-align: center;
      }
      
     .stat-box h2 {
    font-size: 2.5rem;
    font-family: 'vinci_sansbold';
  }  
      
      
      .fw-bold {
          font-weight: 900 !important
              
      }  
      
  }
