/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #e3f2fd;
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 65px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle div {
  width: 30px;
  height: 4px;
  background-color: white;
  margin: 5px 0;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: lime;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: lime;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover::after {
  width: 100%;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e40af;
  list-style: none;
  padding: 15px 0;
  margin: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.dropdown li a {
  color: white;
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dropdown li a:hover {
  color: lime;
}

.nav-links li:hover .dropdown {
  display: block;
}

.admission-btn {
  background-color: limegreen;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admission-btn:hover {
  background-color: black;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
  nav {
      justify-content: space-around;
      align-items: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 100;
    padding-bottom: 10px;
    margin-top: 20px;
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .dropdown {
    position: static;
    width: 100%;
    transform: none;
  }

  .dropdown li {
    text-align: center;
  }

  .admission-btn {
    margin: 10px auto;
    width: 50%;
    font-size: 12px;
    margin-right: 42px;
  }
}

/* Navbar Ends Here */


 /* Heading Section */
 .heading-section {
  background: linear-gradient(135deg, #007bff, #0056b3); /* Bluish gradient */
  color: white;
  text-align: center;
  padding: 50px 15px;
}

.heading-section h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.heading-section h1 span {
  color: #ffc107; /* Golden accent */
}




/* Full-Width Content Section */
.content-section-wrapper {
  /* background: linear-gradient(120deg, #f4f4f9, #e8f8f5); */
  background: #e9f7fe;
  /* Light blue-gray */
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative Shapes */
.content-section-wrapper::before,
.content-section-wrapper::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(26, 188, 156, 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.content-section-wrapper::before {
  top: -50px;
  left: -50px;
}

.content-section-wrapper::after {
  bottom: -50px;
  right: -50px;
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.content-section {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.content-section h2 {
  /* color: #34495e; */
  color: #0056b3;
  margin-bottom: 20px;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.content-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #1abc9c;
  margin: 10px auto 0;
  border-radius: 2px;
}

.content-section p {
  color: #4a4a4a;
  line-height: 1.8;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: justify;
}

.content-section ul {
  text-align: left;
  margin: 20px auto;
  display: inline-block;
}

.content-section ul li {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-header {
  background-color: #004080;
  padding: 15px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
}

.card-body {
  padding: 20px;
  flex-grow: 1;
}

.card-body p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.card-body ul {
  list-style: none;
  padding-left: 0;
}

.card-body ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #333;
  font-size: 0.95rem;
}

.card-body ul li::before {
  content: "\2714";
  /* Unicode for check mark */
  color: #4caf50;
  /* Green color */
  font-size: 1.2rem;
  margin-right: 10px;
  font-weight: bold;
}

.card-footer {
  padding: 15px;
  text-align: center;
  background-color: #f9f9f9;
  font-size: 1rem;
  color: #0078d7;
  font-weight: bold;
}

@media (max-width: 768px) {
  .card-body p {
    font-size: 0.9rem;
  }

  .card-body ul li {
    font-size: 0.85rem;
  }

  .card-footer {
    font-size: 0.9rem;
  }
  .content-section-wrapper {
    padding-left: 20px;
    padding: 20px;
  }
}


/* Use a wrapper div to center the content */
.center-wrapper {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  background-color: #48a9a6; /* Optional: keep the background color */
  padding: 20px;
  height: 450px;
  width: 100%;
}

/* Container Styles */
.high-demand-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  overflow-x: auto;
  /* background-color: #f0f8ff; */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  height: 380px;
}

/* Individual card styling */
.high-demand-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  width: 250px;
  opacity: 1;
  transition: box-shadow 0.3s, background-color 0.3s;
  height: 340px;
}

/* Hover effect for the card */
.high-demand-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  background-color: #eef6f7;
}

/* Icon hover effect */
.high-demand-icon {
  font-size: 50px;
  color: #007BFF;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.high-demand-card:hover .high-demand-icon {
  transform: rotate(15deg) scale(1.2);
}

/* Heading style with hover underline */
.high-demand-card h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #007BFF;
  font-weight: bold;
  transition: text-decoration 0.3s;
}

/* Underline effect when card is hovered */
.high-demand-card:hover h3 {
  text-decoration: underline;
}

.high-demand-card p {
  color: #555;
  text-align: justify;
  line-height: 1.8;
  font-size: 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .high-demand-container {
      flex-wrap: wrap;
      justify-content: center;
  }

  .high-demand-card {
      width: 100%;
      max-width: 300px;
  }
  .center-wrapper {
    height: auto;
    margin: 0;
  }
  .high-demand-container {
    height: auto;
  }
  
  /* Individual card styling */
  .high-demand-card {
    height: auto;
  }
  
}

@media (min-width: 769px) {
  .high-demand-card {
      flex: 1;
      max-width: 250px;
  }
}
  

 /* Chat Button */
 .chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
}

.chat-button:hover {
  background-color: #0056b3;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 450px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chat-header {
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 16px;
}

.chat-close {
  cursor: pointer;
  font-size: 18px;
}

.chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
}

.chat-body p {
  margin: 5px 0;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 10px;
}

.chat-input input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.chat-input button {
  margin-left: 10px;
  padding: 8px 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.chat-input button:hover {
  background-color: #0056b3;
}
/* FAQ Suggestions */
.faq-suggestions {
  margin: 10px 0;
}

.faq-suggestions button {
  background-color: #e9ecef;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 8px 10px;
  margin: 5px 0;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
}

.faq-suggestions button:hover {
  background-color: #d6d8db;
}