:root {
  --primary-color: #032d55;
  --primarycolor: #0459a5;
  --secondary-color: #ff4d4d;
  --thirdcolor: #ffd967;
}

body {
  overflow-x: hidden; /* Prevents horizontal scrollbar from AOS animations */
  /* font-family: 'Poppins', sans-serif; */
}



/* --- Hero Section --- */
.hero-section {
  width: 100%;
  padding: 4rem 2rem;
  background-color: var(--primary-color);
  color: white;
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 700;
  margin-top: 20px;
}

.highlight-underline {
  text-decoration: none;
  border-bottom: 5px solid #fdcb6e;
  padding-bottom: 3px;
}

/* Typing cursor effect */
#typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    font-weight: 100;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- Hero Image --- */
.hero-image-container img {
  width: 100%;
  max-width: 650px;
  height: auto;
}

/* --- Stats Section --- */
.stats-section {
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--thirdcolor);
}

.stat-item p {
  margin: 0;
  font-size: 1.1rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 3rem 1rem;
    text-align: center;
  }
  .hero-heading {
    font-size: 2.8rem;
  }
  .hero-image-container {
    margin-top: 3rem;
  }
  .stat-item {
    margin-bottom: 2rem;
  }
}


/* why choose das */
.info-section {
  background: linear-gradient(135deg, #f9f9ff, #eef4ff);
  overflow: hidden;
  position: relative;
}

.info-heading {
  font-weight: 700;
  color: #1d3557;
  font-size: 2rem;
  position: relative;
}

.info-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: #457b9d;
  border-radius: 2px;
}

.highlight {
  color: var(--primarycolor);
  font-weight: 600;
}

.info-text {
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
}

.info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.info-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #222;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.info-list li i {
  color: #2a9d8f;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.info-list li:hover {
  transform: translateX(6px);
  color:var(--primary-color);
}

.info-list li:hover i {
  transform: scale(1.2);
  color: var(--primarycolor);
}

.info-img {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  border-radius: 20px;
}

.info-img:hover {
  transform: scale(1.05) rotate(2deg);
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); */
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .info-heading {
    text-align: center;
  }
  .info-text, .info-list {
    text-align: center;
  }
}



/* faculty */
.faculty-section {
  background: #f9f8ff;
}
.faculty-section h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  position: relative;
}
.faculty-section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: var(--thirdcolor);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.faculty-card {
  background: linear-gradient(135deg, #f9f9ff, #d0e0ff);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  transition: all 0.4s ease;
  max-width: 300px;
  margin: 0 auto;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faculty-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faculty-role {
  color: #6f42c1;
  font-weight: 600;
}

.faculty-name {
  font-weight: 700;
  color: var(--secondary-color);
}

.faculty-card p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.faculty-card p strong {
  font-weight: 700;
  color: #111;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
}


/* -----------------------------------------------------------------------Facilities--------------------------------------------------- */

.facilities-section {
  background-color: #f8fafc;
  text-align: center;
}

.facilities-section h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  position: relative;
}

.facilities-section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: var(--thirdcolor);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.facility-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: white;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.facility-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.facility-card:hover .facility-img {
  transform: scale(1.1);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 45, 85, 0.85);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  padding: 15px;
  transition: opacity 0.5s ease;
}

.facility-card:hover .facility-overlay {
  opacity: 1;
}

.facility-title {
  background: var(--primarycolor);
  color: white;
  padding: 12px 0;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: 0.5px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

@media (max-width: 767px) {
  .facility-img {
    height: 200px;
  }
  .facilities-section h2 {
    font-size: 1.8rem;
  }
}


/* ----------------------------------- Trusty Section ----------------------------------- */
.trusty-section {
  background: #f8fafc;
  text-align: center;
}

.trusty-section h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  position: relative;
}

.trusty-section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: var(--thirdcolor);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.trusty-section .highlight {
  color: var(--thirdcolor);
}

/* ----------------------------------- Trusty Card ----------------------------------- */
.trusty-card {
  position: relative;
  background: #ffffff;
  padding: 60px 40px; /* added top/bottom space */
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 750px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.trusty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.trusty-text {
  font-size: 1.1rem;
  color: #333;
  font-style: italic;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  margin: 1.5rem 0 1.8rem;
}

.quote-icon {
  color: var(--thirdcolor);
  font-size: 2.2rem;
  position: absolute;
  opacity: 0.9;
  z-index: 1;
}

.quote-icon.top {
  top: 0px;
  left: 15px;
}

.quote-icon.bottom {
  bottom: 25px;
  right: 25px;
}

.trusty-role {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
}

/* ----------------------------------- Responsive ----------------------------------- */
@media (max-width: 991px) {
  .trusty-card {
    padding: 50px 30px;
  }

  .trusty-text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .trusty-section h2 {
    font-size: 1.8rem;
  }

  .trusty-card {
    padding: 45px 25px 50px;
  }

  .quote-icon {
    font-size: 1.6rem;
  }

  .quote-icon.top {
    top: -28px;
    left: 18px;
  }

  .quote-icon.bottom {
    bottom: -25px;
    right: 18px;
  }

  .trusty-text {
    margin: 1.2rem 0 1.5rem;
  }
}
