/* Overall */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-anchor: none;
}

main {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

body,
main {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  font-family: 'Jua', sans-serif;
  line-height: 1.6;
  color: #1e2120;
}

footer {
  background-color: #23423f;
  font-size: 1.25rem;
  color: darkgray;
  text-align: center;
  padding: 1.5rem 0;
  width: 100%;
}

/* -------------------------------------------------------------------------------------------------------------*/

/* Intro Loader */

#intro-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1.3s ease 3s forwards;
  font-family: "Julius Sans One", sans-serif;
}

.intro-logo {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 4.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.company-title {
  font-family: "Julius Sans One";
  font-size: 8rem;
  font-style: normal;
  line-height: 9rem;
  letter-spacing: 3px;
  background: #f4eee0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem;
  text-align: center;
  display: inline-block;
}

.moto-container {
  display: inline-block;
  width: max-content;
}

.moto {
  color: #23423f;
  font-family: "Jua";
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.9rem;
  letter-spacing: 1px;
  margin: 0.5rem;
  border-right: 3px solid #f4eee0;
  /* Cursor effect */
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  animation: typing 3s steps(38, end) forwards, blink 0.9s infinite;
}

@keyframes typing {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Header Designing */

header {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: rgb(132, 145, 122, 0.4);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  position: fixed;
  z-index: 1000;
  transition: height 0.3s ease-in-out;
  font-family: 'Jua', sans-serif;
}

.left_container {
  display: flex;
  align-items: center;
}

.left_elements {
  padding: 5px 10px;
  color: #23423f;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
}

.left_elements:hover {
  color: #f4eee0;
  /* Change text color on hover */
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

.logo {
  width: 25%;
  height: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.5));
  margin-left: 20%;
  margin-right: 3%;
}

.company-logo {
  width: 25%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  transition: width 0.3s ease-in-out;
}

/* Navigation Bar */

nav {
  width: fit-content;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #23423f;
  text-decoration: none;
  padding: 5px 10px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: max-content;
  font-weight: 500;
  font-size: 1.2rem;
}

nav a:hover {
  color: #f4eee0;
  /* Change text color on hover */
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  animation: float 2s ease-in-out infinite;
}

nav ul {
  list-style: none;
  padding: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav li {
  display: inline;
  margin-right: 2.5px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #23423f;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle:hover {
  color: #f4eee0;
}

.mobile-logo {
  display: none;
}

.mobile-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(145deg, #f4eee0 0%, #e8ddc3 50%, #dac9a0 100%);
  z-index: 99999; /* Much higher z-index */
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.mobile-dropdown.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(35, 66, 63, 0.2);
}

.mobile-dropdown-logo {
  width: 50px;
  height: auto;
}

.mobile-close-btn {
  background: none;
  border: none;
  color: #23423f;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
}

.mobile-close-btn:hover {
  color: #37717f;
}

.mobile-dropdown-content {
  padding: 20px;
}

.mobile-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: center;
}

.mobile-dropdown li {
  margin: 0;
}

.mobile-dropdown a {
  display: block;
  padding: 15px 20px;
  color: #23423f;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-dropdown a:hover {
  color: #37717f;
}

.mobile-social-links {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(35, 66, 63, 0.2);
}

.mobile-social-links a {
  display: inline-block;
  margin: 0 15px;
  padding: 10px;
}

.mobile-social-links img {
  width: 24px;
  height: 24px;
}
@media (min-width: 1430px) {
  .founder-container {
    justify-self: start;
  }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    justify-content: space-between;
    background: rgba(132, 145, 122, 0.9) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    z-index: 50000;
    box-sizing: border-box;
    isolation: isolate;
  }

  .hero-wrapper-1 {
    padding-top: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-heading {
    margin-top: 10px;
  }

  .left_container {
    display: none;
  }

  .logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }

  nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  main {
    margin-top: 0px;
  }

  #services-section {
    z-index: 1 !important;
  }

  #hero-section {
    z-index: 1 !important;
  }
}
/* Keep full screen header unchanged */
@media (min-width: 769px) {
  .mobile-menu-toggle,
  .mobile-dropdown,
  .mobile-logo {
    display: none !important;
  }
}
/* --------------------------------------------------------------------------------------------------------------*/

/* Sections overall */

#hero-section,
#services-section,
#about-us,
#blog-section,
#contact-section,
#design_branding_hero,
#design_branding_services,
#photography_hero,
#photography_services,
#blockchain_web3_hero,
#blockchain_web3_services {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  min-height: 100vh;
  overflow-anchor: none;
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Hero Section */

#hero-section {
  background: linear-gradient(
    145deg,
    #253936 0%,
    #23423f 20%,
    rgba(218, 201, 160, 0.75) 75%,
    #e8ddc3 90%,
    #f4eee0 100%
  );
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-wrapper-1 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 52%;
  padding-left: 8%;
  padding-top: 5%;
}

.hero-heading {
  font-family: "Julius Sans One";
  font-size: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  line-height: 5rem;
  padding: 2%;
}

.hero-head {
  color: #f4eee0;
}

.hero-subheading {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  padding: 2%;
  font-weight: 100;
  line-height: 2rem;
  color: #232322;
}

.hero-btns-container {
  display: flex;
  width: 75%;
  padding: 2%;
}

.quote-btn-container,
.contact-btn-container {
  margin: 2.5%;
  height: 2.5rem;
  width: 15rem;
}

.quote-btn,
.contact-btn {
  width: 100%;
  border-style: none;
  border-radius: 15px;
  background: #23423f;
  font-weight: 300;
  font-size: 1.2rem;
  font-family: "Jua";
  box-shadow: 0px 0.5px 2px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  color: #f4eee0;
  line-height: 2rem;
  padding-block-start: 2.5%;
  padding-block-end: 2.5%;
  margin-block-start: 5%;
  margin-block-end: 5%;
}

.quote-btn:hover,
.contact-btn:hover {
  background: #f4eee0;
  color: black;
  box-shadow: 0px 0.5px 2px 2px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

.hero-wrapper-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48%;
  padding-right: 4%;
}

.hero-image-container {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10%;
}

.mobile-float-wrapper {
  animation: float 2s ease-in-out infinite;
}

#mobile-frame {
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateX(15deg) rotateY(-25deg) rotateZ(20deg);
  /* Tilt right from the top */
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.mobile-img {
  width: 45%;
  height: auto;
  display: block;
  filter: drop-shadow(8px 16px 16px rgba(0, 0, 0, 0.8));
}

.mobile-video {
  position: absolute;
  width: 40.5%;
  height: 92%;
  border-radius: 5px;
  object-fit: cover;
}

/* Quote background */
.wrapper-quote {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

/* Quote box */
.quote-content {
  background: rgba(218, 201, 160, 0.75);
  box-shadow: 0px 2px 5px 5px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  position: relative;
  animation: fadeIn 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.quote-heading {
  font-family: "Julius Sans One";
  font-size: 3.5rem;
  color: #23423f;
  margin-bottom: 1rem;
}

/* Form styling */
#quote-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 90%;
}

#quote-form input,
#quote-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  width: 100%;
}

#quote-form button {
  background-color: #23423f;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 80%;
  font-size: 1.2rem;
  font-family: "jua";
}

#quote-form button:hover {
  background: #f4eee0;
  color: black;
  box-shadow: 0px 0.5px 2px 2px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.captcha-label {
  font-weight: bold;
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.response-time {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  color: #333;
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Services Section */

#services-section {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(120deg, #d9cbb2 0%, #c7b491 50%, #f4eee0 100%);
  z-index: 1;
  box-shadow: 3px -6px 9px rgba(0, 0, 0, 0.25),
    /* Top shadow */ 3px 6px 9px rgba(0, 0, 0, 0.25);
  /* Bottom shadow */
  flex-direction: column;
}

h2.services-included {
  font-family: "Julius Sans One";
  text-align: center;
  font-size: 4.25rem;
  letter-spacing: 1px;
  margin: 2.25% 0;
}

.swiper {
  width: 90vw;
  height: 500px;
  /* Set a height for visibility */
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  background: #37717f;
  color: white;
  width: 80%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(255, 126, 95, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  position: relative;
}

.swiper-slide:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 30px #37717f 0.5;
  z-index: 10;
}

/* Ensure Swiper Navigation and Pagination are visible */
.swiper-pagination {
  bottom: 10px;
  color: white;
  position: absolute;
  z-index: 10;
  /* Ensure it's above slides */
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  /* Make them visible */
  z-index: 10;
  /* Bring to front */
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #37717f;
  /* Add hover effect */
}

.card-sec2 {
  position: fixed;
  width: 64%;
  height: 100%;
  background: #f4eee0;
  border-radius: 12px 0px 0px 12px;
  left: 0%;
}

.top-card {
  width: 37%;
  height: 55%;
  position: absolute;
  background: #9ab7bc;
  top: 20%;
  left: 61%;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(1px 3px 5px black);
}

.top-card-img {
  width: 75%;
  height: 90%;
  object-fit: cover;
  animation: float 2s ease-in-out infinite;
}

.content-card {
  height: 40%;
  position: absolute;
  z-index: 10;
  top: 14%;
  left: 10%;
  width: 50%;
}

.card-heading {
  font-size: 3.25rem;
  color: black;
  font-family: "Julius Sans One";
  padding: 10px;
}

.card-content {
  font-size: 1.2rem;
  color: black;
  padding: 10px;
  line-height: 1.75rem;
}

.get-started-btn {
  position: absolute;
  top: 80%;
  left: 40%;
}

.get-started {
  font-size: 1rem;
  border-radius: 20px;
  height: 2.25rem;
  width: 150%;
  background: #b5835a;
  color: white;
  font-weight: 500;
  border-style: double;
  box-shadow: 0px 1px 2px 2px rgba(0, 0, 0, 0.3);
  border-color: wheat;
}

.get-started:hover {
  background: rgba(212, 194, 171, 0.8);
  color: black;
}
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    justify-content: space-between;
    background-color: rgb(132, 145, 122, 0.4);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    z-index: 1000;
    box-sizing: border-box;
  }

  /* Force main sections to have lower z-index in mobile */
  #services-section {
    z-index: 0 !important;
  }

  #hero-section {
    z-index: 1 !important;
  }

  main {
    margin-top: 70px;
    z-index: 1;
  }

  .left_container {
    display: none;
  }

  .logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }

  nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  .content-card {
    width: 100%;
    height: 100%;
    top: -8%;
    left: 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: small;
    padding: 0px;
  }
  .card-content {
    font-size: 0.65rem;
    line-height: 1rem;
    padding: 0.5px;
  }
  .get-started-btn {
    position: absolute !important;
    top: 80% !important;
    left: 50% !important; /* Center horizontally */
    transform: translateX(-50%) !important; /* Perfect centering */
    margin-block-start: 0.25rem !important;
    margin-block-end: 0.25rem !important;
    z-index: 10 !important;
    width: auto !important; /* Let button determine its own width */
  }

  .get-started {
    font-size: 0.75rem !important;
    width: 100px !important; /* Fixed width instead of percentage */
    line-height: 1.2rem !important;
    height: 1.5rem !important;
    text-align: center !important;
    padding: 2px 8px !important;
    box-sizing: border-box !important;
  }
}

/* --------------------------------------------------------------------------------------------------------------*/

/* About Us Section */

section#about-us {
  width: 100%;
  height: 100%;
  overflow: hidden;
  align-items: center;
  flex-direction: row;
  position: relative;
}

.about-us1 {
  width: 50%;
  height: 100vh;
  background: #3c4f3e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.about-content {
  position: absolute;
  transform: rotate(270deg);
}

.about-us2 {
  width: 50%;
  height: 100vh;
  background: #c19a6b;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

h2.about-us-heading {
  font-family: "julius Sans One";
  text-align: center;
  font-size: 3.65rem;
  letter-spacing: 1px;
  margin: 2.25% 0;
  width: 100%;
  background: linear-gradient(to top, #3c4f3e 50%, #c19a6b 50%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-us1-bg {
  z-index: -1;
  position: absolute;
  top: -140%;
}

.about-us1-img {
  width: 100%;
  height: 100%;
  opacity: 0.65;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.75));
}

.left-heading {
  font-family: julius Sans One;
  color: beige;
  z-index: 2;
  text-align: center;
}

.left-topic-head {
  font-size: 3.5rem;
  padding: 1rem;
}

.left-topic-subhead {
  font-size: 1.1rem;
  padding: 1rem;
  line-height: 1.8rem;
  margin-top: 3rem;
}
.topic-content {
  font-size: 1rem;
  color: white;
  letter-spacing: 0.5px;
  word-spacing: 2px;
  width: 85%;
  justify-self: center;
  margin-top: 2rem;
}

.about-us2-content {
  width: 75%;
  height: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  line-height: 2.25rem;
  color: #29392b;
  flex-direction: column;
}

#story-content {
  font-size: 1.25rem;
  line-height: 2rem;
  width: 85%;
  height: 80%;
  padding: 10px;
}

#mission-content {
  font-size: 1.25rem;
  line-height: 1.5rem;
  width: 85%;
  height: 80%;
  padding: 10px;
}

.comma {
  font-family: jua;
  font-size: 1.9rem;
}

.about-us1-content-warpper,
.about-us2-content {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  position: absolute;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.about-us1-content-warpper.active,
.about-us2-content.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  z-index: 2;
}

.about-us1,
.about-us2 {
  position: relative;
}

.about-us2-content-wrapper {
  display: flex;
  justify-content: center;
}

.founder-3d-container {
  perspective: 1000px;
  /* transform-style: preserve-3d; */
  right: 2rem;
}

.founder-3d-rotate {
  /* animation: rotate3D 6s ease-in-out infinite;
  transform-origin: center center;
  transition: transform 0.3s ease; */
}

.founder-3d-rotate:hover {
  animation-play-state: paused;
  transform: rotateY(15deg) rotateX(5deg) scale(1.05);
}

@keyframes rotate3D {
  0% {
    transform: rotateY(-20deg) rotateX(0deg);
  }

  50% {
    transform: rotateY(20deg) rotateX(0deg);
  }

  100% {
    transform: rotateY(-20deg) rotateX(0deg);
  }
}

@keyframes gentleRotate3D {
  0% {
    transform: rotateY(-20deg) rotateX(5deg);
  }

  50% {
    transform: rotateY(20deg) rotateX(-5deg);
  }

  100% {
    transform: rotateY(-20deg) rotateX(5deg);
  }
}

.about-us-btn {
  position: absolute;
  top: 90%;
  right: 10%;
  border-radius: 10px;
  height: 2.25rem;
  width: 6rem;
  border: none;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  background-color: #23423f;
  color: beige;
  font-family: jua;
  font-size: 1.3rem;
}

.about-us-btn:hover {
  background-color: #f4eee0;
  color: black;
  box-shadow: 0px 0.5px 2px 2px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Blog Section */

#blog-section {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  align-items: center;
  flex-direction: row;
  background-color: #dac9a0;
}

.blog-wrapper-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 85%;
  height: 100%;
}

.blog-wrapper-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 15%;
  height: 100vh;
  position: relative;
  background-color: #23423f;
  filter: drop-shadow(1px 25px 20px rgba(0, 0, 0, 1));
}

.our-blogs-title {
  transform: rotate(90deg);
  color: #f4eee0;
  font-family: "Julius Sans One";
  font-size: 4.5rem;
  letter-spacing: 3px;
}

.blog-heading {
  font-family: "Julius Sans One";
  font-size: 6rem;
  color: #23423f;
  text-align: center;
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Contact Section */

#contact-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  height: 100%;
  align-items: center;
  background: linear-gradient(
    145deg,
    #253936 0%,
    #23423f 20%,
    rgba(218, 201, 160, 0.75) 75%,
    #e8ddc3 90%,
    #f4eee0 100%
  );
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  width: 80%;
}

.form-heading {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 50%;
}

h2.contact-us {
  font-family: "Julius Sans One", sans-serif;
  font-size: 5rem;
  letter-spacing: 1px;
  margin: 0.5rem 0;
  width: 100%;
  color: #e4dac3;
}

.we-are-at-container {
  width: 100%;
  margin-top: 2.5%;
}

p.contact-desc-head {
  font-family: "Julius Sans One", sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 2.5rem;
  font-weight: 900;
}

.contact-us-at {
  margin: 5% 0;
  width: 85%;
}

p.contact-desc {
  font-family: "Jua", sans-serif;
  font-size: 1.5em;
  letter-spacing: 1px;
  line-height: 2rem;
  font-weight: 100;
  color: #1a1a19;
}

.whatsapp-btn {
  background: #23423f;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 1.25rem;
  font-family: "Jua";
  width: 28%;
  border: none;
  border-radius: 25px;
  padding: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  color: #e4dac3;
}

.whatsapp-btn:hover {
  background: linear-gradient(45deg, #9bcbae 0%, #73a39f 50%, #61be83 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.75);
  color: black;
}

.whatsapp-icon {
  width: 25%;
  height: 25%;
}

.form-section {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
  justify-content: flex-end;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  background-color: rgba(214, 210, 174, 0.25);
  box-shadow: 0px 2px 5px 5px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  height: 90%;
  margin: 2.5% 0;
  padding: 3%;
  font-size: 1.4rem;
}

form.contact-form {
  width: 100%;
  margin: 0rem 0.5rem 0rem 1.5rem;
  height: 100%;
}

.full-name,
.mail,
.mobile-number,
.company-name,
.project-type,
.project-cost,
.project-timeline,
.website-link,
.referral-source,
.contact-type,
.file-upload,
.project-message {
  padding: 2%;
  width: 100%;
}

label {
  font-family: "Jua", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="file"],
select,
textarea {
  border: none;
  height: 2.2rem;
  padding: 0.5rem;
  margin: 0 0.5%;
  width: 75%;
  background-color: rgba(400, 400, 400, 0.75);
  border-radius: 1rem;
  font-size: 1rem;
  font-family: "Jua", sans-serif;
}

input[type="file"] {
  height: fit-content;
  width: 50%;
}

input[type="radio"],
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: black;
}

textarea {
  height: 6rem;
  resize: vertical;
}

.checkbox-group label,
.contact-type label {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1rem;
}

button#nextBtn,
button#submitBtn {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 2rem;
  background-color: #23423f;
  width: 8rem;
  height: 2.5rem;
  font-size: 1rem;
  color: #f4eee0;
  font-weight: 200;
  border: none;
  cursor: pointer;
  transition: background-color 0.4s ease;
  margin: 1rem auto;
  display: block;
  font-family: "Jua", sans-serif;
  font-size: 1.25rem;
}

button#nextBtn:hover,
button#submitBtn:hover {
  background-color: #f4eee0;
  color: black;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.75);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: rgba(218, 201, 160, 0.75);
  width: 80%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #c00;
}

.success-message {
  display: none;
  color: green;
  text-align: center;
  margin-top: 1rem;
  font-family: "Jua", sans-serif;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Logos Flow Section */

#logo-flow-section {
  background-color: #dac9a0;
  min-height: fit-content;
}
/* Keyframe animation for logo scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-scroll {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.logo-scroll > div {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.overflow-hidden {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .logo-scroll {
    animation-duration: 22s !important;
  }

  /* Make logos slightly smaller on mobile if needed */
  .logo-scroll .min-w-\[120px\] {
    min-width: 100px;
    padding: 1rem;
  }

  .logo-scroll span {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-scroll {
    animation-duration: 22s !important;
  }

  .logo-scroll .min-w-\[120px\] {
    min-width: 90px;
    padding: 0.75rem;
  }

  .logo-scroll span {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .logo-scroll {
    animation-duration: 18s !important;
  }

  .logo-scroll .min-w-\[120px\] {
    min-width: 80px;
    padding: 0.5rem;
  }

  .logo-scroll span {
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Media Queries */

@media (min-width: 1000px) and (max-width: 1430px) {
  .company-title {
    font-size: 6.25rem;
    line-height: 7.35rem;
  }
  .moto {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }

  .left_elements {
    font-size: 1.15rem;
  }
  nav ul {
    padding: 10px;
  }
  nav li {
    margin-right: 0px;
  }
  nav a {
    font-size: 1.1rem;
    padding: 2.5px 5px;
  }
  .logo {
    margin-left: 9%;
    margin-right: 0%;
  }

  .hero-wrapper-1 {
    padding-left: 5%;
    padding-top: 3%;
  }
  .hero-heading {
    font-size: 2.6rem;
    line-height: 4rem;
    padding: 1%;
  }
  .hero-subheading {
    padding: 1%;
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
  .quote-btn-container,
  .contact-btn-container {
    height: 2rem;
    width: 12.75rem;
  }
  .quote-btn,
  .contact-btn {
    font-size: 1rem;
    line-height: 1.75rem;
  }

  h2.services-included {
    font-size: 3.75rem;
  }
  .card-heading {
    font-size: 2.25rem;
  }
  .card-content {
    font-size: 1.05rem;
    line-height: 1.35rem;
  }
  .swiper {
    width: 90vw;
    height: 40vw;
    margin-block-end: 2.5%;
  }

  .left-heading {
    text-align: center;
    width: 90%;
  }
  .left-topic-head {
    font-size: 2.8rem;
  }
  .left-topic-subhead {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
  #founder-content {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  #story-content,
  #mission-content {
    max-height: 28rem;
    font-size: 1.1rem;
    line-height: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-anchor: none;
    scroll-behavior: auto;
    display: block;
    width: 85%;
    height: 80%;
    padding: 10px;

    /* Thin scrollbar styling */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #8b7355 transparent; /* Firefox - thumb and track color */
  }

  /* Webkit browsers (Chrome, Safari, Edge) */
  #story-content::-webkit-scrollbar,
  #mission-content::-webkit-scrollbar {
    width: 4px; /* Make scrollbar very thin */
  }

  #story-content::-webkit-scrollbar-track,
  #mission-content::-webkit-scrollbar-track {
    background: transparent; /* Hide the track */
  }

  #story-content::-webkit-scrollbar-thumb,
  #mission-content::-webkit-scrollbar-thumb {
    background: #8b7355; /* Brown color matching your theme */
    border-radius: 2px;
    opacity: 0.7;
  }

  #story-content::-webkit-scrollbar-thumb:hover,
  #mission-content::-webkit-scrollbar-thumb:hover {
    background: #6b5635; /* Darker brown on hover */
    opacity: 1;
  }

  /* Ensure proper spacing for lists and paragraphs */
  #story-content p,
  #story-content ul,
  #mission-content p,
  #mission-content ul {
    margin: 0 0 1rem 0;
  }

  /* Position the content containers properly within their parent */
  .about-us2-content {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 2rem;
  }
  /* #mission-content {
    font-size: 1.05rem;
    line-height: 1.4rem;
  } */

  .blog-heading {
    font-size: 5.5rem;
  }

  h2.contact-us {
    font-size: 4rem;
  }
  p.contact-desc-head {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
  p.contact-desc {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .whatsapp-btn {
    width: 36%;
    font-size: 1.1rem;
  }
  .form-container {
    font-size: 1.3rem;
  }
  button#nextBtn {
    width: 6.5rem;
    height: 2.25rem;
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Media Queries for tablets and small screens */

@media (min-width: 768px) and (max-width: 1024px) {
  #hero-section,
  #about-us,
  #blog-section,
  #contact-section {
    height: 75vh;
    min-height: 70vh;
  }

  #services-section {
    height: 100vh;
    min-height: 100vh;
  }
  .about-us1-bg {
    top: -90% !important;
    left: 44% !important;
    transform: translateX(-50%) !important;
    position: absolute !important;
  }
  .about-us1-img {
    width: 140%;
    height: 120%;
    opacity: 0.65;
  }
  .founder-container {
    align-self: start;
  }

  .company-title {
    font-size: 5rem;
    line-height: 6rem;
  }
  .moto {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }

  .left_elements {
    font-size: 1rem;
  }
  nav ul {
    padding: 2.5px;
  }
  nav li {
    margin-right: 0px;
  }
  nav a {
    font-size: 0.9rem;
    padding: 1.5px 3px;
  }
  .logo {
    margin-left: 5%;
    margin-right: 0%;
  }

  .hero-wrapper-1 {
    padding-left: 3%;
    padding-top: 1.5%;
  }
  .hero-heading {
    font-size: 2.1rem;
    line-height: 3rem;
    padding: 0.7%;
  }
  .hero-subheading {
    padding: 0.7%;
    font-size: 1rem;
    line-height: 1.4rem;
  }
  .quote-btn-container,
  .contact-btn-container {
    height: 1.5rem;
    width: 8.5rem;
  }
  .quote-btn,
  .contact-btn {
    font-size: 0.75rem;
    line-height: 1.35rem;
  }

  h2.services-included {
    font-size: 3rem;
  }
  .swiper {
    width: 90vw;
    height: 45vw;
    margin-block-end: 2.5%;
  }
  .card-heading {
    font-size: 1.6rem;
    padding: 2.5px;
  }
  .card-content {
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 2.5px;
  }
  .top-card-img {
    opacity: 0.75;
  }

  .left-heading {
    text-align: center;
    width: 90%;
  }
  .left-topic-head {
    font-size: 2.4rem;
  }
  .left-topic-subhead {
    font-size: 0.9rem;
    line-height: 1.35rem;
  }
  .about-us2-content-wrapper {
    padding: 0.5rem;
  }
  #founder-content {
    font-size: 1rem;
    line-height: 1.55rem;
  }
  #story-content {
    font-size: 1rem;
    line-height: 1.3rem;
  }
  #mission-content {
    font-size: 1rem;
    line-height: 1.3rem;
  }
  .about-us-btn {
    top: 94%;
  }
  .about-content {
    font-size: 3.9rem;
  }

  .blog-heading {
    font-size: 4.75rem;
  }

  h2.contact-us {
    font-size: 3.25rem;
  }
  p.contact-desc-head {
    font-size: 1.3rem;
    line-height: 1.7rem;
  }
  p.contact-desc {
    font-size: 1rem;
    line-height: 1.3rem;
  }

  .whatsapp-btn {
    width: 45%;
    font-size: 1rem;
  }
  .form-container {
    width: 85%;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="file"],
  select,
  textarea {
    width: 85%;
  }
  button#nextBtn {
    width: 5rem;
    height: 1.75rem;
    font-size: 1rem;
  }
  footer {
    font-size: 1.6rem;
  }
}

/* --------------------------------------------------------------------------------------------------------------*/

/* Media Queries for mobile devices */

@media (min-width: 320px) and (max-width: 739px) {
  #hero-section,
  #services-section,
  #about-us,
  #blog-section {
    height: 70vh;
    min-height: 45vh;
  }
  #contact-section {
    min-height: fit-content;
  }

  .company-title {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  .moto {
    font-size: 1rem;
    line-height: 1.2rem;
  }

  .left_elements {
    font-size: 1rem;
  }
  nav ul {
    padding: 2.5px;
  }
  nav li {
    margin-right: 0px;
  }
  nav a {
    font-size: 0.9rem;
    padding: 1.5px 3px;
  }
  .logo {
    margin-left: 5%;
    margin-right: 0%;
  }

  .hero-wrapper-1 {
    padding-left: 0%;
    padding-top: 0%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-wrapper-2 {
    display: none;
  }
  .hero-heading {
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 0.4%;
  }
  .hero-subheading {
    padding: 0.4%;
    font-size: 0.9rem;
    line-height: 1.1rem;
    width: 60%;
  }
  .hero-btns-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .quote-btn-container,
  .contact-btn-container {
    width: 7.75rem;
  }
  .quote-btn,
  .contact-btn {
    font-size: 0.75rem;
    line-height: 1.5rem;
  }

  h2.services-included {
    font-size: 2rem;
  }
  .swiper {
    width: 100vw;
    height: 75vw;
    margin-block-end: 2.5%;
  }
  .swiper-slide {
    background: linear-gradient(
      145deg,
      #c19a6b 0%,
      #c6b189 20%,
      rgba(212, 187, 129, 0.75) 75%,
      #d9cbb2 90%,
      #f4eee0 100%
    );
    height: 206px;
  }
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none;
  }
  .card-sec2 {
    display: none;
  }
  .top-card {
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    background-color: rgba(0, 0, 0, 0);
  }
  .top-card-img {
    opacity: 0.3;
  }
  .card-heading {
    font-size: 1rem;
    padding: 0.5px;
  }
  .content-card {
    width: 100%;
    height: 100%;
    top: -10%;
    left: 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
  }
  .card-content {
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0.5px;
  }
  .top-card-img {
    opacity: 0.3;
  }
  /* .get-started-btn {
    position: absolute;
    top: 80%;
    left: 35%;
    margin-block-start: 0.25rem;
    margin-block-end: 0.25rem;
    z-index: 10;
  } */
  .get-started {
    font-size: 0.75rem;
    width: 120%;
    line-height: 1.2rem;
    height: 1.25rem;
  }
  .founder-container {
    align-self: flex-start;
  }

  #about-us {
    flex-direction: column;
  }
  .about-us1,
  .about-us2 {
    width: 100%;
    height: 75vh;
    display: flex;
  }

  .about-us2-content-wrapper {
    overflow-y: auto;
    box-sizing: border-box;
    max-height: 35vh;
  }
  .about-content {
    transform: rotate(0deg);
    font-size: 3.75rem;
  }
  .left-heading {
    text-align: center;
    width: 90%;
  }
  .left-topic-head {
    font-size: 2.4rem;
  }
  .left-topic-subhead {
    font-size: 1rem;
    line-height: 1.35rem;
  }
  .topic-content {
    font-size: 1rem;
    color: white;
    overflow-y: auto;
    height: 14.5rem;
    max-height: fit-content;
    margin-top: 2rem;
  }
  #founder-content {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  #story-content,
  #mission-content {
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0;
    padding: 1rem;
  }
  .about-us-btn {
    top: 85%;
    right: 5%;
    font-size: 1rem;
    height: 1.75rem;
    width: 5rem;
    z-index: 10;
  }

  .blog-heading {
    font-size: 3.5rem;
  }
  .our-blogs-title {
    font-size: 2.75rem;
  }
  .about-us1-bg {
    top: -88%;
    left: 14%;
  }
  .about-us1-img {
    width: 80%;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .form-heading {
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    margin-block-start: 0.5%;
    margin-block-end: 0.5%;
    align-items: center;
  }
  .form-section {
    width: 100%;
    justify-content: center;
  }
  .form-container {
    width: 100%;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="file"],
  select,
  textarea {
    width: 85%;
  }
  h2.contact-us {
    font-size: 2.5rem;
  }
  p.contact-desc-head {
    font-size: 1.15rem;
    line-height: 1.4rem;
  }
  p.contact-desc {
    font-size: 1rem;
    line-height: 1.2rem;
  }
  .whatsapp-button {
    position: relative;
    left: 20%;
    width: 80%;
  }
  .whatsapp-btn {
    width: 50%;
    font-size: 0.8rem;
  }
  .form-container {
    font-size: 1rem;
  }
  .label {
    font-size: 1.05rem;
  }
  button#nextBtn {
    width: 5rem;
    height: 1.75rem;
    font-size: 1rem;
  }
  .modal-content {
    background-color: rgba(218, 201, 160, 0.75);
    width: 87%;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
  }
}
/* Small phones - ADD THIS */
@media (max-width: 374px) {
  .company-title {
    font-size: 2.5rem !important;
    line-height: 3rem !important;
  }
  .hero-heading {
    font-size: 1.25rem !important;
    line-height: 1.6rem !important;
  }
  .hero-subheading {
    font-size: 0.8rem !important;
    line-height: 1rem !important;
  }
}

/* Medium phones - ADD THIS */
@media (min-width: 375px) and (max-width: 413px) {
  .hero-heading {
    font-size: 1.4rem !important;
    line-height: 1.8rem !important;
  }
}

/* Large phones - ADD THIS */
@media (min-width: 414px) and (max-width: 639px) {
  .hero-heading {
    font-size: 1.4rem !important;
    line-height: 2rem !important;
  }
  .hero-subheading {
    font-size: 0.95rem !important;
    line-height: 1.2rem !important;
  }
}

/* Small tablets - ADD THIS */
@media (min-width: 640px) and (max-width: 767px) {
  .hero-heading {
    font-size: 2rem !important;
    line-height: 2.4rem !important;
  }
  .hero-wrapper-2 {
    display: flex !important;
    width: 40% !important;
  }
  .hero-wrapper-1 {
    width: 60% !important;
  }
}

/* Large screens - ADD THIS */
@media (min-width: 1431px) {
  .company-title {
    font-size: 7rem;
    line-height: 8rem;
  }
  .hero-heading {
    font-size: 3.2rem;
    line-height: 4.5rem;
  }
  .hero-subheading {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }
  h2.services-included {
    font-size: 4.5rem;
  }
  h2.contact-us {
    font-size: 4.5rem;
  }
}
/* Landscape phones and small tablets - ADD THIS */
@media (max-width: 926px) and (orientation: landscape) {
  /* Base section heights */
  #hero-section,
  #services-section,
  #about-us,
  #blog-section,
  #contact-section {
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
  }

  /* Hero section fixes */
  .hero-heading {
    font-size: 1.8rem !important;
    line-height: 2.2rem !important;
  }

  /* Services section landscape fixes */
  #services-section {
    padding: 10px 0 !important;
    justify-content: flex-start !important;
  }

  h2.services-included {
    font-size: 2.5rem !important;
    margin: 1% 0 !important;
    text-align: center !important;
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .swiper {
    width: 95vw !important;
    height: 60vh !important;
    margin: 2% auto !important;
    position: relative !important;
    top: 0 !important;
  }

  .swiper-slide {
    height: 200px !important;
  }

  /* About us section landscape fixes */
  #about-us {
    flex-direction: row !important;
    height: 100vh !important;
  }

  .about-us1,
  .about-us2 {
    width: 50% !important;
    height: 100vh !important;
    overflow: hidden !important;
  }

  /* Fix about us content positioning */
  .about-us1-content-warpper {
    width: 90% !important;
    height: 80% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .left-heading {
    width: 100% !important;
    margin-bottom: 10px !important;
  }

  .left-topic-head {
    font-size: 1.8rem !important;
    padding: 0.5rem !important;
  }

  .left-topic-subhead {
    font-size: 0.9rem !important;
    line-height: 1.2rem !important;
    margin-top: 1rem !important;
  }

  .topic-content {
    font-size: 0.85rem !important;
    height: 200px !important;
    overflow-y: auto !important;
    width: 95% !important;
    margin-top: 1rem !important;
  }

  /* Fix about us right side content */
  .about-us2-content {
    width: 90% !important;
    height: 80% !important;
    font-size: 0.9rem !important;
    line-height: 1.2rem !important;
    overflow-y: auto !important;
  }

  #story-content,
  #mission-content,
  #founder-content {
    font-size: 0.85rem !important;
    line-height: 1.4rem !important;
    height: 310px !important;
    overflow-y: auto !important;
    padding: 5px !important;
  }

  /* Fix about us button positioning */
  .about-us-btn {
    position: absolute !important;
    bottom: 10px !important;
    right: 20px !important;
    font-size: 0.9rem !important;
    height: 35px !important;
    width: 80px !important;
    z-index: 100 !important;
  }

  /* Fix About Us heading positioning */
  .about-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(270deg) !important;
    z-index: 5 !important;
    width: max-content !important;
  }

  .about-us-heading {
    font-size: 2.5rem !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  #about-us {
    position: relative !important;
    z-index: 1 !important;
  }

  /* Contact section landscape fixes */
  #contact-section {
    padding: 20px 0 !important;
    overflow-y: auto !important;
  }

  .contact-container {
    flex-direction: row !important;
    width: 95% !important;
    height: 90vh !important;
  }

  .form-heading {
    width: 50% !important;
    padding: 10px !important;
  }

  .form-section {
    width: 50% !important;
    height: 90% !important;
  }

  .form-container {
    height: 85% !important;
    overflow-y: auto !important;
  }

  h2.contact-us {
    font-size: 2.5rem !important;
  }

  p.contact-desc-head {
    font-size: 1.2rem !important;
    line-height: 1.5rem !important;
  }

  p.contact-desc {
    font-size: 0.9rem !important;
    line-height: 1.2rem !important;
  }

  /* Blog section landscape fixes */
  .blog-heading {
    font-size: 3rem !important;
  }

  .our-blogs-title {
    font-size: 2rem !important;
  }

  /* Universal landscape safety */
  body,
  html {
    overflow-x: hidden !important;
  }

  main {
    overflow-x: hidden !important;
  }

  section {
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 667px) and (orientation: landscape) {
  h2.services-included {
    font-size: 2rem !important;
    margin: 0.5% 0 !important;
  }

  .swiper {
    height: 50vh !important;
  }

  .left-topic-head {
    font-size: 1.5rem !important;
  }

  .topic-content {
    height: 150px !important;
    font-size: 0.8rem !important;
  }

  #story-content,
  #mission-content,
  #founder-content {
    height: 180px !important;
    font-size: 0.8rem !important;
  }
}

/* Universal mobile safety - ADD THIS */
@media (max-width: 767px) {
  section {
    width: 100vw !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .get-started {
    min-height: 15px !important;
    /* padding: 3px 12px !important; */
  }

  .quote-btn,
  .contact-btn,
  .about-us-btn,
  .whatsapp-btn {
    min-height: 44px !important;
    padding: 8px 12px !important;
  }
}
@media (min-width: 456px) and (max-width: 647px) {
  #services-section {
    padding: 15px 0 !important;
    justify-content: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
  }

  h2.services-included {
    font-size: 2.2rem !important;
    margin: 1rem 0 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 1rem !important;
    position: relative !important;
    z-index: 10 !important;
    order: 1 !important; /* Ensure it appears first */
  }

  .swiper {
    width: 95vw !important;
    height: 320px !important;
    margin: 1rem auto !important;
    position: relative !important;
    order: 2 !important; /* Ensure it appears after heading */
  }

  .swiper-slide {
    height: 260px !important;
  }

  .card-heading {
    font-size: 1.1rem !important;
  }

  .card-content {
    font-size: 0.8rem !important;
    line-height: 1.1rem !important;
  }
}
/* iPhone-12 / iPhone-14  (390 × 844, DPR 3) –– ONE  unified block  */
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
  /* 1 – header --------------------------------------------------- */
  header {
    padding: 15px 25px !important;
    height: 65px !important;
    background: rgba(132, 145, 122, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html,
  body,
  main,
  #hero-section,
  #services-section,
  #about-us,
  #blog-section,
  #contact-section {
    width: 100vw !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  main {
    margin-top: 75px !important;
  }

  /* 3 – hero ------------------------------------------------------ */
  .hero-wrapper-1 {
    padding-top: 85px !important;
    width: 92% !important;
    margin: 0 auto !important;
  }
  .hero-heading {
    font-size: 1.45rem !important;
    line-height: 1.9rem !important;
    text-align: center !important;
    padding: 0.5rem !important;
  }
  .hero-subheading {
    font-size: 0.95rem !important;
    line-height: 1.25rem !important;
    width: 85% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .hero-btns-container {
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
    padding: 1rem 0 !important;
  }
  .quote-btn-container,
  .contact-btn-container {
    width: 8.5rem !important;
    height: 2.2rem !important;
  }
  .quote-btn,
  .contact-btn {
    font-size: 0.85rem !important;
    min-height: 48px !important;
    padding: 12px 8px !important;
  }

  /* 4 – services -------------------------------------------------- */
  h2.services-included {
    font-size: 1.9rem !important;
    margin: 1.5rem 0 !important;
    padding: 0 1rem !important;
    text-align: center !important;
  }
  .swiper {
    width: 100vw !important;
    height: 320px !important;
    padding: 15px 0 !important;
  }
  .swiper-slide {
    height: 240px !important;
    margin: 0 5px !important;
  }

  /* 5 – about-us -------------------------------------------------- */
  #about-us {
    flex-direction: column !important;
  }
  .about-us1,
  .about-us2 {
    width: 100% !important;
    height: 50vh !important;
  }
  .left-topic-head {
    font-size: 2.1rem !important;
    padding: 0.8rem !important;
  }
  .about-us1-bg {
    top: -8% !important;
    width: 75% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .topic-content {
    height: 13rem !important;
    padding: 0.8rem !important;
    font-size: 0.95rem !important;
  }

  /* 6 – contact --------------------------------------------------- */
  h2.contact-us {
    font-size: 2.3rem !important;
    padding: 0 1rem !important;
  }
  .form-container {
    width: 95% !important;
    padding: 20px !important;
    margin: 1rem auto !important;
  }
  .whatsapp-btn {
    width: 55% !important;
    font-size: 0.85rem !important;
    padding: 12px 8px !important;
    min-height: 48px !important;
  }

  /* 7 – universal iOS touch-target fix --------------------------- */
  .get-started,
  .about-us-btn,
  button#nextBtn {
    min-height: 48px !important;
    font-size: 0.9rem !important;
    padding: 12px 10px !important;
  }
}

/* Mobile and Tablet Quote Modal Fixes */
@media (max-width: 1024px) {
  .wrapper-quote {
    z-index: 100000 !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .quote-content {
    width: 95%;
    max-width: none;
    margin: 20px auto;
    padding: 1.5rem;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 100001 !important;
  }

  .quote-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  #quote-form {
    width: 100%;
  }

  #quote-form input,
  #quote-form textarea {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  #work-sec {
    max-width: 100vw;
  }
  .quote-content {
    width: 95%;
    padding: 1rem;
    margin: 10px;
    margin-top: 3.5rem;
    max-height: 80vh;
  }
  .wrapper-quote {
    z-index: 99 !important;
    position: fixed !important;
  }

  .quote-heading {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  #quote-form input,
  #quote-form textarea {
    padding: 0.5rem;
    font-size: 1rem;
  }

  #quote-form button {
    padding: 0.5rem;
    font-size: 1rem;
  }

  .close-btn {
    top: 5px;
    right: 10px;
    font-size: 30px;
  }

  footer {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .quote-content {
    width: 98%;
    padding: 0.8rem;
    margin: 5px;
    max-height: 75vh;
  }

  .quote-heading {
    font-size: 1.8rem;
  }

  .response-time {
    font-size: 1rem;
  }
  footer {
    font-size: 0.95rem;
  }
}
