/* ===== GLOBAL CSS RESET & BASE STYLES ===== */

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default styles */
ul,
ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
a {
  text-decoration: none !important;
}
p {
  margin: 0 !important;
}
ul,
li {
  padding: 0 !important;
  margin: 0 !important;
}
:root {
  /* ===== Colors ===== */
  --color-1: #000;
  --color-2: #fff;
  --color-3: #f00;
  --color-4: #a0a0a0;
  --color-5: #f7f7f7;
  --color-6: #66645e;
  --color-7: #202020;
  --color-8: #f6f6f6;

  /* ===== Typography ===== */
  --font-1: "Inter", sans-serif;
  --font-2: "Kanit", sans-serif;

  /* ===== Spacing Variables ===== */
  --padding-sm: 30px;
  --padding-md: 60px;
  --padding-lg: 90px;
  --padding-xl: 120px;
}

/* ===== BASE STYLES ===== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
  font-family: var(--font-1);
  color: var(--color-1);
  overflow-x: hidden;
}
img {
  width: 100%;
}
/* ===== Global Padding ===== */
.pb-30{
  padding-bottom: 30px;
}
/* ===== TYPOGRAPHY ===== */

.heading-1 {
  font-family: var(--font-2);
  font-size: 90px;
  font-style: normal;
  font-weight: 400;
  line-height: 90%;
  letter-spacing: -1.8px;
}
.heading-2 {
  font-family: var(--font-1);
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
}
.heading-3 {
  font-family: var(--font-1);
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.heading-4 {
  font-family: var(--font-1);
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.heading-5 {
  font-family: var(--font-1);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.text-1 {
  font-family: var(--font-1);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.18px;
}
.text-2 {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.text-3 {
  font-family: var(--font-1);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.text-4 {
  font-family: var(--font-1);
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}
.text-5 {
  font-family: var(--font-1);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}
.tac {
  text-align: center;
}
/* ===== OPACITY ===== */
.opcty-1 {
  opacity: 0.1;
}
.opcty-2 {
  opacity: 0.2;
}
.opcty-3 {
  opacity: 0.3;
}
.opcty-4 {
  opacity: 0.4;
}
.opcty-5 {
  opacity: 0.5;
}
.opcty-6 {
  opacity: 0.6;
}
.opcty-7 {
  opacity: 0.7;
}
.opcty-8 {
  opacity: 0.8;
}
.opcty-9 {
  opacity: 0.9;
}

/* =====POSITION===== */
.positioin-relative {
  position: relative;
}
.positioin-absolute {
  position: absolute;
}

/* =====SPACING ===== */

/* Small */
.padding-top-sm {
  padding-top: var(--padding-sm);
}
.padding-bottom-sm {
  padding-bottom: var(--padding-sm);
}
.padding-vertical-sm {
  padding-top: var(--padding-sm);
  padding-bottom: var(--padding-sm);
}

/* Medium */
.padding-top-md {
  padding-top: var(--padding-md);
  @media(max-width: 767px) {
    padding-top: var(--padding-sm);
  }
}
.padding-bottom-md {
  padding-bottom: var(--padding-md);
  @media(max-width: 767px) {
    padding-bottom: var(--padding-sm);
  }
}
.padding-vertical-md {
  padding-top: var(--padding-md);
  padding-bottom: var(--padding-md);
  @media(max-width: 767px) {
    padding-top: var(--padding-sm);
    padding-bottom: var(--padding-sm);
  }
}

/* Large */
.padding-top-lg {
  padding-top: var(--padding-lg);
  @media(max-width: 767px) {
    padding-top: var(--padding-md);
  }
}
.padding-bottom-lg {
  padding-bottom: var(--padding-lg);
  @media(max-width: 767px) {
    padding-bottom: var(--padding-md);
  }
}
.padding-vertical-lg {
  padding-top: var(--padding-lg);
  padding-bottom: var(--padding-lg);
  @media(max-width: 767px) {
    padding-top: var(--padding-md);
    padding-bottom: var(--padding-md);
  }
}

/* Extra Large */
.padding-top-xl {
  padding-top: var(--padding-xl);
}
.padding-bottom-xl {
  padding-bottom: var(--padding-xl);
}
.padding-vertical-xl {
  padding-top: var(--padding-xl);
  padding-bottom: var(--padding-xl);
}

/* ===== BUTTONS ===== */
.primary-btn {
  font-family: var(--font-1);
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 222px;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--color-3);
  color: var(--color-2);
  transition: background-color 0.3s ease, color 0.3s ease;

  &:hover {
    background-color: var(--color-1);
  }
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: 95%;
  max-width: 1200px;
  overflow: hidden !important;
  margin: 0 auto;
  @media(max-width: 767px) {
    width: 95%;
    max-width: 95%;
  }
}

/* ===== FLEXBOX UTILITIES ===== */
.flex-column {
  flex-direction: column;
}


/* ===== POSITIONING UTILITIES ===== */
.position-relative {
  position: relative;
}
.position-absolute {
  position: absolute;
}

/* ===== WIDTH & HEIGHT UTILITIES ===== */
.w-full {
  width: 100%;
}
.w-auto {
  width: auto;
}
.w-screen {
  width: 100vw;
}

.h-full {
  height: 100%;
}
.h-auto {
  height: auto;
}
.h-screen {
  height: 100vh;
}

/* ===== COLORS ===== */
.color-1 {
  color: var(--color-1);
}
.color-2 {
  color: var(--color-2);
}
.color-3 {
  color: var(--color-3);
}
.color-4 {
  color: var(--color-4);
}
.color-5 {
  color: var(--color-5);
}
.color-6 {
  color: var(--color-6);
}
.color-7 {
  color: var(--color-7);
}
.color-8 {
  color: var(--color-8);
}
.bg-color-7 {
  background-color: var(--color-7);
}
.bg-color-1 {
  background-color: var(--color-1);
}
/* ===== WIDTH ===== */
.width-80 {
  max-width: 80%;
}
.width-90 {
  max-width: 90%;
  @media(max-width: 767px) {
    max-width: 100%;
  }
}
.width-95 {
  max-width: 95%;
}
/* ===== GAP ===== */

.gap-8 {
  gap: 0.5rem;
}
.gap-16 {
  gap: 1rem;
  @media(max-width: 767px) {
    gap: 0.75rem;
  }
}
.gap-24 {
  gap: 1.5rem;
  @media(max-width: 767px) {
    gap: 1rem;
  }
}
.gap-40 {
  gap: 2.5rem;
  @media(max-width: 767px) {
    gap: 1.5rem;
  }
}

/* ===== BORDER ===== */
.border-top-clr-3 {
  border-top: 1px solid var(--color-3);
}
.border-bottom-clr-4{
  border-bottom: 1px solid var(--color-4);
}
/* ===== Header ===== */
nav {
  /* position: relative; */
  top: 0;
  background-color: transparent;
}
nav a {
  position: absolute;
  top: 60px;
  left: 5%;
  z-index: 99;
}
/* ===== Main ===== */
.banner-section {
  height: 662px;
  color: var(--color-2);
  background-image: url("assets/RE+banner.webp");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  @media(max-width: 767px) {
    /* height: 100vh; */
    background-image: url("assets/RE+banner-mobile.webp");
  }
}
h1 {
  padding-bottom: 24px;
}
.banner-content {
  padding-bottom: 50px;
}

.prodcuts-wrap{
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
  position: absolute;
  bottom: 2rem;
}
.product{
  padding: 10px 30px;
background: rgba(247, 247, 247, 0.3);
  color: #000000;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.product svg{
  /* width: 50px; */
}

.section-2 {
  background-color: var(--color-5);
  padding: 112px 0;
  @media(max-width: 767px) {
    padding: 0;
    padding:30px 0px;
  }
  svg{
    width: 57px;
    height: 58px;
  }
}
.worker-img-container {
  padding-left: 50px;
  @media(max-width: 767px) {
    padding-left: 0;
    padding-bottom: 30px;
  }
}
.worker-img-container img {
  width: 90%;
  @media(max-width: 767px) {
    width: 100%;
  }
}
.ul-list li {
  gap: 10px;
}
.product-image {
  height: 396px;
  object-fit: cover;
  @media(max-width: 767px) {
    height: 100%;
  }
}
.what-we-do-content {
  padding-top: 40px;
}
.what-we-do-content ul {
  gap: 20px;
}
.what-we-do-content ul li {
  gap: 12px;
}
.what-we-do-content ul li svg {
  margin-top: 2px;
  @media(max-width: 767px) {
    margin-top: 7px;
    width: 30px;
    height: 11px;
  }
}
.our-value-props-container {
  display: grid;
  grid-template-columns: repeat(3, 3fr);
  row-gap: 56px;
  column-gap: 90px;
  @media(max-width: 767px) {
    grid-template-columns: 1fr 1fr;
    row-gap: 0px;
    column-gap: 0;
    border-top: 1px solid #f6f6f642;
  }
}
.our-value-props-content {
  gap: 22px;
  @media(max-width: 767px) {
    gap: 0px;
    padding:30px;
  }
}
.our-value-props-content p {
  text-align: center;
}
.our-team-container {
  padding-top: 50px;
}

.line {
  border-bottom: 1px solid var(--color-3);
  width: 46%;
  position: relative;
  top: -30px;
  @media(max-width: 1200px) {
    width: 20%;
  }
  @media(max-width: 767px) {
    border-bottom: 2px solid var(--color-3);
    width: 27%;
    position: relative;
    top: -12px;
  }
}
.our-team-section {
  position:relative;
  padding: 100px 0 140px 0;
  @media(max-width: 767px) {
    padding: 40px 0 60px 0;
  }
}
.our-team-section .container {
  position: relative;
  z-index: 2; /* content should appear above the SVG */
}
.our-team-section .bg-svg {
  left: 0;
  top: 0;
  z-index: 0; 
}

.team-members {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 32px;
  @media(max-width: 767px) {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    column-gap: 12px;
  }
}
.team-members p {
  font-size: 20px;
  padding-top: 10px;
}
/* ===== Footer ===== */
footer {
  position: relative;
  padding: 150px 0;
  @media(max-width: 767px) {
    padding: 0;
    padding-top: 115px;
    padding-bottom: 40px;
  }
}
.footer-text{
  width: 100%;
  max-width: 650px;
}
footer .container{
  position: relative;
  z-index: 2;
}
footer .bg-svg {
  right: 0;
  top: 0;
  z-index: 0;
}

.slot-btn-mobile{
  display: none;
}
.slot-btn-desktop{
  display: block;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 767px) {
  footer .bg-svg {
    right: 0;
    top: unset;
    bottom: 0;
  }
  .slot-btn-mobile{
    display: block;
  }
  .slot-btn-desktop{
    display:none;
  }
  .flex-cnt-image{
    padding: 30px 0px;
    border-top: 1px solid var(--color-3);
    .border-top-clr-3{
      border-top: none;
    }
  }
  .our-props-md{
    padding-top: 50px;
  }
  /* ===== FLEXBOX UTILITIES ===== */
  .flex-md-column{
    flex-direction: column;
  }
  .flex-md-row{
    display: flex !important;
    flex-direction: row !important;
  }
  .col-rev{
    flex-direction: column-reverse;
  }
  .border-bottom-clr-6-md{
    border-top: 1px solid #f6f6f642;
  }  
  .border-right-clr-6-md{
    border-right: 1px solid #f6f6f642;
  } 
  /* ===== Global Text ===== */
  .heading-1-md {
    font-size: 44px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
  }
  .heading-2-md {
    font-family: Inter;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.15px;
  }
  .heading-3-md {
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  .text-2-md {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.18px;
  }
  .text-3-md {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.18px;
  }
  .text-5-md {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
}
@media (max-width:1380px){
.product{
  padding: 10px 20px;
}
}
@media (max-width:1198px){
  .prodcuts-wrap {
    display: -webkit-inline-flex;
    width: 100%;
    overflow-x: scroll;
    gap: 0;
    scrollbar-width: none; 
  }
  .prodcuts-wrap::-webkit-scrollbar {
    display: none; 
  }
  .product{
    margin-right: 10px;
    padding: 10px 30px;
  }
}