*{
  font-family: sans-serif;

}
body{
  margin: 0;
  width: 100%;
}
/* section 1  */
.navbar {
  background-color: #253512;
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 8px;
  font-family: 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; /* Reduced padding */
}

.navbar-brand {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar-logo {
  width: 40px; /* Reduced from 60px */
  height: 40px;
  margin-right: 0px;
  border-radius: 10px;
}

.brand-text {
  font-size: 1rem; /* Reduced from 1.2rem */
  font-weight: bold;
  color: white;
}

.navbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  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: rgb(9, 156, 51);
  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: rgb(50, 150, 35);
}

/* Dropdown content for desktop */
.dropdown-content {
  position: absolute;
  background-color:white;
  top: 25px;
  left: 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  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: #285627;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: rgb(196, 239, 196);
}


/* Login Button */
.login-btn {
  background-color: white;
  color: #000000 !important;
  text-decoration: none;
  padding: 6px 12px; /* Slightly reduced */
  border-radius: 4px;
  margin-left: 130px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
  background-color: #dad8d3;
  color: #000000;
  transform: scale(1.05);
}

/* Hamburger Menu */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1025px){
   .navbar-links {
    gap: 5px;
   }
   .login-btn{
    margin-left:70px ;
   }
   
}
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: row;
    padding: 0.5rem 1rem;
  }

  .menu-icon {
    display: block;
    margin-left: auto;
  }

  .navbar-links {
    width: 30%;
    position: absolute;
    top: 70px; 
    left: 70;
    right: 0;
    flex-direction: column;
    align-items:flex-start;
    background-color: rgb(225, 249, 237);
    padding: 1rem;
    display: none;
    gap: 1rem;
    z-index: 999;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links a,
  .dropdown-btn,
  .login-btn {
    width: 60%;
    text-align:left;
    padding: 0.4rem 0.8rem; 
    color: rgb(17, 16, 17);
  }

  .login-btn {
    background-color: #244f31;
    color: #ffffff !important;
    margin-left: 0;
  }
  .dropdown:click .dropdown-content {
    display: none;
  }
  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    border: none;
    box-shadow: none;
    background-color:#c9f8cf;
    width: 100%;
    padding-left: 1rem;
    display: none;
  }

  .dropdown-content.active {
    display: block;
  }

  .dropdown-content a {
    padding: 0.5rem 0;
  }
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

@media (max-width:426px){
  .navbar-links a,
  .dropdown-btn,
  .login-btn {
    width: 57%;
    text-align: left;
    padding: 0.4rem 0.8rem; /* Reduced spacing between links on mobile */
    color: rgb(17, 16, 17);
  }
    .navbar-links {
    width: 70%;
    align-items:flex-start;
    
  }
}

.section1-crash-wrapper {
  position: relative;
  margin-top: 60px;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.section1-crash-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section1-crash-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  z-index: 2;
}

.section1-crash-circle {
  background: rgba(24, 66, 21, 0.9);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  color: white;
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.section1-crash-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.section1-crash-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f5f5f5;
}


/* Responsive */
@media (max-width: 768px) {
  .section1-crash-circle {
    width: 320px;
    height: 320px;
    padding: 30px 20px;
  }
  .section1-crash-title {
    font-size: 1.4rem;
  }

  .section1-crash-description {
    font-size: 0.95rem;
  }

  .section1-crash-dots {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 480px) {
  .section1-crash-overlay {
    justify-content: center;
    padding-right: 0;
  }

  .section1-crash-circle {
    width: 90%;
    height: auto;
    border-radius: 20px;
    padding: 25px 15px;
  }

  .section1-crash-title {
    font-size: 1.3rem;
  }

  .section1-crash-description {
    font-size: 0.9rem;
  }

  .section1-crash-dots {
    bottom: 30px;
  }
}

.crash-purpose-section {
  padding: 80px 20px;
  overflow: hidden;
  position: relative;
}

.crash-container {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.crash-left, .crash-right {
  flex: 1 1 300px;
}

.glass-card {
  background: rgba(133, 17, 165, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.text-slide {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}

.text-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.text-slide h2 {
  font-size: 26px;
  color: #003366;
  margin-bottom: 12px;
}

.text-slide p {
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.7;
}

.crash-right img {
  width: 90%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .crash-container {
    flex-direction: column-reverse;
    margin: 20px;
    gap: 0;
  }
.crash-purpose-section{
  padding: 0;
}
  .text-slide h2 {
    font-size: 22px;
  }

  .text-slide p {
    font-size: 15px;
  }
}
@media (max-width: 321px){
.crash-purpose-section{
  padding: 0;
  gap: 0;
}
}
/* ===== Crash Course Section ===== */
.crash-course-section {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a1a;
}

.section-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.section-heading h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #1a5b25;
}

.section-heading p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ===== Feature Row (Subheading 1) ===== */
.feature-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  color: white;
  border-radius: 50px;
  margin-bottom: 40px;
  padding: 60px;
  background-color: #16311c;
}

.features {
  flex: 1 1 480px;
}

.features h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #00b7ff;
}

.features ul {
  padding-left: 20px;
  list-style: disc;
}

.features ul li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ===== Image Styling ===== */
.feature-image {
  flex: 1 1 400px;
  text-align: center;
}

.feature-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Highlight Row (Subheading 2) ===== */
.highlight-row {
  max-width: 900px;
  margin: 0 auto;
 background: linear-gradient(to right, #e8fdea, #174e17);
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.highlights h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1e6b29;
}

.highlights ul {
  padding-left: 0;
  list-style: none;
}

.highlights ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.highlights ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #253512;
  font-weight: bold;
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 992px) {
  .feature-row {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .features, .feature-image {
    flex: 1 1 100%;
  }

  .highlight-row {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 576px) {
  .section-heading h2 {
    font-size: 1.6rem;
  }

  .features h3,
  .highlights h3 {
    font-size: 1.3rem;
  }
}

/* ============ Section 3 Hero ============ */
.section3-crash-hero {
  height: 80vh;
  background: url('https://images.pexels.com/photos/4050316/pexels-photo-4050316.jpeg?auto=compress&cs=tinysrgb&w=1600') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5%;
  overflow: hidden;
  animation: fadeIn 1.2s ease-in-out;
}

.section3-overlay {
  padding: 30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 2rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(100px);
  opacity: 0;
  animation: slideInRight 1.2s ease-out 0.3s forwards;
}

.section3-title {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section3-subtitle {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.section3-features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.section3-features li {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  color: #222;
  position: relative;
  padding-left: 1.5rem;
}

.section3-btn {
  display: inline-block;
  background: #1d5e21;
  color: white;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.section3-btn:hover {
  background: #577a58;
}

/* ========== Animations ========== */
@keyframes fadeIn {
  0% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .section3-crash-hero {
    height: auto;
    padding: 5rem 2rem;
    justify-content: center;
  }
  .section3-overlay {
    padding: 2rem;
  }
  .section3-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
 
  .section3-title {
    font-size: 1.6rem;
  }
  .section3-subtitle {
    font-size: 1rem;
  }
  .section3-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
  }
}
.who-should-section {
  background: linear-gradient(to bottom right, #0c1b2a, #1f2f46);
  color: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.who-centered-container {
  max-width: 800px;
  margin: auto;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.who-centered-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0cca29;
}

.who-centered-container p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #d6e9f9;
}

.who-centered-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.who-centered-container ul li {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #f0faff;
}

.who-centered-container ul li span {
  font-size: 20px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .who-centered-container h2 {
    font-size: 26px;
  }

  .who-centered-container p,
  .who-centered-container ul li {
    font-size: 15px;
  }
}

/* footer  */

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px 10px;
  background-color: #253512;
  font-size: 13px;
  color: white;
}

.footer-column {
  flex: 1 1 200px;
  margin: 10px;
  max-width: 250px;
}

.footer-column h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: white;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
  text-decoration: underline;
}

.footer-column p {
  margin: 8px 0;
  color:white; 
}

.footer-logo-section {
  margin-bottom: 30px;
  margin-left: 110px;
  font-size: 13px;
}

.footer-logo-section .logo {
  width: 60px;
  height: auto;
  align-items: center;
  border-radius: 10px;
  margin-left: 100px;
  margin-bottom: 10px;
}
.footer-logo-section p {
  font-size: 1.1em;
  margin-left: 20px;
}

.social-icons {
  margin-left: 130px;
  margin-bottom: 40px;
}

.social-icons a {
  margin:20px;
color: white;
  justify-content: center;

}
.social-icons:hover {
  opacity: 0.6;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.95em;
  display: flex;
  gap: 20px;
}

.footer-bottom p {
  margin: 5px 0;
}

.footer-bottom a {
  color:white;
  text-decoration: none;
  padding-top:5.5px;
}

.footer-bottom a:hover {
  color:white;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-logo-section {
    padding-right: 130px;
    text-align: center;
  }

  .footer-logo-section img {
    margin-right: 80px;
  }
  .social-icons {
    /* margin-left: 130px; */
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 769px) {
  .footer-container {
    text-align: center;
    padding: 20px;
  }

  .footer-logo-section {
    /* margin-left: 140px; */
    margin-bottom: 20px;
  }

  .footer-logo-section p {
    font-size: 1em;
  }

  .social-icons {
    margin-left: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 426px) {
  .footer-container {
text-align: center !important;
    margin-right:0;
    
  }
 .footer-logo-section {
    padding-right:0px;
    margin-left: 0;
 }
  .footer-logo-section p {
    font-size: 0.9em;
    margin-right: 20px;
  }

  .footer-bottom {
    font-size: 0.85em;
  }

  .footer-bottom a {
    display: block;
    margin-top: 5px;
  }

  .social-icons a {
    margin: 0 10px;
    font-size: 16px;
  }
}


/* floationg whatsapp  */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .floating-whatsapp .icon-container {
    background-color: #25D366;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  @keyframes pulse {
    to {
      box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
  }

  @media screen and (max-width: 545px) {
  
  .floating-whatsapp .icon-container {
    width: 40px;
    height: 40px;
  }
  .floating-whatsapp {
    bottom: 15px;
    right: 15px; 
  }
}
/* overlay form  */

body.modal-open {
      overflow: hidden;
      position: fixed;
      width: 100%;
    }
    #overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(2px);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    #popup {
      position: relative;
      width: 380px;
      background: linear-gradient(135deg, #16311c, #dff6e2);
      border-radius: 10px;
      padding: 30px 30px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      animation: fadeIn 0.3s ease-out;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    #popup .close {
      position: absolute;
      top: 12px; right: 12px;
      font-size: 24px;
      color: #121111;
      cursor: pointer;
      transition: color 0.2s;
    }
    #popup .close:hover {
       color: #555;
       }
    #popup h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #133011;
    }
    .input-group {
      position: relative;
      margin: 16px 10px;
    }
    .input-group label {
      position: absolute;
      top: -8px;
      left: 12px;
      background: #8aab8d;
      padding: 0 4px;
      font-size: 13px;
      color: #214121;
    }
    .input-group input,
    .input-group textarea {
      width: 85%;
      background-color: rgb(234, 240, 235);
      padding: 12px 40px 12px 12px;
      border: 1px solid #cccccc;
      border-radius: 6px;
      transition: border-color 0.3s, box-shadow 0.3s;
    }
    .input-group input:focus,
    .input-group textarea:focus {
      box-shadow: 0 0 8px rgba(90,74,255,0.2);
      outline: none;
    }
    .input-group textarea { 
      resize: vertical;
       min-height: 80px; 
      }
    .input-group .icon {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #aaa;
      font-size: 18px;
    }
    .submit-btn {
      width: 100%;
      background: #2f4723;
      color: white;
      padding: 14px;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      margin-top: 12px;
      transition: background 0.3s, box-shadow 0.3s;
    }
    .submit-btn:hover {
      background: #4b644f;
      box-shadow: 0 4px 12px rgba(90,74,255,0.3);
    }
@media screen and (max-width: 769px) {
  #popup {
    width: 70%;
  
    max-width: 340px; 
    padding: 15px;
  }
  
}
@media screen and (max-width: 426px) {
  #popup {
    width: 80%;
    
  }

}

  @media screen and (max-width: 321px) {
#popup {
  .input-group input,
.input-group textarea {
  width: 78%;
}
  }
}