: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-----------------> */
.mainclassroom {
  padding: 50px 20px 20px 20px;
  background-color: var(--light-bg);
  box-sizing: border-box;
  overflow-x: hidden;
}

.classroom {
  background-color: #fff;
  padding: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;

}

.classroomheading {
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.classroomheading span {
  font-family: "Poppins", sans-serif;
  font-size: 32px;

  font-weight: 700;
  position: relative;
  display: inline-block;
}

.classroomheading span::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--red-color);
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 5px;
}

.classroomimage {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
}

.imagesb {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagesb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.imagesb:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.imagesb:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .classroom {
    padding: 25px 20px;
  }

  .classroomheading span {
    font-size: 26px;
  }

  .imagesb img {
    height: 160px;
  }

  .classroomimage {
    display: block;

    margin: 20px 0px;
  }

  .imagesb {
    margin: 20px 0px;
  }
}


/* <----------------------------- 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: 430px;
    display: block;
    right: 10px;
    position: fixed;

  }
}

/* <----------------------------- whatsapp icon section close-----------------> */





/* <-----------------------------start media section close-----------------> */

@media (max-width: 768px) {
  .main {
    padding: 0px 20px 0px 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);
  }
}