* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
  background-color: #fff;
  position: relative;
  overflow-x: hidden;
}

/* Base responsive styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.cursor {
  height: 60px;
  width: 60px;
  background-color: #686868da;
  border-radius: 50%;
  position: fixed;
  z-index: 1;
}

#home-section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: 20px;
}

@media (min-width: 768px) {
  #home-section {
    padding: 35px 50px;
  }
}

@media (min-width: 1024px) {
  #home-section {
    padding: 35px 100px;
  }
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
  transform-origin: center;
}

/* Hamburger animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-overlay {
    display: block;
  }
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100%;
  background-color: #fff;
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-logo h1 {
  font-size: 24px;
  font-weight: 550;
  margin: 0;
}

.mobile-menu-close {
  font-size: 30px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.mobile-menu-links {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-links a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.mobile-menu-links a:hover {
  color: #b9ff66;
  padding-left: 10px;
}

.mobile-menu-links a:last-of-type {
  border-bottom: none;
}

.mobile-cta-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 550;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.mobile-cta-btn:hover {
  background-color: #333;
}

/* Hide mobile menu on desktop */
.mobile-menu-toggle {
  display: none;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

@media (max-width: 768px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .desktop-nav {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .part1 {
    flex: 1;
  }
}

.part1 {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.part1 h1 {
  font-size: 30px;
  font-weight: 550;
  margin: 0;
}

.logo-img {
  height: 35px;
  width: 35px;
  object-fit: contain;
}

.part1 h1 i {
  display: inline-block;
  rotate: 45deg;
  font-size: 38px;
}

.desktop-nav h3 {
  font-weight: 500;
  font-family: sans-serif;
  cursor: pointer;
}

.desktop-nav button {
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 550;
  border: 1.9px solid #000;
  cursor: pointer;
}

.center {
  min-height: 70vh;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0;
  gap: 40px;
}

@media (min-width: 768px) {
  .center {
    padding: 60px 0;
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .center {
    padding: 80px 0;
    gap: 0;
  }
}

.center-part1 {
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .center-part1 {
    width: 50%;
    text-align: left;
  }
}

.center-part1 h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 45px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .center-part1 h1 {
    font-size: 60px;
    line-height: 65px;
  }
}

@media (min-width: 1024px) {
  .center-part1 h1 {
    font-size: 90px;
    line-height: 100px;
  }
}
.center-part1 p {
  margin: 30px 0;
}
.black-btn {
  padding: 15px 40px;
  background-color: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.center-part2 {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .center-part2 {
    width: 50%;
  }
}

.center-part2 img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .center-part2 img {
    height: 130%;
    width: 100%;
    position: absolute;
    right: 0;
    max-width: none;
  }
}

.bottom-section {
  height: 25%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.bottom-section img {
  height: 125px;
  width: 125px;
  object-fit: contain;
}

#services-section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: 20px;
}

@media (min-width: 768px) {
  #services-section {
    padding: 35px 50px;
  }
}

@media (min-width: 1024px) {
  #services-section {
    padding: 35px 100px;
  }
}

.services {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .services {
    gap: 0 50px;
    flex-wrap: nowrap;
  }
}

.services h3 {
  background-color: #b9ff66;
  font-size: 30px;
  padding: 5px;
  font-weight: 500;
  border-radius: 10px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .services h3 {
    font-size: 45px;
  }
}

@media (min-width: 1024px) {
  .services h3 {
    font-size: 60px;
  }
}

.services p {
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .services p {
    width: 50%;
    text-align: left;
  }
}

.container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
  }
}

.elem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  min-height: 250px;
  width: 100%;
  border: 3px solid #000;
  border-radius: 30px;
  box-shadow: 0 6px 0 black;
  padding: 30px;
  position: relative;
}

@media (min-width: 768px) {
  .elem {
    min-height: 300px;
    border-radius: 40px;
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .elem {
    height: 300px;
    width: 46%;
    border-radius: 50px;
    padding: 50px;
  }
}
.element1 h2 {
  background-color: #b9ff66;
  font-size: 20px;
  padding: 2px;
  font-weight: 500;
  border-radius: 10px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .element1 h2 {
    font-size: 25px;
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .element1 h2 {
    font-size: 30px;
    margin-bottom: 80px;
  }
}
.element1 p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 20px;
  gap: 15px;
  font-weight: 500;
}
.element1 p i {
  padding: 5px;
  background-color: #000;
  font-size: 35px;
  color: #fff;
  border-radius: 50%;
}

.elem img {
  height: 150px;
  width: 150px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .elem img {
    height: 200px;
    width: 200px;
  }
}

@media (min-width: 1024px) {
  .elem img {
    height: 300px;
    width: 300px;
  }
}

.black {
  background-color: #000;
}
.element-black h2 {
  width: 70%;
  background-color: #fff;
  color: #111;
}

.element-black p {
  color: #fff;
}
.element-black p i {
  background-color: white;
  color: #000;
}
.imgbox img {
  height: 100px;
  width: 100px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .imgbox img {
    height: 120px;
    width: 120px;
  }
}

@media (min-width: 1024px) {
  .imgbox img {
    height: 150px;
    width: 150px;
  }
}

#contact-section {
  margin-top: 80px;
  padding: 20px;
}

@media (min-width: 768px) {
  #contact-section {
    margin-top: 120px;
    padding: 40px 50px;
  }
}

@media (min-width: 1024px) {
  #contact-section {
    margin-top: 150px;
    padding: 40px 100px;
  }
}
.contact {
  background-color: #ebeaea;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
  gap: 30px;
}

@media (min-width: 768px) {
  .contact {
    padding: 40px;
    flex-direction: row;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .contact {
    padding: 0px 80px;
    gap: 0;
  }
}
.contact-element {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-element {
    width: 50%;
    text-align: left;
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .contact-element {
    width: 35%;
    gap: 40px;
  }
}
.contact-element h2 {
  font-size: 28px;
  font-weight: 550;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .contact-element h2 {
    font-size: 35px;
  }
}

@media (min-width: 1024px) {
  .contact-element h2 {
    font-size: 45px;
  }
}

#caseStudy-section {
  padding: 20px;
}

@media (min-width: 768px) {
  #caseStudy-section {
    padding: 40px 50px;
  }
}

@media (min-width: 1024px) {
  #caseStudy-section {
    padding: 40px 100px;
  }
}

.caseBox-container {
  margin-top: 30px;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background-color: rgb(32, 32, 32);
  color: #ffffffcd;
  font-weight: 400;
}

@media (min-width: 768px) {
  .caseBox-container {
    margin-top: 40px;
    padding: 30px;
    flex-direction: row;
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .caseBox-container {
    margin-top: 50px;
    padding: 40px;
    gap: 40px;
  }
}
.caseBox {
  border-right: none;
  border-bottom: 2px solid #ffffffcd;
  padding-right: 0;
  padding-bottom: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  .caseBox {
    border-right: 2px solid #ffffffcd;
    border-bottom: none;
    padding-right: 20px;
    padding-bottom: 0;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .caseBox {
    padding-right: 40px;
  }
}
.caseBox h4 {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .caseBox h4 {
    margin-bottom: 30px;
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .caseBox h4 {
    margin-bottom: 40px;
    font-size: inherit;
  }
}
.caseBox p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  font-size: 17px;
  color: #b9ff66;
  cursor: pointer;
}
.caseBox p i {
  font-size: 20px;
  color: #b9ff66;
}

@media (min-width: 768px) {
  .caseBox p i {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  .caseBox p i {
    font-size: 28px;
  }
}

/* Mobile-specific improvements */
@media (max-width: 767px) {
  .part1 h1 {
    font-size: 24px;
  }
  
  .logo-img {
    height: 30px;
    width: 30px;
  }
  
  .black-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
  
  .part2 button {
    padding: 8px 20px;
    font-size: 14px;
  }
  
  .center-part1 p {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .bottom-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .bottom-section h3 {
    font-size: 20px;
  }
  
  .bottom-section p {
    font-size: 14px;
  }
}

/* Tablet-specific improvements */
@media (min-width: 768px) and (max-width: 1023px) {
  .center-part1 h1 {
    font-size: 50px;
    line-height: 55px;
  }
  
  .services h3 {
    font-size: 40px;
  }
  
  .contact-element h2 {
    font-size: 32px;
  }
}

