* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}

.wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* Hide the checkbox */
#check {
  display: none;
}

/* container1 */
.container1 {
  width: 100%;
  margin: 0 auto;
}

/* Nav Container with max-width */
.nav-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* navbar */
.nav {
  height: 100px;
  width: 100%;
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  position: relative;
}

.navbar {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

/* logo of navbar - Fixed position */
.nav .logo {
  height: 58px;
  width: 158.71px;
}

.nav .logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/* options of navbar - Centered */
.nav .options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav .options p {
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav .options p:hover {
  color: #4356d6;
}

/* button of navbar - Fixed position */
.nav .btnCont {
  height: 46px;
  padding: 0 20px;
  background-color: #4356d6;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav .btnCont:hover {
  background-color: #3745c0;
}

.nav .btnCont img {
  height: 26px;
  width: 26px;
}

/* menu of navbar */
.nav .menu {
  display: none;
  cursor: pointer;
}

.side-setting {
  display: none;
}

/* sidebar-menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 87%;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.sidebar-content {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 375px;
  margin-left: auto;
}

#check:checked ~ .sidebar-menu {
  right: 0;
}

/* Hide navbar menu when sidebar is open */
#check:checked ~ .nav-container .nav .side-setting {
  display: none;
}

.sidebar-menu #part1 {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.sidbar-menu #part2 {
  width: 100%;
  height: 646px;
  
}
.sidebar-menu #part1 .side-logo img {
  height: 34px;
  width: auto;
}

.sidebar-menu #part1 .cross-menu {
  cursor: pointer;
  font-size: 24px;
  color: #333;
}

.sidebar-menu .side-options {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 30px;
  margin-top: 40px;
  flex: 1;
}

.sidebar-menu .side-options div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.sidebar-menu .side-options div:hover {
  color: #4356d6;
}

.sidebar-menu .side-options img {
  height: 20px;
  width: 20px;
}

.sidebar-menu #part2 .conbtn {
  width: 100%;
  height: 46px;
  background-color: #4356d6;
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 0px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sidebar-menu #part2 .conbtn:hover {
  background-color: #3745c0;
}

/* Hero Section */
.hero-section {
  padding: 40px 100px;
}

.container1 .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.container1 .box .box1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.container1 .box .box2 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container1 .box .box2 img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#text1 {
  font-family: "Roboto", sans-serif;
  font-size: 64px;
  font-weight: bold;
  line-height: 1.1;
}

#text2 {
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #666;
}

#items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#items .item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}

.container1 .box #items .item .check {
  height: 24px;
  width: 24px;
  background-image: url("Assets/check-sign.png");
  background-size: cover;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.blue-text {
  color: #4356d6;
}

#ul {
  background-image: url("Assets/underline-Vector.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  padding-bottom: 5px;
}

.container1 .box .box1 .btn {
  display: flex;
  gap: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
}

.container1 .box .box1 #btn1 {
  height: 46px;
  padding: 14px 22px;
  color: #ffffff;
  font-weight: 400;
  background-color: #4356d6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex: 1;
}

.container1 .box .box1 #btn1:hover {
  background-color: #3745c0;
}

.container1 .box .box1 #btn2 {
  height: 46px;
  padding: 14px 22px;
  border: 2px solid #4356d6;
  border-radius: 8px;
  font-weight: 400;
  color: #4356d6;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.container1 .box .box1 #btn2:hover {
  background-color: #4356d6;
  color: #ffffff;
}

/* section2 */
.container2 {
  width: 100%;
  margin: 0 auto;
  padding: 40px 100px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.container2 .box1 {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#text3 {
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  flex: 1;
}

#text4 {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  flex: 1;
}

.container2 .box {
  position: relative;
  display: flex;
  justify-content: center;
}

.mainbox {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.box2 {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.box2 img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.box2 #v1 {
  position: absolute;
  bottom: -30.17px;
  left: -140px;
  z-index: -1;
}

.box2 #v2 {
  position: absolute;
  right: -20px;
  top: -20px;
  z-index: -1;
}

.container2 .box3 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.box3 .div1 {
  padding: 30px;
  border: 1px solid #e2e7ff;
  background-color: #fafbff;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box3 .div1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.box3 .div1 img {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
}

.box3 .div1 .para {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.para .heading1 {
  font-weight: 600;
  font-size: 24px;
  color: #333;
}

.small-para {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

/* Media Queries */
@media (max-width: 1440px) {
  .nav {
    padding: 0 80px;
  }

  .hero-section,
  .container2 {
    padding: 40px 80px;
  }
}

@media (max-width: 1200px) {
  #text1 {
    font-size: 48px;
  }

  #text3 {
    font-size: 36px;
  }

  .container1 .box,
  .mainbox {
    gap: 40px;
  }

  .nav {
    padding: 0 60px;
  }

  .hero-section,
  .container2 {
    padding: 40px 60px;
  }
}

@media (max-width: 1024px) {
  .nav .options {
    gap: 30px;
  }

  .nav {
    padding: 0 40px;
  }

  .hero-section,
  .container2 {
    padding: 40px 40px;
  }
}

@media (max-width: 900px) {
  .nav .options {
    gap: 20px;
  }

  .nav .options p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .nav .options,
  .nav .btnCont {
    display: none;
  }

  .side-setting {
    display: block;
  }

  .nav .menu {
    display: block;
  }

  .nav {
    padding: 0 20px;
  }

  .container1 .box {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  #text1 {
    font-size: 36px;
  }

  .container1 .box .box1 .btn {
    flex-direction: column;
  }

  .container2 .box1 {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  #text3 {
    font-size: 32px;
  }

  .mainbox {
    flex-direction: column;
    gap: 40px;
  }

  .box3 .div1 {
    padding: 20px;
  }

  .hero-section,
  .container2 {
    padding: 40px 20px;
  }

  /* Make sidebar full width on mobile */
  .sidebar-content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 15px;
    height: 80px;
  }

  .nav .logo {
    height: 40px;
    width: 120px;
  }

  .sidebar-menu {
    width: 87%;
    right: -100%;
  }

  #text1 {
    font-size: 28px;
  }

  #text3 {
    font-size: 24px;
  }

  .hero-section {
    padding: 20px 15px;
  }

  .container2 {
    padding: 20px 15px;
    gap: 40px;
  }

  .box3 .div1 {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .box2 #v1 {
    height: 21px;
    width: 85px;
    position: absolute;
    bottom: -30px;
    left: -10px;
  }
  .box2 #v2 {
    height: 73px;
    width: 63px;
  }

  /* Ensure sidebar takes full width */
  .sidebar-content {
    padding: 20px;
    max-width: 100%;
  }
}

/* Overlay for sidebar background shadow */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* cover full screen */
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* this creates the shadow effect */
  opacity: 0; /* start hidden */
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999; /* below sidebar (z-index:1000) */
}

/* When sidebar is open */
#check:checked ~ .sidebar-overlay {
  opacity: 1;
  visibility: visible;
}
#check:checked ~ .nav-container {
  visibility: hidden;
}
