/* =======================
   Root Variables
======================= */

:root {
  /* Fonts */
  --font-body: "Noto Sans", sans-serif;
  --font-heading: "Cormorant Garamond", serif;

  /* Colors */
  --color-bg: #f6f6f6;
  --color-text: #f0f0f0;
  --color-white: #ffffff;
  --color-gray-light: #d1d5db;
  --color-gray-soft: rgba(255, 255, 255, 0.6);
  --color-nav-bg: rgba(30, 41, 59, 0.95);

  /* Font Sizes */
  --fs-xs: 0.875rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-lg: 3rem;
  --fs-xl: 6rem;

  /* Letter Spacing */
  --ls-sm: 0px;
  --ls-md: 0.2em;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);

  /* Z-index */
  --z-header: 50;
  --z-menu: 99;
  --z-video: -1;

  /* Spacing */
  --sp-header-y: 2rem;
  --sp-header-x: 4rem;
  --sp-nav-item: 0.5rem 1rem;
}

.about-me-section {
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-me-section-wrapper {
  width: 100%;
  height: 100vh;
  background: url("../images/about-page/about-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-me-section-wrapper-inner {
  /* border: 1px solid red; */
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20rem;
  margin-top: 10%;
}
.top-content {
  /* border: 1px solid blue; */
  position: relative;
  display: inline-block; /* or block depending on layout */
}

.top-content::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 340px;
  right: 0;
  bottom: 0; /* cover the full parent */
  background: url("../images/about-page/arrow-left.png") no-repeat center center;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
  width: 80px;
  height: 80px;
  transform: rotate(-20deg);
}
.top-content::after {
  content: "";
  position: absolute;
  bottom: 70px;
  right: 340px;
  background: url("../images/about-page/arrow-right.png") no-repeat center
    center;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
  width: 80px;
  height: 80px;
}

.top-content-row1 {
  /* border: 1px solid orange; */
  position: absolute;
  bottom: 50px;
  right: 110px;
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.top-content-row1 h6 {
  font-size: 30px;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 95%;
  color: #ffffff;
  opacity: 0.5;
  letter-spacing: -1px;
}
.top-content-row2 {
  position: absolute;
  top: 150px;
  left: 100px;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.top-content-row2 h6 {
  font-size: 30px;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 95%;
  color: #ffffff;
  opacity: 0.5;
  letter-spacing: -1px;
}
.bottom-content {
  /* border: 1px solid green; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}

.bottom-content-row1 h6 {
  font-size: 75px;
  font-weight: 400;
  font-family: var(--font-heading);
  line-height: 95%;
  opacity: 0.8;
}
.bottom-content-row2 p {
  font-size: var(--fs-base);
  letter-spacing: var(--ls-sm);
  font-weight: 300;
  margin: 0;
  color: var(--color-white);
  line-height: 1;
  opacity: 0.8;
}
/* =======================
   Responsive (About Me)
   ======================= */
@media (max-width: 1600px) {
  .about-me-section-wrapper-inner {
    width: 80%;
    /* gap: 12rem; */
  }

  .top-content-row1 {
    bottom: -80px;
  }
  .top-content::after {
    bottom: -50px;
  }
}
/* ≤1366px */
@media (max-width: 1366px) {
  .about-me-section-wrapper-inner {
    width: 90%;
    gap: 12rem;
  }
  .top-content-row1 h6,
  .top-content-row2 h6 {
    font-size: 26px;
  }
  .bottom-content-row1 h6 {
    font-size: 65px;
  }
  .bottom-content-row2 p {
    font-size: 16px;
    line-height: 1.3;
  }
  .top-content-row1 {
    bottom: -40px;
  }
  .top-content-row2 {
    bottom: 5rem;
  }
  .top-content::before {
    top: 40px;
  }
  .top-content::after {
    bottom: -20px;
  }
}

/* ≤1200px (small laptops / tablets landscape) */
@media (max-width: 1200px) {
  .about-me-section-wrapper-inner {
    width: 100%;
    gap: 8rem;
  }

  .top-content-row1 h6,
  .top-content-row2 h6 {
    font-size: 24px;
    opacity: 0.6;
  }
  .bottom-content-row1 h6 {
    font-size: 55px;
  }
  .bottom-content {
    margin-top: 15%;
  }
}

/* ≤992px (tablets) */
@media (max-width: 992px) {
  .about-me-section-wrapper {
    /* height: auto; */
    padding: 60px 20px;
  }
  .about-me-section-wrapper-inner {
    width: 90%;
    gap: 5rem;
    margin-top: 0;
  }
  .bottom-content-row1 h6 {
    font-size: 45px;
  }
  .bottom-content-row2 p {
    font-size: 15px;
    line-height: 1.4;
  }
  .bottom-content {
    margin-top: 50%;
  }
  .top-content-row1 {
    right: 0;
    bottom: -170px;
  }
  .top-content-row2 {
    left: 0;
    top: 340px;
  }
  .top-content::before {
    top: 280px;
    left: 170px;
  }
  .top-content::after {
    bottom: -150px;
    right: 170px;
  }
}
/* ≤768px (phablets / small tablets) */
@media (max-width: 768px) {
  .about-me-section-wrapper-inner {
    width: 100%;
    gap: 3rem;
  }
  .top-content-row1 h6,
  .top-content-row2 h6 {
    font-size: 20px;
  }
  .bottom-content-row1 h6 {
    font-size: 36px;
  }
  .bottom-content-row2 p {
    font-size: 14px;
    line-height: 1.5;
  }
  /* .bottom-content{
    margin-top: 75%;
  } */
}

/* ≤576px (phones) */
@media (max-width: 576px) {
  .about-me-section-wrapper {
    padding: 40px 15px;
  }
  .about-me-section-wrapper-inner {
    gap: 2rem;
  }
  .top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .top-content-row1 h6,
  .top-content-row2 h6 {
    font-size: 18px;
    text-align: center;
  }
  .bottom-content-row1 h6 {
    font-size: 28px;
  }
  .bottom-content-row2 p {
    font-size: 13px;
    line-height: 1.6;
  }
  .bottom-content {
    margin-top: 120%;
  }
  .top-content-row1 {
    display: none;
  }
  .top-content-row2 {
    display: none;
  }
  .top-content::before {
    display: none;
  }
  .top-content::after {
    display: none;
  }
}

/*===========myapproach-section=============
=============                  =============*/
.myapproach-section {
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.myapproach-section-wrapper {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid red; */
}
.approach-section-wrapper-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid blue; */
  /* width: 90%; */
}
.myapproach-left-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 50%;
  max-width: 400px;
}
.myapproach-left-container img {
  width: 100%;
}
.myapproach-right-container {
  background-color: #eac9c11a;
  /* border: 1px solid green; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: 60vh;
  width: 70%;
  padding-left: 50px;
}
.myapproach-right-container h6 {
  font-size: 50px;
  font-weight: 400;
  line-height: 95%;
  font-family: var(--font-heading);
  color: #353b3c;
}
.myapproach-right-container p {
  font-size: 20px;
  letter-spacing: var(--ls-sm);
  font-weight: 400;
  margin: 0;
  color: black;
  line-height: 1.2;
  opacity: 0.8;
  margin-top: 40px;
  width: 90%;
}
/* =======================
   Responsive My Approach
   ======================= */
@media (max-width: 1440px) {
  .myapproach-section {
    height: 100vh;
  }
  .myapproach-left-container img {
    width: 90%;
  }
  .myapproach-right-container {
    height: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
/* ≤1366px (slight adjustments) */
@media (max-width: 1366px) {
  .myapproach-right-container h6 {
    font-size: 42px;
  }
  .myapproach-right-container p {
    font-size: 18px;
    width: 95%;
  }
  .myapproach-left-container img {
    width: 80%;
  }
}

/* ≤1200px (small laptops / tablets landscape) */
@media (max-width: 1200px) {
  .myapproach-section {
    height: 100%;
  }
  .myapproach-section-wrapper {
    height: auto;
  }

  .myapproach-left-container,
  .myapproach-right-container {
    height: auto;
    display: flex;
    justify-content: center;
  }
  .myapproach-right-container {
    padding: 30px;
    text-align: left;
  }
  .myapproach-right-container h6 {
    font-size: 36px;
  }
  .myapproach-right-container p {
    font-size: 16px;
    line-height: 1.4;
  }
}

/* ≤992px (tablets) */
@media (max-width: 992px) {
  .myapproach-section-wrapper {
    padding: 50px 0px;
  }
  .myapproach-right-container {
    padding: 25px;
  }
  .myapproach-right-container h6 {
    font-size: 32px;
  }
  .myapproach-right-container p {
    font-size: 15px;
  }
}

/* ≤768px (phablets / small tablets) */
@media (max-width: 768px) {
  .approach-section-wrapper-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .myapproach-left-container {
    justify-content: center;
  }
  .myapproach-left-container img {
    width: 100%;
  }

  .myapproach-right-container {
    padding: 20px;
    width: 90%;
  }
  .myapproach-right-container h6 {
    font-size: 28px;
  }
  .myapproach-right-container p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ≤576px (phones) */
@media (max-width: 576px) {
  .myapproach-section-wrapper {
    padding: 40px 0px;
  }
  .approach-section-wrapper-inner {
    gap: 25px;
  }
  .myapproach-right-container {
    padding: 15px;
  }
  .myapproach-right-container h6 {
    font-size: 24px;
  }
  .myapproach-right-container p {
    font-size: 13px;
    line-height: 1.6;
    width: 100%;
  }
  .myapproach-left-container {
    width: 80%;
  }
}

/* =======================
       Expertise Section
    ======================= */
.expertise-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.container-section {
  width: 90%;
  padding: 4rem 1rem;
}

.header-section {
  text-align: center;
  margin-bottom: 4rem;
}

.header-section h1 {
  font-size: 50px;
  line-height: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #1f2937;
  font-family: var(--font-heading);
}

.expertise-grid-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* border: 1px solid red; */
}

.expertise-card {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  padding: 2rem 0;
  position: relative;
}
.line-before {
  position: relative;
}
.line-before::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 3px;
  height: 100px;
  background-color: #eac9c1;
}
.expertise-card:nth-child(1)::after,
.expertise-card:nth-child(2)::after,
.expertise-card:nth-child(3)::after {
  content: "";
  position: absolute;
  top: 100px;
  right: 0;
  width: 2px;
  height: 430px;
  background-color: black;
  opacity: 0.1;
}
.expertise-card .icon-wrapper {
  background-color: #eac9c1;
  width: 100px;
  height: 100px;
  padding: 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2rem;
  opacity: 1;
}

.card-content-hp {
  margin-top: 3rem;
  width: 100%;
  height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 2rem;
}

.expertise-card h3 {
  position: relative;
  top: 0;
  left: 0;
  font-size: 30px;
  line-height: 1.75rem;
  font-weight: 500;
  width: 80%;
  margin-bottom: 0.5rem;
  color: #374151;
  font-family: var(--font-heading);
}

.expertise-card p {
  font-size: 16px;
  line-height: 1.3rem;
  color: #4b5563;
  height: 70%;
  font-family: var(--font-body);
}

.expertise-card a {
  margin: 0 2rem;
  position: absolute;
  bottom: 10%;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.expertise-card a:hover {
  color: #1f2937;
}

/* ===========================
   RESPONSIVE EXPERTISE SECTION
   =========================== */

/* Explicitly lock 1366px look */
@media (max-width: 1366px) {
  .header-section h1 {
    font-size: 50px;
    line-height: 2.5rem;
  }
  .expertise-card h3 {
    font-size: 30px;
  }
  .expertise-card p {
    font-size: 16px;
  }
}

/* Large Laptops & Small Desktops (≤1200px) */
@media (max-width: 1200px) {
  .header-section h1 {
    font-size: 42px;
  }
  .expertise-card .icon-wrapper {
    width: 80px;
    height: 80px;
  }
  .card-content-hp {
    padding: 0.5rem;
  }
  .card-content-hp p {
    line-height: 1;
  }
  .expertise-card a {
    bottom: 1rem;
  }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .expertise-grid-container {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .expertise-card {
    flex: 1 1 calc(50% - 2rem);
    padding: 1.5rem 2rem;
  }
  .expertise-card::after,
  .line-before::before {
    display: none; /* hide vertical dividers */
  }
  .card-content-hp {
    margin-top: 1rem;
    height: 12rem;
  }
  .expertise-card h3 {
    font-size: 24px;
    width: 100%;
  }
  .expertise-card p {
    font-size: 14px;
  }

  .expertise-card a {
    margin: 0 0.5rem;
  }
  /* .expertise-card a {
    margin-top: 10%;
  } */
}

/* Large Phones & Small Tablets (≤768px) */
@media (max-width: 768px) {
  .header-section h1 {
    font-size: 32px;
    line-height: 2rem;
  }
  .expertise-grid-container {
    flex-direction: column;
    align-items: center;
  }
  .expertise-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
    text-align: center;
    align-items: center;
  }
  .expertise-card h3 {
    font-size: 22px;
    margin-top: 1rem;
  }
  .expertise-card p {
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.4;
    max-width: 100%;
  }
  .expertise-card a {
    margin-top: 1rem;
    position: relative;
  }
  .expertise-card .icon-wrapper {
    width: 70px;
    height: 70px;
  }
}

/* Phones (≤576px) */
@media (max-width: 576px) {
  .header-section h1 {
    font-size: 26px;
  }
  .expertise-card h3 {
    font-size: 20px;
  }
  .expertise-card p {
    font-size: 13px;
  }
  .expertise-card .icon-wrapper {
    width: 60px;
    height: 60px;
    padding: 0.75rem;
  }

  .expertise-card:nth-child(4) a {
    margin-top: 3rem;
  }
}

/* Small Phones (≤400px) */
@media (max-width: 400px) {
  .header-section h1 {
    font-size: 22px;
  }
  .expertise-card h3 {
    font-size: 18px;
  }
  .expertise-card p {
    font-size: 12px;
  }
  .expertise-card a {
    font-size: 0.75rem;
  }
}

/* =======================
       Experience Section
    ======================= */
.exp-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100%;
}

.exp-section-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 90vh;
  margin-top: 5%;
  /* border: 1px solid red; */
}
.exp-section-wrapper-header {
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid blue; */
}
.exp-section-wrapper-header h6 {
  color: #353b3c;
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
}
.exp-section-wrapper-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* border: 1px solid green; */
  width: 80%;
  margin-top: 5%;
}

.exp-left-container {
  padding: 0;
}

.exp-left-container img {
  width: 100%;
  height: 100%;
}
.exp-right-container {
  display: flex;
  flex-direction: column;
  /* width: 65%; */
  padding-left: 50px;
  position: relative;
  overflow: visible !important;
  height: 90%;
}
.exp-right-container h5 {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: underline;
  color: #353b3c;
  text-transform: uppercase;
}

.exp-right-container span {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-body);
  color: #353b3c;
  margin-top: 30px;
}
.exp-right-container p {
  font-size: 22px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #353b3c;
  line-height: 1.2;
  margin-top: 20px;
}
.exp-right-container ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  padding-left: 30px;
  margin-top: 40px;
}
.exp-right-container ul li {
  font-size: 22px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #353b3c;
  line-height: 1;
  list-style-type: disc;
}

.nav-buttons {
  transform: translateY(-50%);
  display: flex;
  gap: 15px; /* space between buttons */
  position: absolute;
  left: 45%;
  bottom: -5%;
}

.nav-buttons .buttons {
  background: rgba(0, 0, 0, 0.46);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #eac9c1;
  text-align: center;
  line-height: 36px;
  text-decoration: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: none;
}

.nav-buttons .buttons:hover {
  transform: scale(1.1);
  background: black;
  color: #eac9c1;
}
.exp-right-container {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.exp-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.exp-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
/* =======================
   Responsive Experience Section
   ======================= */
@media (max-width: 1440px) {
  .exp-section {
    height: 110vh !important;
  }
  .exp-section-wrapper-inner {
    margin-top: 1rem;
    width: 90%;
  }
  .exp-section-wrapper {
    margin-top: 0;
  }
  .exp-right-container {
    line-height: 1;
    min-height: 100%;
  }
  .exp-right-container ul {
    gap: 10px;
    margin-top: 1rem;
  }
}
/* ≤1366px - slight scale down */
@media (max-width: 1366px) {
  .exp-section-wrapper-header h6 {
    font-size: 44px;
  }
  .exp-right-container h5 {
    font-size: 32px;
  }
  .exp-right-container span,
  .exp-right-container p,
  .exp-right-container ul li {
    font-size: 20px;
  }
  .nav-buttons {
    bottom: 0;
  }
}

/* ≤1200px - laptops/tablets landscape */
@media (max-width: 1200px) {
  .exp-section {
    height: 100% !important;
  }
  .exp-section-wrapper {
    height: auto;
    padding: 60px 30px;
  }

  .exp-section-wrapper-inner {
    width: 100%;
  }

  .exp-right-container {
    height: 500px;
  }
  .exp-left-container {
    /* width: 100%; */
    padding: 0;
  }
  .exp-right-container {
    margin-top: 5%;
  }

  .exp-left-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }
}

/* ≤992px - tablets portrait */
@media (max-width: 992px) {
  .exp-section-wrapper-header h6 {
    font-size: 36px;
  }
  .exp-right-container h5 {
    font-size: 28px;
  }
  .exp-right-container span,
  .exp-right-container p,
  .exp-right-container ul li {
    font-size: 18px;
    line-height: 1;
  }
  .exp-right-container ul {
    padding-left: 20px;
  }
  .exp-left-container {
    display: flex;
    justify-content: center;
    margin-top: 5%;
  }
}

/* ≤768px - small tablets / phablets */
@media (max-width: 768px) {
  .exp-section-wrapper {
    padding: 40px 20px;
  }
  .exp-section-wrapper-header h6 {
    font-size: 32px;
  }
  .exp-right-container h5 {
    font-size: 24px;
  }
  .exp-right-container span,
  .exp-right-container p,
  .exp-right-container ul li {
    font-size: 16px;
  }
  .exp-right-container ul {
    gap: 15px;
  }
  .nav-buttons {
    margin-top: 40px;
  }
}

/* ≤576px - phones */
@media (max-width: 576px) {
  .exp-section-wrapper {
    padding: 30px 15px;
  }
  .exp-section-wrapper-header h6 {
    font-size: 26px;
    text-align: center;
  }
  .exp-right-container h5 {
    font-size: 20px;
  }
  .exp-right-container span,
  .exp-right-container p,
  .exp-right-container ul li {
    font-size: 14px;
    /* line-height: 1.5; */
  }
  .exp-right-container ul {
    padding-left: 15px;
  }
  .nav-buttons {
    margin-top: 1rem;
    left: 40%;
  }
  .nav-buttons .buttons {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .exp-right-container {
    padding-left: 0;
  }
  .exp-left-container {
    width: 95%;
  }
}

/* =======================
       test Section
    ======================= */

.testimonial-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100%;
}

.testimonial-section-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 90vh;
  /* border: 1px solid red; */
}
.testimonial-section-wrapper-head {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
  /* border: 1px solid blue; */
}
.testimonial-section-wrapper-head h5 {
  color: #353b3c;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -1px;
}
.testimonial-section-wrapper-head h6 {
  color: #353b3c;
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 400;
}
.testimonial-section-wrapper-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* border: 1px solid green; */
  /* width: 90%; */
}
.test-left-container {
  /* border: 1px solid orange; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.test-left-container-img {
  width: 55%;
  /* border: 1px solid orange; */
}
.test-left-container span {
  width: 55%;
  font-size: 40px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #353b3c;
  /* border: 1px solid orange; */
  line-height: 95%;
}
.test-right-container {
  /* border: 1px solid purple; */
  /* display: flex;
  justify-content: center;
  align-items: center; */
  gap: 40px;
}
.test-right-container-card {
  /* border: 1px solid red; */
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.test-right-container-card-head {
  /* border: 1px solid blue; */
  background-color: #eac9c1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px;
  position: relative;
  height: 260px;
}
.test-right-container-card-head::after {
  position: absolute;
  bottom: -35px;
  left: 0;
  width: 0px;
  height: 0px;
  content: "";
  /* border-left: 35px solid transparent; */
  border-right: 35px solid transparent;
  border-top: 35px solid #eac9c1;
}
.test-right-container-card-head p {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.2;
  color: #353b3c;
}
.stars {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
  left: 2rem;
  bottom: 1rem;
  gap: 5px;
}

.test-right-container-card-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid blue; */
}
.test-right-container-card-bottom-wrapper {
  display: flex;
  /* border: 1px solid red; */
  justify-content: flex-start;
  align-items: center;
  width: 80%;
  gap: 20px;
}
.test-right-container-card-bottom-img {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.test-right-container-card-bottom-end {
  display: flex;
  flex-direction: column;
  /* gap: 5px; */
  /* border: 1px solid red; */
}
.test-right-container-card-bottom-end p {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 95%;
  color: #353b3c;
}
.test-right-container-card-bottom-end span {
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 95%;
  color: #353b3c;
}

.test-right-container {
  overflow: hidden; /* 👈 ensures leaving cards are hidden */
  position: relative; /* safe for positioning */
}

.test-right-container-card {
  flex: 0 0 calc(25% - 30px); /* 4 cards per row, minus gap correction */
  opacity: 1;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

/* Card leaving (fade out while sliding left) */
.card-leave {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

/* Card entering (fade in from right) */
.card-enter {
  opacity: 0;
  transform: translateX(50px);
  animation: cardFadeIn 0.8s forwards ease-in-out;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =======================
   Responsive Testimonial Section
   ======================= */
@media (max-width: 1440px) {
  .testimonial-section {
    margin-top: 10%;
  }
  .test-right-container-card-head {
    height: 200px;
    padding: 0.7rem;
  }
  .test-right-container-card-head p {
    font-size: 1rem;
    line-height: 1;
  }
}
/* ≤1366px - slight adjustments */
@media (max-width: 1366px) {
  .testimonial-section {
    margin-top: 5%;
  }
  .testimonial-section-wrapper {
    height: auto;
    margin-bottom: 5%;
  }
  .testimonial-section-wrapper-head h6 {
    font-size: 44px;
  }
  .test-left-container span {
    font-size: 32px;
  }
  /* .test-right-container-card-head{
    padding: 20px;
  } */
  .test-right-container-card-head p {
    font-size: 13px;
    line-height: 1;
  }
  .testimonial-section-wrapper-inner {
    margin-top: 5%;
  }
  .stars img {
    width: 20px;
  }
}

/* ≤1200px - laptops/tablets landscape */
@media (max-width: 1200px) {
  .testimonial-section {
    margin-top: 0;
  }
  .testimonial-section-wrapper {
    padding: 50px 20px;
  }
  .testimonial-section-wrapper-inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .test-left-container {
    text-align: center;
    gap: 20px;
  }
  .test-left-container-img,
  .test-left-container span {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .test-left-container span {
    font-size: 28px;
  }
  .test-right-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
  }
  .test-right-container-card-head p {
    font-size: 12px;
    line-height: 1;
  }
  /* .test-right-container-card {
    flex: 0 0 calc(50% - 20px); 
  } */
}

/* ≤992px - tablets portrait */
@media (max-width: 992px) {
  .testimonial-section-wrapper-head {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-section-wrapper-head h6 {
    font-size: 36px;
  }
  .test-left-container span {
    font-size: 24px;
  }
  /* .test-right-container-card {
    flex: 0 0 100%; 
  } */
  .test-right-container-card-head {
    padding: 20px;
    height: 150px;
  }
  .test-right-container-card-head p {
    font-size: 10px;
    line-height: 1;
  }
  .stars img {
    width: 15px;
  }
}

/* ≤768px - small tablets / phablets */
@media (max-width: 768px) {
  .testimonial-section-wrapper {
    padding: 40px 15px;
  }
  .testimonial-section-wrapper-head h6 {
    font-size: 28px;
  }
  .test-left-container span {
    font-size: 20px;
  }
  .test-right-container-card-head {
    padding: 1rem;
    height: 200px;
  }
  .test-right-container-card-head p {
    font-size: 0.8rem;
    line-height: 1;
  }
  .test-right-container-card-bottom-wrapper {
    width: 100%;
  }
  .test-right-container-card-bottom-end p {
    font-size: 12px;
  }
  .test-right-container-card-bottom-end span {
    font-size: 10px;
  }
  .stars img {
    width: 10px;
  }
  .test-right-container-card-bottom-wrapper {
    gap: 10px;
  }
  .test-slider-track {
    gap: 30px !important;
  }
}

/* ≤576px - phones */
@media (max-width: 576px) {
  .testimonial-section-wrapper {
    padding: 30px 10px;
  }
  .testimonial-section-wrapper-head h6 {
    font-size: 22px;
  }
  .test-left-container span {
    font-size: 18px;
  }
  .test-right-container-card-head p {
    font-size: 1rem;
    line-height: 1.4;
  }
  .test-right-container-card-bottom-end p {
    font-size: 14px;
  }
  .test-right-container-card-bottom-end span {
    font-size: 10px;
  }

  /* ✅ One card takes full width */
  .test-right-container-card {
    flex: 0 0 100%;
  }
  .test-slider-track {
    gap: 10px !important;
    width: 70%;
  }
  .test-right-container {
    height: 320px;
  }
}

/* Buttons */
.test-btn {
  position: absolute;
  top: 85%;
  /* transform: translateY(-50%); */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;

  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.46);
  color: #eac9c1;
  line-height: 36px;
  text-decoration: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  border: none;
}

.prev-btn {
  left: 40%;
}

.next-btn {
  right: 40%;
}

.test-btn:hover {
  transform: scale(1.1);
  background: black;
  color: #eac9c1;
}
@media (min-width: 577px) {
  .test-btn {
    display: none; /* Hide buttons on desktop */
  }
}

/* =======================
       Counter Section
    ======================= */

.counter-section {
  width: 100%;
  height: 50vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.counter-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/counter-bg.png");
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(0.9);
  transform: scale(1.1);
}

.counter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #eac9c1bf;
}

.counter-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem;
  text-align: center;
  color: white;
  padding: 0 5%;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-value {
  font-size: 100px;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.counter-label-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 2%;
}

.counter-label {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  opacity: 0.9;
  position: relative;
}
.counter-label::before {
  content: "";
  position: absolute;
  left: -60px;
  width: 40px;
  height: 2px;
  background-color: white;
  margin: 10px 0;
}

/* ===========================
   RESPONSIVE COUNTER SECTION
   =========================== */

/* Explicitly lock 1366px look */
@media (max-width: 1366px) {
  .counter-value {
    font-size: 100px; /* keep original size */
  }
  .counter-label {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  }
  .counter-grid {
    gap: 6rem;
  }
}

/* Large Laptops & Small Desktops (≤1200px) */
@media (max-width: 1200px) {
  .counter-value {
    font-size: 80px;
  }
  .counter-grid {
    gap: 4rem;
  }
  .counter-label::before {
    left: -50px;
    width: 35px;
  }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .counter-section {
    height: auto;
    padding: 3rem 0;
  }
  .counter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .counter-value {
    font-size: 60px;
  }
  .counter-label {
    font-size: 0.8rem;
  }
  .counter-label::before {
    left: -40px;
    width: 30px;
  }
}

/* Large Phones & Small Tablets (≤768px) */
@media (max-width: 768px) {
  .counter-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .counter-value {
    font-size: 50px;
  }
  .counter-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  .counter-label::before {
    /* display: none;  */
    bottom: -2px;
  }
}

/* Phones (≤576px) */
@media (max-width: 576px) {
  .counter-section {
    padding: 2.5rem 0;
  }
  .counter-value {
    font-size: 42px;
  }
  .counter-label {
    font-size: 0.7rem;
  }
}

/* Small Phones (≤400px) */
@media (max-width: 400px) {
  .counter-value {
    font-size: 36px;
  }
  .counter-label {
    font-size: 0.65rem;
  }
}

/* ------------------- code for the image gallery ---------------------- */
/* Make the section cover the entire viewport */
.images-gallery {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-bg); /* Optional dark background */
  overflow: hidden;
}

/* Fullscreen swiper */
.swiper {
  margin-top: 3rem;
  width: 100%;
  height: 90%;
}

/* Responsive slide sizing */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60vw; /* adjusts automatically */
  height: 80vh;
}

/* Make sure images fill the slides without distortion */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px; /* optional for smooth edges */
}

/* Pagination styling (optional aesthetic) */
.swiper-pagination {
  position: absolute;
  bottom: 50px !important;
  width: 100%;
  text-align: center;
  z-index: 10;
  pointer-events: auto;
}

.swiper-pagination-bullet {
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: rgba(46, 46, 46, 0.788);
  margin: 0 4px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #eac9c1;
  width: 32px;
}

.swiper-pagination-bullet:hover {
  transform: scale(1.3);
  background: #b88c81 !important;
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 1440px) {
  .swiper-slide {
    width: 55vw;
    height: 75vh;
  }
}
@media (max-width: 1366px) {
  .swiper-slide {
    width: 55vw;
    height: 70vh;
  }
}

@media (max-width: 1200px) {
  .swiper-slide {
    width: 65vw;
    height: 70vh;
  }
}

@media (max-width: 1024px) {
  .swiper-slide {
    width: 75vw;
    height: 65vh;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 85vw;
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .images-gallery {
    height: 70vh;
  }
  .swiper-slide {
    width: 90vw;
    height: 55vh;
  }
}
