/*----------- Goole Font Link------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/*==================================== Default Styles ==================================== */

:root {
  --h1_color: #016B9D;
  --h6_color: #004366;
  --nav_color: rgb(21, 21, 100);
  --orange_color: #E84911;
  --lato: "Lato", sans-serif;
  --icon: #F48829;
  --footer: #003F62;
  --side_bar: rgba(5, 69, 104, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  width: 100%;
  background-color:rgb(255, 204, 0); ;
  overflow-x: hidden;
  padding-top: 150px;
}

/*----Global Tags---- */

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--h6_color);
}

span {
  font-size: .9rem;
  color: #757373;
}

h6 {
  font-size: 1.1rem;
  color: var(--h6_color);
}


/*=============================== Navigation Section  ================================== */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
}


nav {
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  width: 100%;
  background-color: #fff;
  justify-content: space-between;
  padding: 1vw 8vw;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}

.scrolled nav {

  display: flex;
  flex-direction: row;
  margin-top: 50px;
  width: 100%;
  background-color: #fff;
  justify-content: space-between;
  padding: 1vw 8vw;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);

}

nav img {
  width: 200px;
  cursor: pointer;
}

nav .navigation {
  display: flex;
}

#menu-btn {
  width: 30px;
  height: 30px;
  display: none;
}

#menu-close {
  display: none;
  cursor: pointer;
}

nav .navigation ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav .navigation ul li {
  list-style: none;
  margin-left: 30px;
}

nav .navigation ul li a {
  font-size: 16px;
  color: var(--nav_color);
  font-weight: 500;
  transition: 0.3s ease;
  gap: 9px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}

nav .navigation ul li a i {
  color: var(--orange_color);
}

nav .navigation ul li a.active,
nav .navigation ul li a:hover {
  color: var(--h1_color);
}

nav .navigation ul li a.active::after {
  color: var(--orange_color);
  width: 100%;
  bottom: -1px;
}

nav .navigation ul li a:hover:after {
  color: var(--orange_color);
  width: 100%;
  bottom: -1px;
}

/* nav .navigation ul li a.active, */
nav .navigation ul li a:after {
  content: "";
  position: absolute;
  height: 4px;
  width: 0%;
  background-color: var(--orange_color);
  top: 100%;
  left: 0%;
  border-radius: 5px;
  transition: all 0.5s;
  text-decoration: none;
  margin-top: 7px;
}

.top_bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 50px;
  position: absolute;
  top: 0;
  background-color: transparent;
  padding: 5px 10px;
}

.top_bar h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--h6_color);
  margin-right: 7px;
  cursor: pointer;
}

.top_bar h3:hover {
  color: #FFF;
}

.top_bar h3 i {
  margin-right: 5px;
  color: var(--h1_color);
}

.top_bar h3 i:hover {
  color: #FFF;
}


/*---------Scroll Navbar --------*/

.scrolled {
  position: fixed;
  left: 0;
  top: 0;
  background-color: #fff;
  transition: 0.9 ease-in;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
  width: 100%;
  scroll-behavior: smooth;
  animation: animate 1.2s ease-in-out;
  z-index: 999;


}


@keyframes animate {
  0% {
    transform: translateY(-100%);
  }

}





/*============================= SYLLABUS section ================================= */
.leadership-overview {
  padding: 60px 20px;
  background-color: rgb(255, 204, 0);
  text-align: center;
}

.leadership-overview h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--h6_color);
}

.leadership-overview h2::after {
  content: "";
  display: flex;
  width: 60px;
  height: 3px;
  background-color: var(--h6_color);
  margin: 10px auto 0;
  border-radius: 2px;
}


    .container{
        display: flex;
        justify-content:center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }
    .card{
        background: #fff;
        padding: 20px; 
        width: 200px;
        height: 150px;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,1);
    }
    .card h3{
        text-align: center;
        font-family:"Poppins", sans-serif;
        margin-bottom: 6px;
    }
    .row{
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 8px 0;
        margin-bottom: 10px;
    }
    .row p{
        margin: 0;
        font-family:"Poppins", sans-serif;
        font-weight: bold;
    }
    .btns1{
      background: #3498db;
      color: white;
      border: none;
      padding: 7px 15px;
      border-radius: 12px;
      cursor:pointer;
    }
/* Responsive for tablets and below */
@media (max-width: 768px) {
  .leadership-cards {
    flex-direction: column;
    align-items: center;
  }
}


/*============================== Admission Banner =================================== */
.admissions-section {
  background: linear-gradient(135deg, #fdfdfd, #389dc5);
  padding: 80px 20px;
  text-align: center;
}

.admissions-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.admissions-section h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--h6_color);
  margin-bottom: 15px;
}

.intro-text {
  font-size: 17px;
  color: #444;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.admissions-content {
  background: #cbcebe;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  display: inline-block;
}

.sub-label {
  font-size: 13px;
  color: #888;
  letter-spacing: 1.2px;
  font-weight: 600;
  text-transform: uppercase;
}

.admissions-title {
  font-size: 56px;
  font-weight: 900;
  color: #000;
  margin: 10px 0;
}

.cta-text {
  font-size: 16px;
  margin-bottom: 25px;
  color: #333;
}

.apply-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--orange_color);
  color: whitesmoke;
  font-weight: bold;
  font-size: 14px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: all 0.3s ease;
}

.apply-button:hover {
  background-color: #e09b00;
  transform: scale(1.05);
}

/* Tablets and below (<= 992px) */
@media (max-width: 992px) {
  .admissions-title {
    font-size: 42px;
    /* Slightly smaller for tablets */
  }

  .intro-text {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    padding: 0 10px;
  }

  .admissions-content {
    padding: 35px 25px;
  }
}

/* Small tablets and large phones (<= 768px) */
@media (max-width: 768px) {
  .admissions-title {
    font-size: 36px;
    /* Smaller on smaller tablets */
  }

  .intro-text {
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    padding: 0 8px;
  }

  .admissions-content {
    padding: 30px 20px;
  }
}

/* Mobile devices (<= 480px) */
@media (max-width: 480px) {
  .admissions-container h1 {
    font-size: 28px;
    /* base font size for mobile */
    line-height: 1.2;
    /* tighter line height for compactness */
    max-height: calc(1.2em * 2);
    /* max height = 2 lines */
    display: -webkit-box;
    /* flexbox for truncation */
    -webkit-line-clamp: 2;
    /* limit lines to 2 */
    -webkit-box-orient: vertical;
    /* vertical layout for clamp */
    overflow: hidden;
    /* hide overflow text */
    text-overflow: ellipsis;
    /* add ... if text overflows */
  }

  .admissions-title {
    font-size: 28px;
    /* base font size */
    line-height: 1.2;
    /* tighten line height */
    max-height: calc(1.2em * 2);
    /* max height = 2 lines */
    display: -webkit-box;
    /* enable box layout */
    -webkit-line-clamp: 2;
    /* limit to 2 lines */
    -webkit-box-orient: vertical;
    /* vertical orientation */
    overflow: hidden;
    /* hide overflow */
    text-overflow: ellipsis;
    /* show ... if text too long */
  }

  .intro-text {
    font-size: 14px;
    line-height: 1.9;
    text-align: justify;
    padding: 0 5px;
  }

  .admissions-content {
    padding: 25px 15px;
  }

  .apply-button {
    padding: 12px 20px;
    font-size: 13px;
  }
}



/*=============================== Services Section  ================================== */

#experts {
  padding: 8vw 8vw 8vw 8vw;
  text-align: center;
}

#experts .expert-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  margin-top: 50px;
}

#experts .expert-box .profile {
  /* background: #fafaf1; */
  padding: 10px;

}

#experts .expert-box .profile img {
  height: 200px;
  background-position: center;
  background-size: cover;
  border-radius: 100%;
}

.pro-links {
  margin-top: 10px;
}

.pro-links i {
  padding: 10px 13px;
  border: 1px solid var(--h1_color);
  cursor: pointer;
  border-radius: 3px;
  transition: 0.3s ease;

}

.pro-links i:hover {
  background-color: var(--h1_color);
  color: #fff;
}



.profile .fea-box {
  background: rgb(255, 204, 0);
  /* text-align: start; */
  padding: 20px 20px;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
  border-radius: 8px;
  height: auto;
  position: relative;


}

.profile .fea-box:hover {
  background-color: var(--h6_color);
  color: #FFF;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.37);



}

.profile .fea-box:hover i {
  color: rgb(255, 204, 0);

}

.profile .fea-box:hover h3,
h6 {
  color: rgb(255, 204, 0);

}


.profile .fea-box i {
  font-size: 2.3rem;
  color: var(--h6_color);
}

.profile .fea-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--h6_color);
  padding: 13px 0 7px 0;
}

.profile .fea-box p {
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  /* color: rgb(70,70,87); */
  margin-bottom: 16px;

}

.profile .fea-box a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 13px 15px;
  background-color: #fff;
  font-weight: 600;
  border-radius: 5px;
  margin-left: 9px;


  transition: 0.3s ease-in;

}

.profile .fea-box:hover a.blue_button {
  color: var(--h6_color);
  background: rgb(255, 204, 0);
}

.profile .fea-box a.blue_button {
  color: #fff;
  background: var(--h6_color);
  transition: 0.3s ease;
}

/*===============================Company-container Course Section  ================================== */

.if {
  text-align: center;
}

#counters {
  width: 100%;
  height: 60vh;
  background-color: var(--side_bar);
  margin-bottom: 20px;

}

/* .counters{
    padding: 8vw 8vw 2vw 8vw;
} */
.counters_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* padding: 8vw 8vw 2vw 8vw; */
  width: 100%;
  height: 60vh;
  background-color: var(--side_bar);
  margin-bottom: 20px;
  /* background-image:url('../images/bg-01.jpg'); */
  background-image: linear-gradient(rgba(99, 112, 168, 0.5), rgba(81, 91, 233, 0.5)), url("../images/Back_View-5.JPG");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}

.counters_box .counter {
  text-align: center;
  padding: 13px 33px;
  background: rgba(255, 225, 225, 0.25);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border-radius: 5px;
  margin: 0 5px 10px 5px;
  width: 280px;
  height: 100px;
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

.counters_box .counter p {
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 8px;
  color: var(--icon);

}

.counters_box .counter h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;

}

.counters_box .counter p span {
  font-size: 1.8rem;
  font-weight: 700;
  margin-right: 5px;
  color: var(--icon);
  text-shadow: 8px 8px 32px 8px rgba(0, 0, 0, 0.37);

  .image-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 30px;
    gap: 20ppx;
    margin: 20px;
  }


}


/* === Counters Section Responsive Styles === */

/* Tablets (768px – 1023px) */
@media (max-width: 1023px) {

  #counters,
  .counters_box {
    height: auto;
    padding: 40px 20px;
  }

  .counters_box .counter {
    width: 40%;
    margin: 10px;
    height: 100px;
  }

  .counters_box .counter p {
    font-size: 1.3rem;
  }

  .counters_box .counter h3 {
    font-size: 1.1rem;
  }
}

/* Mobiles (≤767px) */
@media (max-width: 767px) {

  #counters,
  .counters_box {
    height: auto;
    padding: 30px 15px;
    flex-direction: column;
  }

  .counters_box .counter {
    width: 90%;
    height: auto;
    padding: 15px 20px;
    margin: 12px auto;
  }

  .counters_box .counter p {
    font-size: 1.2rem;
  }

  .counters_box .counter p span {
    font-size: 1.5rem;
  }

  .counters_box .counter h3 {
    font-size: 1rem;
  }
}

/*===================== Activies and Clubs ========================*/
.college-activities {
  padding: 50px 20px;
  background-color: rgb(255, 204, 0);
  text-align: center;
}

.college-activities h2 {
  font-size: 2.2em;
  color: #1c2b4d;
  margin-bottom: 30px;
}

.college-activities h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--h6_color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.activities-carousel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.activities-container {
  display: flex;
  gap: 20px;
  padding-bottom: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.activities-container::-webkit-scrollbar {
  display: none;
}

.activity-card {
  flex: 0 0 auto;
  width: 280px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.activity-card:hover {
  transform: scale(1.03);
}

.activity-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 20px auto 10px;
  display: block;
}

.activity-info {
  padding: 0 16px 20px;
  text-align: center;
}

.activity-info h3 {
  margin: 0;
  font-size: 1.2em;
  color: #2b2b2b;
}

.activity-info .intro {
  font-size: 0.95em;
  color: #444;
  margin: 10px 0;
  line-height: 1.5;
}

.activity-info .read-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9em;
  color: #fff;
  background-color: #0056b3;
  /* Background color */
  padding: 10px 20px;
  border-radius: 20px;
  /* Smooth rounded corners */
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.activity-info .read-more:hover {
  background-color: #003d7a;
  /* Darker shade on hover */
  transform: scale(1.05);
  /* Smooth enlargement effect */
}

.activity-info .read-more:active {
  transform: scale(1);
  /* Reset scale when clicked */
}

/* Media Queries for .college-activities responsive awesomeness */

/* Tablets & small desktops */
@media (max-width: 1024px) {
  .college-activities h2 {
    font-size: 2em;
  }

  .activities-container {
    gap: 16px;
  }

  .activity-card {
    width: 240px;
  }

  .activity-info h3 {
    font-size: 1.1em;
  }

  .activity-info .intro {
    font-size: 0.9em;
    text-align: justify;
    /* Justify intro text for neatness */
    padding: 0 10px;
  }

  .activity-info .read-more {
    padding: 8px 18px;
    font-size: 0.85em;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .college-activities {
    padding: 40px 15px;
  }

  .college-activities h2 {
    font-size: 1.8em;
  }

  .activities-container {
    gap: 14px;
  }

  .activity-card {
    width: 200px;
  }

  .activity-card img {
    width: 80px;
    height: 80px;
    margin: 15px auto 8px;
  }

  .activity-info h3 {
    font-size: 1em;
  }

  .activity-info .intro {
    font-size: 0.85em;
    line-height: 1.4;
    text-align: justify;
    padding: 0 8px;
  }

  .activity-info .read-more {
    padding: 7px 16px;
    font-size: 0.8em;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .college-activities {
    padding: 30px 10px;
  }

  .college-activities h2 {
    font-size: 1.5em;
  }

  .activities-container {
    gap: 12px;
  }

  .activity-card {
    width: 160px;
  }

  .activity-card img {
    width: 70px;
    height: 70px;
    margin: 12px auto 6px;
  }

  .activity-info h3 {
    font-size: 0.95em;
  }

  .activity-info .intro {
    font-size: 0.8em;
    line-height: 1.3;
    text-align: justify;
    padding: 0 6px;
  }

  .activity-info .read-more {
    padding: 6px 14px;
    font-size: 0.75em;
  }
}


/*===================== callender section =============================*/
.calendar-section {
  background: linear-gradient(135deg, #f0f4ff, #e4f2ff);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.calendar-wrapper {
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px;
  animation: fadeInUp 1s ease;
}

.calendar-text h2 {
  font-size: 2.4rem;
  color: #2a5d84;
  margin-bottom: 20px;
}

.calendar-text p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.6;
}

.calendar-download {
  display: inline-block;
  background: #2a5d84;
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.calendar-download i {
  margin-right: 10px;
}

.calendar-download:hover {
  background: #1f4569;
  transform: scale(1.05);
}

.calendar-visual img {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-visual img:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}



/* Animations */
@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .calendar-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .calendar-text h2 {
    font-size: 2rem;
  }

  .calendar-visual img {
    max-width: 300px;
    margin-top: 30px;
  }
}

/*===================== Aluminies part two ===================== */
.alumni-feedback {
  padding: 50px 20px;
  background-color: rgb(136, 220, 231);
  text-align: center;
}

.alumni-feedback h2 {
  font-size: 2.2em;
  color: #1c2b4d;
  margin-bottom: 30px;
}

.alumni-feedback h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #ff9900;
  margin: 10px auto 0;
  border-radius: 2px;
}

.feedback-carousel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.feedback-container {
  display: flex;
  gap: 20px;
  padding-bottom: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.feedback-container::-webkit-scrollbar {
  display: none;
}

.alumni-card {
  flex: 0 0 auto;
  width: 260px;
  min-height: 360px;
  /* Ensures space for short + long feedback */
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.alumni-info {
  padding: 0 16px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.alumni-info .testimonial {
  font-size: 0.95em;
  color: #444;
  margin-top: 10px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


.alumni-card:hover {
  transform: scale(1.03);
}

.alumni-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 20px auto 10px;
  display: block;
  border: 4px solid #e0e7f0;
  box-shadow: 0 0 0 2px #fff;
}


.alumni-info h3 {
  margin: 0;
  font-size: 1.2em;
  color: #2b2b2b;
}

.alumni-info .batch {
  font-weight: 600;
  color: #555;
  font-size: 0.95em;
  margin: 5px 0;
}

/* Responsive tweaks for .alumni-feedback (alumni-card untouched) */

/* Tablets & small desktops */
@media (max-width: 1024px) {
  .alumni-feedback h2 {
    font-size: 2rem;
  }

  .feedback-container {
    gap: 16px;
  }

  .alumni-info .testimonial {
    font-size: 0.9em;
    line-height: 1.45;
    text-align: justify;
    /* Justify testimonial text */
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .alumni-feedback {
    padding: 40px 15px;
  }

  .alumni-feedback h2 {
    font-size: 1.8em;
  }

  .feedback-container {
    gap: 14px;
  }

  .alumni-info .testimonial {
    font-size: 0.85em;
    line-height: 1.4;
    text-align: justify;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .alumni-feedback {
    padding: 30px 10px;
  }

  .alumni-feedback h2 {
    font-size: 1.5em;
  }

  .feedback-container {
    gap: 12px;
  }

  .alumni-info .testimonial {
    font-size: 0.8em;
    line-height: 1.3;
    text-align: justify;
  }
}

/*==================== Placement section2 ======================= */
.partnerships {
  background-color: var(--h6_color);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.partnerships h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: rgba(255, 204, 0, 0.937);
}

.partnerships h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #ff9900;
  margin: 10px auto 0;
  border-radius: 2px;
}

.partnerships p {
  max-width: 1460px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  text-align: justify;
  color: #fff;
  line-height: 1.6;
}

.partnerships strong {
  text-align: center;
  color: #ff9900;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.partner {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.partner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner:hover {
  transform: scale(1.05);
}

/* Responsive vibes for .partnerships */

/* Tablets & small desktops */
@media (max-width: 1024px) {
  .partnerships h2 {
    font-size: 2.2rem;
  }

  .partnerships p {
    font-size: 1.1rem;
    max-width: 90%;
    line-height: 1.5;
    text-align: justify;
  }

  .partners {
    gap: 30px;
  }

  .partner {
    width: 140px;
    height: 140px;
    padding: 25px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .partnerships {
    padding: 50px 15px;
  }

  .partnerships h2 {
    font-size: 1.5rem;
  }

  .partnerships p {
    font-size: 1rem;
    max-width: 95%;
    line-height: 1.4;
    text-align: justify;
  }

  .partners {
    gap: 25px;
  }

  .partner {
    width: 120px;
    height: 120px;
    padding: 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .partnerships {
    padding: 40px 10px;
  }

  .partnerships h2 {
    font-size: 1.4rem;
  }

  .partnerships strong {
    font-size: 0.8rem;

  }

  .partnerships p {
    font-size: 0.95rem;
    max-width: 100%;
    line-height: 1.3;
    text-align: justify;
  }

  .partners {
    gap: 20px;
    justify-content: center;
  }

  .partner {
    width: 100px;
    height: 100px;
    padding: 15px;
  }
}

/*=============================== star students section =============================== */
.star-students {
  padding: 50px 20px;
  background-color: rgb(255, 204, 0);
  text-align: center;
}

.star-students h2 {
  font-size: 2.2em;
  color: #1c2b4d;
  margin-bottom: 30px;
}

.star-students h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--h6_color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.students-carousel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.students-container {
  display: flex;
  gap: 20px;
  padding-bottom: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.students-container::-webkit-scrollbar {
  display: none;
}

.student-card {
  flex: 0 0 auto;
  width: 260px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.student-card:hover {
  transform: scale(1.03);
}

.student-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 20px auto 10px;
  display: block;
  border: 4px solid #e0e7f0;
  box-shadow: 0 0 0 2px #fff;
}


.student-info {
  padding: 0 16px 16px;
  text-align: center;
}


.student-info h3 {
  margin: 0;
  font-size: 1.2em;
  color: #2b2b2b;
}

.student-info .course {
  font-weight: 600;
  color: #555;
  font-size: 0.95em;
  margin: 5px 0;
}

.student-info .achievement {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 10px;
}

.student-info .email {
  display: inline-block;
  font-size: 0.85em;
  color: #0056b3;
  text-decoration: none;
  word-break: break-word;
}

.student-info .email:hover {
  text-decoration: underline;
}

/* Responsive for .star-students (student-card untouched) */

/* Tablets & small desktops */
@media (max-width: 1024px) {
  .star-students h2 {
    font-size: 2rem;
  }

  .students-container {
    gap: 16px;
  }

  .student-info .achievement {
    font-size: 0.9em;
    line-height: 1.45;
    text-align: justify;
    /* Justify achievement text for neatness */
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .star-students {
    padding: 40px 15px;
  }

  .star-students h2 {
    font-size: 1.8em;
  }

  .students-container {
    gap: 14px;
  }

  .student-info .achievement {
    font-size: 0.85em;
    line-height: 1.4;
    text-align: justify;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .star-students {
    padding: 30px 10px;
  }

  .star-students h2 {
    font-size: 1.5em;
  }

  .students-container {
    gap: 12px;
  }

  .student-info .achievement {
    font-size: 0.8em;
    line-height: 1.3;
    text-align: justify;
  }
}

/*=============================== Developer Section =============================== */
.developer-section {
  text-align: center;
  padding: 8vw 8vw 8vw 8vw;
  background-color: #fff;
  box-sizing: border-box;
  background-color: var(--h6_color);
}

.developer-section h1 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: rgba(255, 204, 0, 0.908);
}

.developer-section p {
  color: #fff;
  margin-bottom: 40px;
  font-size: 1.2em;
}

/* Developer container grid layout */
.developer-team {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 204, 0, 0.908);
  ;
  background-color: var(--footer);
}

.developer-team h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.developer-team h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #ff9900;
  margin: 10px auto 0;
  border-radius: 2px;
}

.developer-team .appreciation {
  font-size: 1rem;
  color: #dbd8d8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.member-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 220px;
  text-align: center;
}

.member-card:hover {
  transform: translateY(-10px);

}

.member-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.member-card h3 {
  margin: 10px 0 5px;
  color: var(--h6_color);
  font-size: 1.1em;
}

.member-card p {
  padding: 2px;
  font-size: 0.9em;
  color: #777;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  margin: 0 5px;
  display: inline-block;
}

.social-links img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: transform 0.2s, opacity 0.2s;
}

.social-links img:hover {
  opacity: 1;
  transform: scale(1.1);
}


/* Responsive for .developer-section & .developer-team (no changes to .member-card) */

/* Tablets & small desktops */
@media (max-width: 1024px) {
  .developer-section h1 {
    font-size: 2rem;
  }

  .developer-section p {
    font-size: 1.1em;
    text-align: justify;
    /* Justify main paragraph for better reading */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .developer-team h2 {
    font-size: 1.8em;
  }

  .developer-team .appreciation {
    font-size: 0.9rem;
    max-width: 600px;
    text-align: justify;
  }

  .team-members {
    gap: 20px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .developer-section {
    padding: 6vw 4vw 6vw 4vw;
  }

  .developer-section h1 {
    font-size: 1.6em;
  }

  .developer-section p {
    font-size: 1em;
    padding: 0 10px;
  }

  .developer-team h2 {
    font-size: 1.6em;
  }

  .developer-team .appreciation {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .team-members {
    gap: 16px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .developer-section {
    padding: 4vw 2vw 4vw 2vw;
  }

  .developer-section h1 {
    font-size: 1.4em;
  }

  .developer-section p {
    font-size: 0.95em;
    padding: 0 8px;
    text-align: justify;
  }

  .developer-team h2 {
    font-size: 1.4em;
  }

  .developer-team .appreciation {
    font-size: 0.8rem;
    padding: 0 8px;
  }

  .team-members {
    gap: 12px;
  }
}


/*============================== Non-Teaching staffs separate page==============================*/
.non-teaching-staff-section {
  padding: 60px 20px;
  background: linear-gradient(to right, #f9f9f9, #eef1f5);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #007bff;
  display: block;
  margin: 10px auto 0;
  border-radius: 5px;
}

.staff-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.staff-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.staff-image img {
  width: 120px;
  /* Size of the image */
  height: 120px;
  /* Size of the image */
  object-fit: cover;
  /* Ensures the image fills the circle */
  border-radius: 50%;
  /* Makes the image circular */
  border: 4px solid var(--h6_color);
  /* Accent border color */
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.staff-info h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.staff-info p {
  font-size: 0.9rem;
  color: #777;
  margin: 0;
}

/* Responsive Adaptation */
@media (max-width: 768px) {
  .staff-card {
    width: 160px;
    padding: 15px;
  }

  .staff-image img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .staff-card {
    width: 140px;
    padding: 10px;
  }

  .staff-image img {
    width: 90px;
    height: 90px;
  }
}


/*=============================== special thanks section =========================== */
.credits-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.credits-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 30px;
  position: relative;
}

.credits-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #ff9900;
  margin: 10px auto 0;
  border-radius: 2px;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.credit-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-card h3 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.credit-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 5px 0;
}

.credit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive tweaks for .credits-section */

@media (max-width: 1024px) {
  .credits-section h2 {
    font-size: 1.8rem;
  }

  .credits-grid {
    gap: 16px;
  }

  .credit-card h3 {
    font-size: 1.1rem;
  }

  .credit-card p {
    font-size: 0.9rem;
    text-align: justify;
  }
}

@media (max-width: 768px) {
  .credits-section {
    padding: 30px 15px;
  }

  .credits-section h2 {
    font-size: 1.6rem;
  }

  .credits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
  }

  .credit-card h3 {
    font-size: 1rem;
  }

  .credit-card p {
    font-size: 0.85rem;
    text-align: justify;
  }
}

@media (max-width: 480px) {
  .credits-section {
    padding: 25px 10px;
  }

  .credits-section h2 {
    font-size: 1.4rem;
  }

  .credits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .credit-card h3 {
    font-size: 0.95rem;
  }

  .credit-card p {
    font-size: 0.8rem;
    text-align: justify;
  }
}

/*=============================== Footer Section  ================================== */

footer {
  padding: 4vw;
  background-color: var(--footer);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

footer .footer-col {
  padding-bottom: 40px;
}

footer h3 {
  color: #ff9900;
  font-weight: 600;
  padding-bottom: 20px;

}

footer h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-left: 15px;
  background-color: #ff9900;
  border-radius: 2px;
}

footer li a {
  color: #ffffff;
  padding: 10px 0;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;

}

footer li a:hover {
  color: rgb(51, 0, 255);
}

footer p {
  color: #7b838a;
}

footer .subscribe {
  margin-top: 20px;
}

footer input {
  width: 220px;
  padding: 15px 12px;
  background: var(--h1_color);
  border: none;
  outline: none;
  color: #fff;
  border-radius: 5px;
}

footer input::placeholder {
  color: #7b838a;
  font-size: 15px;
}

footer .subscribe a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 13px 15px;
  background-color: #fff;
  font-weight: 600;
  border-radius: 5px;
  margin-left: 9px;
}

footer .subscribe a.Yellow_button {
  color: var(--h1_color);
  background: var(--icon);
  transition: 0.3s ease;
}


footer .subscribe a.Yellow_button:hover {
  color: var(--footer);
  background: #fff;
}

footer .copyright {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;

}

footer .copyright p {
  color: #fff;
}

footer .copyright .pro-links {
  margin-top: 0px;
}

footer .copyright .pro-links i {
  background-color: #5f7185;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  transition: 0.3s ease;
  border: none;

}

footer .copyright .pro-links i:hover {
  background-color: var(--icon);
  color: #fff;
  color: var(--footer);
}


/* === Footer Responsive Styles === */

/* Tablets (768px – 1023px) */
@media (max-width: 1023px) {
  @media (max-width: 1023px) {
    footer {
      padding: 5vw 3vw;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      /* 2 columns */
      gap: 20px;
      align-items: start;
    }

    footer h3::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
      background-color: #ff9900;
      border-radius: 2px;
    }

    footer .footer-col {
      width: 100%;
      margin-bottom: 0;
    }

    footer input {
      width: 100%;
      margin-bottom: 10px;
    }

    footer .subscribe {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    footer .subscribe a {
      margin-left: 0;
      margin-top: 10px;
    }

    footer .copyright {
      grid-column: span 2;
      /* make copyright full width */
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      margin-top: 20px;
    }
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  footer {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column grid */
    gap: 20px;
    padding: 8vw 4vw;
    text-align: center;
    align-items: center;
  }

  footer .footer-col {
    width: 100%;
    padding-bottom: 0;
  }

  footer h3 {
    font-size: 1.3rem;
  }

  footer h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    background-color: #ff9900;
    border-radius: 2px;
  }

  footer li a {
    font-size: 18px;
  }

  footer input {
    width: 100%;
    font-size: 14px;
  }

  footer .subscribe {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  footer .subscribe a {
    width: 100%;
    text-align: center;
  }

  footer .copyright {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  footer .copyright .pro-links {
    margin-top: 10px;
  }
}


/*=============================== @media Query Section  ================================== */

/*-------- Max-Width:769--------- */
@media (max-width:769px) {
  body {
    width: 100%;
  }

  /* -----Header------- */

  nav {
    padding: 15px 20px;
    width: 100%;
    margin-top: 0;
    z-index: 999;
    overflow: hidden;
  }

  nav img {
    width: 160px;
  }

  #menu-btn {
    display: initial;
    z-index: 999;

  }

  #menu-close {
    display: initial;
    font-size: 1.6rem;
    color: var(--icon);
    padding: 30px 0px 20px 20px;
    font-weight: 500;
    cursor: pointer;
    z-index: 999;
    z-index: 999;

  }

  nav .navigation ul {
    position: absolute;
    top: 0;
    /* right: -300px; */
    right: 0;
    display: none;
    width: 220px;
    height: 100vh;
    background: var(--side_bar);
    backdrop-filter: blur(4.5px);
    border: 1px solid rgba(255, 225, 225, 0.25);
    /* display: flex; */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    scroll-behavior: smooth;
    animation: Sidebar 0.5s ease-in;
  }

  @keyframes Sidebar {
    0% {
      transform: translateX(100%);
    }

  }


  nav .navigation ul.active {
    /* right: 0; */
    display: flex;
  }

  nav .navigation ul li {
    padding: 20px 0 20px 40px;
    margin-left: 0;
  }

  nav .navigation ul li a {
    color: #fff;
  }

  #Contect_Info {
    display: block;
  }

  .top_bar h3 {
    display: none;
  }

  .scrolled nav {
    margin-top: 0;
    z-index: 999;
  }


  /* ------Home------- */
  #home h2 {
    color: #fff;
    font-size: 2rem;
    width: 60%;
    letter-spacing: 1px;
  }

  #home p {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 1px;
    width: 100%;
    line-height: 20px;
    margin-top: 7px;
  }



  /* Register */

  #registration {
    padding: 6vw 4vw 6vw 4vw;
    height: auto;
  }

  #registration .reminder .time {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
  }

  /* Footer */

  footer .subscribe {
    margin-top: 15px;


  }

  footer .subscribe input {
    margin-bottom: 10px;
  }

  footer .copyright {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

  }

  footer .copyright .pro-links {
    margin-top: 15px;
    text-align: center;
  }

  #features {
    padding: 8vw 4vw 0px 4vw;
  }

  #course {
    padding: 8vw 4vw 0px 4vw;

  }

}

/*-------- Max-Width:980--------- */

@media (max-width:980px) {
  body {
    width: 100%;
  }

  nav img {
    width: 180px;
  }

  /* -----Header------- */
  nav {
    padding: 15px 30px;
    width: 100%;
    /* margin-top: 0; */
    z-index: 999;
  }

  #menu-btn {
    display: initial;
    z-index: 999;

  }

  #menu-close {
    display: initial;
    font-size: 1.6rem;
    color: var(--icon);
    padding: 30px 0px 20px 20px;
    font-weight: 500;
    cursor: pointer;
    z-index: 999;

  }

  nav .navigation ul {
    position: absolute;
    top: 0;
    /* right: -300px; */
    right: 0;
    width: 220px;
    height: 100vh;
    background: var(--side_bar);
    backdrop-filter: blur(4.5px);
    border: 1px solid rgba(255, 225, 225, 0.25);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    scroll-behavior: smooth;
    animation: Sidebar 0.5s ease-in;
  }

  @keyframes Sidebar {
    0% {
      transform: translateX(100%);
    }

  }

  nav .navigation ul.active {
    right: 0;

    display: flex;
  }

  nav .navigation ul li {
    padding: 20px 0 20px 40px;
    margin-left: 0;
  }


  nav .navigation ul li a {
    color: #fff;
  }

  nav .navigation ul #Contect_Info {
    display: block;
  }

  .scrolled nav {
    margin-top: 50;
    top: 0;
    z-index: 9999;

  }

  /* ------Home------- */

  #home h2 {
    color: #fff;
    font-size: 1.8rem;
    width: 60%;
    letter-spacing: 0.5;
  }

  #home p {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    width: 100%;
    line-height: 20px;
    margin-top: 7px;
  }



  /* Register */

  #registration {
    height: auto;
  }



  /*-------- Max-Width:1080--------- */

  @media (max-width:1080px) {
    nav .navigation ul li {
      list-style: none;
      margin-left: 15px;
    }
  }

  /*-------- Max-Width:475px--------- */


  @media (max-width:475px) {
    #registration {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }



    .foot {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }

    .footer-col {
      width: 100%;
    }

    .copyright {
      width: 100%;
    }

    .counters_box {
      height: auto;
    }

    #counters {
      height: auto;

    }

    #about-container {
      flex-direction: column-reverse;
    }

    #about-container .about-img {
      width: 100%;
    }

    #about-container .about-img img {
      width: 100%;
      height: auto;
      padding-right: 0px;
    }

    #about-container .about-text {
      width: 100%;
      padding-bottom: 20px;
    }
  }

  @media (max-width:407px) {

    #home .btn {
      display: flex;
      /* flex-wrap: wrap; */
    }

    .counters_box {
      height: auto;
    }


  }
}