/* General */
body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #f8f9fa;
}

/* navigation section */

/* Navigation Bar */

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 */



/* Mobile Menu Icon */
#menu-icon {
  color: white;
  font-size: 2rem;
  display: none;
  cursor: pointer;
}


h1,
h2 {
  font-weight: bold;
}

/* Header */
header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

/* Contact Section */
.contact-section {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section .social-links .btn {
  font-size: 1.5rem;
  padding: 0.5rem 0.75rem;
}

/* Form */
.form-container {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

input,
textarea {
  border: 2px solid #ddd;
  border-radius: 5px;
}

button {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
  background-color: #0056b3;
  transform: scale(1.02);
}


.contact-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.contact-header {
  font-size: 2.5em;
  font-weight: bold;
  color: #004d40;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.touch-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  justify-items: center;
  align-items: center;
}

.touch {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  padding: 25px 20px;
  text-align: center;
  width: 100%;
  max-width: 450px;
  height: 230px; /* Reduced height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.touch:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.touch-icon img {
  width: 60px; /* Adjusted size for icons */
  height: 60px;
  margin-bottom: 15px;
}
#call-icon{
  height: 80px;
  width: 80px;
}
#working-hour{
  height: 80px;
  width: 80px;
  margin: 0;
}

#contact-number{
  display: flex;
}

#contact-number i{
  font-size: 2rem;
  margin-right: 10px;
  color: #1e40af;
}

#contact-number p{
  font-weight: 550;
}



.touch-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #00796b;
  margin-bottom: 10px;
}

.touch-content {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .touch-wrapper {
      grid-template-columns: 1fr;
      gap: 15px;
      margin: 2vh;
  }

  .touch {
    height: 270px;
  }
  .contact-section h2{
    margin-left: 10px;
    padding-top: 10px;
  }
  .contact-section p{
    text-align: justify;
  }

}



.cta-section {
  background: linear-gradient(135deg, #ff6f61, #ffcc80); /* Gradient background */
  color: white;
  text-align: center;
  padding: 60px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  margin: 30px 20px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #ffffff;
  color: #ff6f61;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  background-color: #ff7043;
  color: #ffffff;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
  .cta-subtitle {
    font-size: 1rem;
  }
  .cta-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
}


 /* 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;
}

/* footer */


.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #00ccff;
}

.footer-column p,
.footer-column a {
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column .contact-details {
  margin-bottom: 20px;
}

.footer-column .contact-details p {
  margin: 5px 0;
}

.footer-column .social-icons {
  display: flex;
  gap: 10px;
}

.footer-column .social-icons a {
  color: #fff;
  font-size: 16px;
  display: inline-block;
  text-decoration: none;

}
.footer-column .social-icons a i{
  transition: transform 0.3s ease, color 0.3s ease;

}

.footer-column .social-icons a:hover i{
  transform: scale(1.2); /* Zoom effect on hover */
    color: #0056b3; /* Darker hover color */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form input[type="submit"] {
  background-color: #00ccff;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.contact-form input[type="submit"]:hover {
  background-color: #008fbf;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    margin: 20px 0;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
  }

  .contact-form input[type="submit"] {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .footer {
    padding: 20px;
  }

  .footer-column h3 {
    font-size: 16px;
  }

  .footer-column p,
  .footer-column a {
    font-size: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 8px;
    font-size: 12px;
  }

  .contact-form input[type="submit"] {
    font-size: 14px;
  }
}
