/* S5 TAB Show
----------------------------------------------------------- 
border: 1x solid #fff;
*/

#boxshadow { 
  position: relative;
  -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, .3);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, .3);
  padding: 5px;
  width:auto; height:auto;  
}

.img-left {
  float: left;
  margin-right: 15px;
}

.img-right {
  float: right;
  margin-right: 15px;
}

.green-heading {
    color: #123a23;
    font-family: "Times New Roman", serif;
    font-weight: 700; 
    font-size: 36px;
}

.alumni { color: #fff; width:65%; font-weight: 450; font-size: 1.4em;}
.alumni-job { color: #fff; width:65%; font-weight: 450; font-size: 1.4em;}
.alumni_icon { color:#ce2b7f;}

.-testimonial img {	
	width:100px;
	border-radius:10%; !important;
	}

.-testimonial .s5_tab_show_slide_button_inactive .s5_tab_show_button_img img {
	filter: blue;
	opacity:.5; !important;
	}
	
.-testimonial .s5_tab_show_slide_button_active .s5_tab_show_button_img img, .-testimonial .s5_tab_show_button_img_present:hover .s5_tab_show_button_img img {
	opacity:1; !important;
	}

.-testimonial .s5_tab_show_slide_inner {
	color: #140f15; 
	font-size: .8em;
	font-weight: normal;
 }
/* Project - Images - Gallery */
.category-wrapper {
  font-family: Arial, sans-serif;
  padding: 30px;
  margin: 0;
}

.category-title {
  text-align: left;
  margin-bottom: 5px;
}

.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
justify-content: center;
}

.category-box {
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.category-box:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.category-box img {
  width: 100%;
  height: auto;
  display: block;
}

.category-name {
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  background-color: #f9f9f9;
}

.category-images {
  margin-top: 30px;
  display: none;
}

.category-images.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.category-images img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.2s;
}

.category-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.image-grid-wrapper {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
text-align: center;
margin-bottom: 20px;
}
	
.image-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
max-width: 1200px;
margin: 0 auto;
}

.image-grid img {
width: 100%;
height: auto;
display: block;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* Project - Images - Gallery Ends*/

/* ----------- *//* ----------- */

/* Project Gujarat Map */
/* Wrapper & Layout */
#map-wrapper {
  margin: 10px;
  padding: 20px;
  font-family: sans-serif;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 4 / 3;
  margin-top: 30px;
}

#categoryFilter {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  font-size: 16px;
  z-index: 3;
  border-radius: 6px;
  border: 1px solid #aaa;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-image {
  width: 100%;
  height: 100%;
  display: block;
}

/* Dot & Tooltip */
.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0c69c7;
  border: 2px solid #d91414;
  cursor: pointer;
}

.tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: blue;
  padding: -10px;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  z-index: 5;
  opacity: 0.95;
}

.dot:hover .tooltip {
  display: block;
}

.title {
  font-size: 14px;
  color: white;
  font-weight: normal;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: -10px;
}

.tooltip .subtitle {
  font-size: 14px;
}

@media (max-width: 600px) {
  #map-wrapper {
    padding: 10px;
    flex-direction: column;
    align-items: center;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .tooltip {
    font-size: 12px;
    padding: 2px;
  }

  .title {
    font-size: 12px;
    padding: 3px 8px;
  }

  .map-container {
    margin-top: 20px;
  }
}

/* Project Gujarat Map Ends */
/* ----------- *//* ----------- */
/* emoji-Popup */
    #emoji-wrapper {
      font-family: Playfair Display, serif;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 12px;
      height: auto;
      margin: 0;
      box-sizing: border-box;
    }

    .emoji-line {
      display: flex;
      align-items: center;
      font-size: 2vw; /* scalable text size */
      color: white;
      flex-wrap: wrap;
      text-align: center;
    }

    .emoji-image {
      width: 3vw;
      max-width: 20px;
      min-width: 10px;
      height: auto;
      margin-right: 1vw;
      animation: bouncePause 8s ease-in-out infinite;
    }

    @keyframes bouncePause {
      0%   { transform: translateY(0); }
      5%   { transform: translateY(-8px); }
      10%  { transform: translateY(0); }

      15%  { transform: translateY(-8px); }
      20%  { transform: translateY(0); }

      25%  { transform: translateY(-8px); }
      30%  { transform: translateY(0); }

      100% { transform: translateY(0); }
    }

    .emoji-text {
      flex: 1 1 auto;
    }
    @media (max-width: 768px) {
    .emoji-line {
    font-size: 4.5vw; /* Larger text for small screens */
    }

    .emoji-image {
    width: 6vw;       /* Scale emoji image up */
    max-width: 40px;  /* Optional upper limit */
    min-width: 20px;  /* Optional lower limit */
    margin-right: 2vw;
  }
}
/* emoji-Popup */
/* ----------- *//* ----------- */
/* slidesShow */
.album-container-wrapper {
  font-family: sans-serif;
  margin: 0;
  padding: 20px;
  text-align: center;
}

.album-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 albums per row */
  row-gap: 55px; /* adds gap between rows */
  column-gap: 20px; /* adds gap between columns */
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  justify-items: center; /* center thumbnails inside each grid cell */
}

.album-thumb {
  cursor: pointer;
  background: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  width: 250px;
  height: 250px;
  aspect-ratio: 1 / 1; /* maintains square shape */
}

.album-thumb p {
  text-align: center;
  margin-top: 10px;
}

.album-thumb img {
  width: 100%;
  height: auto;
}

.slideshow {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.slideshow img {
  max-width: 80%;
  max-height: 80%;
}

.nav {
  position: absolute;
  top: 50%;
  font-size: 2em;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

.left { left: 30px; }
.right { right: 30px; }

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2em;
  color: white;
  cursor: pointer;
}

.hidden {
  display: none;
}

@media (max-width: 1024px) {
  .album-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 600px) {
  .album-container {
    grid-template-columns: 1fr; /* 1 column for phones */
  }
}
/* slidesShow Ends */
/* ----------- *//* ----------- */


/* extra pages */
.dr-jagat{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
    font-family:Arial, sans-serif;
    line-height:1.7;
    color:#333;
}

.dr-jagat h1{
    font-size:42px;
    margin-bottom:10px;
}

.dr-jagat h2{
    color:#0b5ed7;
    margin-top:50px;
    margin-bottom:20px;
}

.highlight-box{
    background:#0b5ed7;
    color:#fff;
    padding:30px;
    border-radius:10px;
    text-align:center;
    margin:40px 0;
}

.feature-grid,
.card-grid,
.competency-grid{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

.feature-card,
.info-card{
    flex:1 1 300px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:25px;
    text-align:center;
    background:#fff;
}

.timeline{
    border-left:4px solid #0b5ed7;
    padding-left:30px;
}

.timeline-item{
    margin-bottom:25px;
}

.green-section{
    background:#eaf7ea;
    padding:35px;
    border-radius:10px;
    margin:50px 0;
}

.competencies{
    background:#f8f9fa;
    padding:35px;
    border-radius:10px;
    margin-top:50px;
}

.competency-item{
    flex:1 1 45%;
    padding:18px;
    background:#fff;
    border-left:5px solid #198754;
}

.full-width{
    flex:1 1 100%;
}

.cta-banner{
    background:#0b5ed7;
    color:#fff;
    padding:40px;
    text-align:center;
    border-radius:10px;
    margin-top:50px;
}

.cta-banner h2{
    color:#fff;
    margin-top:0;
}

.cta-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 28px;
    background:#fff;
    color:#0b5ed7;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
}

.cta-btn:hover{
    opacity:0.9;
}

@media (max-width:768px){

    .feature-card,
    .info-card,
    .competency-item{
        flex:1 1 100%;
    }

    .dr-jagat h1{
        font-size:32px;
    }
}

/* Timeline Layout */
.timeline-wrapper{
    display:flex;
    align-items:flex-start;
    gap:40px;
    margin-top:30px;
}

.timeline{
    flex:0 0 40%;
    border-left:4px solid #0b5ed7;
    padding-left:30px;
}

.timeline-image{
    flex:0 0 660px;
    width:660px;
    max-width:660px;
    position:sticky;
    top:100px;
    border-radius:18px;
    overflow:hidden;
}

.timeline-image img{
    width:100%;
    max-width:660px;
    height:auto;
    display:block;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.timeline-image img:hover{
    transform:scale(1.015);
}

@media (max-width:768px){

    .timeline-wrapper{
        flex-direction:column;
        gap:25px;
    }

    .timeline,
    .timeline-image{
        width:100%;
        max-width:100%;
        position:relative;
        top:auto;
    }

    .timeline-image img{
        max-width:500px;
        width:100%;
        display:block;
        margin:0 auto;
    }
}
/* extra pages ends */

/* ===========================
   Joomla 5 Custom 404 Page
=========================== */
        /* CSS hard coded in 404 Error Page */
/* ===========================
   Joomla 5 Custom 404 Page Ends
=========================== */