/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll during animations */
  }

  
/* 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 */

  
  header {
    background-color: #0073e6;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    animation: slideInDown 1s ease-in-out;
  }
  
  header h1 {
    margin: 0;
    font-size: 2.5rem;
  }
  
  header p {
    margin: 10px 0 0;
    font-size: 1.2rem;
  }
  
  /* Testimonials Section */
  .testimonials {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
  }
  
  .testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-in-out;
  }
  
  .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    margin-left: 75px;
  }
  
  .testimonial-card:hover img {
    transform: scale(1.1);
  }
  
  .testimonial-card h3 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #0073e6;
    transition: color 0.3s ease;
  }
  
  .testimonial-card:hover h3 {
    color: #005bb5;
  }
  
  .testimonial-card .university {
    color: #0073e6;
    font-weight: bold;
    margin: 5px 0;
    transition: color 0.3s ease;
  }
  
  .testimonial-card:hover .university {
    color: #005bb5;
  }
  
  .testimonial-card .review {
    font-style: italic;
    color: #555;
    transition: color 0.3s ease;
  }
  
  .testimonial-card:hover .review {
    color: #333;
  }
  
    
  footer p {
    margin: 0;
  }
  
  /* Animations */
  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Landing Animation */
  .landing-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0073e6;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1.5s ease-in-out forwards;
  }
  
  .landing-animation h2 {
    color: #fff;
    font-size: 3rem;
    animation: zoomIn 1s ease-in-out;
  }
  
  @keyframes zoomIn {
    from {
      transform: scale(0);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }

  
.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;
}

.contact-section h2{
  margin-left: 120px;
}

@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;
  }
}


/* 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;
  }
}


 /* 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;
}