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

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  padding-top: 90px;
  /* background-color: black; */
}

/* ----------------------------------------------------navbar---------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  height: 90px;
  padding: 1rem;
  background-color: #3F51B5 ;
  /* border-radius: 0 0 15px 15px; */
}

/* ---------------------------------------------Hamburger Menu-------------------------- */
.menu-button {
  position: fixed;
  top: 29px;
  right: 25px;
  z-index: 1002;
  cursor: pointer;
}

.bar {
  width: 32px;
  height: 3px;
  margin: 6px 0;
  background: black;
  border-radius: 4px;
  transition: 0.3s;
}

.menu-button.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-button.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-button.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* -------------------------------------------Side Menu------------------------------- */
.side-menu {
  position: fixed;
  top: 90px; /* Start below the navbar */
  right: -100%;
  width: 70%;
  max-width: 320px;
  height: calc(100% - 90px); /* Adjust height for navbar */
  background-color: #3F51B5;
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 2rem 1rem;
}

.side-menu.open {
  right: 0;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.menu-list a {
  color: white;
  text-decoration: none;
  /* z-index: 1005; */
}

.has-submenu > a::after {
  content: " ▼";
  font-size: 0.8rem;
}

.submenu {
  display: none;
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu a {
  font-size: 1rem;
}

/* --------------------------------- 3D CAROUSEL STYLES ----------------------------- */
.swiper {
  width: 90%;
  max-width: 1000px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 10px;
  border-radius: 20px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  /* height: auto; */
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); */
  transition: transform 0.3s;
  /* border: 1px solid green; */
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border:  1px solid red; */
  border-radius: 20px;
}


/* -------------------------------------menu-section------------------------------ */
/* Responsive adjustments */
@media (max-width: 600px) {
  .side-menu {
    width: 65%;
    max-width: none;
    padding: 1.5rem 0.5rem;
  }
  .navbar {
    padding: 0.5rem;
    height: 70px;
  }
  .side-menu {
    top: 70px;
    height: calc(100% - 70px);
  }
  body {
    padding-top: 70px;
  }
}

@media (min-width: 1024px) {
  .first-part {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: #f8f8f8;
    padding: 40px 0;
  }
  .part-content {
    max-width: 600px;
    text-align: center;
    padding: 40px;
    /* background: #fff; */
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    /* opacity: transparent; */
    /* border: 1px solid red; */
    margin-bottom: 50px;
  }
  .part-content p {
    font-size: 1.4rem;
    margin-bottom: 18px;
    font-weight: bold;
  }
  .btn {
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 8px;
  }
}
