/* Navbar */
.navbar {
  background-color: crimson;
  border-bottom: 2px solid black;
  position: fixed;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
  animation: slideDown 0.6s ease-in-out;
  top: 0;
  left: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.navbar-logo {
  width: 45px;
  height: 45px;
  margin-right: 0px;
  margin-bottom:0.4px;
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3px;
}

.brand-subtext {
  font-size: 0.75rem;
  color: white;
}

/* Navbar Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.navbar-links a {
  text-decoration: none;
  color: white;
  padding: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-links a:hover {
  color: black;
  transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 0.95rem;
  color: white;
  transition: color 0.3s ease;
}

.dropdown-btn:hover {
  color: black;
}

.dropdown-content {
  position: absolute;
  background-color: #fffbea;
  top: 25px;
  left: 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid black;
  border-radius: 4px;
  overflow: hidden;
  min-width: 250px;
  z-index: 1001;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    transform: scaleY(0.8);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ffe066;
  color: #ff0000;
}

/* Enroll Now button */
.login-btn {
  background-color: #8B0A23;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
  background-color: #ffc107;
  color: #ff0000;
  transform: scale(1.05);
}

/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .navbar-links {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 1rem;
    display: none;
    gap: 1rem;
    z-index: 999;
    border-top: 1px solid black;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links a,
  .dropdown-btn,
  .login-btn {
    width: 100%;
    text-align: center;
    padding: 0.4rem 0.8rem;
    color: crimson;
  }

  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: block;
  }

  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    border: none;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    padding-left: 0;
    display: none;
  }

  .dropdown-content.active {
    display: block;
  }

  .dropdown-content a {
    padding: 0.5rem 0;
    color: #333;
  }

  .brand-subtext {
    font-size: 0.6rem;
    color: white;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .login-btn {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin: 0 auto;
    display: inline-block;
    width: auto;
    max-width: 200px;
  }
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}


/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Colors */
:root {
  --crimson: #c21807;
}

/* Header Banner */
.header-banner {
  background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1600&q=60') center/cover;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  color: white;
  text-align: center;
}
.banner-content h1 span {
  color: var(--crimson);
}

/* Contact Section */
.contact-section {
  padding: 4rem 10%;
}
.contact-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.contact-form {
  flex: 1;
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin-top: 1rem;
  margin-bottom: 5px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  margin-top: 1.5rem;
  padding: 12px;
  background: var(--crimson);
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}
.contact-form button:hover {
  background: #a31405;
}

/* Contact Info */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-info h4 {
  color: var(--crimson);
  font-weight: 600;
}
.contact-info h2 {
  margin: 10px 0;
}
.contact-info p {
  margin-bottom: 20px;
  max-width: 500px;
}
.contact-info ul {
  list-style: none;
}
.contact-info ul li {
  margin-bottom: 12px;
  font-weight: 500;
}
.contact-info ul li i {
  color: var(--crimson);
  margin-right: 10px;
}

/* Social Icons */
.social-icons {
  margin-top: 2rem;
}
.social-icons p {
  margin-bottom: 10px;
  font-weight: 600;
}
.social-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border: 2px solid var(--crimson);
  border-radius: 50%;
  text-align: center;
  line-height: 33px;
  color: var(--crimson);
  transition: 0.3s ease;
}
.social-icons a:hover {
  background: var(--crimson);
  color: white;
}

/* Map Section */
.map-section iframe {
  width: 100%;
  height: 350px;
  border: none;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}



/* footer */

.footer {
  background-color: #1c1c22;
  color: white;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

/* Fix logo spacing */
.footer-logo-img {
  width: 100px;
  margin: -25px 0; /* adds top and bottom spacing */
}

/* Make the paragraph justified */
.footer-col p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;  /* <-- this makes it align full */
}


.footer-logo-text {
  font-size: 20px;
  color: crimson;
  margin-bottom: 15px; /* increased from 10px */
}


.footer-col h3 {
  color: crimson;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: crimson;
}

.footer-col p,
.footer-col a {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  text-align: left;
}
.location-link {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.6;
  display: inline-block;
}

.location-link:hover {
  color: crimson;
  text-decoration: underline;
}


.social-icons a {
  display: inline-flex;                  /* Centers icon in circle */
  align-items: center;
  justify-content: center;
  width: 36px;                           /* Fixed width */
  height: 36px;                          /* Same height = circle */
  border-radius: 50%;                   /* Makes it a circle */
  border: 1px solid crimson;
  /* background-color: transparent; */
  /* color: white; */
  font-size: 16px;
  margin-right: 8px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background-color: crimson;
  color: white;
}


.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
}
/* Normal-looking link */
.plain-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.plain-link:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
.footer-container {
  gap: 0px !important;
}

.footer-col {
  margin-bottom: 10px !important;
}


  .footer-col h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-col ul li {
    margin-bottom: 4px;
  }

  .footer-logo-img {
    width: 80px;
  }

  .footer-logo-text {
    font-size: 18px;
  }

  .social-icons {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .footer-bottom {
    text-align: left;
    margin-top: 20px;
  }
}


/* WhatsApp Floating Button with Font Icon */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebd5a;
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 15px;
    left: 15px;
  }
}


/* Scroll to Top Button Bottom Right */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-size: 24px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
#scrollTopBtn:hover {
  background-color: #0056b3;
}




/* Enroll Button */
.enroll-btn {
  background-color: crimson;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.enroll-btn:hover {
  background-color: darkred;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 5px 20px;         /* 🔻 Reduced padding */
  border-radius: 12px;
  width: 90%;
  max-width: 400px;           /* 🔻 Reduced width too */
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}



.form-container h2 {
  margin-bottom: 20px;
  color: crimson;
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  color: crimson;
  cursor: pointer;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: crimson;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: crimson;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: darkred;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  .enroll-btn {
    width: 100%;
  }
}