@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hahmlet', serif;

}

/* ================= HEADER BAR ================= */
.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: #f8f8f8;
  font-size: 14px;
  flex-wrap: wrap;
}

.header-gstn {
  font-weight: 500;
}

.header-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-logo {
  height: 50px;
}

.header-title h2 {
  font-size: 18px;
}

.header-title p {
  font-size: 12px;
  color: #444;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-btn-grade,
.header-access-btn,
.header-login-btn {
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 40px;
}

.header-a-minus {
  background: black;
  color: white;
}

.header-a {
  background: rgba(52, 199, 89, 1);
  color: white;
}

.header-a-plus {
  background: black;
  color: white;
}

.header-access-btn {
  background: black;
  color: white;
}

.header-login-btn {
  background: white;
  border: 1px solid #ccc;
}

.header-search-bar {
  padding: 5px;
  border-radius: 40px;
  border: 1px solid #ccc;
}

/* ================= NAVBAR ================= */
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  padding: 10px 40px;
  border-radius: 40px;
  margin: 15px;
  flex-wrap: wrap;
  position: relative;
}

.justify-content-end {
  justify-content: flex-end !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #117d39;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background-color: white;
  color: black;
  min-width: 600px;
  max-width: 90vw;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  flex-wrap: wrap;
  gap: 50px;
  z-index: 1000;
}

.dropdown.show .dropdown-content {
  display: flex;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 250px;
}

.dropdown-column h4 {
  font-weight: 700;
  margin-bottom: 8px;
  border-bottom: 2px solid black;
  padding-bottom: 5px;
  font-size: 20px;
}

.dropdown-column a {
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.dropdown-column a:hover {
  text-decoration: underline;
}

/* Search and button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 350px;
  flex-wrap: wrap;
}

.search-box {
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
  width: 150px;
}

.login-btn {
  border: 1px solid white;
  background-color: black;
  color: white;
  padding: 5px 16px;
  cursor: pointer;
  border-radius: 20px
    /* background-color: white;
  color: black;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer; */
}

.login-btn:hover {
  background-color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .justify-content-center {
    justify-content: end !important;
  }

  .nav-links {
    justify-content: right;
  }

  .nav-links,
  .nav-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    background: black;
    border-radius: 20px;
    padding: 15px;
  }

  .navbar.active .nav-links,
  .navbar.active .nav-actions {
    display: flex;
    margin: auto;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
  }

  .dropdown-content {
    position: static;
    display: none;
    flex-direction: column;
    box-shadow: none;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
  }

  .dropdown.show .dropdown-content {
    display: flex;
  }

  .search-box {
    width: 100%;
  }
}

/* ================= SLIDER ================= */
.header-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-bottom-left-radius: 250px 100px;
  border-bottom-right-radius: 250px 100px;
}

.header-slides {
  display: flex;
  transition: transform 1s ease-in-out;
}

.header-slide {
  width: 100%;
  position: relative;
  flex-shrink: 0;
}

.header-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0.8;
  /* Slight dim */
}

/* Overlay effect on each slide */
.header-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  /* Dark transparent overlay */
  z-index: 0;
}

.header-overlay {
  position: absolute;
  top: -340px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  color: white;
  z-index: 1;
}

.header-text-left,
.header-text-right {
  width: 20%;
  color: #000;
}

.header-text-left h3 {
  font-size: 17px;
  font-weight: 600;
}

.header-text-left p {
  font-size: 13px;
}

.header-text-right p {
  font-size: 13px;
}

.header-text-left,
.header-text-right h3 {
  font-size: 17px;
  font-weight: 600;
}

.header-text-left p {
  font-size: 13px;
  font-weight: 200;
}

.header-apply-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  z-index: 1;
  color: black;
  transition: background 0.3s;
}

.header-apply-btn:hover {
  background: #3d9;
  color: white;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .header-overlay {
    padding: 0 50px;
  }
}

@media (max-width: 768px) {
  .header-overlay {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .header-text-left,
  .header-text-right {
    width: 100%;
  }

  .header-slider {
    height: 400px;
  }

  .header-slide img {
    height: 400px;
  }

  .header-top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .header-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-slider {
    height: 300px;
  }

  .header-slide img {
    height: 300px;
  }

  .header-logo {
    height: 50px;
  }

  .header-title h2 {
    font-size: 16px;
  }
}

.header-gstn {
  background-color: rgba(172, 172, 172, 0.3);
  border-radius: 20px;
  padding: 10px;
  color: #000;
  font-weight: 600;
}

.toptech-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem 6%;
  position: relative;
}

.experience {
  position: absolute;
  left: 0;
  top: 2rem;
  background: #116b35;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

.experience span {
  font-size: 2rem;
  display: block;
}

/* .dropdown-content {
      min-width: 0px !important;
    } */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.image-grid .img1 {
  grid-column: 1 / 3;
  grid-row: 1;
  object-fit: cover;
}

.image-grid .img2 {
  grid-column: 1;
  grid-row: 2;
  object-fit: cover;
}

.image-grid .img3 {
  grid-column: 2;
  grid-row: 2;
  object-fit: cover;
}

.image-grid img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.content h2 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.button-div-about button {
  background-color: black;
  color: white;
  padding: 10px 25px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.content h2 span {
  color: #117d39;
}

.content p {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
  /* margin-bottom: 1.5rem; */
}

.featuress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.featuress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more {
  background: #000;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
}

/* body {
  font-family: 'Poppins', sans-serif;
  background-color: #f6f6f6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
} */

.grid-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  width: 540px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.about-i i {
  color: #008221;
  font-size: 25px;
  padding: 8px;
  margin-right: 10px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.about-div {
  margin-top: 20px;
}

.about-div h5 {
  font-size: 18px;
}

/* Styles for screens smaller than 768px (e.g., mobile) */
@media (max-width: 767px) {
  .grid-container {
    width: 300px;
  }

  .student-faculities {
    display: none;
  }

  .course-card {
    margin-top: 10px;
  }

  .header-text-right {
    display: none;
  }
}

/* Styles for screens larger than or equal to 768px (e.g., tablet/desktop) */
@media (min-width: 768px) {
  .grid-container {
    width: 560px;
    margin: 10px auto;

  }

  /* .student-faculities{
    display: none;
  } */
}

/* Top-left badge */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1e7d3e;
  color: white;
  border: 6px solid white;
  padding: 15px 20px;
  border-radius: 0 0 8px 0;
  text-align: center;
}

.badge h2 {
  font-size: 28px;
  line-height: 1;
}

.badge span {
  font-size: 20px;
}

.badge p {
  font-size: 12px;
}

/* Image grid items */
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Specific sizing/layout */
.classroom {
  grid-column: 2;
  grid-row: 1;
}

.outdoor {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.meeting {
  grid-column: 2;
  grid-row: 2;
}

/* Latest News & Updates */
.news-section {
  text-align: center;
}

.news-first-div img {
  width: 100%;
  height: 200px;
 box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.news-txt {
  position: relative;
  margin-top: -15px;
  background-color: white;
  margin-top: -60px;
  margin-left: 30px;
  margin-right: 30px;
  padding: 15px;
  border: 2px solid #008221;

}

.news-txt p {
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}

.duration {
  color: grey;
  font-size: 10px;
  text-align: left;
}

.title h2 {
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.button-div button {
  background-color: black;
  color: white;
  padding: 10px 25px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}


/* Choose your Course & Learning   */
.bg-black {
  background-color: black;
  color: white;
}

.course-card {
  position: relative;
  /* width: 280px;
  height: 350px; */
  border: 2px solid #008221;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.5);
}

.course-card img {
  width: 100%;
  /* height: 100%;
  object-fit: cover; */
}

.course-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.btn-white {
  text-align: center;
}

.btn-white button {
  background-color: white;
  color: #008221;
  padding: 10px 25px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Student-fa */
.student-icon {

  margin-top: 13px;
  padding-right: 10px;
}

.student-icon i {
  border: 1px solid white;
  background-color: #008221;
    padding: 10px 13px;
  margin-top: 10px;
  border-radius: 50%;
  font-size: 20px;
}

.student-content {
  padding-left: 25px;
}
.student-content p{
  font-size: 12px;
}
.student-content h5 {
     font-size: 25px;
    margin-bottom: 0px;
    font-weight: 700;
}

.campus-life {
  text-align: center;
  padding: 3rem 6%;
  background-color: #000;
}

.campus-life h2 {
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
  color: white;
}

.campus-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Left Panel */
.campus-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border: 2px solid #117d39;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature .num {
  font-size: 1.3rem;
  font-weight: 600;
}

.feature .text {
  font-size: 20px;
    font-weight: 500;
  flex: 1;
  text-align: left;
}

.feature.active {
  background: #fff;
  color: #117d39;
  border-color: #fff;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(17, 125, 57, 0.5);
}

.feature:not(.active):hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Right Panel */
.campus-gallery {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
}

.campus-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.campus-gallery img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Responsive */
@media (max-width: 850px) {
  .campus-container {
    grid-template-columns: 1fr;
  }

  .campus-gallery {
    height: 300px;
  }
}













/* Logo Slider Section */
* {
  box-sizing: border-box;
}

@keyframes slide {
  from {
    transform: translateX(0);

  }

  to {
    transform: translateX(-100%);

  }
}

.logos {
  overflow: hidden;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  content: "";
  position: absolute;
  top: 0;
  width: 350px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}


.logos:hover .logos-slide {
  animation-play-state: paused;


}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
}


/* Footer */
/* footer */

.footer-sec {
  position: relative;
  background: url('./images/footer-bg.png') center/cover no-repeat;
  color: #fff;
  padding-top: 60px;
  overflow: hidden;
}

/* Overlay */
.footer-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(41, 65, 27, 0.86));

  /* background: rgba(58, 28, 28, 0.92); */
  z-index: 0;
}

.footer-div-first {
  border: 2px solid #7f1527;
  position: relative;
  background: #fff;
  color: #7a1414;
  /* max-width: 800px; */
}

.sub h5 {
  font-weight: 700;
}

.subscribe-box {
  display: flex;
  /* justify-content: center;  */
  align-items: center;
  text-align: center;
}

.subscribe input {
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  padding: 10px 30px;
  font-size: 13px;
  border: none;
}

.subscribe ::placeholder {
  font-size: 11px;
}

.subscribe button {
  background-color: #800000;
  color: #fff;
  padding: 10px 25px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-div-sec {
  position: relative;
}

.social-media {
  padding: 7px 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  margin: 2px;

}

.footer-link li {
  text-decoration: none;
}

.links li {
  text-decoration: none;
}

.links ul {
  list-style-type: none;
  padding-left: 5px;
}

.links li {
  margin-top: 10px;
}

.links h4 {
  margin-bottom: 20px;
  text-transform: uppercase;
   font-family: 'Inter';
  font-weight: 600;}
.footer-div-sec h4{
 margin-bottom: 20px;
  text-transform: uppercase;
   font-family: 'Inter';
  font-weight: 600;
}
.footer-sec a {
  color: white;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 20px;
  color: white;
}

/* Client Review */
.review-section {
  text-align: center;
  /* padding: 50px 20px; */
}

.review-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.review-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.review-container {
  display: flex;
  overflow: hidden;
  width: 80%;
  max-width: 900px;
  position: relative;
}

.review-slide {
  display: none;
  flex: 1 0 100%;
  align-items: center;
  gap: 20px;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

.review-slide.active {
  display: flex;
  opacity: 1;
}

.review-img img {
  width: 250px;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.review-info {
  background: linear-gradient(rgba(255, 255, 255, 1), rgba(52, 199, 89, 0.5));

  padding: 25px;
  border-radius: 10px;
  text-align: left;
  flex: 1;
}

.review-stars {
  color: #ffb400;
  font-size: 20px;
  margin-bottom: 10px;
}

.review-info p {
  font-size: 15px;
  color: #333;
}

.review-info h4 {
  margin: 15px 0 5px;
  color: #222;
}

.review-position {
  color: #666;
  font-size: 14px;
}

.review-arrow {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #444;
  margin: 25px;
  transition: color 0.3s;
}

.left {
  background-color:rgba(0, 0, 0, 0.5) ;
  border-radius: 50%;
      padding: 5px 10px;
      color: white;
}
.right{
  background-color:rgba(0, 0, 0, 0.5) ;
  border-radius: 50%;
      padding: 5px 10px;
      color: white;
}

/* .review-arrow:hover {
  color: #007b5e;
} */

/* Responsive */
@media (max-width: 768px) {
  .review-slide {
    flex-direction: column;
    text-align: center;
  }

  .review-img img {
    width: 180px;
    height: 180px;
  }

  .review-info {
    text-align: center;
  }
}

/* .dropdown-content {
      min-width: 0px !important;
    } */