:root {
  --red-color: #92220f;
  --secondary-color: #4e57a6;
  --grays-color: gray;
  --accent-color: #0d11ff;
  --white-color: #f4f4f4;
  --gray-color: rgba(245, 245, 245, 0.575);
  --black-color: rgb(0, 0, 0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* <-----------------------------navar section start-----------------> */
body {
  font-family: "Poppins", sans-serif;
  margin: 0px;
  padding: 0px;
}

/* <-----------------------------navar section start-----------------> */
body {
  font-family: "Poppins", sans-serif;
}

.imageheader a img {
  width: 250px;
}

.main {
  background-color: var(--white-color);
  padding: 0px 50px 50px 50px;
}

.header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  position: relative;
  min-height: 100px;
  /* Added for better header height */
}

.header img {
  width: 150px;
  max-width: 100%;
  padding: 15px 0;
  /* Modified padding */

}

.menus ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

.menus ul li {
  padding: 0px 15px;
  color: var(--grays-color);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
}

.menus ul li:hover {
  color: var(--secondary-color);
}

.button button {
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: 0.1px solid var(--red-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  border-radius: 20px;
  box-shadow: 1px 1px 3px 1px rgb(92, 92, 92);
  margin-right: 40px;
}

.button button:hover {
  background-color: var(--black-color);
  color: var(--white-color);
}

.line {
  border: 1px solid #4e57a6;
  width: 93%;
  position: absolute;
  top: 90px;
  opacity: 0.1;

}

.mobile-menu-btn {
  display: none;
  margin-left: auto;
}

/* Submenu Styling */
.menus ul li ul {
  position: absolute;
  display: none;
  background-color: var(--secondary-color);
  width: 200px;
  padding: 0px 0;
  left: 0;
  box-shadow: 1px 1px 2px 1px rgb(92, 92, 92);
  z-index: 1000;
}

.menus ul li:hover>ul {
  display: block;
}

.menus ul li ul li {
  text-align: left;
  padding: 8px 20px;
  color: white;
  transition: all 0.3s;
}

.menus ul li ul li:hover {
  background-color: white;
  color: var(--secondary-color);

}



a {
  list-style: none;
  text-decoration: none;
}

/* Mobile Responsive */

/* <-----------------------------navar section close-----------------> */

/* <-----------------------------contact section start-----------------> */

.maincon {


  background-color: var(--secondary-color);
  color: white;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  margin: 10px 0px 10px 0px;

}

.contactsmy {
  font-family: Arial, sans-serif;
  font-size: 20px;
}

.homemy {
  font-family: Arial, sans-serif;
  font-size: 12px;
  padding-top: 5px;
}

.homemy span {
  font-family: Arial, sans-serif;
  font-size: 12px;
  padding-top: 5px;
  color: rgb(255, 238, 0);
}

@media (max-width: 768px) {

  .maincon {


    padding: 20px 20px;
  margin: 1px 0px 1px 0px;

  }

}

/* <-----------------------------contact section close-----------------> */
/* <-------------------------form section start-------------------------> */



    .contact-section {
      padding: 50px 20px 10px 20px;
  
    }

    .contact-container {
      max-width: 1200px;
      margin: auto;
      background: #fff;
      padding: 30px 40px;
      border-radius: 20px;
    
    }

    .contact-title {
      text-align: center;
      margin-bottom: 10px;
    }

    .contact-title h2 {
      font-size: 36px;
      color: var(--secondary-color);
      position: relative;
      display: inline-block;
    }

    .contact-title h2::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: var(--red-color);
      margin: 10px auto 0;
      border-radius: 2px;
    }

    .contact-title p {
      font-size: 1rem;
      color: var(--grays-color);
      margin-top: 10px;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    /* Left Side: Info Cards */
    .info-card {
      background: #ececec;
      border-left: 6px solid var(--secondary-color);
      padding: 20px 25px;
      border-radius: 12px;
      display: flex;
      align-items: flex-start;
      gap: 20px;
      transition: all 0.3s ease;
      box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
      margin: 50px 0px;
    }

    .info-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .info-icon {
      background: var(--secondary-color);
      color: white;
      padding: 12px;
      border-radius: 50%;
      font-size: 20px;
    }

    .info-text h4 {
      margin: 0 0 5px;
      color: var(--secondary-color);
      font-size: 1.2rem;
    }

    .info-text p,
    .info-text a {
      color: var(--black-color);
      font-size: 1rem;
      text-decoration: none;
    }

    .info-text a:hover {
      text-decoration: underline;
    }

    /* Right Side: Form */
    .contact-form {
      background:#ececec;
      padding: 30px;
      border-radius: 14px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
      margin-top: 50px;
    }

    .contact-form .form-group {
      margin-bottom: 20px;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 14px 16px;
      border-radius: 10px;
      border: 1px solid #ccc;
      font-size: 1rem;
      background: white;
      transition: border-color 0.3s ease;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--secondary-color);
      outline: none;
      box-shadow: 0 0 6px rgba(78, 87, 166, 0.4);
    }

    .contact-form textarea {
      resize: none;
    }

    .contact-form button {
      width: 100%;
      padding: 14px;
      font-size: 1.1rem;
      background: var(--secondary-color);
      color: white;
      border: none;
      border-radius: 30px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .contact-form button:hover {
      background: var(--red-color);
    }

    @media(max-width: 768px) {
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .contact-title h2 {
        font-size: 2.2rem;
      }
      
    .contact-section {
      padding: 50px 20px 10px 20px;
    
    }
        .contact-form {
  
      margin-top: 0px;
    }
    }

/* <-------------------------form section close-------------------------> */
/* <----------------------------- footer section start-----------------> */


.footer {
  background: rgb(228, 226, 226);
  padding: 40px 100px;
  text-align: left;
  height: 350px;

}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-box {
  flex: 1 1 200px;
  min-width: 220px;

}

.footer-box p {
  color: var(--secondary-color);
  font-size: 15px;
}

.footer-box strong {
  color: rgb(43, 43, 43);
  font-size: 15px;
  font-weight: 600;
}

.footer-logo {
  width: 250px;
  margin-bottom: 10px;
  margin-left: 0px;
  padding-left: 0px;
}

.footer-box h4 {
  margin-bottom: 20px;
  font-size: 20px;
  color: rgb(43, 43, 43);
  font-weight: 600;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 100;
}

.footer-box ul li i {
  padding-right: 10px;
  color: var(--secondary-color);
  opacity: 50%;

}

.footer-box ul li a {
  text-decoration: none;
  color: var(--grays-color);
}

.footer-box ul li a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icons a i {
  width: 30px;
  font-size: 25px;
  color: var(--secondary-color);
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

a {
  list-style: none;
  text-decoration: none;
}

/* ✅ Responsive Layout */
@media (max-width: 768px) {
  .footer {
    background: rgb(228, 226, 226);
    padding: 40px 20px 40px 20px;
    text-align: left;
    height: 750px;

  }


  .footer-container {
    display: flex;
    /* text-align: left; */
  }

  .footer-box {
    width: 100%;
  }

  .social-icons {
    justify-content: flex-start;
  }
}



/* Footer Styling */
.footers {
  background-color: var(--secondary-color);
  color: #dcdcdc;
  padding: 10px 15px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  border-top: 1px solid #4e57a6;
}

.footers-content p {
  margin: 5px 0;
  line-height: 1.6;
}

.footers-content strong {
  color: #ffffff;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 576px) {
  .footers {
    font-size: 13px;
    padding: 20px 10px;
  }
}

/* <----------------------------- footer section close-----------------> */


/* <----------------------------- whatsapp icon section start-----------------> */

.wicons {
  position: absolute;
  top: 600px;
  display: block;
  right: 10px;
  position: fixed;

}

.w i {
  color: var(--secondary-color);
  padding-bottom: 20px;
}

.c i {
  color: var(--secondary-color);
}

.wicons i {
  font-size: 40px;

}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--red-color);
  cursor: pointer;
}

@media (max-width: 576px) {
  .wicons {
    position: absolute;
    top: 500px;
    display: block;
    right: 10px;
    position: fixed;

  }
}

/* <----------------------------- whatsapp icon section close-----------------> */





/* <-----------------------------start media section close-----------------> */

@media (max-width: 768px) {
  .main {
    padding: 0px 20px 40px 20px;
    /* Reduced padding for mobile */
    z-index: 4000 !important;

  }

  .line {
    display: none;
  }

  .header {
    grid-template-columns: auto 1fr;
    padding: 0px 0;
    z-index: 4000;

  }

  .header img {
    width: 130px;
    padding: 0px 0;
  }

  .menus {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white-color);
    z-index: -4000;
    transition: 0.3s;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  }



  .menus.active {
    left: 0;
  }

  .menus ul {
    flex-direction: column;
    margin-top: 40px;
  }

  .menus ul li {
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
  }

  .mobile-menu-btn {
    display: block;
    font-size: 25px;
    border: none;
    background: none;
    color: var(--secondary-color);
    order: 2;
    /* Position hamburger icon on right */
    padding-right: 30px;
  }

  .button {
    display: none;
  }

  /* Mobile Submenu */
  .menus ul li ul {
    position: static;
    display: none;
    width: 100%;

    box-shadow: none;

    margin-top: 5px;
  }

  .menus ul li.active ul {
    display: block;
  }

  .has-submenu>i {
    float: right;
    margin-left: 8px;
    transition: transform 0.3s;
  }

  .menus ul li.active>i {
    transform: rotate(180deg);
  }
}