:root {
  --color-primary: #103c46;
  --color-secondary: #fba243;
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;
  --color-dark-gray: #555555;
  --color-text-dark: #103c46;
   --max-desktop-width: 1440px;
  --color-text-light: #ffffff;
  --dark-teal: #08333C;
  --light-text: #ffffff;
}
body {
  background-color: var(--color-primary);
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text-light);
  overflow-x: hidden;
}
/* ---------- GLOBAL CONTAINER ---------- */
* {
  box-sizing: border-box;
}
.container {
  width: 100%;
  max-width: var(--max-desktop-width);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 120px);
  padding-right: clamp(20px, 4vw, 120px);
}

/* Images Safe */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .container {
    padding-left: 73px;
    padding-right: 100px;
  }
}
@media (max-width: 480px) {
  .container {
       padding-left: 14px;
    padding-right: 23px;
  }
}
/* ============ HERO ============ */

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* change from flex-end */
  /* gap: 40px; */
  position: relative;
}

.hero-main {
  flex-basis: 60%;
  flex-shrink: 0;
  padding-bottom: 13rem;
  padding-top: 5.375rem;
}

.hero-title {
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  color: #FFF;
  font-size: 5.3875rem;
  font-weight: 900;
  max-width: 755px;
  white-space: normal;
}

.hero-line-two {
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-light-gray);
}
.hero-aside {
  position: absolute;
  right: 121px;
  bottom: 75px;
  width: 45%;
  text-align: right;
}
.hero-aside-text {
  margin-top: 12px;
  opacity: 0.8;
  max-width: 916px;
  margin-left: auto;
  color: #FFF;
  font-size: 0.98rem;
  font-weight: 300;
}

.hero-aside-highlight {
  margin-bottom: 8px;
  font-family: 'Open Sans', sans-serif;
  color: #FBA243;
  text-align: right;
  font-size: 1.7715rem;
  font-weight: 500;
}@media (max-width: 768px) {

  .hero-container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 🔥 REMOVE BIG DESKTOP SPACING */
  .hero-main {
    padding-top: 3rem;
    padding-bottom: 0;   /* important */
  }

  .hero-title {
      font-size: clamp(2.2rem, 6vw, 5.3rem);
    line-height: 1.2;
  }

  .hero-line-two {
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Remove absolute */
  .hero-aside {
    position: static;
    width: 100%;
    text-align: right;
    margin-top: 1.5rem;
  }

  .hero-aside-highlight {
    text-align: right;
  }

  .hero-aside-text {
    margin-left: 0;
  }

  /* Optional: reduce hero section spacing */
  .hero-section {
    padding-bottom: 30px;
  }

}
@media (max-width: 480px) {

  .hero-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
     font-size: clamp(1.3rem, 6vw, 5.3rem);
    line-height: 1.15;
    letter-spacing: 0.5px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-aside-highlight {
    font-size: 1rem;
    line-height: 1.4;
   
  }

  .hero-aside-text {
    font-size: 0.6rem;
    line-height: 1.5;
    max-width: 100%;
  }

}
/* ============ VIDEO BANNER ============ */

/* SPACER – Hero height preserve pannum */
.hero-spacer {
  height: 100vh;
}


/* ===============================
   VIDEO SECTION
================================ */

.banner-section {
  position: relative;
  height: 100vh;
  margin-top: -100vh;   /* Hero mela overlap */
  z-index: 1;
  overflow: hidden;
}

.video-banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {

  /* Remove cinematic overlap */
  .hero-spacer {
    display: none;
  }

  .banner-section {
    position: relative;
    height: 40vh;
    margin-top: 0;
  }

  .video-banner {
    height: 400px;
  }

}

@media (max-width: 480px) {

  /* Remove cinematic overlap */
  .hero-spacer {
    display: none;
  }

  .banner-section {
    position: relative;
    height: 27vh;
    margin-top: 0;
  }

  .video-banner {
    height: 200px;
  }

}
/* ============ INTRO BLOCK ============ */

.intro-section {
  background-color: #123941;
  padding: 43px 48px 13px;
  text-align: center;
}


/* INNER LIGHTER BOX */
.intro-container-box {
  background-color: #1d4c53;
  width: 100%;
  min-height: 24.0625rem;  /* ✅ height → min-height change */
  
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* mobile safe */
}

.intro-wrapper {
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1000px;
}


/* SMALL TEXT */
.intro-mid-text {
  font-weight: 300;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 4rem;
  line-height: 1.2;
}


/* BIG WHITE TEXT */
.intro-bottom-text {
    color: #FFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 3.87rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.4;
    width: 1152px;
    left: -59px;
    position: relative;
}

@media (max-width: 768px) {

  .intro-section {
    padding: 30px 20px;
  }

  .intro-container-box {
    min-height: auto;
    padding: 40px 20px;
  }

  .intro-mid-text {
    font-size: 2rem;
  }

  .intro-bottom-text {
    font-size: 1.8rem;
    line-height: 1.3;
    width: 100%;
    position: static;
  }

}
/* ============ ABOUT ============ */

.about-background {
  background: rgba(16, 60, 70, 0.05);
  width: 100%;
  padding: 140px 0;
}

.about-section {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  padding: 33px 0 109px;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}


/* ===============================
   PILLARS
================================ */

.about-pillars {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
  width: 100%;
  flex-wrap: wrap; /* ✅ important */
}

.pillar {
  padding: 0 64.44px 0 0;
  position: relative;
  color: #103C46;
  font-family: 'Open Sans', sans-serif;
  font-size: 5.2764375rem;
  font-weight: 300;
  line-height: 1;
}

.pillar:first-child {
  padding-left: 0;
}

.pillar:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80%;
  background-color: #000000;
  opacity: 0.5;
}


/* ===============================
   DESCRIPTION
================================ */

.about-description {
  max-width: 1233px;
  font-size: 2.1rem;
  line-height: 1.35;
  margin-bottom: 1.0625rem;
  font-weight: 400;
  font-family: 'Satoshi', sans-serif;
}


/* ===============================
   CTA
================================ */

.about-cta {
  color: #103C46;
  font-family: 'Open Sans', sans-serif;
  font-size: 3rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  perspective: 800px;
}

.about-cta .letter {
  display: inline-block;
  transform-origin: bottom left;
  transition: transform 0.35s cubic-bezier(.25,.8,.25,1),
              color 0.3s ease;
}

.about-cta.animate .letter {
  animation: introTilt 0.6s ease forwards;
}

@keyframes introTilt {
  0% { transform: rotateZ(0deg); }
  50% { transform: rotateZ(-8deg) rotateY(-10deg) translateY(6px); }
  100% { transform: rotateZ(0deg); }
}

.about-cta:hover .letter {
  transform: rotateZ(-8deg) rotateY(-10deg) translateY(6px);
  color: #FBA243;
}

@media (max-width: 768px) {

  .about-background {
    padding: 80px 0;
  }

  .about-pillars {
    flex-direction: column;
    gap: 20px;
  }

  .pillar {
    font-size: 2rem;
    padding: 0;
  }

  .pillar::after {
    display: none;
  }

  .about-description {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .about-cta {
    font-size: 1.5rem;
  }

}

/* ============ FEATURED WORK ============ */
.featured-work-section {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  padding-bottom: 131px;
}

.featured-work-title {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 40px;
}

/* MAIN GRID */
.work-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding-bottom: 110px;
}



.work-item img {
  width: 100%;
  max-width: 863px;
  height: 501px;
  aspect-ratio: 863/501;
  transform: translateX(-141px);
  object-fit: cover;
}
.work-item.item-2 img {
       width: 89%;
    height: 363px;
    transform: translateX(102px);
}

/* text below big image */
.work-text {
  margin-top: 16px;
}

.work-text h3 {
  font-size: 48px;
  font-weight: 400;
}

.work-text p {
  font-size: 36px;
  font-weight: 400;
  color: var(--color-primary);
  margin-top: -10px;
  opacity: 0.2;
}

/* CARD STYLE: shared base for featured .card-item, .kmvs-card, .doc-card */
.card-item,
.kmvs-card,
.doc-card {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 6.5rem 0 2.375rem 1.3125rem; /* 104px 0 38px 21px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22.75rem; /* 364px */
  height: 357px;
  width: 17.1875rem; /* 259px */
  left: -159px;
}
.card-item
{background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 6.5rem 0 2.375rem 1.3125rem; /* 104px 0 38px 21px */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22.75rem; /* 364px */
  height: 357px;
  width: 17.1875rem; /* 259px */
  position: relative;
  left: -200px;
  margin: 0 auto;

}
.card-item p,
.kmvs-card p,
.doc-card p {
  width: 15rem; /* 240px */
  height: 2.625rem; /* 42px */
  color: #FFF;
  font-size: 1rem; /* 16px */
  font-weight: 300;
  line-height: 1.4375rem; /* 23px */
}

.percentage,
.kmvs-percentage,
.doc-percent {
  font-size: 7.75rem; /* 124px */
  font-weight: 700;
  line-height: 1;
      margin: 43px 4px 1px -9px; /* -8px left */
}

.percent-sign,
.kmvs-percent-sign,
.doc-percent span {
  font-weight: 100;
}

.card-item a,
.kmvs-card a,
.doc-card a {
  font-weight: 700;
  font-size: 1rem;
  align-self: flex-start;
}

/* GRID POSITIONS */
.item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}


.item-4,
.item-5,
.item-6,
.item-7,
.item-8 {
  grid-column: 1 / 3;
  text-align: left;
}

.explore-item a {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}

/* ============ KMVS BLOCK ============ */
.kmvs-section {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  padding: 100px 0 80px;
}

.kmvs-grid {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr 1.4fr;
  gap: 20px;
  align-items: stretch;
  padding-bottom: 126px;
}

/* Left teal cards */
.kmvs-card {
    position: relative;
 background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 104px 0px 38px 21px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 364px;
    height: 357px;
    width: 259px;
    left: -15px;
  margin-top: 212px;
}


.kmvs-card p strong,
.card-item p strong,
.kmvs-card p strong,
.doc-card p strong {
  font-weight: 700;
}
.kmvs-card-2 .kmvs-percentage {
    font-size: 124px;
  font-weight: 700;
  line-height: 1;
    margin: 27px 4px 1px -9px;

}

.kmvs-percent-sign {

  font-weight: 300;
}

/* Right side poster image */
.kmvs-poster img {
width: 100%;
max-width: 674px;

height: 576px;
    
  display: block;
  object-fit: cover;
}

/* Bottom "KMVS Branding" text */
.kmvs-text {
     
        width: fit-content;
    margin-left: auto;
    margin-right: 580px;
    margin-bottom: -23px;
    margin-top: 5px;
    
}

.kmvs-text h3 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.04em;
      width: 515px;
}

.kmvs-text p {
  font-size: 36px;
  font-weight: 400;
  color: var(--color-primary);

  opacity: 0.2;
}

/* ============ DOC SECTION ============ */
.doc-section {
  padding: 80px 0;
}

/* GRID */
.doc-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

/* LEFT IMAGE */
.doc-image-box img {
      width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-top: 200px;
}

/* MIDDLE COLUMN */
.doc-cards-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARDS */
.doc-card {
  position: relative;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 104px 0px 38px 21px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 364px;
    height: 357px;
    width: 259px;
    left: 9px;
}

.doc-card p {
  width: 240px;
height: 42px;
 
  color: #FFF;
font-family: 'Open Sans', sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 23px;
}

/* 50% TEXT */
.doc-percent {
  font-size: 124px;
  font-weight: 700;
  line-height: 1;
     margin: 27px 4px 1px -9px;

}

.doc-percent span {

  font-weight: 100;
 
}

/* EXPLORE BLOCK */
.doc-explore {
  display: flex;
  align-items: center;
  font-weight: 400;
}

.doc-explore a {
  font-size: 48px;
  line-height: 1.2;
  color: #004854;
  font-weight: 400;
  text-decoration: underline;
  margin-top: 289px;
  position: relative;
  left: -41px;
  text-decoration-thickness: 1px;
}

/* BOTTOM CAPTION */
.doc-caption {
  margin-top: 20px;
}

.doc-title {
  font-size: 48px;
  font-weight: 400;
}

.doc-subtitle {
  font-size: 36px;
  font-weight: 400;
  color: #004854;
  margin-top: -8px;
  opacity: 0.2;
}
/* ===== BOX + TEXT COLOR ANIMATION ===== */
@keyframes boxTextPulse {
  0% {
    background-color: var(--color-primary);
    color: #ffffff;
  }
  50% {
    background-color: #d66a1f;
    color:#ffffff; /* text dark for contrast */
  }
  100% {
    background-color: var(--color-primary);
    color: #ffffff;
  }
}

/* Apply to all non-image boxes */
.card-item,
.kmvs-card,
.doc-card {
  animation: boxTextPulse 20s ease-in-out infinite;
}

/* Force inside text to follow animation color */
.card-item p,
.card-item strong,
.kmvs-card p,
.kmvs-card strong,
.doc-card p,
.doc-card strong,
.percentage,
.kmvs-percentage,
.doc-percent,
.percent-sign,
.kmvs-percent-sign,
.doc-percent span {
  color: inherit;
}

/* =========================================
   CLEAN MOBILE FIX (768px ↓)
========================================= */

@media (max-width: 768px) {

  /* ===== FEATURED WORK ===== */
  .work-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .work-item img {
    width: 100%;
    height: auto;
    transform: none;
  }

  .card-item {
    width: 277px;
    height: auto;
    min-height: auto;
    left: 0;
    margin: 0;
    padding: 60px 20px;
  }

  .work-text h3 {
    font-size: 28px;
  }

  .work-text p {
    font-size: 20px;
  }@media (max-width: 768px) {

  .kmvs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 16px;
  }

  /* 🔥 Image always first full width */
  .kmvs-poster {
    order: 1;
    grid-column: 1 / -1;
  }

  .kmvs-poster img {
    width: 100%;
    height: auto;
  }

  /* 🔥 Title text second full width */
  .kmvs-text {
    order: 2;
    grid-column: 1 / -1;
    margin: 12px 0 20px;
  }

  /* 🔥 Cards below */
  .kmvs-card-1 {
    order: 3;
  }

  .kmvs-card-2 {
    order: 4;
  }

  .kmvs-card {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 40px 16px;
    margin: 0;
  }}
  
}

  @media (max-width: 480px) {

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  .doc-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* IMAGE */
  .doc-image-box img {
    width: 100%;
    height: auto;
  }

  /* TITLE */
  .doc-caption {
    text-align: center;
    margin-top: 8px;
  }

  .doc-title {
    font-size: 20px;
  }

  .doc-subtitle {
    font-size: 13px;
  }

  /* 🔥 SIDE BY SIDE FIXED */
  .doc-cards-column {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .doc-card {
    flex: 1 1 0;
    min-width: 0;                /* VERY IMPORTANT */
    width: auto !important;      /* remove desktop width */
    left: 0 !important;          /* remove desktop offset */
    position: static !important; /* remove relative offset */
    height: auto !important;
    min-height: 173px !important;

    padding: 14px 10px;
  }

  .doc-card p {
    font-size: 11px;
    line-height: 1.4;
  }

  .doc-percent {
    font-size: 22px;
    margin-top: 43px;
  }

  /* Explore */
  .doc-explore {
    text-align: center;
    margin-top: 12px;
  }

  
 .doc-explore a {
   font-size: 22px;
  display: inline-block;
  position: static;   /* remove absolute */
  }
}

@media (max-width: 480px) {

  /* Reduce container side padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* KMVS grid */
  .kmvs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Reset all desktop offsets */
  .kmvs-card {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    left: 0 !important;
    padding: 14px 12px;
  }

  /* Smaller text */
  .kmvs-card p {
    font-size: 12px;
    line-height: 1.4;
  }

  .kmvs-percentage {
    font-size: 28px;
    margin-top: 6px;
  }

}

@media (max-width: 768px) {

  .doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .doc-card {
                 /* VERY IMPORTANT */
   
    height: auto !important;
    min-height: 173px !important;

    padding: 14px 10px;
  }
  /* IMAGE */
  .doc-image-box {
    grid-column: 1 / -1;
    order: 1;
  }

  .doc-image-box img {
    width: 100%;
    height: auto;
  }

  /* DOCUMENTARIES NAME */
  .doc-caption {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
    order: 2;
  }

  .doc-title {
    font-size: 22px;
  }

  .doc-subtitle {
    font-size: 14px;
  }

  /* BOXES */
  .doc-cards-column {
    display: contents;
  }

  .doc-card {
    padding: 20px 14px;
  }

  .doc-percent {
    font-size: 48px;
  }

  .doc-card-top {
    order: 3;
  }

  .doc-card-bottom {
    order: 4;
  }

  /* EXPLORE LAST */
  .doc-explore {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 16px;
    order: 5;
  }

  .doc-explore a {
    font-size: 25px;
        position: absolute;
    top: -299px;
    left: 233px;
  }
  .doc-card p {
   font-size: 13px;
    line-height: 1.4;
    width: 165px;
  }

}
/* =========================================
   480px FINAL CLEAN VERSION
========================================= */
@media (max-width: 480px) {

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Container spacing */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* 2 column layout */
  .kmvs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    width: 100%;
  }

  /* Remove desktop fixed styles */
  .kmvs-card {
    width: 100% !important;
    min-width: 0;
    height: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 14px 10px;
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    overflow: hidden;
  }

  /* Text size */
  .kmvs-card p {
    font-size: 11px;
    line-height: 1.4;
        width: 171px;
  }

  /* 50% responsive size */
  .kmvs-percentage {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1;
  }

  .kmvs-percent-sign {
    font-size: 14px;
  }
  .kmvs-card-2 .kmvs-percentage {
    font-size: clamp(75px, -1vw, 30px);
    line-height: 1;
    margin-top: 39px;
  }

  /* Title */
  .kmvs-text {
    text-align: center;
    margin: 18px 0 14px;
  }

  .kmvs-text h3 {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    width: 100%;
  }

  .kmvs-text p {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 4px;
  }

}


/* ===== PARTNERS BAR ===== */

.partners-bar {
  background: #ffffff;   /* same dark teal */
  padding: 33px 0;
}

.partners-bar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.partners-bar-title {
  color: #0f3d46;
  font-size: 32px;
  font-weight: 400;
  white-space: nowrap;
}

/* ===== LOGO SCROLL ===== */

.partners-logo-wrapper {
  overflow: hidden;
  flex: 1;
}

.partners-logo-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}

.partners-logo-track img {
  height: 55px;
  width: auto;
 
  opacity: 0.85;
  transition: 0.3s;
}

.partners-logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}@media (max-width: 768px) {

  .partners-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners-bar-title {
    font-size: 20px;
  }

  .partners-logo-track img {
    height: 40px;
  }

}
/* ===== SECTION ===== */
.testimonials-section {
  padding: 60px 0;
  background: #0f3d46;
}

/* ===== CONTAINER ===== */
.testimonials-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* ===== SLIDER ===== */
.testimonials-slider {
  display: flex;
  width: 400%;
  gap: 20px;
 
}

/* ===== SLIDE ===== */
.testimonial-slide {
  width: 50%;
  display: flex;
  height: 470px;

}

/* IMAGE */
.testimonial-slide img {
  width: 45%;
  object-fit: cover;
}

/* TEXT BOX */
.testimonial-box {
  width: 55%;
  background: #2f2f2f;
  color: #fff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TEXT */
.quote-text {
  font-size: 32px;
  margin-bottom: 40px;
  line-height: 1.3;
}

.quote-author {
  font-size: 30px;
}

.quote-author-title {
  font-size: 18px;
  opacity: 0.6;
}

/* Smooth color change */
.testimonial-box {
  transition: background 0.6s ease;
}

/* Slide wise color only */
.slide1 .testimonial-box {
  background-color: #2f2f2f;
}

.slide2 .testimonial-box {
  background-color: #d56a1f;
}

.slide3 .testimonial-box {
  background-color: #1e40af;
}

.slide4 .testimonial-box {
  background-color: #065f46;
}
/* ===== DOTS ===== */
.testimonial-dots {
  text-align: center;
  margin-top: 25px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #aaa;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #fff;
}
@media (max-width: 768px) {

  .testimonial-slide {
    flex-direction: column;
  }

  .testimonial-slide img {
    width: 100%;
    height: 250px;
  }

  .testimonial-box {
    width: 100%;
    padding: 25px;
  }

  .quote-text {
    font-size: 20px;
  }

}
/* ============ INSIGHTS ============ */

.insights-section {
  padding: 108px 0;
}

.insights-title {
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 48px;
  text-align: center;
}

/* GRID */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 0 40px;
}

/* CARD */
.insight-card {
  border-radius: 0 50px 0 0;
  overflow: hidden;
  min-height: 480px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
}

/* Hover Effect */
.insight-card:hover {
  transform: rotate(-6deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Card Colors */
.card-1 { background-color: #8e6d6d; }
.card-2 { background-color: #6c4c3f; }
.card-3 { background-color: #486758; }
.card-4 { background-color: #555555; }

/* IMAGE */
.card-image-bg {
  padding: 36px 23px 0;
}

.card-image-bg img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* CONTENT */
.card-content {
  padding: 49px 23px 30px;
}

.card-content h4 {
  margin-bottom: 12px;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.card-content p {
  color: #FFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .insights-grid {
    margin: 0 24px;
  }

  .insight-card {
    transform: none !important;
  }

}

@media (max-width: 480px) {

  .insights-section {
    padding: 60px 0;
  }

  .insights-title {
    font-size: 28px;
  }

  .insights-grid {
    margin: 0 16px;
    gap: 18px;
  }

  .insight-card {
    border-radius: 0 30px 0 0;
    min-height: auto;
  }

  .card-content {
    padding: 30px 18px;
  }

  .card-content h4 {
    font-size: 18px;
  }

  .card-content p {
    font-size: 15px;
  }

}/* ============ CONTACT ============ */

.contact-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.2);
}

/* LAYOUT */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin: 0 40px;
}

/* LEFT TEXT */
.contact-prompt p {
  font-family: 'Satoshi', sans-serif;
  font-size: 52px;
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  max-width: 600px;
}

/* STRONG WORD */
.contact-prompt p strong {
  font-weight: 500;
}

/* RIGHT DETAILS */
.contact-details {
  text-align: right;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  opacity: .7;
}

.contact-details strong {
  font-weight: 600;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-details a:hover {
  opacity: 0.7;
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.social-icons a {
  font-size: 20px;
  color: #fff;
  transition: 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-4px);
  opacity: 0.7;
}

/* ================= TABLET ================= */

@media (max-width: 768px) {

  .contact-container {
    flex-direction: column;
    margin: 0 24px;
    gap: 40px;
  }

  .contact-prompt p {
    font-size: 32px;
  }

  .contact-details {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }

}

/* ================= MOBILE ================= */

@media (max-width: 480px) {

  .contact-section {
    padding: 60px 0;
  }

  .contact-container {
    margin: 0 16px;
  }

  .contact-prompt p {
    font-size: 24px;
    line-height: 1.3;
  }

  .contact-details {
    font-size: 14px;
  }

  .social-icons a {
    font-size: 18px;
  }

} /* ============ FOOTER ============ */

.footer-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden; /* prevent horizontal scroll */
}

/* CENTER BRAND */
.footer-branding {
  text-align: center;
}

/* BIG BRAND TEXT */
.footer-branding span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 12vw, 180px); /* 🔥 responsive size */
  line-height: 1;
  letter-spacing: -4px;
  transform-style: preserve-3d;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* REMOVE DESKTOP OFFSET */
.brand-canvas {
  padding-left: 0;
}

/* LETTER STYLE */
.footer-branding .letter {
  display: inline-block;
  transform-origin: bottom left;
  transition: transform .35s cubic-bezier(.25,.8,.25,1);
  transition-delay: calc(var(--i) * 0.03s);
  will-change: transform;
}

/* HOVER EFFECT */
.footer-branding .letter:hover {
  transform:
    rotateZ(-8deg)
    rotateY(-6deg)
    translateY(6px)
    translateX(-5px);
}

/* SCROLL ANIMATION STATE */
.footer-branding .letter.scroll-anim {
  transform:
    rotateZ(-8deg)
    rotateY(-6deg)
    translateY(6px)
    translateX(-5px);
}

/* ================= TABLET ================= */

@media (max-width: 768px) {

  .footer-section {
    padding: 40px 0;
  }

  .footer-branding span {
    letter-spacing: -2px;
  }

}

/* ================= MOBILE ================= */

@media (max-width: 480px) {

  .footer-section {
    padding: 30px 0;
  }

  .footer-branding span {
    letter-spacing: -1px;
  }

}
/* -------------------------------
   Prevent Horizontal Scroll
-------------------------------- */

html, body {
  overflow-x: hidden;
}





/* ========================================================= */
/* WORK HERO / STORYTELLING SECTION STYLES */
/* ========================================================= */

.work-hero-section {
       background-color: var(--dark-teal);
    padding: 120px 50px;
    min-height: 89vh;
    color: var(--light-text);
}

.work-hero-container {
    /* உரை மையத்தில் குவிந்துள்ள அகலத்தை நிர்ணயிக்க */
    max-width: 950px; 
  padding-left: 130px;

  padding-left: 77px;
  padding-bottom: 74px;
}

.storytelling-text {
text-align: left;
    width: 1231px;
    color: #FFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    bottom: 155px;
    position: absolute;
}

/* நீங்கள் உரையில் கொடுத்த **bold** எழுத்துக்கள் அடர்த்தியாக (bold) தெரியாமல் இருக்க, 
   CSS-ல் உள்ள `b` அல்லது `strong` டேக்குக்கான ஸ்டைலை overriding (மாற்ற) செய்யலாம். */
.storytelling-text strong,
.storytelling-text b {
    font-weight: 400; /* அல்லது 500 கொடுக்கலாம் */
    color: #ffffff; /* தேவைப்பட்டால், எழுத்தின் நிறத்தை மாற்றலாம் */
}



@media (max-width: 768px) {

  .work-hero-section {
    padding: 80px 20px;
    min-height: auto; /* avoid mobile vh issues */
  }

  .work-hero-container {
    padding-left: 0;
    padding-bottom: 40px;
    max-width: 100%;
  }

  .storytelling-text {
    width: 100%;
    font-size: 22px;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {

  .work-hero-section {
    padding: 227px 16px;
  }

  .storytelling-text {
    font-size: 18px;
    line-height: 1.6;
  }
}


/* ========================================================= */
/* IMAGE WITH TEXT OVERLAY SECTION STYLES */
/* ========================================================= */
.image-overlay-section {
  background-color: #f8f8f8;
  padding: 0;
}

.image-overlay-container{
  position: relative;
 width: 100%;
 max-width: 1474px;
height: 961px;
aspect-ratio: 1441/961;
  background-image: url('/Images/Background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Text box that holds shapes and text */
.text-overlay-box {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #ffffff; /* or var(--light-text) */
  z-index: 20;    /* text above images */ 
height: 205.922px;
justify-content: center;
align-items: center;
align-self: stretch;
}

.text-overlay-box img {
  pointer-events: none; /* decorative not interactive */
  top: -68px;
  left: -68px;
width: 403px;
height: 403px;
aspect-ratio: 1/1;

}

/* make decorative PNGs absolutely positioned relative to text box */
.decor-shape {
  position: absolute;
  pointer-events: none;
  z-index: 10;     /* behind text */
  display: block;
  max-width: none; /* we control size with width/height */
}

/* specific placements (adjust values to suit your PNGs) */




.small-square {
  position: absolute;
  width: 25px;
  height: 25px;
  bottom: 15px;
  left: 145px;
  z-index: 21; /* above main text if you want it overlaying */
  pointer-events: none;
}

/* Text styling */
.overlay-text {
  font-size: 86.2px;
  font-weight: 900;
  line-height: 1.1;
  position: relative;
  padding: 59px 0;
  z-index: 30;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {

  .image-overlay-container {
    height: auto;
    min-height: 60vh;
    aspect-ratio: auto;
    padding: 80px 20px;
  }

  .text-overlay-box {
    position: relative;
    bottom: auto;
    left: auto;
    height: auto;
    width: 100%;
    text-align: left;
  }

  .text-overlay-box img {
    width: 160px;
    height: 160px;
    top: -30px;
    left: -20px;
  }

  .small-square {
    display: none; /* hide tiny decor on mobile */
  }

  .overlay-text {
    font-size: 36px;
    line-height: 1.2;
    padding: 20px 0;
  }
}
@media (max-width: 480px) {

  .image-overlay-container {
    padding: 60px 16px;
  }

  .overlay-text {
    font-size: 28px;
    line-height: 1.25;
  }

  .text-overlay-box img {
    width: 120px;
    height: 120px;
  }
}

/* ========================================================= */
/* THE REDESIGN WAY (D3 PROCESS) */
/* ========================================================= */

.redesign-way-section {
  background-color: #ffffff;
  padding: 60px 60px;
  width: 100%;
  color: #444444;
}

.redesign-way-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- HEADER ---------------- */

.header-content {
  margin-bottom: 50px;
}

.description-text {
  font-size: 24px;
  line-height: 1.5;
  color: #444444;
}

.d3-approach {
  color: #0f3d46;
}

/* ---------------- STEPS ---------------- */

.d3-steps {
  border-top: 1px solid #e0e0e0;
}

.step-row {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid #e0e0e0;
}

/* TITLE */
.step-title {
  width: 50%;
font-family: 'Open Sans', sans-serif;

  font-size: 84px;
  font-weight: 300;
  color: #103C46;

  opacity: 0;
  transform: translateX(-60px);
}

/* DESCRIPTION */
.step-description {
  width: 50%;
  font-size: 24px;
  line-height: 1.6;
  color: #103C46;

  opacity: 0;
  transform: translateY(30px);
}

/* ACTIVE STATE */
.step-row.show .step-title {
  animation: slideLeft 0.8s ease forwards;
}

.step-row.show .step-description {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* KEYFRAMES */
@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .redesign-way-section {
    padding: 60px 20px;
  }

  .step-row {
    flex-direction: column;
    gap: 16px;
  }

  .step-title,
  .step-description {
    width: 100%;
  }

  .step-title {
    font-size: 36px;
  }

  .step-description {
    font-size: 16px;
  }

  .description-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .step-title {
    font-size: 28px;
  }

  .description-text,
  .step-description {
    font-size: 15px;
  }
}

/* ===== SECTION ===== */




/* ===== GRID ===== */
.expertise-grid {
     display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;   /* <<< important */
}

/* ===== CARDS ===== */
.expertise-card {
    background: var(--color-white);
    padding: 66px 35px 35px 80px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all .3s ease;
    cursor: pointer;
    min-height: 327px;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-3px);
}

.card-title-exp {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    color: #103C46;
    font-size: 40px;
}

.plus-icon {
    font-size: 36px;
    font-weight: 300;
    color: #444;
    transition: .3s ease;
}

.card-description-exp {
    margin-top: 10px;
    font-size: 24px;
    color: #103C46;
}
/* ========================================================= */
/* EXPERTISE SECTION */
/* ========================================================= */

.expertise-section {
    background-color: var(--dark-teal);
    padding: 80px 50px;
      padding-top: 180px;
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-title {
    margin-bottom: 108px;
    color: #FFF;
   font-family: 'Open Sans', sans-serif;

    font-size: 100px;
    font-weight: 600;
}

/* ========================================================= */
/* GRID */
/* ========================================================= */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

/* ========================================================= */
/* CARDS */
/* ========================================================= */

.expertise-card {
    background: var(--color-white);
    padding: 66px 35px 35px 80px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .35s ease;
    min-height: 327px;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-3px);
}

.card-title-exp {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 40px;
    color: #103C46;
}

.plus-icon {
    font-size: 36px;
    transition: transform .3s ease;
    color: #444;
}

.card-description-exp {
    margin-top: 10px;
    font-size: 24px;
    color: #103C46;
    line-height: 1.4;
}

/* ========================================================= */
/* SMOOTH EXPAND */
/* ========================================================= */
.expand-content {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding-left: 25px;
    font-size: 20px;
    line-height: 1.5;
    color: #103C46;
    opacity: 0;

    transition: max-height .45s ease, 
                opacity .35s ease, 
                margin-top .35s ease;
}

/* REMOVE THIS */
.expertise-card.active .expand-content {
    margin-top: 20px;
    opacity: 1;
}


/* .expertise-card.active {
    border-color: #2D9CDB;
    height: auto ;
     grid-column: 1 / span 0;
    

} */

.expertise-card.active .expand-content {
    max-height: 300px; /* change if card has more bullets */
    margin-top: 20px;
    opacity: 1;
}

.expertise-card.active .plus-icon {
    transform: rotate(45deg);
}
@media (max-width: 480px) {

  .expertise-card {
    padding: 24px 16px;
  }

  .card-title-exp {
    font-size: 20px;
  }

  .plus-icon {
    font-size: 20px;
  }
}

@media (max-width: 768px) {

  .expertise-section {
    padding: 80px 20px;
    padding-top: 120px;
  }

  .expertise-title {
    font-size: 42px;
    margin-bottom: 48px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .expertise-card {
    padding: 32px 20px;
    min-height: auto;
  }

  .card-title-exp {
    font-size: 24px;
  }

  .plus-icon {
    font-size: 26px;
  }

  .card-description-exp {
    font-size: 16px;
  }

  .expand-content {
    padding-left: 0;
    font-size: 15px;
  }

  .expertise-card.active {
    grid-column: auto;
  }
}
@media (max-width: 480px) {

  .expertise-title {
    font-size: 32px;
  }

  .card-title-exp {
    font-size: 20px;
  }

  .card-description-exp,
  .expand-content {
    font-size: 14px;
  }
}

/* ========================================================= */
/* CTA BLOCK */
/* ========================================================= */

.cta-block-exp {
    grid-column: 2;
    align-self: start;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
}

.cta-block-exp h3 {
    font-size: 40px;
    margin-bottom: 20px;
}

.explore-link-exp {
    font-size: 28px;
    color: #FFF;
    text-decoration: underline;
}
@media (max-width: 768px) {

  .cta-block-exp {
    grid-column: auto;        /* 🔑 IMPORTANT */
    padding: 24px 0;
    text-align: left;
  }

  .cta-block-exp h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .explore-link-exp {
    font-size: 18px;
  }
}
@media (max-width: 480px) {

  .cta-block-exp h3 {
    font-size: 20px;
  }

  .explore-link-exp {
    font-size: 16px;
  }
}


/* ========================================================= */
/* TEAM SECTION STYLES */
/* ========================================================= */

.team-section {
    background-color: #ffffff; 
    padding: 80px 50px;
        font-size: 21px;
}

.team-container {
    max-width: 1208px;
    margin: 0 auto;
}

.team-heading {
   
    margin-bottom: 10px;
    color: #103C46;
font-family: 'Open Sans', sans-serif;

font-size: 48px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

.team-description {

    line-height: 1.5;
width: 100%;
max-width: 1224px;
  
    max-width: 1228px;
    margin-bottom: 50px;
    color: #103C46;
font-family: 'Open Sans', sans-serif;

font-size: 40px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

/* Team Grid Layout */
.team-grid {
    display: grid;
    /* 3 நிரல்கள் (columns) மற்றும் 3 அல்லது அதற்கு மேற்பட்ட வரிகள் (rows) */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

.team-member {
    text-align: left;
}

.member-photo {
    width: 86%;
    /* ஸ்கிரீன்ஷாட்டில் உள்ள விகிதத்தைப் பராமரிக்க */
    padding-bottom: 110%; 
    background-color: #f0f0f0; /* பிளேஸ்ஹோல்டர் */
    background-size: cover;
    background-position: center top;
    /* கருப்பு வெள்ளை தோற்றத்திற்காக */
   height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* ஒவ்வொரு உறுப்பினரின் புகைப்படங்களுக்கான பிளேஸ்ஹோல்டர் (உங்கள் URL-களை மாற்றவும்) */
.photo-arun { background-image: url('../Images/Team/Arun.png'); }
.photo-hari { background-image: url('../Images/Team/Hari_Krishnan.png'); }
.photo-vasanth { background-image: url('../Images/Team/Vasanth.png'); }
.photo-abdul { background-image: url('../Images/Team/Abdul.png'); }
.photo-parvathy { background-image: url('../Images/Team/Anbu.png'); }
.photo-akanksha { background-image: url('../Images/Team/Akanksha.png'); }
.photo-member7 { background-image: url('../Images/Team/normal.png'); }


.member-name {
    font-size: 1.1em;
    font-weight: 700;
    color: #17333B;
}

.member-role {
    font-size: 0.9em;
    color: #666666;
    margin-bottom: 20px;
}

/* Freelancer Message / CTA Block */
.freelancer-message {
    grid-column: 2 / span 2; /* 2வது மற்றும் 3வது நிரலை நிரப்ப */
    grid-row: 3 / span 1; /* 3வது வரியில் தொடங்க */
    padding: 20px 12px 10px 124px;
    display: flex;
    align-items: center;
}

.freelancer-message p {
  
    color: #103C46;
font-family: 'Open Sans', sans-serif;

font-size: 23px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

@media (max-width: 768px) {

  .team-section {
    padding: 60px 20px;
  }

  .team-heading {
    font-size: 32px;
  }

  .team-description {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-member {
    text-align: left;
  }

  .member-photo {
    width: 100%;
    padding-bottom: 120%;
  }

  .member-name {
    font-size: 1rem;
  }

  .member-role {
    font-size: 0.85rem;
  }

  /* Freelancer CTA */
  .freelancer-message {
    grid-column: auto;
    grid-row: auto;
    padding: 20px 0;
    align-items: flex-start;
  }

  .freelancer-message p {
    font-size: 16px;
  }
}
@media (max-width: 480px) {

  .team-heading {
    font-size: 26px;
  }

  .team-description {
    font-size: 18px;
  }

  .freelancer-message p {
    font-size: 15px;
  }
}
/* ================= FULLSCREEN SLIDE MODAL ================= */
/* ================= FULLSCREEN TEAM MODAL ================= */

.team-modal {
    position: fixed;
    inset: 0;
    background: #f5f5f5;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.team-modal.active {
    transform: translateY(0);
}

.team-modal-content {
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
}

/* LEFT IMAGE */
.modal-left {
    width: 50%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* face visible */
}

/* RIGHT SIDE */
.modal-right {
    width: 50%;
    padding: 120px 100px;
    overflow-y: auto;
}

/* NAME */
.modal-right h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

/* ROLE */
.modal-right h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #444;
}

/* LOCATION BADGE */
.modal-location {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #222;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 40px;
}

/* DESCRIPTION */
.modal-description {
    max-width: 600px;
    margin-bottom: 40px;
}

.modal-description p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}

/* SOCIAL ICONS */
.modal-social {
    display: flex;
    gap: 25px;
    font-size: 22px;
}

.modal-social a {
    color: #111;
    transition: 0.3s ease;
}

.modal-social a:hover {
    transform: translateY(-3px);
    opacity: 0.6;
}

/* CLOSE BUTTON */
.close-modal {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 34px;
    cursor: pointer;
    font-weight: 300;
}

/* SCROLLBAR STYLE (optional premium look) */
.modal-right::-webkit-scrollbar {
    width: 6px;
}
.modal-right::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {

    .team-modal-content {
        flex-direction: column;
    }

    .modal-left {
        width: 100%;
        height: 45vh;
    }

    .modal-right {
        width: 100%;
        padding: 50px 30px;
    }

    .modal-right h2 {
        font-size: 40px;
    }

    .modal-right h4 {
        font-size: 18px;
    }

    .modal-description p {
        font-size: 16px;
    }
}

/* =============================== */
/* SOCIAL IMPACT NEXT SECTION      */
/* =============================== */

.impact-story-section {
    background-color: #083f48;   /* dark outer background */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* light teal panel behind image + text (2nd image style) */
.impact-story-section::before {
     content: "";
    position: absolute;
    right: 0;
    top: 79px;
    width: 100%;
    background-color: #3f5f66;
    z-index: 0;
    bottom: 86px;
}

.impact-story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;   /* image left, text right */
    gap: 60px;
    position: relative;
    z-index: 2;                     /* above ::before */
}

.impact-text-box {
    flex: 1;
    color: #ffffff;
}

.impact-desc {
    font-size: 20px;
    max-width: 380px;
    line-height: 1.7;
    margin-bottom: 0;
    margin-left: 0;
    color: #d6e6e7;
}

.impact-image-box {
    flex: 1;
}

.impact-image {
    width: 115%;
    object-fit: cover;
    margin-left: -40px;
    border-radius: 0 188px 0 0;   /* big curve like sample */
}
@media (max-width: 768px) {

  .impact-story-section {
    padding: 80px 0;
  }

  /* Remove background panel trick on mobile */
  .impact-story-section::before {
    top: 0;
    bottom: 0;
  }

  .impact-story-container {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .impact-text-box {
    order: 2;
  }

  .impact-image-box {
    order: 1;
  }

  .impact-desc {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.6;
  }

  .impact-image {
    width: 100%;
    margin-left: 0;
    border-radius: 0 80px 0 0;
  }
}
@media (max-width: 480px) {

  .impact-story-section {
    padding: 60px 0;
  }

  .impact-desc {
    font-size: 15px;
  }

  .impact-image {
    border-radius: 0 48px 0 0;
  }
}


/* ===== Work ======================================================================================================================================================= */
/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}
.work-item div {

  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}


/* ===== SECTION ===== */
.ow-section {
  background-color: #0f3d46;
  padding: 60px 0;
  color: #ffffff;
}

/* ===== WRAPPER ===== */
.ow-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.ow-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
      margin-top: 67px;
}

.ow-title {

  font-size: 76px;
    font-weight: 700;
    margin-top: 46px;
    margin-left: 44px;
}

.ow-description {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== GRID ===== */
.ow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== COMMON BOX ===== */
.ow-box {
  background-color: #e6e6e6;
  border-radius: 6px;
}

/* ===== INDIVIDUAL BOXES ===== */
.ow-box-large-left {
  grid-column: span 3;
  height: 220px;
  position: relative;
}

.ow-box-label {
  position: absolute;
  bottom: 10px;
  left: 15px;
  font-size: 14px;
  color: #ffffff;
}

.ow-box-top-right {
  height: 220px;
}

.ow-box-middle {
  height: 120px;
}

.ow-box-bottom-small {
  height: 160px;
}

.ow-box-bottom-large {
  grid-column: span 3;
  height: 160px;
}


.work-section {
  background: #0C3740;
  padding: 20px;
}

.work-container {
  max-width: 900px;
  margin: 0 auto;
}

.work-top {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
}

.work-main-item {
 flex: 3;
    height: 438px;
    background: #dcdcdc;
    margin-left: -292px;
}

.work-side-item {
      flex: 1;
    height: 183px;
    background: #dcdcdc;
    margin-top: 0px;
}

.work-bottom {
  display: flex;
  gap: 15px;
}

.work-thumb {
 flex: 1;
    height: 234px;
    background: #dcdcdc;
    margin-top: 164px;

}



/* text below big image */
.work-text1 {
  margin-top: 16px;
  margin-left: 15px;
}

.work-text1 h3 {
  font-size: 48px;
  font-weight: 400;
}

.work-text1 p {
  font-size: 36px;
  font-weight: 400;
  color: #FFF;
  margin-top: -10px;
}
#works-section {
  background: #ffffff;  /* dark bg */
  padding: 50px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* COMMON */


.work-title {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.9;
}

/* MODEL 1 */
.work-model-1 .grid-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.work-model-1 .big {
  grid-row: span 2;
  height: 220px;
  background: #dcdcdc;
}

.work-model-1 .small-top {
  height: 80px;
  background: #dcdcdc;
}

.work-model-1 .small-bottom {
  height: 90px;
  background: #dcdcdc;
}

/* MODEL 2 */
.work-model-2 .row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.work-model-2 .row div {
  flex: 1;
  height: 120px;
  background: #dcdcdc;
}

/* MODEL 3 */
.work-model-3 .hero {
  height: 220px;
  background: #dcdcdc;
  margin-bottom: 12px;
}

.work-model-3 .two {
  display: flex;
  gap: 12px;
}

.work-model-3 .two div {
  flex: 1;
  height: 120px;
  background: #dcdcdc;
}

/* MODEL 4 */
.work-model-4 {
   display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  
}

.work-model-4 .left {
  flex: 2;
  height: 240px;
  background: #dcdcdc;
}

.work-model-4 .right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-model-4 .right div {
  height: 114px;
  background: #dcdcdc;
}

/* MODEL 5 */
.work-model-5 .rows {
 display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.work-model-5 .rows div {
  flex: 1;
  height: 120px;
  background: #dcdcdc;
}

/* MODEL 6 */
.work-model-6 .mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.work-model-6 .g1 {
  grid-row: span 2;
  height: 240px;
  background: #dcdcdc;
}

.work-model-6 .g2,
.work-model-6 .g3,
.work-model-6 .g4 {
  height: 115px;
  background: #dcdcdc;
}



#works-section {
  background: #ffffff;
  padding: 50px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ALL BOX IMAGE SETTINGS */


/* COMMON */


.work-title {
  font-size: 14px;
  margin-top: 8px;
  opacity: .9;
}

/* MODEL 1 */
.work-model-1 .grid-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
/* MODEL 6 */
.work-model-6 .mosaic {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:12px;
}

/* ===== GLOBAL BOX SIZE FIX ===== */
.work-model-1 .big,
.work-model-3 .hero,
.work-model-4 .left,
.work-model-5 .top,
.work-model-6 .g1 {
    height: 670px; /* big box */
   min-height: 450px;
     background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.work-model-1 .small-top,
.work-model-1 .small-bottom,
.work-model-2 .row div,
.work-model-3 .two div,
.work-model-4 .right div,

.work-model-6 .g2,
.work-model-6 .g3,
.work-model-6 .g4 {
    height: 329px;
    width: 309px;
     background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.work-model-5 .rows div{
   height: 455px;
    width: 309px;
     background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.project-info {
  
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.project-title {
    font-family: 'Open Sans', sans-serif;


  color: #052d1f;
   font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.project-category {
    font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-weight: 400;
   color: var(--color-text-dark);
  margin-top: -4px;
}
.work-item div {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
   min-height: 125px;
}
.work-item div {
  background-size: cover t;
  background-position: center ;
  background-repeat: no-repeat ;
}
.nav-logo img {
  height: 48px;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {

  /* ===== HEADER ===== */
  .ow-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .ow-title {
    font-size: 36px;
    margin: 0;
  }

  .ow-description {
    font-size: 16px;
  }

  /* ===== OW GRID ===== */
  .ow-grid {
    grid-template-columns: 1fr;
  }

  .ow-box-large-left,
  .ow-box-bottom-large {
    grid-column: auto;
    height: 200px;
  }

  /* ===== WORK TOP / BOTTOM ===== */
  .work-top,
  .work-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .work-main-item,
  .work-side-item,
  .work-thumb {
    margin-left: 0;
    width: 100%;
    height: auto;
    min-height: 220px;
  }

  /* ===== WORK MODELS ===== */
  .work-model-1 .grid-1,
  .work-model-4,
  .work-model-6 .mosaic {
    grid-template-columns: 1fr;
  }

  .work-model-2 .row,
  .work-model-3 .two,
  .work-model-5 .rows {
    flex-direction: column;
  }

  /* ===== GLOBAL BOX SIZE RESET ===== */
  .work-model-1 .big,
  .work-model-3 .hero,
  .work-model-4 .left,
  .work-model-5 .top,
  .work-model-6 .g1,
  .work-model-1 .small-top,
  .work-model-1 .small-bottom,
  .work-model-2 .row div,
  .work-model-3 .two div,
  .work-model-4 .right div,
  .work-model-5 .rows div,
  .work-model-6 .g2,
  .work-model-6 .g3,
  .work-model-6 .g4 {
    width: 100%;
    height: auto;
    min-height: 200px;
  }

  /* ===== PROJECT TEXT ===== */
  .project-title {
    font-size: 28px;
  }

  .project-category {
    font-size: 18px;
  }
}
@media (max-width: 480px) {

  .ow-title {
    font-size: 28px;
  }

  .project-title {
    font-size: 24px;
  }

  .project-category {
    font-size: 16px;
  }
}


@media (max-width: 768px) {
  * {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ===================================================Work end=========================================================== */
