.hero .main-heading {
  margin-bottom: 1rem;
}

.hero .main-heading h1 {
  color: white;
  font-size: 3rem;
  /* max-width: 70vw; */
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0;
  text-align: center;
}

@media (max-width: 1200px) {
  .hero .main-heading h1 {
    font-size: 3rem;
    width: 90vw;
  }
}

@media (max-width: 767px) {
  .hero .main-heading h1 {
    font-size: 1.5rem;
    width: 95vw;

  }

  .header {
    --background-color: rgba(255, 255, 255, 0);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
    width: 100vw;
    left: 0;
    right: 0;
    position: fixed;
    top: 0;
    min-height: 70px;
    /* Increase this value for more height */
    height: 20px;
    /* Or use height: 120px; for fixed height */
    align-items: center !important;
    padding-top: 0px;
    padding-bottom: 10px;
  }

  .header .header-container .lgo {
    scale: 0.5;
    margin-left: -50px;
  }

  .header .header-container {
    min-height: 10px;
    height: 100%;
    align-items: center !important;
    width: 100% !important;
    max-width: 120vw !important;

    background: rgba(0,
        0,
        0,
        0.5);
    /* linear-gradient(to right, #1e1b36, #07041c, #130627, #1e1b36);*/
    padding: 0px 50px 5px 50px;
    backdrop-filter: blur(20px);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }

  .header .btn-getstarted,
  .demobh,
  .header .btn-getstarted:focus,
  .content .demobh,
  .content .demobh:focus,
  .btn-getstarted-2 {
    display: inline-block;
    background: linear-gradient(300deg,
        rgb(12, 5, 107),
        rgb(45, 41, 107),
        rgb(95, 99, 188),
        rgb(28, 41, 47));
    color: #fff;
    padding: 12px 28px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-size: 300% auto;
  }

  .header .btn-getstarted:hover,
  .header .btn-getstarted:focus:hover,
  .content .demobh:hover,
  .content .demobh:focus:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .navmenu {
    padding: 0;
    background: transparent;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: white;
    font-weight: 900;
    padding: 1px 1px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    /* transition: 0.3s; */
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 20px 0;
    background-color: var(--nav-dropdown-bg);
    /* solid */
    display: flex;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 1;
    /* Ensure it's fully opaque */
    /* transition: top 0.3s ease, opacity 0.2s ease; */
    /* border-radius: 4px; */
    z-index: 999;
    /* Higher than background text */
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 40vw;
    border-radius: 20px;
    align-items: start;
    justify-content: space-between;
  }

  /* Each list item */
  .navmenu .dropdown ul>li {
    min-width: 200px;
    background-color: var(--nav-dropdown-bg);
    /* solid */
    display: flex;
    flex-direction: column;
  }

  /* Links */
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
    background-color: var(--nav-dropdown-bg);
    /* solid */
    text-transform: none;
    display: block;
  }

  /* Hover effects */
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover>a {
    color: #4a6cf7;
    background-color: var(--nav-dropdown-hover-bg-color);
    /* solid hover background */
  }

  /* Show dropdown on hover */
  .navmenu .dropdown:hover>ul {
    top: 100%;
    visibility: visible;
  }

  /* Nested dropdowns */
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
    background-color: var(--nav-dropdown-bg);
  }

  .navmenu .dropdown .dropdown:hover>ul {
    top: 0;
    left: -100%;
    visibility: visible;
  }

}

@media (max-width: 480px) {
  .hero .main-heading h1 {
    font-size: 2.5rem;
  }

  .header {
    --background-color: rgba(255, 255, 255, 0);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
    width: 100vw;
    left: 0;
    right: 0;
    position: fixed;
    top: 0;
    min-height: 70px;
    /* Increase this value for more height */
    height: 20px;
    /* Or use height: 120px; for fixed height */
    align-items: center !important;
    padding-top: 0px;
    padding-bottom: 10px;
  }

  .header .header-container .lgo {
    scale: 0.5;
    margin-left: -50px;
  }

  .header .header-container {
    min-height: 10px;
    height: 100%;
    align-items: center !important;
    width: 100% !important;
    max-width: 120vw !important;

    background: rgba(0,
        0,
        0,
        0.5);
    /* linear-gradient(to right, #1e1b36, #07041c, #130627, #1e1b36);*/
    padding: 0px 50px 5px 50px;
    backdrop-filter: blur(20px);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }

  .btn-getstarted,
  .demobh,
  .btn-getstarted:focus,
  .content .demobh,
  .content .demobh:focus,
  .btn-getstarted-2 {
    display: inline-block;
    background: linear-gradient(300deg,
        rgb(12, 5, 107),
        rgb(45, 41, 107),
        rgb(95, 99, 188),
        rgb(28, 41, 47));
    color: #fff;
    padding: 12px 28px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-size: 300% auto;
  }

  .header .btn-getstarted:hover,
  .header .btn-getstarted:focus:hover,
  .content .demobh:hover,
  .content .demobh:focus:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .navmenu {
    padding: 100px;
    background: transparent;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: white;
    font-weight: 900;
    padding: 1px 1px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    white-space: nowrap;
    /* transition: 0.3s; */
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    border-bottom: 2px solid white;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 20px 0;
    background-color: var(--nav-dropdown-bg);
    /* solid */
    display: flex;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 1;
    /* Ensure it's fully opaque */
    /* transition: top 0.3s ease, opacity 0.2s ease; */
    /* border-radius: 4px; */
    z-index: 999;
    /* Higher than background text */
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 40vw;
    border-radius: 20px;
    align-items: start;
    justify-content: space-between;
  }

  /* Each list item */
  .navmenu .dropdown ul>li {
    min-width: 200px;
    background-color: var(--nav-dropdown-bg);
    /* solid */
    display: flex;
    flex-direction: column;
  }

  /* Links */
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
    background-color: var(--nav-dropdown-bg);
    /* solid */
    text-transform: none;
    display: block;
  }

  /* Hover effects */
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul li:hover>a {
    color: #4a6cf7;
    background-color: var(--nav-dropdown-hover-bg-color);
    /* solid hover background */
  }

  /* Show dropdown on hover */
  .navmenu .dropdown:hover>ul {
    top: 100%;
    visibility: visible;
  }

  /* Nested dropdowns */
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
    background-color: var(--nav-dropdown-bg);
  }

  .navmenu .dropdown .dropdown:hover>ul {
    top: 0;
    left: -100%;
    visibility: visible;
  }

}

.hero .description {
  margin-bottom: 1rem;
}

.hero .description p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  text-align: center;
  margin-bottom: 20px;
}

.hero .cta-button .btn {
  display: inline-block;
  background: linear-gradient(300deg,
      rgb(12, 5, 107),
      rgb(45, 41, 107),
      rgb(95, 99, 188),
      rgb(28, 41, 47));
  color: #fff;
  padding: 20px 20px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  background-size: 300% auto;

}

.hero .btn {
  display: inline-block;
  background: linear-gradient(300deg,
      rgb(12, 5, 107),
      rgb(45, 41, 107),
      rgb(95, 99, 188),
      rgb(28, 41, 47));
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  background-size: 300% auto;
}

/* The rest of your existing CSS can remain unchanged */
.hero .cta-button .btn span {
  margin-right: 0.5rem;
}

.hero .cta-button .btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero .cta-button .btn:hover {
  background-position: right center;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero .btn:hover {
  background-position: right center;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero .cta-button .btn:hover i {
  transform: translateX(5px);
}

.button-holder {
  display: flex;
  min-width: 40vw;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.button-holder .btn {
  min-width: 200px;
  padding-inline: 10px;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  border-radius: 50px;
}

@media (max-width: 787px) {
  .mobile-corrector {
    flex-direction: column-reverse;
  }

  .hero .heroImg {
    width: 90vw;
    height: 30vh;
    margin-inline: auto;
  }

  .vertical-line {
    display: none;
  }

  .company-logo {
    display: none;

  }
}

.learnhub-ct-hero-banner {
  background-image: url(https://vsmartengine.com/assets/img/bg-banner/Ct.jpg);
  z-index: 1;
  position: relative;
  overflow: hidden;
  background-size: cover;
}

.school-erp-hero-banner {
  background-image: url(https://vsmartengine.com/assets/img/bg-banner/school-erp-banner.jpg);
  z-index: 1;
  position: relative;
  overflow: hidden;
  background-size: cover;
}

.learnhub-ct-hero-placer {
  margin-left: 600px;
}

.school-erp-hero-placer {
  margin-right: 600px;
}

.home-automation-hero-banner{
  background-image: url(https://vsmartengine.com/assets/img/bg-banner/home-automation-banner.jpg);
  z-index: 1;
  position: relative;
  overflow: hidden;
  background-size: cover;
}

@media (max-width: 787px) {
  .learnhub-ct-hero-banner, .school-erp-hero-banner, .home-automation-hero-banner{
    background-image: linear-gradient(132deg, #000000, #08022d, #07070c, #000000);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .learnhub-ct-hero-placer, .school-erp-hero-placer {
    margin-left: 0px;
    margin-inline: auto;
  }
}