body
{
  background:#fff;	
}
.footer-section-2, .footer-section-3
{
     background: #024F61;	
}
.header .banner 
{
    aspect-ratio: 16 / 1;
    width: 100%;
    padding: 13.4rem 0 0;	
}
.case-title
{
 font-family: "GroldExtraBold";	
 color:#fff;
 text-align: center;
}
.case-title h1
{
  font-size:6vw;	
}
.case-title h1 span
{
  color: #7edacc;	
}

.top-roundEffect {
    background-color: #fff;
	aspect-ratio: 1440 / 83;
    width: 100%;
}
.top-roundEffect-overlay {
    z-index: 1;
    aspect-ratio: 1440 / 83;
    width: 100%;
    position: absolute;
    overflow: hidden;
}
.top-roundEffect-overlay:after {
    content: "";
    background-color: #204e5f;
    border-radius: 50%;
    width: 115%;
    height: 400%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
}

.bg-white-color{
    background-color: #fff;
}


.leadership-section {
  padding: 90px 20px 40px 20px;
  background-color: #fff;
}



/* Grid Layout: 4 columns desktop, 2 tab, 1 mobile */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.leader-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Circular Image Handling */
.leader-image {
  width: 100%;
  max-width: 250px; /* Adjust size as needed */
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 50%; /* Makes it a circle */
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills circle without stretching */
}

/* Typography with Clamp for scaling */
.leader-name {
  font-family: "GroldExtraBold", sans-serif;
  margin: 10px 0 5px;
  color: #024f61;
  /* Scales between 18px and 24px */
  font-size: clamp(1.25rem, 2vw, 2rem);
  text-transform:uppercase;
}

.leader-position {
  font-family: "GroldLight", sans-serif;
  color: #024f61;
  letter-spacing: 0;
  /* Scales between 14px and 16px */
  font-size: clamp(.8rem, 1.5vw, 1.5rem);
  
}

/* --- Responsive Breakpoints --- */

@media (max-width: 991px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 576px) {
  .leadership-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
    gap: 40px;
  }
  
  .leader-image {
    max-width: 200px; /* Slightly smaller on phones */
  }
}

.why-tha {background:#024f61; padding-top: 8vw;}
.what-differ{background:#024f61; padding:50px 0 10px 0px;}
.values-section{padding:50px 0 10px 0px;}
.differ-sec{margin:0 30px 80px 30px;}

/* --- Base Link Styles --- */
.cardLink {
    color: inherit;
    width: 100%;
    text-decoration: none;
    display: flex;
    outline: none;
    position: relative;
}

/* --- Main Card Component --- */
.differ-sec-component {
    background-color: #f4f4f5;
    border-radius: .8rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 680px; 
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden; /* CRITICAL: This clips the 'zoop' expansion */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    z-index: 1;
}

/* --- The 'Zoop' Layer --- */
.differ-sec-component::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Sits behind text, in front of gray bg */
    transform: scale(0); /* Starts hidden */
    transform-origin: center; /* Expands from center */
    border-radius: 50%; /* Keeps it a circle while growing */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    opacity: 0;
}

/* Trigger the Zoop */
.cardLink:hover .differ-sec-component::before {
    transform: scale(1.5); /* Scales up to cover the whole rectangle */
    border-radius: 0; /* Snaps to box shape at end of transition */
    opacity: 1;
}

/* --- Header & Image --- */
.differ-sec-component .header {
    position: relative;
    aspect-ratio: 302 / 302;
    width: 100%;
    overflow: hidden;
    border-radius: 0.8rem;
    border-bottom-left-radius: 0;
    z-index: 3; /* Keep image above fill */
}

.differ-sec-component .header .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: border-radius 0.4s ease;
}

/* --- Icon Box & Curves --- */
.differ-sec-component .icon-box {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #f4f4f5;
    padding: 15px 15px 0px 0;
    border-top-right-radius: 2.6rem;
    z-index: 4;
    transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-box .curve-top,
.icon-box .curve-right {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 100% 0%, transparent 20px, #f4f4f5 21px);
    transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-box .curve-top { top: -20px; left: 0; }
.icon-box .curve-right { bottom: 0; right: -20px; }

/* --- Content Area --- */
.differ-sec-component .content {
    position: relative;
    z-index: 5; /* Ensure text stays above the expanding color */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 1.5rem;
}
.differ-sec-component .content h4 {
    font-family: "GroldBold";
    font-size: clamp(1.25rem, 2vw, 2rem);
    color: #024f61;
    min-height: 54px; 
    display: flex;
    align-items: flex-end;
    transition: color 0.3s ease;
}

.differ-sec-component .content p {
    font-family: "GroldLight";
    margin-top: 1rem;
    font-size: clamp(1rem, 1vw, 1.5rem);
    color: #024f61;
    line-height: clamp(1rem, 1.1vw, 1.5rem);
    min-height: 80px;
    transition: color 0.3s ease;
}
.content-footer {
    margin-top: auto;
}

.footer-item {
    font-family: "GroldMedium", sans-serif;
    font-size: 16px;
    color: #004b5a;
    padding: 7px 0;
    border-top: 1px solid #004b5a;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.differ-sec-component .content h4, 
.differ-sec-component .content p, 
.footer-item {
    transition: color 0.4s ease;
}

/* --- Global Hover States --- */
.cardLink:hover .differ-sec-component {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cardLink:hover .content h4,
.cardLink:hover .content p,
.cardLink:hover .footer-item {
    color: #ffffff !important;
}
.theme-4 .cardLink:hover .footer-item
{
  border-top: 1px solid #94d8cc !important;
}
.cardLink:hover .icon-box img {
    filter: brightness(0) invert(1);
}

/* --- Specific Theme Colors (The Zoop Fill) --- */

/* Theme 1 (#7ed9cb) */
.theme-1 .differ-sec-component::before{ background-color: #7ed9cb; }
.theme-1:hover .icon-box { background-color: #7ed9cb; }
.theme-1:hover .icon-box .curve-top, .theme-1:hover .icon-box .curve-right {
    background: radial-gradient(circle at 100% 0%, transparent 20px, #7ed9cb 21px) !important;
}

/* Theme 2 (#fd786c) */
.theme-2 .differ-sec-component::before { background-color: #fd786c; }
.theme-2:hover .icon-box { background-color: #fd786c; }
.theme-2:hover .icon-box .curve-top, .theme-2:hover .icon-box .curve-right {
    background: radial-gradient(circle at 100% 0%, transparent 20px, #fd786c 21px) !important;
}

/* Theme 3 (#fdb157) */
.theme-3 .differ-sec-component::before { background-color: #fdb157; }
.theme-3:hover .icon-box { background-color: #fdb157; }
.theme-3:hover .icon-box .curve-top, .theme-3:hover .icon-box .curve-right {
    background: radial-gradient(circle at 100% 0%, transparent 20px, #fdb157 21px) !important;
}
/* Theme 4 (#282e33) */
.theme-4 .differ-sec-component::before { background-color: #282e33; }
.theme-4:hover .icon-box { background-color: #282e33; }
.theme-4:hover .icon-box .curve-top, .theme-4:hover .icon-box .curve-right {
    background: radial-gradient(circle at 100% 0%, transparent 20px, #282e33 21px) !important;
}
.swiper.gallerySlider {
    /* This creates 20px of 'empty' space inside the slider at the top */
    padding-top: 20px !important;
    
    /* Pull the whole section back up so you don't have a 20px gap in your layout */
    margin-top: -20px !important;
}
 .journey {margin:0 40px 20px 60px;}
.journey-info {
 font-family: "GroldBlack", sans-serif;
font-size: clamp(2rem, 8vw, 21rem);
color: #004b5a;
padding-top: clamp(4rem, 8vw, 15rem);
padding-bottom: clamp(4rem, 8vw, 15rem);
line-height: clamp(2.5rem, 8.5vw, 21.5rem);
}
@media (max-width: 480px) {
 .journey {margin:0 40px 20px 40px;}	
}
.differ-sec-values{margin:0 30px 0 30px;}
.values-container {
   
    margin: 0 auto;
    padding: 40px 20px;
}

.value-item {
    margin-bottom: clamp(30px, 5vw, 50px);
}

/* Typography for Titles */
.value-title {
    font-family: "GroldMedium", sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Specific Colors from Image */
.excellence {
    color: #ffb358; /* Orange/Yellow */
}

.humanity {
    color: #ff7a6d; /* Coral/Red */
}

.team-spirit {
    color: #7edccd; /* Mint/Cyan */
}

/* Paragraph Text Styling */
.value-text {
    font-family: "GroldLight", sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.6;
    color: #024f61; /* Dark Teal used in your previous components */
   margin-bottom: clamp(15px, 3vw, 25px);
}

/* Remove extra margin from the very last paragraph */
.value-item:last-child .value-text:last-child {
    margin-bottom: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .value-title {
        font-size: 24px;
    }
    .value-text {
        font-size: 16px;
    }
}
.why-tha-white {
  /* Using clamp for padding: 40px on mobile to 80px on desktop */
  padding: clamp(40px, 8vw, 80px) 30px 20px 30px;
  overflow: hidden;
  background: #fff;
}

.why-tha-white .title-whytha {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  /* Allow the line to move below the text on very small screens if necessary */
  flex-wrap: wrap; 
}

.why-tha-white .title-whytha h2 {
  text-transform: uppercase;
  font-family: GroldBold;
  color: #024f61;
  
  /* Fluid font size: 22px on mobile to 30px on desktop */
  font-size: clamp(1.275rem, 4vw, 1.875rem);
  
  /* FIX: Allow wrapping on mobile so it doesn't cut off */
  white-space: normal; 
  
  /* Optional: keeps the line and text tight */
  flex-shrink: 0; 
  margin: 0;
}

.why-tha-white .title-whytha .title-line {
  /* Allow the line to grow and fill remaining space */
  flex: 1; 
  min-width: 50px; /* Ensures the line doesn't disappear completely on small screens */
  height: 1px;
  background-color: #024f61;
  opacity: 0.5;
}

/* Mobile Specific Tweaks */
@media (max-width: 576px) {
  .why-tha-white {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .why-tha-white .title-whytha {
    /* If the title is still too long, this centers it on mobile */
    justify-content: center; 
    text-align: center;
  }
  
  .why-tha-white .title-whytha .title-line {
    /* Optional: Hide the line on mobile if it feels too cluttered */
     display: none;
    
    /* Or keep it but allow it to be the full width below the text */
    min-width: 100%; 
  }
}

.root-text
{
  padding: 0px 30px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.store-box-text img {
    position: relative !important;
    clip-path: unset !important;
    height: 100% !important;
    width: 80% !important;
    z-index: unset !important;
    object-fit: cover !important;
	border-radius: .8rem;
}

/* 1. Main Viewport Container */
.viewport-section {
    height: 100vh;
    min-height: 600px; /* Safety for very short screens */
    display: flex;
    align-items: center; /* Vertically centers the entire row */
    overflow: hidden;

}

/* 2. Heading & Vertical Bar Logic */
.root-text-heading {
	margin-top: 0;
    display: flex;
    gap: 18px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.root-text-heading::before {
    content: "";
    background-color: #f3b568;
    width: 12px;
    flex-shrink: 0;
    align-self: stretch; /* Bar stretches to height of both lines */
}

.text-wrapper {
    font-family: "GroldExtraBold";
    font-size: clamp(50px, 5vw, 80px);
    line-height: 0.9;
    color: #fff;
}

.text-wrapper span {
    display: block; /* Forces "ROOTS" to a new line */
    color: #f3b568;
}

/* 3. Paragraph & Content Scaling */
.root-text-content {
    margin-left: 30px; /* Matches the (gap + bar width) of the heading */
}

.root-text-content p {
    font-family: "GroldLight";
    font-size: clamp(0.9rem, 1.2vw, 1.2rem); 
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    max-width: 95%;
}

.root-text-content strong {
    font-family: "GroldBold";
    color: #fff;
}

.highlight-text {
    color: #f3b568;
    font-family: "GroldBold";
}

/* 4. Image Fit & Border */
.store-box-text {
    height: 85vh; /* Prevents image from pushing the page to scroll */
    display: flex;
    justify-content: center;
    align-items: center;
}

.store-box-text img {
    border: solid 5px #f3b568;
    border-radius: 30px;
    height: 100%; /* Fixes height to the 65vh container */
    width: auto;
    object-fit: cover;
    display: block;
}

/* For Tablets (Small Laptops / iPads) */
@media (max-width: 1200px) {
.header .banner 
{
    aspect-ratio: 16 / 1;
    width: 100%;
    padding: 6.4rem 0 0;	
}
}
@media (max-width: 991px) {
    .viewport-section {
        height: auto; /* Allow scrolling on smaller screens */
        padding: 60px 20px;
    }

    .root-text-heading {
        font-size: 60px; /* Smaller heading for tablet */
    }

    .store-box-text {
        height: 400px; /* Fixed height for image on tablet */
        margin-top: 40px;
    }
}
@media (max-width: 767px) {
   	.header .banner 
{
    aspect-ratio: 16 / 1;
    width: 100%;
    padding: 3.4rem 0 0;	
}
    .viewport-section {
        height: auto; /* Required to allow the page to grow with content */
        padding: 40px 15px;
        display: block; /* Switches from flex centering to standard flow */
    }

    .root-text-heading {
        font-size: 40px;
        line-height: 1.1;
    }

    .root-text-content {
        margin-left: 20px;
    }

    /* FIX FOR IMAGE CUTTING OFF */
    .store-box-text {
        height: auto;    /* Remove the fixed height */
        margin-top: 30px;
        display: block;  /* Reset flex behavior */
        width: 100%;
    }

    .store-box-text img {
        width: 100%;     /* Stretch to column width */
        height: auto;    /* Scale height proportionally to prevent cutting */
        margin: 0 auto;
        object-fit: contain; /* Ensures the whole image is visible */
        border-width: 3px;   /* Slightly thinner border for mobile */
    }
}
