/*
----------------------------------
CSS STYLES - CONSOLIDATED
----------------------------------
*/

:root {
    /* Consolidated Global Variables */
    --dark-background: #111317;
    --white-text: #ffffff;
    --light-gray-text: #a8a8a8;
    --font-family-serif: 'Cormorant Garamond', serif; /* Using Manrope as the primary serif, but ensure it's loaded */
    --font-family-sans: 'raleway', sans-serif;
    --desktop-padding-x: 40px;
    --mobile-padding-x: 20px;
    --item-width-desktop: 50vw; /* Case study item width */
}

/* Basic Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-background);
    font-family: var(--font-family-sans);
    color: var(--white-text);
    min-height: 200vh;
}

/* ----------------------- */
/* Header */
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  z-index: 1000;
}

header.scrolled {
  height: 70px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Inner Layout */
.header-inner {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px; /* equal spacing on both sides */
  box-sizing: border-box;
}

/* Hamburger */
.hamburger {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  justify-self: start;
}

.hamburger span {
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Logo */
.logo {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

.logo img {
  height: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.logo-alt {
  opacity: 0;
  pointer-events: none;
}

header.scrolled .logo-default {
  opacity: 0;
  transform: translateX(-50%) scale(0.9);
}

header.scrolled .logo-alt {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

/* CTA */
.cta {
  justify-self: end;
  display: flex;
  align-items: center;
}

.cta-link {
  color: white;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
    font-family: raleway, sans-serif;

}

.cta-link:hover {
  color: #c0a060;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}


/* ✅ Sidebar with glass effect */
.sidebar {
  position: fixed;
  left: -320px;
  top: 0;
  width: 280px;
  height: 100vh;
  background: rgba(20, 20, 20, 0.25);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  padding: 80px 30px;
  z-index: 1100;
  opacity: 0;
  text-align: right;
  font-family: raleway, sans-serif;
  text-transform: uppercase;
}

.sidebar.active {
  left: 0;
  opacity: 1;
}

/* Sidebar nav */
.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  opacity: 0;
  transform: translateX(-30px);
  margin: 25px 0;
  transition: all 0.6s ease;
}

.sidebar nav ul li.show {
  opacity: 1;
  transform: translateX(0);
}

.sidebar nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 2rem;
  transition: color 0.3s;
}

.sidebar nav ul li a:hover {
  color: #c0a060;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  transition: transform 0.3s;
}


.close-btn:hover {
  transform: rotate(90deg);
}
/* ===================== Responsive Header ===================== */
@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
  }

  .cta-link {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  header {
    height: 80px;
    justify-content: space-between;
    padding: 0 20px;
  }

  header.scrolled {
    height: 60px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 0 15px;
  }

  /* ✅ CTA becomes icon on mobile */
  .cta-link {
    position: relative;
    font-size: 0;
    color: transparent;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .cta-link::before {
    content: "✉️"; /* You can replace with any icon (or SVG) */
    font-size: 20px;
    color: white;
  }

  .cta-link:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  /* Hamburger smaller */
  .hamburger {
    width: 28px;
    height: 18px;
    justify-self: start;
  }

  .hamburger span {
    height: 2.5px;
  }

  /* Center the logo */
  .logo {
    height: 50px;
  }

  .logo img {
    height: 100%;
  }

  /* Sidebar adjustments */
  .sidebar {
    width: 85%;
    max-width: 280px;
    left: -100%;
    padding: 60px 25px;
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
  }

  .sidebar.active {
    left: 0;
  }

  .sidebar nav ul li a {
    font-size: 1.5rem;
  }

  .close-btn {
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
  }

  .overlay {
    background: rgba(0, 0, 0, 0.65);
  }
}

@media (max-width: 480px) {
  .logo {
    height: 45px;
  }

  .sidebar nav ul li a {
    font-size: 1.3rem;
  }

  .sidebar {
    padding: 50px 20px;
  }

  .cta-link {
    width: 34px;
    height: 34px;
  }

  .cta-link::before {
    font-size: 18px;
  }
}


.video-cta-section {
    position: relative;
    width: 100%;
    min-height: 700px; 
    overflow: hidden;
    background-color: #000000;
    margin-bottom: 0px;
}

.background-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.background-video-container video { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 1; z-index: 1; }


/* ----------------------- */
/* Hero Section Styles */
/* ----------------------- */

/* --------------------------
   HERO SECTION (2-COLUMN)
--------------------------- */
.hero-section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

/* LEFT: VIDEO */
.hero-video {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

/* RIGHT: TEXT */
.hero-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 50px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Existing Hero Content Styling */
.hero-content {
  width: 100%;
  max-width: 600px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3vw;
  font-weight: 400;
  color: #ffffff;
  text-align: left;
  max-width: 600px;
}

.hero-heading em {
  font-style: italic;
  color: #d4d4d4;
}

.hero-line {
  overflow: hidden;
  padding-top: 0.1em;
}

.hero-word-wrapper {
  display: block;
}

/* --------------------------
   RESPONSIVE DESIGN
--------------------------- */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-video {
    height: 50vh;
  }
  .hero-text {
    height: 50vh;
    padding: 50px 30px;
    align-items: flex-end;
  }
  .hero-heading {
    font-size: 5vw;
  }
}

/* --------------------------
   SERVICES SECTION
--------------------------- */
.services-section {
  width: 100%;
  min-height: 100vh;
  background-color: #0e0e0e;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 80px;
  box-sizing: border-box;
}

.services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  width: 100%;
  align-items: start;
}

/* LEFT COLUMN */
.services-intro {
  align-self: flex-start;
}

.services-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #ffffff;
}

.services-intro p {
  font-size: 1.1rem;
  color: #c0c0c0;
  line-height: 1.6;
}

/* RIGHT COLUMN */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-item h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #ffffff;
}

.service-item p {
  font-size: 1rem;
  color: #b0b0b0;
  line-height: 1.6;
  max-width: 600px;
}

/* --------------------------
   RESPONSIVE DESIGN
--------------------------- */
@media (max-width: 992px) {
  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .services-section {
    padding: 80px 30px;
  }

  .services-intro h1 {
    font-size: 2.5rem;
  }

  .service-item h2 {
    font-size: 1.3rem;
  }
}



/* ----------------------- */
/* Case Studies Scroll Section (Fixed for Mobile) */
/* ----------------------- */

.work_scroller_track {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-background);
    overflow: hidden;
}

.work_scroller_camera {
    position: sticky;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.work_scroller_frame {
    position: absolute;
    display: flex;
    height: 100%;
}

.work_scroller_intro {
    flex-shrink: 0;
    width: var(--item-width-desktop); /* 50vw */
    padding-left: var(--desktop-padding-x);
    display: flex;
    align-items: center;
    z-index: 10;
}

.work_scroller_intro_container {
    width: 100%;
    max-width: 500px;
}

.display {
    font-family: var(--font-family-serif);
    font-size: 4vw;
    line-height: 1.1;
    font-weight: 400;
    margin-top: -200px;
}

.display em { font-style: italic; }

.work_scroller_item {
    flex-shrink: 0;
    width: var(--item-width-desktop);
    height: 100%;
    position: relative;
    text-decoration: none;
    color: var(--white-text);
    overflow: hidden;
}

.background-video-2, .backgroundimage {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease;
}

.work_scroller_item:hover .background-video-2,
.work_scroller_item:hover .backgroundimage { opacity: 0.8; }

.work_scroller_content_container {
    position: absolute;
    bottom: 60px;
    left: var(--desktop-padding-x);
    right: var(--desktop-padding-x);
    padding-right: 20%;
    z-index: 20;
    pointer-events: none;
}

.heading-2 { font-family: var(--font-family-serif); font-size: 3vw; margin-bottom: 10px; }
.paragraph-2 { font-size: 16px; line-height: 1.5; color: var(--white-text); max-width: 400px; }

/* CTA Button Styling */
.cta.white.inline_flex.absolute {
    position: absolute; bottom: -30px; left: 0; display: flex; align-items: center; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; opacity: 0; pointer-events: auto;
}

.work_scroller_item:hover .cta.white.inline_flex.absolute {
    opacity: 1 !important; transform: translateY(-20px); transition: all 0.3s ease;
}

.div-block-6 { width: 22px; height: 22px; border: 1px solid var(--white-text); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-left: 10px; transition: all 0.3s ease; }
.html-embed-2 svg { width: 6px; height: 9px; }

.work_scroller_item.last {
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 400px; /* adjust height to match your scroller */
 background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);

  /* Ensure something behind is visible */
  z-index: 1;

}

/* translucent background box for text */
.loyalty-message {
  color: #fff;
  padding: 60px 50px;
  border-radius: 20px;
  max-width: 800px;
  text-align: center;
}

.loyalty-message p {
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
font-family: 'Cormorant Garamond', serif; 
}

@media (max-width: 768px) {
  .loyalty-message {
    padding: 40px 24px;
  }
  .loyalty-message p {
    font-size: 1rem;
  }
}



/* Hover animation */
.work_scroller_item.last:hover .showreel-play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.work_scroller_item.last:hover .play-icon.work.w-embed svg {
  transform: scale(1.1);
}


/* ----------------------- */
/* Services/50-50 Grid */
/* ----------------------- */

.section_220_top { padding: 150px 40px; background-color: #111317; }
._50-50-12 { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.large-body { font-size: 18px; line-height: 1.5; color: #ffffff; }
.grid-10 { display: grid; grid-template-columns: 1fr; }
.service-item { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.1; transform: translate3d(0px, 100px, 0px); }
.service-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.service-heading { font-family: var(--font-family-serif); font-size: 5vw; font-weight: 400; line-height: 1.2; color: #ffffff; transition: color 0.3s; }
.text_content { position: relative; }
.sticky { position: sticky; top: 100px; align-self: flex-start; }

.cta { display: flex; align-items: center; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-top: 20px; color: #ffffff; }
.div-block-6 { width: 22px; height: 22px; border: 1px solid #ffffff; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-left: 10px; transition: background-color 0.3s ease, border-color 0.3s ease; }
.div-block-6 svg path { fill: currentColor; transition: fill 0.3s ease; }
.w-embed svg { display: block; }
.cta.white:hover .div-block-6 { background-color: #C0C0C0; }
.cta.white:hover { color: #C0C0C0; }
.cta.white:hover .div-block-6 svg path { fill: #111111; }




/* ----------------------- */
/* CTA Grid / 2x2 Cards */
/* ----------------------- */

.cta_grid_container { padding: 80px 40px; background-color: #111317; }
.w-layout-grid.cta_grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.link-block { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; }
.service-item-initial-hidden { opacity: 0; }
.card_container { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; z-index: 2; color: #ffffff; transition: transform 0.3s ease; }
.link-block img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.trophy { object-fit: contain; padding: 15%; transform: translate3d(0px, 0%, 0px); will-change: transform; }
.link-block::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease; z-index: 1; }
.link-block:hover img { transform: scale(1.05); }
.link-block:hover::after { background-color: rgba(0, 0, 0, 0.4); }
.link-block.awwwards:hover .trophy { transform: translate3d(0px, -5%, 0px); }

/* ----------------------- */
/* Client Logo Section */
/* ----------------------- */

.client-logo-section { background-color: var(--dark-background); padding: 0; width: 100%;margin-bottom: 50px; }
.logo-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(7,200px); width: 100%; max-width: 1400px; margin: 0 auto; display: grid; gap: 0; }
.logo-item { border-right: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; justify-content: center; align-items: center; color: rgba(255, 255, 255, 0.8); transition: background-color 0.3s ease; overflow: hidden; }
.logo-item:nth-child(4n) { border-right: none; }
.logo-grid .logo-item:nth-child(n + 9) { border-bottom: none; }
.brand-logo { filter: brightness(0) invert(1); max-width: 70%; max-height: 50px; object-fit: contain; margin-bottom: 10px; }
.brand-name { font-family: var(--font-family-sans); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin: 0; padding-top: 5px; }
.brand-name.small-text { font-size: 12px; font-weight: 400; text-transform: none; }
.logo-item:hover { background-color: #2c2c2c; }

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 100px 0; /* 100px vertical gap, 0 horizontal */
    padding: 0 20px;
  }

  .logo-item {
    border: none; /* cleaner for mobile */
    background-color: transparent;
  }

  .brand-logo {
    max-height: 45px;
  }

  .brand-name {
    font-size: 13px;
  }
}

/* ----------------------- */
/* Footer Styles */
/* ----------------------- */

footer { background-color: #111317; color: #ffffff; padding: 0 40px; position: relative; overflow: hidden;margin-top: 100px; }
.footer_container { padding: 100px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: relative; }
.footer_cta_content { margin-top: 100px; text-align: left; }
.display.footer { font-family: var(--font-family-serif); font-size: 38px; line-height: 1.1; font-weight: 400; margin-bottom: 20px; }
.large-body { font-size: 18px; line-height: 1.5; margin-bottom: 30px; }
.newsletter_wrapper { max-width: 500px; margin-top: 50px; }
.newsletter-form { display: flex; justify-content: flex-start; align-items: center; }
.newsletter-input { flex-grow: 1; height: 45px; padding: 0 16px; color: #ffffff; background-color: rgba(255, 255, 255, 0.08); border: none; font-size: 15px; }
.newsletter-button { height: 45px; padding: 0 15px; background: #ffffff; color: #1f1f1f; border: 2px solid #ffffff; font-size: 15px; font-weight: 400; cursor: pointer; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }

.digital_goodness_graphic { display: none ;position: absolute; top: 100px; right: 40px; width: 150px; height: 100px; }
.rotating_logo { width: 100%; height: 100%; object-fit: contain; }
.bao_mono_graphic { position: absolute; top: 180px; right: 0px; width: 160px; height: 160px; }
.image-bao-mono { width: 100%; height: 100%; object-fit: contain; }

.footer_links_container { padding: 60px 0; }
.footer_grid { display: grid; grid-template-columns: repeat(4, auto) 1fr; gap: 50px; max-width: 1200px; }
.footer_link_title { font-size: 16px; color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; font-style: italic; font-family: var(--font-family-serif); }
.link.footer { color: #ffffff; text-decoration: none; font-size: 18px; transition: color 0.2s; line-height: 1.5; }
.link.footer:hover { color: rgba(255, 255, 255, 0.8); }

.social_icons { display: flex; gap: 15px; justify-content: flex-end; }
.social_link_container { color: #ffffff; transition: opacity 0.2s; }
.social_link_container:hover { opacity: 0.7; }


/* ======================================================================
   MOBILE RESPONSIVENESS (Max Width 991px) 📱
   ===================================================================== */
@media (max-width: 991px) {

    /* --- Hero Section & Timer --- */
    .hero-section {
        padding: 80px var(--mobile-padding-x) 0;
        height: auto;
    }
    .hero-content {
        align-items: center; /* Center the hero content block */
    }
    .hero-heading {
        font-size: 6vw;
        text-align: center;
        max-width: 100%;
        margin-bottom: 20px;
    }
    #hero-agency-timer-container {
        align-items: center; /* Center the timer container */
    }
    #agency-timer {
        justify-content: center; /* Center the time blocks */
    }
    .timer-slogan {
        text-align: center; /* Center the slogan */
    }
    
    /* --- Case Studies Scroll Section FIX --- */
    .work_scroller_track {
        height: auto;
        overflow: visible;
        padding-bottom: 50px;
    }
    .work_scroller_camera {
        position: static; /* Disable pinning */
        height: auto;
    }
    .work_scroller_frame {
        position: static;
        flex-direction: column; /* Stack items vertically */
        width: 100% !important; 
        transform: none !important; /* Disable GSAP horizontal transform */
        gap: 50px;
    }
    .work_scroller_intro {
        width: 100%;
        padding: 50px var(--mobile-padding-x) 0;
        display: block;
        text-align: center;
    }
    .display {
        font-size: 8vw;
        margin-top: 0;
        text-align: left;
    }
    .work_scroller_item {
        width: calc(100% - (2 * var(--mobile-padding-x))); /* Full width minus padding */
        height: 400px;
        margin: 0 var(--mobile-padding-x);
        border-radius: 10px;
        overflow: hidden;
    }
    .work_scroller_content_container {
        bottom: 30px;
        left: 20px;
        right: 20px;
        padding-right: 0;
    }
    .heading-2 { font-size: 6vw; }
    .cta.white.inline_flex.absolute { display: none; }
    .work_scroller_item.last { height: 200px; }

    /* --- Services/50-50 Grid --- */
    .section_220_top {
        padding: 80px 20px;
    }
    ._50-50-12 {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .service-heading {
        font-size: 30px;
    }
    .sticky {
        position: static; /* Disable sticky on mobile */
        top: auto;
    }
    .service-item {
        opacity: 1 !important; /* Force full visibility on mobile */
        transform: none !important;
    }
    
    /* --- CTA Grid / 2x2 Cards --- */
    .w-layout-grid.cta_grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: -50px;
    }
    
    /* --- Client Logo Grid --- */
    .logo-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
        grid-template-rows: auto;
        gap: 0;
    }
    .logo-item:nth-child(2n) { border-right: none; } /* Remove right border on the 2nd column item */
    .logo-item:nth-child(4n) { border-right: 1px solid rgba(255, 255, 255, 0.1); } /* Add it back to the 4th item */
    .logo-grid .logo-item:nth-child(n + 5) { border-bottom: none; } /* Adjust bottom border removal based on new row counts */

    /* --- Footer --- */
    footer { padding: 0 20px; margin-top: -50px;}
    .footer_cta_content { text-align: left; margin-top: 100px; }
    .display.footer { font-size: 40px; text-align: left; }
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-button, .newsletter-input { width: 100%; }
    .digital_goodness_graphic { top: 20px; right: 20px; width: 100px; height: 100px; }
    .bao_mono_graphic { display: none; }
    .footer_grid { grid-template-columns: 1fr; gap: 30px; }
    .social_icons { grid-column: 1 / -1; justify-content: flex-start; }
}

.testimonial-section {
  position: relative;
  background: url("bg\ image\ testimonials.jpg") center center/cover no-repeat;
  color: white;
  padding: 140px 20px;
  text-align: center;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

/* Dark overlay for readability */
.testimonial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.testimonial-text {
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
  margin-bottom: 2rem;
  font-weight: 400;
  font-family: var(--font-family-serif);
}

.testimonial-author h3 {
  font-size: 1rem;
  letter-spacing: 1px;
  margin: 0;
  font-weight: 600;
}

.testimonial-author p {
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: 5px;
  opacity: 0.8;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dot.active {
  opacity: 1;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1.1rem;
  }
}

/* --------------------------
   PROGRAMMES TABLE SECTION
--------------------------- */

.programmes-section {
  width: 100%;
  background-color: var(--dark-background);
  color: #ffffff;
  padding: 10px 60px;
  display: flex;
  justify-content: left;
  align-items: left;
}

.programmes-wrapper {
  max-width: 1200px;
  width: 100%;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 40px;
  text-align: left;
  color: #ffffff;
}

/* Table styling */
.programmes-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.1);
}



.programmes-table th,
.programmes-table td {
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
}

.programmes-table th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c0c0c0;
}

.programmes-table td {
  color: #e0e0e0;
}

.programmes-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.programmes-table td:nth-child(2),
.programmes-table td:nth-child(3) {
  text-align: center;
  width: 150px;
}

/* Responsive design */
@media (max-width: 768px) {
  .programmes-section {
    padding: 60px 20px;
  }

  .programmes-table th,
  .programmes-table td {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

