/* -----------------------
   Base Reset
----------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* -----------------------
   Global Typography Setup
----------------------- */

body {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 300;           /* Regular */
  line-height: 32px;
  color: #828282;
}

/* -----------------------
   Styling
----------------------- */

/* h1 */
h1 {
  font-size: 16px;
  line-height: 32px;
  text-transform: uppercase;
  font-weight: 400;           /* default regular unless changed */
  color: #000;
}

/* h2 */
h2 {
  font-size: 24px;
  font-weight: 500;           /* Medium */
  line-height: 1.8;
  color: #000;
}

/* h3 */
h3 {
  font-size: 16px;
  font-weight: 500;           /* Semi Bold */
  line-height: 1.4;
  color: #828282;
}

/* h4 */
h4 {
  font-size: 32px;
  font-weight: 500;           /* Medium */
  line-height: 1.8;
  color: #000;
}

/* h5 */
h5 {
  font-size: 167px;
  font-weight: 700;           /* Semi Bold */
  line-height: 1.1;
  color: #000;
  text-align: center; /* header remains centered */
}

ul {
  list-style: disc;
  padding-left: 32px; /* required for bullets to appear */
}


/* Default link */
a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Hover */
a:hover {
  text-decoration: underline;
  opacity: 0.7;
}

/* Active (when clicked) */
a:active {
  opacity: 0.5;
}

/* Visited */
a:visited {
  color: #000; /* keeps it consistent */
}

/* Focus (important for accessibility) */
a:focus {
  outline: 2px solid #000;
  outline-offset: 4px;
}


/* Sticky persistent nav */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
}

/* Sticky nav */
.top-nav {
  position: sticky;
  top: 24px;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

/* Container */
.nav-inner {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Links */
.nav-link {
  text-decoration: none;
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s ease;
}

/* Hover + Selected (same style) */
.nav-link:hover,
.nav-link.active {
  background: #f2f2f2;
}
  
.section {
  min-height: 100vh;
  padding: 140px 40px 80px;
}


/* -----------------------
   Case Study Header
----------------------- */
.case-header {
  padding: 30px 0 40px 0;
}

.case-content {
  margin-bottom: 200px;
}

.case-content main{
  
}


/* -----------------------
   Responsive adjustments
----------------------- */
@media (max-width: 1199px) {
  .company-info {
    width: 90%;
    flex-wrap: wrap; /* wrap if needed on smaller tablets */
  }
}

@media (max-width: 767px) {
  .company-info {
    width: 95%;
    flex-direction: column; /* stack items on mobile */
    gap: 16px;
  }
}

/* -----------------------
   Hero Image
----------------------- */
.hero {
  width: 90%; /* sets the width for both hero image and company block */
  max-width: 1200px;
  margin: 0 auto; /* center the hero section */
}

.hero img {
  width: 100%; /* fill the hero container */
  height: auto;
  display: block;
  margin-bottom: 65px; /* spacing between image and company block */
  margin-top: 55px;
}

/* -----------------------
   Company Info Section (inside hero)
----------------------- */
.company-info {
  display: flex;
  justify-content: space-between; /* evenly space 5 items */
  text-align: left; /* left-align text inside each item */
  width: 100%; /* full width of hero container */
}

.company-item {
  display: flex;
  flex-direction: column;
  flex: 1; /* equal width for all items */
  margin: 0 8px; /* optional spacing between items */
}

/* -----------------------
   Responsive adjustments
----------------------- */
@media (max-width: 1199px) {
  .hero {
    width: 90%;
  }

  .company-info {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .hero {
    width: 95%;
  }

  .company-info {
    flex-direction: column;
    gap: 16px;
  }

  .company-item {
    margin: 0;
  }
}

/* -----------------------
   Case Study Content
----------------------- */
.content-container {
  width: 80%; /* 80% of viewport width */
  max-width: 950px; /* cap at 950px */
  margin: 0 auto; /* center container */
  text-align: left; /* left-align all content */
}

.case-section {
  margin-bottom: 32px;
}

.row {
  display: flex;
  gap: 20px; /* space between them */
}

.box {
  flex: 1; /* makes both equal width */
}

@media (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}

/* -----------------------
   Images inside content
----------------------- */
.case-image-block {
  margin: 12px 0;
}

.case-image-block img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0; /* left-aligned inside container */
}

/* -----------------------
   Tablet
----------------------- */
@media (max-width: 1199px) {
  .case-title {
    font-size: 120px;
  }

  .content-container {
    width: 90%;
    padding: 60px 0;
  }
}

/* -----------------------
   Mobile
----------------------- */
@media (max-width: 767px) {

/* h5 */
h5 {
  font-size: 72px;
  font-weight: 700;           /* Semi Bold */
  line-height: 1.1;
  color: #000;
  text-align: center; /* header remains centered */
}
    
/* h4 */
h4 {
  font-size: 24px;
  font-weight: 500;           /* Medium */
  line-height: 1.8;
  color: #000;
}
    
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;           /* Regular */
  line-height: 24px;
  color: #828282;
}


  .hero img {
    width: 100%;
  }

  .content-container {
    width: 95%;
    padding: 48px 0;
  }
    
/* Sticky nav */
.top-nav {
  position: sticky;
  top: 24px;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

/* Container */
.nav-inner {
  display: flex;
  gap: 2px;
  background: #ffffff;
  padding: 4px;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Links */
.nav-link {
  text-decoration: none;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 14px;
  transition: background 0.2s ease;
}

/* Hover + Selected (same style) */
.nav-link:hover,
.nav-link.active {
  background: #f2f2f2;
}
  
.section {
  min-height: 100vh;
  padding: 140px 40px 80px;
}
    
/* -----------------------
   Hero Image
----------------------- */
.hero {
  width: 90%; /* sets the width for both hero image and company block */
  max-width: 1200px;
  margin: 0 auto; /* center the hero section */
}

.hero img {
  width: 100%; /* fill the hero container */
  height: auto;
  display: block;
  margin-bottom: 12px; /* spacing between image and company block */
  margin-top: 12px;
}
/* -----------------------
   Case Study Content
----------------------- */
.content-container {
  width: 80%; /* 80% of viewport width */
  max-width: 950px; /* cap at 950px */
  margin: 0 auto; /* center container */
  text-align: left; /* left-align all content */
}

.case-section {
  margin-bottom: 20px;
}
    
  .content-container {
    width: 90%;
    padding: 0px 0;
  }
    
.case-content {
  margin-bottom: 50px;
}
    
/* -----------------------
   Company Info Section (inside hero)
----------------------- */
.company-info {
  display: flex;
  justify-content: space-between; /* evenly space 5 items */
  text-align: left; /* left-align text inside each item */
  width: 100%; /* full width of hero container */
}

.company-item {
  display: flex;
  flex-direction: column;
  flex: 1; /* equal width for all items */
  margin: 0 8px; /* optional spacing between items */
}
    
}




.accordion {
  width: 100%;
  border: 2px solid #F3F3F3;
  border-radius: 12px;
  overflow: hidden;
}

.accordion-content-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 16px 0;
}

.accordion-content-inner p {
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 16px;
}

.accordion-content-inner ul {
    margin-bottom: 14px;
  line-height: 1.6;
  font-size: 16px;
}

.accordion-content-header {
  height: auto;
  display: block;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
    text-transform: uppercase;
}

.accordion-item {
  border-bottom: 1px solid #F3F3F3;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background: white;
  border: none;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: #F9F9F9;
}

.accordion-header.active {
  
}


.desc {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 300;           /* Regular */
  color: #828282;
}

/* Smooth expanding section */

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: white;
}

.accordion-content-inner {
  padding: 18px 20px;
}