:root {
  --white: #FFFFFF;
  --black: #161616;
  --black2: #081c15;
  --black3: #00140f;
  --bgwhite: #f5f8f9;
  --grey0:#f0f0f0;
  --grey1: #C5C5C5;
  --grey2: #8B8B8B;
  --grey3: #505050;
  --primary: #F6BD60;
  --bright: #ff9d00;
  --secondary: #00464F;
  --green: #2d6a4f;
  --green2: #1F4735;
  --tan: #fffbf4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Karla', sans-serif;
  margin: 0;
  background: var(--white);
  color: var(--black);
}

h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 57px;
  font-weight: 700;
  margin: 0.3em 0;
  line-height: 1.6;
}

h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.6;
}

h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.6;
}

h4 {
  font-family: 'Rubik', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
}

h5 {
  font-family: 'Rubik', sans-serif;
  font-size: 20px; /* same as h6 */
  font-weight: 700; /* bold */
  line-height: 1.4;
}

h6 {
  font-family: 'Rubik', sans-serif;
  font-size: 20px; /* same as h5 */
  font-weight: 500; /* normal */
  line-height: 1.4;
}

p {
  font-size: 18px;
  color: var(--grey3);
  line-height: 1.4;
}

/* Common base */
.fade-up,
.fade-down,
.fade-left,
.fade-right {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* From bottom → up */
.fade-up {
  transform: translateY(20px);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* From top → down */
.fade-down {
  transform: translateY(-20px);
}
.fade-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* From left → right */
.fade-left {
  transform: translateX(-20px);
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* From right → left */
.fade-right {
  transform: translateX(20px);
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-button-row {
          display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem;
        }

@media (max-width: 768px) {
  .content-clmn {
  flex-direction: column;
}
}

/* Header */
.site-header {
  top: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--black3);
}

/* Inner layout with Flexbox */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
}

/* Logo */
.logo img {
  height: 20px;
}

/* Navigation */
.main-nav {
  flex-grow: 1;
  margin: 0 32px;
}

.nav-list {
  display: flex;
  gap: 16px;
  list-style: none;
}

.nav-item > a {
  color: var(--white);  /* Color for nav menu items */
  text-decoration: none;
  font-size: 16px;
  padding: 8px;
  display: inline-block;
}

/* Dropdown Styling */
.dropdown-menu {
  position: absolute;
  background: var(--black);  /* White background for dropdown */
  list-style: none;
  padding: 8px 0;
  margin-top: 0.5rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 8px 16px;
}

.dropdown-menu li a {
  color: var(--white);  /* Color for submenu items */
  text-decoration: none;
  display: block;
}

/* Hover effect for dropdown items (10% black overlay) */
.dropdown-menu li:hover {
  background-color: rgba(255, 255, 255, 0.1);  /* 10% black overlay on hover */
}

/* Show the dropdown menu when hovered or focused */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
  }

  .nav-list {
    flex-direction: column;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

  article {
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    background: var(--white);
    transition: box-shadow 0.3s ease;
  }

  article:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }


/* Fade-in and slide-up animation */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to the text elements */
.fade-slide-up {
  animation: fadeSlideUp 1.5s ease-out forwards;
}

.fade-slide-up:nth-child(1) {
  animation-delay: 0.3s;
}

.fade-slide-up:nth-child(2) {
  animation-delay: 0.6s;
}

.fade-slide-up:nth-child(3) {
  animation-delay: 0.9s;
}

.case-study-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  padding-bottom:0;
}

.case-study-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.case-study-card img {
  width: 100%;
  height: auto;
  display: block;
}

.case-study-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}


.user-journey-image-mrs {
  width: 50%;
  height: auto;
  cursor: pointer; /* Make the images clickable */
}

.modal-mrs {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Black background with transparency */
  justify-content: center;
  align-items: center;
  text-align: center;
}

.modal-image-mrs {
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 768px) {
  .user-journey-images-container-mrs {
    flex-direction: column;
    align-items: center;
  }

  .user-journey-image-mrs {
    width: 90%;
    margin-bottom: 2rem;
  }
}

.icons img {
  height: 48px;
  margin-right: 1rem;
}



/* Scroll button and fade-in animations will still apply */
.scroll-button {
  display: inline-block;
  color: var(--secondary);
  min-height: 40px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
  animation-delay: 1.8s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

footer {
  text-align: center;
  padding: 3rem;
}

.footer-links a {
  margin: 0 0.5rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--secondary);
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.4;
}

.design-table-wrapper {
  margin-top: 2rem;
}

.responsive-table {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  background-color: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background-color: #e6e6e6;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

tbody tr:hover {
  background: transparent !important;
  cursor: default;
}

th {
  font-weight: 600;
}

/* Home-Only styles */



        .button-flex{
        display: flex; flex-direction: row; gap: 1rem;
      }

      @media (max-width: 768px) {
        .button-flex {
          flex-direction: column;
        }
      }
    
    /* Base padding */
#footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Reduce by 0.5rem per 100px from 1200px down to 700px */
@media (max-width: 1199px) {
  #footer {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 1099px) {
  #footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 999px) {
  #footer {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 899px) {
  #footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 799px) {
  #footer {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 699px) {
  #footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}


    .bento-section {
      position: relative;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }

    @media (max-width: 1000px) {
      .bento-section{
        height: fit-content;
      }
    }

    .center-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      max-width: 60vw;
      padding: 2rem;
      z-index: 10;
    }

    .highlight {
      font-weight: bold;
      color: var(--green);
    }

    .badge {
      position: absolute;
      border-radius: 1rem;
      font-weight: bold;
      cursor: default;
      transition: transform 0.3s, box-shadow 0.5s;
    }

    .badge.logo {
      color: #fff;
      width: 128px;
      height: 128px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .badge.logo img {
      min-height: 100%;
      object-fit: contain;
    }

    @media (max-width: 1000px) {
      .bento-section .badge {
        display: none;
      }
    }

    @keyframes glowPulse {
      0% { box-shadow: 0 0 10px rgba(255,255,255,0.15); }
      50% { box-shadow: 0 0 25px rgba(255,255,255,0.25); }
      100% { box-shadow: 0 0 10px rgba(255,255,255,0.15); }
    }

.slider-row {
  display: flex;
  align-items: center; /* vertically center heading & slider */
  gap: 2rem;           /* space between heading and slider */
}


.slider-container {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  flex: 1; /* slider takes remaining space */
}

/* Left/right fade edges */
.slider-container::before,
.slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3rem;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--grey0), transparent);
}

.slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--grey0), transparent);
}


  /* Slider animation */
  .slider {
    display: flex;
    align-items: center;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Hover pause */
  .slider:hover {
    animation-play-state: paused;
  }

  /* Fade-slide-up animation */
  .fade-slide-up {
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
  }

  .fade-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

    /* Default Flexbox Layout (3 items per row) */
  .grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 3rem;
  }

/* Container */
.side-by-side-card {
  display: flex;
  gap: 2rem;
  cursor: pointer;
  transition: transform 0.3s;
  align-items: flex-start;
  width: 100%;
  margin-top: 2rem;
}

/* Hover effect for image and text */
.side-by-side-card:hover img {
  transform: scale(1.01);
}
.side-by-side-card:hover p,
.side-by-side-card:hover h4 {
  filter: saturate(1.5);
}

/* Image container */
.side-by-side-card .side-image {
  flex: 0 0 40%;
}
.side-by-side-card .side-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Text container */
.side-by-side-card .side-text {
  flex: 1;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Heading inside text */
.side-by-side-card .side-text h4 {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--primary);
  text-align: left;
}

/* Paragraph inside text */
.side-by-side-card .side-text p {
  margin: 0.5rem 0;
  color: var(--grey0);
  text-align: left;
}

/* CTA span */
.side-by-side-card .cta {
  font-weight: bold;
  color: var(--primary);
}

/* Arrow inside CTA */
.side-by-side-card .arrow {
  display: inline-block;
  transform: rotate(-45deg);
}

.hero-home {
position: relative; 
background: linear-gradient(to bottom, var(--tan) 0%, var(--tan) 80%, var(--white) 100%); 
display: flex; 
justify-content: center; 
align-items: center; 
height: 100vh; 
box-sizing: border-box; 
overflow: hidden;
padding: 2rem;
}

.mobile-btn {
  min-height: 60px;
  min-width: 144px;
}


  @media (max-width: 1000px) {
    #CaseStudyGrid > div {
      flex: 1 1 100% !important; /* full width on small screens */
    }

    .zoom-on-hover {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
      #wp {
    flex-direction: column-reverse;
  }
 .hero-home {
  height: fit-content;
 }

 .mobile-btn {
  font-size: 20px;
 }

    .side-by-side-card {
    flex-direction: column;
  }

.side-by-side-card > div h4 {
    margin-top: 0rem;
}

.side-by-side-card .side-text{
  max-width: 100%;
}

  .side-by-side-card img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
  }
  }


        @media (max-width: 767px) {
  .over {
    display: none !important;
  }
}

        .button-row {
          display: flex;
          gap: 1rem;
        }

        .contact-btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          height: 52px; /* fixed height */
          padding: 0 24px; /* 16px total extra width (8px left + 8px right) */
          border: 1px solid var(--grey3);
          cursor: pointer;
          background: rgba(0, 0, 0, 0.1);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          border-radius: 16px;
          box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.2), 0 4px 30px rgba(0, 0, 0, 0.3);
          transition: border-color 0.3s ease;
          flex: 0 0 auto; /* shrink to fit content + padding */
        }   

        .contact-btn:hover {
          border-color: var(--white);
        }

        /* Responsive: stack buttons on small screens */
        @media (max-width: 768px) {
          .button-row {
              flex-direction: column;
          }
        }

        .container {
          display: flex;
          gap: 2rem; 
          align-items: center; 
        }

        .gradient-text {
          background: linear-gradient(45deg, #F6BD60, #FFD59A);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          color: transparent;
        }


        .hero-banner-lvl1 {
          border: none; padding: 1rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); 
          backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
        }

        .white-box {
          border: none; padding: 0.5rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); 
      backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight:bold; color:var(--green); text-shadow: 2px 2px 4px var(--primary);
        }

        .hero-banner-lvl1 h3 {
          margin:0;
        }

        .hero-banner-lvl1 a {
          display: inline-block; width: 60px; height: 60px; 
       border-radius: 50%; 
       overflow: hidden; 
       cursor: pointer; 
       border: none; 
       transition: transform 0.3s, box-shadow 0.3s;
        }

        .subtext {
          margin:10px 0;
        }

        .subdesc {
          border: none; padding:1rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); 
      backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-top:40px; color: #00464F;
        }

        .pulsedot {
          display:inline-block; width:8px; height:8px; border-radius:50%; background:limegreen; margin-right:8px;
        }

        .nametag {
          font-weight:800; color:var(--secondary); text-shadow: 2px 2px 1px var(--primary);
        }
        
        .main-work {
          position: relative;
background-color: var(--black3);
display: flex; flex-direction: column; 
align-items: center; justify-content: flex-start; width: 100%; padding: 2rem;box-sizing: border-box;
        }

        .h2-text-on-green {
          color:var(--primary); margin-top:2rem; margin-bottom: 1rem;
        }

        .CaseStudyGrid-item {
          flex: 1 1 calc(33.33% - 3rem); min-width: 250px;
        }

.CaseStudyGrid-item-inner {
        display: flex; flex-direction: column; gap: 0.5rem; transition: transform 0.3s; max-width: 800px;
}

.case-study-card-image {
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
  display: inline-block; /* ensures it wraps content nicely */
}

.case-study-card-image:hover {
  transform: scale(1.01);
}

.case-study-card-image img {
width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px;
}

.case-study-content-area {
  padding: 5px;
}

.case-study-content-area p {
  color: var(--bright); font-size: 14px; margin: 1rem 0;
}

.case-study-content-area h4 {
  color: var(--primary); margin: 1rem 0;
}


.case-study-content-area .cntnt {
  color: var(--grey0); margin: 1rem 0; font-size: 16px;
}


.home-btn {
  background: var(--primary); color: var(--black3); transition: transform 0.3s;
}

.home-btn:hover {
    transform: scale(1.01);
}


.center-container h4 {
  border: none; padding:1rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); 
          backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color:var(--black3); margin-bottom:0;
}

.center-container p {
  color:var(--black);
}

.content-clmn {
display: flex; flex-direction: row; flex-wrap: wrap; gap: 2rem; align-items: flex-start;
}

.content-clmn h4 {
  color: var(--green); padding: 0 1rem 1rem 1rem;
}

.content-clmn-title {
 flex: 1 1 20%; padding-right: 4rem; margin-top: 40px; justify-items: flex-end;
}





/* Case Study Styles*/

.post-title {
  color:var(--secondary); line-height:1.25; margin: 1rem 0 0 0; max-width: 80vw;
}


.post-content {
  max-width: 80vw; color:var(--black); margin:0 auto; line-height:1.6;
}