/*
Theme Name: Build Master App -- 03062025 -- v1
Author: Howard
Version: 1.0
*/

:root {
  --primary-color: #36b7ff;
  --secondary-color: #f4f4f4;
  --secondary-color-100: #eaeaea;
  --header-height: 80px;
  --padding-size: 20px;
  --banner-height: 45vh;
  --max-width: 1200px;
}
@media (max-width: 768px) {
  :root {
    --padding-size: 10px;
  }
  h1, h2, h3, h4, h5, h6, p {
    text-align: left;
  }
}

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

body {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background: var(--secondary-color);
  color: #000;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  width: 100vw;
}

.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-size);
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background-color: var(--primary-color);
  padding: var(--padding-size);
  position: fixed;
  width: 100vw;
  height: var(--header-height);
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer {
  width: 100vw;
  padding: var(--padding-size);
  display: flex;  
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-header {
  width: 100%;
  background: var(--primary-color);
  color: #000;
  transition: background 0.3s ease-in-out;
}

.site-header .content {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.site-header .scrolled {
  background: var(--primary-color);
  color: #fff;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 120px;
  height: auto;
  margin-right: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
}

nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.current-page {
  color: #000;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--primary-color);
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 10px 0;
  text-align: center;
}

.mobile-menu li {
  padding: 10px 0;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  display: block;
}

/* Show menu when active */
.mobile-menu.active {
  display: flex;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Show the hamburger only on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    display: none;
  }

  .normal-menu {
    display: none;
  }
}

.banner {
  background: url("images/banner-sky.png") no-repeat center center/cover;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  padding: calc(var(--header-height) + var(--padding-size)) var(--padding-size) var(--padding-size) var(--padding-size);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner .content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.banner-content {
  padding: var(--padding-size);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner-content h1 {
  font-size: 2rem;
  text-align: left;
}

.banner-content p {
  font-size: 1rem;
  text-align: left;
  line-height: 24px;
}

.banner-image {
  width: 40%;
  min-width: 300px;
  align-items: center;
  justify-content: center;
}

.banner-image img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.download-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.download-btns a {
  height: 40px;
  margin-right: 5px;
}

.download-btns img {
  height: 100%;
  width: auto;
  transition: all 0.3s ease-in-out;
}

.download-btns img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .banner-image {
    display: none;
  }

  .banner {
    padding: calc(var(--header-height) + var(--padding-size)) var(--padding-size) var(--padding-size) var(--padding-size);
  }
}

.advantages {
  background-color: var(--secondary-color);
  padding: var(--padding-size);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.advantages .content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
}

.advantages-image {
  width: 40%;
  min-width: 300px;
  align-items: center;
  justify-content: center;
  padding: var(--padding-size);
}

.advantages-image img {
  width: 100%;
  height: auto;
}

.advantages-content {
  width: 50%;
}

.advantages-content h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: left;
}

.advantages-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: left;
  line-height: 30px;
}
@media (max-width: 768px) {
  .advantages .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .advantages-image,
  .advantages-content {
    width: 100%;
  }
}

.features {
  background-color: var(--secondary-color);
  padding: var(--padding-size);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.features .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.features h1 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.features h3 {
  margin-bottom: 5px;
  text-align: left;
}

.features h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.features p {
  text-align: left;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: auto;
  padding: var(--padding-size);
}

.feature {
  background: #fff;
  padding: var(--padding-size);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.feature i {
  font-size: 50px;
  color: var(--primary-color);
  margin-right: 20px;
  transition: all 0.3s ease-in-out;
}

.feature:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.feature:hover i {
  color: #fff;
}

@media (max-width: 768px) {
  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px auto; /* Adjust spacing between items */
  }

  .feature {
    width: 100%;
  }

  .feature i {
    display: none;
  }
}

.work-description {
  background-color: var(--secondary-color);
  padding: var(--padding-size);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.work-description .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.description-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: auto;
  padding: var(--padding-size);
}

.content-box {
  width: 100%;
  background: white;
  padding: var(--padding-size);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.content-box h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.content-box ol {
  list-style: none;
  padding: 0;
  counter-reset: list-counter;
}

.content-box ol li {
  font-size: 18px;
  color: #555;
  background: var(--secondary-color-100);
  padding: 12px 15px;
  border-radius: 6px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
  text-align: left;
}

.content-box ol li span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  margin-right: 15px;
  flex-shrink: 0;
}

.content-box ol li:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.content-box ol li:hover span {
  background: white;
  color: #36b7ff;
}

@media (max-width: 768px) {
  .description-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .content-box {
    width: 100%;
  }
}

.about-us-story {
  background-color: var(--secondary-color);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: calc(var(--header-height) + var(--padding-size)) var(--padding-size) var(--padding-size) var(--padding-size);
}

.about-us-story .content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: auto;
  padding: var(--padding-size);
}

.portrait {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--padding-size);
  box-sizing: border-box;
}

.portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.about-us-story h1 {
  font-size: 2rem;
}

.about-us-story p {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-us-story .content {
    grid-template-columns: repeat(1, 1fr);
  }
  .portrait {
    width: 100%;
  }
}

.why-build-master {
  min-height: 95vh;
  background-color: var(--secondary-color);
  text-align: left;
  padding: var(--padding-size);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-build-master.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-build-master h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}

.why-build-master-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px auto;
}

.reason {
  background: var(--secondary-color-100);
  padding: var(--padding-size);
  border-radius: 16px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}

.reason-grid div {
  width: 100%;
}

.reason:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-5px);
}

.reason h3 {
  margin-bottom: 10px;
}

@media (max-width: 800px) {
  .why-build-master-grid {
    grid-template-columns: 1fr;
  }
}

.services-banner {
  background-image: url("images/services-banner.png");
  background-position: center 60%;
  background-repeat: no-repeat;
  height: var(--banner-height);
}

.services {
  background-color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--header-height) + var(--padding-size)) var(--padding-size) var(--padding-size) var(--padding-size);
}

.services.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service {
  background: var(--secondary-color-100);
  border-radius: 16px;
  padding: var(--padding-size);
  margin: 20px auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.service:hover {
  background: var(--primary-color);
  /* Blue on hover */
  color: var(--secondary-color);
  transform: translateY(-5px);
  /* Lift effect */
}

.service h1 {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service h1 span {
  background: var(--primary-color);
  color: white;
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
}

.service p {
  width: 60%;
  font-size: 1rem;
  flex: 1;
  text-align: left;
}

.service ul {
  width: 40%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service ul li {
  background: rgba(0, 123, 255, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-align: left;
}

@media (max-width: 768px) {
  .service h1 {
    font-size: 1.2rem
  }

  .service div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .service p {
    width: 100%;
  }

  .service ul {
    width: 100%;
  }
}

.contact-us-banner {
  background-image: url("images/contact-us-banner.png");
  background-position: center 60%;
  background-repeat: no-repeat;
  height: var(--banner-height);
}

.contact {
  height: 100vh;
  background-color: var(--secondary-color);
  padding: calc(var(--header-height) + var(--padding-size)) var(--padding-size) var(--padding-size) var(--padding-size);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.contact .content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: var(--padding-size);
  gap: 20px;
}

.greet {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-size: 1.2rem;
  padding: var(--padding-size);
}

.inquiries {
  position: inherit;
  height: 100%;
  text-align: center;
  padding: var(--padding-size);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: var(--secondary-color-100);
  border-radius: 16px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.inquiries h1 {
  font-size: 2rem;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .contact .content {
    grid-template-columns: repeat(1, 1fr);
  }
}

.hidden-from-left {
  opacity: 0;
  transform: translateX(-200px);
  transition: all 0.5s ease-out;
}

.hidden-from-right {
  opacity: 0;
  transform: translateX(200px);
  transition: all 0.5s ease-out;
}

.hidden-from-bottom {
  opacity: 0;
  transform: translateY(200px);
  transition: all 0.5s ease-out;
}

.show-fade {
  opacity: 1;
  transform: translateX(0);
}

.hidden-scale {
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s ease-in-out;
}

.show-scale {
  opacity: 1;
  transform: scale(1);
}

footer {
  background: var(--primary-color);
  color: #fff;
  padding: var(--padding-size);
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 80%;
  max-width: 600px;
  height: auto;
}

.swiper-button-prev {
  transform: translateX(50px);
}

.swiper-button-next {
  transform: translateX(-50px);
}

.swiper-pagination {
  transform: translate3d(0, 10px, 0) !important;
}

@media (max-width: 768px) {
  .swiper-button-prev, 
  .swiper-button-next {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    /* overflow: hidden !important; */
    pointer-events: none !important;
  }

  .swiper {
    margin-bottom: 10px;
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
  }
}