@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
/* font box */
/*  */
/* sign font footer  */


@font-face {
  font-family: 'Red Hat Display';
  src:
       url('../fonts/Red_Hat_Display/RedHatDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Cormorant';
  src:
       url('../fonts/Cormorant/Cormorant-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Mulish';
  src: url('../fonts/Mulish/Mulish-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}




/* end font section */
:root {
  --bg-color: #f9f6ef;
  --text-color: #222;
  /* --accent-color: #753BBD;  */
  --accent-color: #4b0082 ;
  
  --link-color: #007acc;

  --link-hover-text : #0d6efd;
  --nav-bg: #f6f5f8;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --box-color:#fafafa;
}




body {
  font-family: "Crmoranto", serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  scroll-behavior: smooth;
}
section {
  width: 100%;
}
    /* nav bar  */
    /* Hover effect for nav links */
/* ------------------------------
   Navbar link styles
------------------------------ */
nav{
  z-index: 1000 !important;
}
.navbar-brand{
  font-family: 'Red Hat Display', sans-serif !important;
  font-weight: 600;
  letter-spacing: 1px;
  color: black;


}
.nav-item{
  margin-left: 10px;
}
.navbar-nav .nav-link {
  position: relative;
  color: #333;                 /* default text color */
  font-weight: 500;
  /* transition: color 0.3s ease; */
  padding: 0.5rem 1rem;        /* consistent spacing */
}




  
.navbar-nav .nav-link {
  font-size: 1rem;
  text-decoration: none;
  transition: 0.2s;
  border-radius: 5px;
}

.navbar-nav .nav-link:hover, #navbarScrollingDropdown:hover {
  color: #0d6efd;
  transform: scale(1.1);
}





/* remove focus outline */
.navbar .nav-link:focus,
.navbar .dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
}

/* ------------------------------
   Dropdown styles
----------------------- ------- */

.navbar .dropdown-menu {
  border-radius: 0.5rem;
  
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.dropdown-item{
  font-size: .9rem;
}

/* show dropdown on hover (optional for large screens) */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}

 .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }

.navbar .dropdown-menu .dropdown-item {
  transition: color 0.3s ease, background-color 0.3s ease;
} 

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #d3d3d3 ;  /* subtle hover background */
  color: #060606;              /* accent color */
  border-radius: .2rem;
}

/* ------------------------------
   Sticky navbar background
------------------------------ */
.navbar {
  background-color: #f6f5f8;
  /* border-bottom: 1px solid #ddd; */
}

/* make toggler icon visible on light bg */
.navbar-light .navbar-toggler {
  border-color: rgba(0,0,0,0.1);
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280,0,0,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (min-width:786px) {
  .nav-link.active,.dropdown .nav-link.active{
   color: #D25D5D   !important;
   font-weight: 600;
  transform: scale(1.2);  /* 1.2 = 120% size */
  transition: all 0.5s ease; 
}
}
@media (max-width: 785.98px) {
  .nav-link.active,
  .dropdown .nav-link.active {
    color: #D25D5D  !important;
    font-weight: bold;
    transition: all 0.3s ease;
  }
}
/* nav bar end */

html {
  scroll-behavior: smooth;      /* optional for smooth scrolling */
  scroll-padding-top: 50px;     /* height of your navbar */
}
@media (max-width: 576px) {
  html {
    scroll-behavior: smooth;      /* optional for smooth scrolling */
    scroll-padding-top: 330px;   /* adjust for smaller screens */
  }
}
 a{
  text-decoration: none !important;
 }


  main section{
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;   /* optional */
  padding-bottom: 40px; /* optional */
  }

  section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}
.section-title {
  /* padding-bottom: 1rem; */
   font-family: 'Red Hat Display', sans-serif;
  font-weight: 500; 
    font-size: 2rem;
    margin: 10px 0 10px;
    letter-spacing: 0.5px;
    
    
  }
  .section-caption{   
    
    color: rgb(97, 97, 97);
    font-size: .9rem;
    margin-bottom:18px ;
  }

  @media (max-width: 786px) {
  .section-title {
    text-align: center !important;
    font-size: 1.3rem;
  }
   .section-caption {
    font-size: 0.7rem;     /* smaller font size */
  
  }
  main section {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 10px;
    padding-bottom: 20px;
  }
}

section:nth-of-type(odd) {
  background-color: #fefefe; /* light grey */
}

    section:nth-of-type(even) {
  background-color: #f6f5f8	; /* white or light */
}

    /* Intro */
 
    @media (min-width: 992px) {
 
     .intro-main-container{
      padding-top: 10px;
      padding-left: 70px;
      padding-right: 100px;
      }
    }
    
    .intro .details h1 {
      font-family: 'Mulish', sans-serif !important;
      font-size: 2.5rem;
      font-weight: 700 !important;
      color: var(--accent-color);
    }
    .intro h3 {
      margin: 0.5rem 0;
      font-weight: normal;
    }
    .intro .icons a {
      /* margin-right: 10px; */
      color: var(--accent-color);
      font-size: 1.3rem;
    }
    .wos-icon {
      width:22px; height:22px;
  fill: var(--accent-color);
}
.wos-icon:hover{
  transform: scale(1.2);     /* enlarge image */
  filter: brightness(2);   /* optional: slight brightness on hover */
}

/* all other icon like youtube ,fb hover style on footer section  */

       .about .two-cols {
          margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
    }
@media (min-width:990px) {
  .about .two-cols{
    gap: 11rem;
  }
}
    .two-cols ul {
      list-style: none;
      padding-left: 0;
    }
    .two-cols li::before {
      content: "\2022";
      color: var(--accent-color);
      font-weight: bold;
      display: inline-block;
      width: 1em;
      margin-left: -1em;
    }
    .full-details h2{
      font-size: 1.8rem;
    }
    .full-details p{
       /* text-align: justify; */
       width: auto;
    }
   .full-details a{
    color: #060080;
   }

   .full-details a:hover{
    color: var(--link-hover-text);
   }


    .education h3{
      font-family: 'Red Hat Display', sans-serif !important;
    }
    .education dd{
      font-size: .9rem;
      color: rgba(0, 0, 0, 0.608);
    }


    ul.no-bullets {
      list-style: none !important;    /* removes bullets */
      padding-left: 0 !important;     /* removes left indent */
      margin: 0 !important;           /* removes default margin */
    }
    ul.no-bullets li {
      list-style-type: none !important; /* extra safety */
    }

    .research-intrest h3{
      font-family: 'Red Hat Display', sans-serif !important;
    }
     .research-intrest p {
      font-size: 1rem;
      font-weight: bold;
      margin-bottom: 11px; /* reduce top and bottom margin */
      padding: 0;    /* ensure no extra padding */
    }

       .research-icon {
        margin-right: 8px;
        width: 24px;
        height: 24px;
        position: relative;
        top: -2px; /* adjust to taste */
      }
      @media (max-width: 576px) {
        .two-cols {
          flex-direction: column;
          align-items: stretch; /* optional: can use center if you prefer */
          gap: 2rem; /* smaller spacing for stacked layout */
        }

        .two-cols > div {
          width: 100%;
        }

      
      }


     @media (max-width: 786px) {
      .full-details{
        display: flex;
        flex-direction: column;
        justify-content: center; /* centers horizontally */
         align-items: center;
      }
      .full-details h2{
        font-size: 1.5rem;
        text-align: center;
      }
      .full-details p{
        text-align: center;
        width: 90%;
      }
      .about{
        display: flex;
        flex-direction: column;
        justify-content: center; /* centers horizontally */
         align-items: center;
      }
      .about h3{
        text-align: center;
        font-weight: bold;
        font-size: 1.4rem;
      }
      .about .two-cols {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
   
    } 

    /* reserarch intrest */

      /* start outreach  */

      /* pc video iframe  */
      .outreach-pc{
        margin-bottom: -70px;
      }

      .iframe-wrapper {
  width: 100%;
  max-width: 450px;
}

.iframe-wrapper iframe {
  aspect-ratio: 10 / 16;
  width: 100%;
  /* height: auto; */
}
.pc-outreach-icon {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 12px; /* space between icons */
  margin-top: 12px;
  height: 40px; /* fixed height */
  width: 100%;
  transform: translateY(-90px); /* Move up by 20px */
}

.pc-outreach-icon img {
  width: 32px;
  height: auto;
}

.pc-outreach-icon i {
  font-size: 30px;
  color: #444;
  transition: color 0.3s ease;
}


.pc-outreach-icon img:hover {
  transform: scale(1.2);  /* 1.2 = 120% size */
  transition: all 0.3s ease;  /* Smooth animation */
  filter: brightness(0) saturate(100%) invert(14%) sepia(100%) saturate(735%) hue-rotate(189deg) brightness(100%) contrast(101%);
}



    /*mobile  start video card  */
    .outreach-mobile{
      display: none;
    }

.video-card {
  align-self: flex-end;
  max-height: 500px;
  max-width: 400px; 
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  background: var(--box-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.video-player {
  width: 100%;     /* limit height without cropping */
  height: 315px;            /* keep aspect ratio */
  object-fit: contain;     /* show whole video without crop */
  background: #000;  
}

.video-content {
  padding: 15px;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.video-description {
  font-size: 0.9rem;
  color: #555;
}

.video-icons {
  
  margin-bottom: 5px;
  display: flex;
  justify-content: center; /* center horizontally */
  gap: 12px; /* space between icons */
  margin-top: 5px;
}

.video-icons a {
  text-decoration: none;
  font-size: 22px;
  color: black; /* default color */
  transition: color 0.3s ease;
}

.video-icons a:hover {
  color: #003cb5; /* change to your accent color on hover */
}
@media (max-width: 1000px) {
  .video-card {
    max-width: 100%;      /* take full width on mobile */
    max-height: none;     /* allow height to adjust naturally */
    margin: 0 auto;       /* center it */
    border-radius: 10px;  /* keep rounded corners */
  }

  .video-player {
    min-height: 400px;         /* let it scale responsively */
    min-height: 180px;    /* optional: ensure it’s not too short */
  }

  .video-title {
    font-size: 1rem;      /* slightly smaller title */
  }

  .video-description {
    font-size: 0.85rem;   /* slightly smaller text */
  }

  .video-icons {
    gap: 8px;             /* tighten icon spacing on mobile */
  }
}

@media (max-width: 768px) {
  .outreach-mobile{
    display:block;
  }
  .outreach-pc{
    display: none;
  }
}


/* end video card mobile */


    /* end  outreach  */

 


    /* new exprinces */

    /* General card styling */
.custom-experience-card {
  background: var(--box-color );
  border-radius: 10px;
  /* border: #000000 solid 1px; */
  padding: 20px;
  margin: 30px auto;
  max-width: 850px;
  box-shadow: 3px 5px 8px #00000035;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.custom-experience-card:hover {
  
  transform: translateY(-4px);
  box-shadow: 3px 5px 8px #0000007f;
}

/* Title and subtitle */
.custom-experience-card .title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.custom-experience-card .institution {
  font-weight: 500;
  color: #4a4a4a;
}

.custom-experience-card .duration {
  font-size: 0.9rem;
  color: #888;
}

/* Body text */
.custom-experience-card p {
  margin-top: 15px;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}


/* Links inside */
.custom-experience-card a {
  color: #3366cc;
  text-decoration: none;
}

.custom-experience-card a:hover {
  text-decoration: underline;
}

/* List style */
.custom-experience-card ul {
  margin-top: 10px;
  padding-left: 20px;
}

.custom-experience-card ul li {
  margin-bottom: 5px;
  color: #222;
}
.experience-card-img {
  /* object-fit: cover; */
  width:70px; 
  height:70px; 
  margin-right:15px;
  transform: translateY(-3px);
}

/*exprience end  */
/* Default text size for desktop/tablet */
.custom-experience-card {

  font-size: 0.95rem;
  line-height: 1.5;
}
.custom-experience-card h5.title {
  font-size: 1.1rem;
}
.custom-experience-card h6.institution {
  font-size: 0.95rem;
}
.custom-experience-card p.duration,
.custom-experience-card p,
.custom-experience-card li,
.custom-experience-card a {
  font-size: 0.9rem;
}

/* 📱 On screens smaller than 768px (mobile) */
@media (max-width: 768px) {
  .custom-experience-card {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .custom-experience-card h5.title {
    font-size: 0.9rem;
  }
  .custom-experience-card h6.institution {
    font-size: 0.8rem;
  }
  .custom-experience-card p.duration,
  .custom-experience-card p,
  .custom-experience-card li,
  .custom-experience-card a {
    font-size: 0.78rem;
  }
}

/* 📱 Extra small screens (like <576px) */
@media (max-width: 576px) {
  .custom-experience-card {
    font-size: 0.7rem;
    line-height: 1.3;
  }
  .custom-experience-card h5.title {
    font-size: 0.8rem;
  }
  .custom-experience-card h6.institution {
    font-size: 0.7rem;
  }
  .custom-experience-card p.duration,
  .custom-experience-card p,
  .custom-experience-card li,
  .custom-experience-card a {
    font-size: 0.7rem;
  }
}









/* Key Physics Analyses */

/* Physics Analysis Experience*/
#Analysis .card{
background : var(--box-color);
}
.card {
  position: relative; /* important for absolute children */
  overflow: hidden;
  
}
.info-card {
  
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.card img{
  border-top: 10px var(--box-color) solid;
  aspect-ratio: 16/9;
  object-fit: contain;
  
}
.card-body{
  display: flex; 
  flex-direction: column;
  min-height: 160px;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  margin-top: 10px;
  padding-bottom: 2.5rem;
  
}
.card-title{
  margin-top: 0;         /* remove any top gap */
  padding-top: 0;        /* remove the 10% padding */
  font-size: 1rem;
  text-align: center;
}



/* Hover effect */
.info-card:hover {
  transform: translateY(-8px);           /* Lift card up */
  box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Soft shadow */
}
/* Active effect (when pressing/clicking) */
.info-card:active {
  transform: scale(0.98);               /* Slight shrink for feedback */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Tighter shadow */
  border-color: #0a58ca;                /* Darker border while active */
}
.analysis-btn {
  background-image: linear-gradient(to right, #9D50BB 0%, #6E48AA 51%, #9D50BB 100%);
  background-size: 200% auto;
  color: white;
  border-radius: 6px;
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  padding: 8px 15px;
  text-align: center;
  transition: 0.5s;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}



@media (max-width: 992px) {
  .analysis-btn {
    font-size: 0.7rem;
    font-weight: lighter;
    padding: 6px 12px;
    opacity: 1;
    pointer-events: auto; /* clickable on smaller screens */
  }
}

.card:hover .analysis-btn {
  display: block;
  opacity: 1;
}

.analysis-btn:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
}

@media(max-width:576px){
  #Analysis .section-title{
    margin-bottom: 20px ;
  }
  .card{
    width: 80%;
    margin: 0 auto;      /* centers horizontally */
    display: block;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.496);
  }
  .card-title{
  margin-top: 0;         /* remove any top gap */
  padding-top: 0;        /* remove the 10% padding */
  font-family: 'Merriweather', 'Times New Roman', serif;
  font-size: .8rem !important;
  text-align: center;
}

.analysis-btn{
  font-size: .7rem;
  font-weight: 600;
}

}



.modal{
  background: rgba(0, 0, 0, 0.729);
}
.modal-body{
  font-family: 'Merriweather', 'Times New Roman', serif; 
}

.modal-content{
  
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.69);
  
  background-color: #DCD9D4 !important;
}
.modal-header{
  font-family: Georgia, 'Times New Roman', Times, serif;
  padding: 8px 5px !important;
 background: #e2d1c3;
 /* border-radius: 50%; */
  
 color: #2B2B2B ;
}
.modal-title {
  font-size: 1.1rem;
  font-weight: bold;
  width: 100%;
  text-align: center;
 
}
.btn-close {
  padding-right: 20px !important;
  border: none;
  outline: none;
  box-shadow: none;
}
.btn-close:hover {
  transform: scale(1.2);
}
.btn-close:focus,
.btn-close:active {
  outline: none !important;
  box-shadow: none !important;
}

.modal-body{

  font-size: .85rem;
  line-height: 2;
  font-family: 'Merriweather', 'Times New Roman', serif;
  text-align: justify;
  text-justify: inter-word;
  overflow-y: auto; 
  max-height: 80vh;  
  padding: 1.5rem !important;
  
  
} 

@media (max-width: 576px) {

  .modal-title {
    font-size: 1rem;
    text-align: center;
  }
  #modalContent {
  max-height: 80vh;  /* modal content won’t exceed 80% of viewport height */
   /* enable vertical scroll if content overflows */
  padding: 1rem;
  font-size: .7rem;
  }
}




/* end Physics Analysis Experience */

  




/* Briefings specific card styles */
.briefing-card {
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--box-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

/* Image styling */
.briefing-img {
  width: 100%;
  
  /* height: 200px;           adjust size */
   aspect-ratio: 16 / 9; /* maintain a 16:9 aspect ratio */
  object-fit: cover;       /* no distortion */
  display: block;
}

/* Body styling */
.briefing-body {
  padding: 12px 16px;
}

.briefing-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

/* Hover effects */
.briefing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.briefing-card:hover .briefing-title {
  color: var(--link-hover-text); /* bootstrap primary color */
  text-decoration: underline;
}

/* end Briefings specific card styles */



/* start news section  */

.news-container {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}


.wgh-slider {
  position: relative;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}
.wgh-slider__viewport {
  position: relative;
  height: 100%;
  width: 100%;
}
.wgh-slider__viewbox {
  display: block;
  position: relative;
  perspective: 100vw;
  margin: 0 auto;
  width: 33.3333333333%;
  max-width: 280px;
  transform-style: preserve-3d;
  z-index: 0;
}
.wgh-slider__viewbox::before {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  content: "";
  height: 0;
  padding-bottom: 100%;
  width: 100%;
}
.wgh-slider__container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.3s;
  transform-style: preserve-3d;
}
.wgh-slider-target {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}
input.wgh-slider-target {
  display: none;
}

.wgh-slider-target:first-of-type:last-of-type ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__trigger {
  display: none;
}
.wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(0%);
}
.wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-50%);
}
.wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-100%);
}
.wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-150%);
}
.wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-200%);
}
.wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-250%);
}
.wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-300%);
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider__container {
  transform: translateX(-350%);
}
.wgh-slider-item {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(45deg);
  transition: transform 0.6s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
}
.wgh-slider-item:nth-child(1) {
  left: 0%;
}
.wgh-slider-item:nth-child(2) {
  left: 50%;
}
.wgh-slider-item:nth-child(3) {
  left: 100%;
}
.wgh-slider-item:nth-child(4) {
  left: 150%;
}
.wgh-slider-item:nth-child(5) {
  left: 200%;
}
.wgh-slider-item:nth-child(6) {
  left: 250%;
}
.wgh-slider-item:nth-child(7) {
  left: 300%;
}
.wgh-slider-item:nth-child(8) {
  left: 350%;
}
  .wgh-slider-item__trigger {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    cursor: pointer;
  }
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__trigger, .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__trigger, .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__trigger, .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__trigger, .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__trigger, .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__trigger, .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__trigger, .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__trigger {
  display: none;
}
.wgh-slider-item__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transform: scale(0.75);
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0s;
  z-index: 10;
}
.wgh-slider-item__inner::before, .wgh-slider-item__inner::after {
  display: block;
  position: absolute;
  content: "";
}
.wgh-slider-item__inner::before {
  top: 24px;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 0;
  transition: transform 0.3s cubic-bezier(0.62, 0.28, 0.23, 0.99) 0.15s;
  transform: translate(-24px, 12px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.wgh-slider-item__inner::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 50%, rgba(0, 0, 0, 0) 100%); */
  background-repeat: repeat-x;
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position 0.3s linear;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__inner, .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__inner, .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__inner, .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__inner, .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__inner, .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__inner, .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__inner, .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__inner {
  transform: scale(1);
  transition-delay: 0.1s;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__inner::before {
  transform: translate(0, 24px);
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) .wgh-slider-item__inner::after {
  background-position: -50% 0%;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) ~ .wgh-slider-item .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) ~ .wgh-slider-item .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) ~ .wgh-slider-item .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) ~ .wgh-slider-item .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) ~ .wgh-slider-item .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) ~ .wgh-slider-item .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) ~ .wgh-slider-item .wgh-slider-item__inner::before, .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) ~ .wgh-slider-item .wgh-slider-item__inner::before {
  transform: translate(24px, 12px);
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) ~ .wgh-slider-item .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) ~ .wgh-slider-item .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) ~ .wgh-slider-item .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) ~ .wgh-slider-item .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) ~ .wgh-slider-item .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) ~ .wgh-slider-item .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) ~ .wgh-slider-item .wgh-slider-item__inner::after, .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) ~ .wgh-slider-item .wgh-slider-item__inner::after {
  background-position: -100% 0%;
}
.wgh-slider-item-figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.wgh-slider-item-figure__image {
  position: absolute;
  display: block;
  max-width: 100%;
  max-height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  opacity: 1;
}
.wgh-slider-item-figure__caption {
  position: absolute;
  display: block;
  overflow: hidden;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 5px;
  /* background-image: linear-gradient(0deg,  #000 0%, transparent  100%); */
  background-image: linear-gradient(to right, #9D50BB 0%, #6E48AA  51%, #9D50BB  100%);
  z-index: 2;
  text-align: center;
 
}
.wgh-slider-item-figure__caption a {
  font-family: 'Red Hat Display', sans-serif !important;
  display: inline-block;
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 20px;
  font-weight: bold;
  color: #ffffff    ;  
  padding-bottom: 5px;
}
.wgh-slider-item-figure__caption a:hover{
   color: #00FFFF ;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8), .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7), .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6), .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5), .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4), .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3), .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2), .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) {
  transform: translate3d(0, 0, 0) rotateY(0deg);
  z-index: 9999;
}
.wgh-slider-target:nth-of-type(8):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(8) ~ .wgh-slider-item, .wgh-slider-target:nth-of-type(7):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(7) ~ .wgh-slider-item, .wgh-slider-target:nth-of-type(6):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(6) ~ .wgh-slider-item, .wgh-slider-target:nth-of-type(5):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(5) ~ .wgh-slider-item, .wgh-slider-target:nth-of-type(4):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(4) ~ .wgh-slider-item, .wgh-slider-target:nth-of-type(3):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(3) ~ .wgh-slider-item, .wgh-slider-target:nth-of-type(2):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(2) ~ .wgh-slider-item, .wgh-slider-target:nth-of-type(1):checked ~ .wgh-slider__viewport .wgh-slider-item:nth-child(1) ~ .wgh-slider-item {
  transform: translate3d(0, 0, 0) rotateY(-45deg) !important;
}

@media (max-width: 576px) {
  .news-container {
    height: 250px; /* allow height to adjust naturally */
  }
  .wgh-slider-item-figure__caption {
    padding: 5px; /* smaller padding for mobile */
  }

   .wgh-slider-item-figure__caption a {
    font-size: .7rem;       /* smaller text for mobile */
    line-height: 13px;     /* tighter line-height */
    display: inline-block; /* keep as inline-block */
    text-decoration: none; /* no underline */
    font-weight: bold;
    color: #fff;
  }
 
  
}


/* end news section */


/* start achivement section  */

.achievement-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 290px;  
  border-radius: 0.5em;
  background: var(--box-color);
  
  padding: 1.5em 1.2em;
  box-shadow: 0 1.5em 2.5em -0.5em rgba(0, 0, 0, 0.1);
  transition: transform 0.75s ease, background 0.5s ease;
}

.achievement-card h3 {
  color: #2e3c40;
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 0.5em;
  border-bottom: 2px solid #732C7B;
  transition: color 0.75s ease, border 0.75s ease;
}

.achievement-card h4 {
  color: #627084;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1em;
  transition: color 0.75s ease;
}

.achievement-card p {
  opacity: 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1em;
  transform: translateY(-1em);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.achievement-card .link-text {
  display: block;
  color: #732C7B;
  font-size: 1em;
  font-weight: 600;
  margin-top: auto;
  transition: color 0.75s ease, opacity 0.75s ease;
}

/* Hover Effects */
.achievement-card:hover {
  background: #732C7B;
  transform: scale(1.02);
}

.achievement-card:hover h3,
.achievement-card:hover h4 {
  color: #ffffff;
}

.achievement-card:hover h3 {
  border-bottom-color: #a754c4;
}

.achievement-card:hover p {
  opacity: 1;
  transform: none;
}

.achievement-card:hover .link-text {
  opacity: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .achievement-card {
    padding: 1.2em 1em;
  }

  .achievement-card h3 {
    font-size: 1.4em;
  }

  .achievement-card h4 {
    font-size: 0.95em;
  }

  .achievement-card p {
    font-size: 0.85em;
  }
}
@media (max-width:786px) {
  .achievement-card {
    height: auto;
    padding: 1em;
    background-color: var(--box-color);
  }
   .achievement-card h4 {
    font-size: 0.9em;
  }

  .achievement-card p {
    color: #000;
    opacity: 1 !important;
    transform: none !important;
  }
  .achievement-card:hover p {
  color: white;
}

  .achievement-card .link-text {
    opacity: 0 !important;
  }
}
@media (max-width: 576px) {
  .achievement-card {
    height: auto;
    padding: 1em;
    background-color: var(--box-color);
  }

  .achievement-card h3 {
    font-size: 1.3em;
  }

  .achievement-card h4 {
    font-size: 0.9em;
  }

  .achievement-card p {
    color: #000;
    opacity: 1 !important;
    transform: none !important;
  }
  .achievement-card:hover p {
  color: white;
}

  .achievement-card .link-text {
    opacity: 0 !important;
  }
}

/* achievement end  */


    /* start Recent & Upcoming Talks  */

    /* recent publications card styling same as Recent & Upcoming Talks  */
  .list-group .list-group-item{
    background: var(--box-color);
  }
  /* .list-group-item {
  border: none;
  border-left: 4px solid #0d6efd;
  margin-bottom: 0.75rem;
  background: var(--box-color);
  padding: 1rem;
  border-radius: 0.5rem;
} */
.list-group-item h5 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* css for box */
.list-group-item {        
  border: none !important;          /* remove border */
  background: #ffffff;            /* clean white background */
  border-radius: 8px !important;             /* rounded corners */
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;            /* spacing between items */
  box-shadow: 0 2px 2px rgba(0,0,0,0.1); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-box {
  border: none !important; /* override old border */
}

/* Hover animation */
.list-group-item:hover {
  transform: translateY(-5px); /* lift effect */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* stronger shadow on hover */
}
.list-group-item:hover h5 {
  /* color: #001d9f;  */
  color: var(--link-hover-text);
}


/* anchor boxx */
.anchor-box {
  display: block;                 /* make <a> behave like a block */
  text-decoration: none;          /* remove underline */
  color: inherit;                 /* inherit text color */
}

.content-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.anchor-box:hover .content-box {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* anchor box */

.list-group-item .year {
  
  font-size: .8rem;
  font-weight: 500;
  margin-left: 20px; /* space from the left content */
  white-space: nowrap; /* prevent wrapping */
}

 
#talks h5 , #recent-publications h5{
  font-size: 1.1rem;
}
#talks p , #recent-publications p{
  font-size: small;
  margin-bottom: 5px;
}
@media (max-width: 576px) {
  #talks h5 , #recent-publications h5{
  font-size: .9rem;
  }
  #talks p , #recent-publications p{
  font-size: .7rem;
  margin-bottom: 5px;
}
.list-group-item .year {
  
  font-size: .7rem;
  font-weight: 500;
  margin-left: 20px; /* space from the left content */
  white-space: nowrap; /* prevent wrapping */
  margin-left: 0;              /* reset margin */
    margin-top: 8px;             /* add spacing below */
    align-self: flex-end;      /* align to left under text */
}
  #talks h4, #recent-publications h4{
  font-size: 1.1rem;
  
}

.list-group-item {
    flex-direction: column;      /* stack vertically */
    align-items: flex-start;     /* align to left */
  }

}

    /* recent publications card styling same as Recent & Upcoming Talks  */


   /* end Recent & Upcoming Talks  */
    





    /*  Featured  publication */
/* Heading style */

/* Card styling */
.pub-heading {
  font-size: 2rem;
  font-weight: 600;
  font-family: 'Merriweather', serif;
  color: #222;
}




.pub-card {
  background: var(--box-color);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* decrease card width */
  margin: 0 auto 1.5rem; /* center it and keep spacing */
  transform: scale(0.9); /* slightly shrink the whole card */
}
.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(255, 0, 0, 0.25);
  border: 1px solid rgba(18, 0, 179, 0.777);
}

.pub-card-body {
  padding: 15px 20px;
}

.pub-authors {
  font-size: 1rem;
  margin-bottom: 0;
  color: #555;
}
.pub-date {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 10px;
}
.journal-name{
  font-size: 1rem;
  color: #555;
}
.journal-name span{
  color: #02036f87;
  font-size: .9rem;
}
.pub-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 300px; /* limit image height */
  object-fit: scale-down; /* keep aspect ratio, crop if needed */
}

.pub-title {
  font-size: .9rem;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 5px;
  font-family: 'Merriweather', serif;
}

.pub-subtitle {
  text-align: justify;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

  
.pub-card-link {
  text-decoration: none;  
}

           .pub-btn {
            background-image: linear-gradient(to right, #9D50BB 0%, #6E48AA  51%, #9D50BB  100%);
          }
         .pub-btn {
            
            padding: 8px 15px;
            text-align: center;
            transition: 0.5s;
            background-size: 200% auto;
            color: white;            
            box-shadow: 0 0 20px #eee;
            border-radius: 6px;
            /* display: block; */
            font-size: 0.9rem;
            font-weight: 600;
            border: none;
            margin-top: 1rem;
            margin-bottom: 1.2rem;
          }

          .pub-btn:hover {
            background-position: right center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;
          }



    /* end  publication */




   /* recent publication */

   /* recent publications card styling same as Recent & Upcoming Talks  */



/* rescent publication end  */
/* start school  */
#school{
  padding-bottom: 60px;
}

    .school-card {
      display: flex;
      flex-direction: row;
      border-radius: 20px;
      overflow: hidden;
      /* background: #eef1f5; */
      background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
      background-image: linear-gradient(-225deg,#FFE6FA   0%, #E3FDF5 100%);
      width: 100%;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.school-image {
  position: relative;
  max-width: 300px;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.school-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Use cover, not contain */
  display: block;
}


@media (max-width: 1199px) {
  .school-card {
    flex-direction: column;
  }

  .school-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}


    .school-content {
      padding: 10px;
      padding-left: 20px;
      flex: 2;
    }

    .school-date {
      color: #777;
      font-size: .8rem;
      margin-bottom: 8px;
    }

    .school-title {
      font-size: 1rem;
      font-weight: 600;
      color: #150e35;
      margin-bottom: 12px;
    }
    .school-title:hover{
      color: var(--link-hover-text);
    }

    .school-location {
      padding-top: 10px;
      color: #777;
      font-size: .9rem;
      margin-bottom: 4px;
    }



   

.school-card:hover {

 background-image: linear-gradient(-20deg,#e9defa   0%, #fbfcdb  100%);
 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}



/* Optional: add image zoom on hover */
.school-card:hover .school-image img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}


    @media (max-width: 1199px) {
      .school-card {
        flex-direction: column;
        box-shadow: 5px 8px 20px rgba(0, 0, 0, 0.3);
      }

      .school-image {
        max-width: 100%;
        border-radius: 0;
      }

      .school-content {
        padding: 20px;
      }
    }
@media (max-width: 576px) {
  .school-content {
    padding: 16px;
  }

  .school-title {
    font-size: 15px;
  }

  .read-more-btn {
    padding: 5px 14px;
  }
}


/* end school  */



/* start gallery  */
#gallery{
  padding-bottom: 50px;
}
  
 .carousel-container {
  max-width: 900px;
  margin: 5px auto;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px 16px;
}

.big-image-wrapper {
 max-width: 720px;
  margin: 5px auto;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.big-image-wrapper img {
  cursor: pointer;
  display: block;
  aspect-ratio: 16/9;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.full-scn-btn {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.773);
  border-radius: 6px;
  padding: 6px 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  user-select: none;
   font-size: 1.5rem;
  color: #ffffff !important;
}




@media (max-width:768px) {
  .big-image-wrapper {
    height: 320px;
  }
}

@media (max-width:576px) {
  .big-image-wrapper {
    height: 220px;
  }
}

.carousel-thumbnails-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 5px;
  display: block;
}

.carousel-thumbnails {
  display: inline-flex;
  gap: 10px;
}

.carousel-thumbnails-wrapper::-webkit-scrollbar {
  height: 8px;
}
.carousel-thumbnails-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
    .thumb-item img {
    /* width: 100%; */
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .thumb-item img:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
  .thumb-item img.active {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,0.4);
  }

.big-image-caption {
  
  max-width: 90%;
  margin-top: 10px;
  padding-bottom: 2px;
  background: #f6f5f8;
  text-align: center;
 font-size: clamp(.5rem, 2vw, 1rem);
  font-weight: 500;
  text-align: center;
  color: #000000;
  border-radius: 5px;
white-space: nowrap;     /* Forces single-line */
  text-overflow: ellipsis; /* Adds "..." if text overflows */
  overflow: hidden;        /* Hides overflow text */
  text-align: center;
  
}
@media (max-width: 768px) {
  .thumb-item {
    width: 70px;
  }
  .thumb-item img {
    max-height: 50px;
  }
  .big-image-caption{
    max-width: 90%;max-width: 100%;
    font-size: clamp(.7rem, 2vw, 1rem);
  }
}

@media (max-width: 576px) {
  .big-image-caption {
    font-size: clamp(.7rem, 2vw, 1rem);
     max-width: 100%;
  }
    .carousel-thumbnails-wrapper {
    display: flex;
    overflow-x: auto;          /* enable horizontal scroll */
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    gap: 8px;                  /* space between items */
    padding-bottom: 8px;       /* space for scrollbar */
  }
  .thumb-item {
    flex-shrink: 0;
    width: 90px;
  }
  .thumb-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .thumb-item img:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
  .thumb-item img.active {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13,110,253,0.4);
  }
}

@media (min-width: 786px) {
  .carousel-thumbnails-wrapper {
    display: flex;
    justify-content: center;
  }
}

/* full screen modal  */

/* Modal overlay */
#imageModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Wrapper for image and caption */
#modalImageWrapper {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  object-fit: contain;
}

/* Image */
#modalImage {
    width: 100%;
    height: 100%;
  transition: transform 0.3s ease;
  cursor: grab;
  user-select: none;
  object-fit: contain;
}

/* Caption */
#modalCaption {
  color: #fff;
  text-align: center;
  font-size: 1.5em;
  margin-top: 10px;
  /* transform: translateY(-50px); */
}

/* Controls */
.modal-btn {
  position: absolute;
  background: transparent;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 5px;
  z-index: 10000;
  /* border-radius: 50%; */
}
.modal-btn:hover{
 transform: scale(1.5);
}


#closeModal { top: 20px; right: 20px; }
#zoomIn { bottom: 20px; right: 120px; }
#zoomOut { bottom: 20px; right: 70px; }
#prevImage { top: 50%; left: 20px; transform: translateY(-50%); }
#nextImage { top: 50%; right: 20px; transform: translateY(-50%); }

.modal-btn:hover {
  color: var(--link-hover-text);
  background: rgba(255,255,255,0.2);
}
#closeModal:hover{
  transform: scale(2);
  background: transparent;
  color: red;
}


/* end galary  */



    /* for footer */
.custom-footer {
  /* font-family: "Caveat", cursive; */
  background-color: #4a4a55;
  padding: 40px 20px 10px 20px;
  color: #f0f0f0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.footer-container {

  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-column {
  flex: 1 1 180px;
}


.footer-column h4 {
  font-size: 1rem;
  color: #ffffffcb;

  position: relative;
  
}

 .footer-container .footer-column .line {
  display: block;
  width: 37px;
  height: 3px;
  background-color: #f50057 !important;
  border: none;                  /* <— very important */
  border-radius: 10px;
  margin: 0;
    /* margin-bottom: 10px; */
  transform: translateY(-7px);
  visibility: visible;
    
}




.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  font-size: .85rem;
  color: #aaa; 

  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #f50057;
}
.footer-column p {
  color: #aaa;
  font-size: .85rem;
  /* margin-bottom: 12px; */

}
 
.footer-column p i {
  color: #f50057;
  margin-right: 8px;
}
.footer-column strong{
  font-size: 1rem;
  color: #aaa;
  letter-spacing: 1px;
}

.footer-link{
  color: #aaa;
}
.footer-link:hover{
  color: #f50057;
}


/* Vertical Sidebar Social Icons */
.social-links {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.social-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background: #fff;
  color: #333;
  border-radius: 50%;
  text-decoration: none;
  overflow: hidden;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Icon inside */
.social-links a i {
  position: relative;
  font-size: 18px;
  z-index: 3;
  transition: 0.5s;
}

/* Rotate icon and color change */
.social-links a:hover i {
  color: #fff;
  transform: rotateY(360deg);
}

/* Hover background slide-in */
.social-links a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: red; /* fallback */
  transition: 0.5s;
  z-index: 2;
}

.social-links a:hover::before {
  top: 0;
}

/* Individual icon hover backgrounds */
.social-links a:nth-child(1)::before {
  background: #1877F2; /* Facebook */
}

.social-links a:nth-child(2)::before {
  background:linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram */
}

.social-links a:nth-child(3)::before {
  background: #0077b5; /* LinkedIn */
}

.social-links a:nth-child(4)::before {
  background: #ff0000; /* YouTube */
}

/* Optional - subtle text */
.last-updated-section p {
  color: #ffffff93;
  font-size: 0.8rem;
}



@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-column {
    width: 100%;
    flex: 1 1 auto;
    min-height: auto;
    margin-bottom: 10px;
  }
    .footer-container .footer-column .line {
  width: 10%; 
  height: 2px;
  background-color: #f50057 !important;
  border: none;                  /* <— very important */
  border-radius: 10px;
  margin: 0 auto;

  transform: translateY(-7px);
  visibility: visible;

}
  .social-links {
    flex-direction: row;
    justify-content: center; /* center horizontally */
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
  }
  .social-links {
  margin-left: 0px;
  }
  .social-links a {
    margin-bottom: 0; /* remove vertical gap */
    margin-right: 0;
  }

}


.last-updated-section {
  width: 100%;
  padding: 5px 0; 
  text-align: center;
  font-size: 0.9rem; 
  color: #555;
  border-top: 1px solid #878787c9;
  margin-top: 10px;                /* Adds spacing from above content */
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);  /* Optional light top shadow */
}

.last-updated-section p {
  margin: 4px 0;
  padding: 0;
  line-height: 1.4;
}
.last-updated-section .devloper-name p:hover{
  color: #fff !important;
}
/* ✅ Responsive for mobile devices */
@media (max-width: 576px) {
  .last-updated-section {
    font-size: 0.75rem;
    padding: 15px 10px;
    margin-top: 15px;
  }

  .last-updated-section p {
    margin: 3px 0;
    line-height: 1.3;
  }
}


/* icon hover color change  */

.fa-facebook-f:hover ,.fa-facebook:hover,.fa-envelope:hover{
  color: #1877F2;
  transform: scale(1.2);  /* 1.2 = 120% size */
  transition: all 0.3s ease;  /* Smooth animation */
}

.fa-linkedin-in:hover ,.fa-square-linkedin:hover , .fa-linkedin:hover{
  color: #0077b5;
  transform: scale(1.2);  /* 1.2 = 120% size */
  transition: all 0.3s ease;  /* Smooth animation */
}
.fa-orcid:hover{
  color: #1aba04;
  transform: scale(1.2);  /* 1.2 = 120% size */
  transition: all 0.3s ease;  /* Smooth animation */
}
.fa-x-twitter:hover,.fa-threads:hover{
  color:#000;
  transform: scale(1.2);  /* 1.2 = 120% size */
  transition: all 0.2s ease;  /* Smooth animation */
}
.fa-instagram:hover , .fa-youtube:hover{
color :#dc2743;
transform: scale(1.2);  /* 1.2 = 120% size */
  transition: all 0.3s ease;  /* Smooth animation */
}

