/* ABOUT US SECTION (#section4)*/

#section4.Teamcontainer {
  height: 100vh;
  overflow: hidden;
}

/* SLIDE CONTENT */
#section4 .slide-content {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* CONTENT SECTIONS - CLEAN */
#section4 .team-content-section {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 5;
}

/* VISION & MISSION - NO SCROLL */
#section4 .VisionMission {
  text-align: center;
  overflow: hidden;
}
#section4 .VisionMission.team-content-section {
    max-width: 700px;
    width: 90%;
}
/* TIMELINE - NO SCROLL */
#section4 .timeline-section {
  overflow: hidden;
  padding-left: 50px;
  position: relative;
}

/* CULTURE - MAKE SCROLLABLE */
#section4 .OurCulture {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 20px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* to Make sure other slides in about section don't scroll */
#section4 .VisionMission,
#section4 .timeline-section {
  overflow: hidden !important;
}

/* SCROLLBAR STYLING FOR CULTURE */
#section4 .OurCulture::-webkit-scrollbar {
  width: 3px;
  background: transparent;
}

#section4 .OurCulture::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05); 
  border-radius: 10px;
}

#section4 .OurCulture::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
#section4 .OurCulture {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05); 
}
/* ========================================
   TIMELINE STYLES - PERFECT
   ======================================== */
#section4 .timeline-section::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 48px;
  width: 2px;
  height: calc(100% - 80px);
  border-left: 2px dashed var(--secondary-color);
  z-index: 0;
}

#section4 .timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 20px;
}

#section4 .timeline-dot {
  position: absolute;
  left: -10px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

#section4 .timeline-dot img {
  width: 20px;
  height: 20px;
}

/* ========================================
   CULTURE GRID - PERFECT RESPONSIVE
   ======================================== */
#section4 .culture-values .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

#section4 .culture-values [class*="col-"] {
  padding: 0 15px;
  margin-bottom: 20px;
}

/* RESPONSIVE GRID */
@media (min-width: 1025px) {
  #section4 .culture-values .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  #section4 .culture-values .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #section4 .culture-values .col-md-6,
  #section4 .culture-values .col-md-4 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
  #section4 .culture-values [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  
}

/* ========================================
   TYPOGRAPHY - PERFECT FONTS & SIZES
   ======================================== */

/* HEADINGS */
#section4 .heading-section h2 {
  font-family: 'Century Gothic', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 4vw, 26px);
  line-height: clamp(30px, 6vw, 54px);
  text-align: center;
  margin: 0 0 20px 0;
  color: var(--primary-color);
}

/* H5 TITLES (Mission, Vision, Core Values) */
#section4 h5 {
  font-family: 'Century Gothic', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 24px);
  line-height: clamp(28px, 4vw, 54px);
  text-align: center;
  margin: 20px 0 10px 0;
  color: var(--primary-color);
}

/* PARAGRAPHS */
#section4 p {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(12px, 2vw, 14px);
  line-height: clamp(20px, 3vw, 24px);
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* TIMELINE YEARS */
#section4 .timeline-content h3 {
  font-family: 'Century Gothic', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0;
  color: var(--primary-color);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  text-align: center;
}

/* TIMELINE DESCRIPTIONS */
#section4 .timeline-content p {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(12px, 2vw, 14px);
  line-height: clamp(20px, 3vw, 24px);
  text-align: left;
  color: var(--primary-color);
  margin: 5px 0 0;
}

/* CULTURE VALUE TITLES */
#section4 .value h3 {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: clamp(14px, 2.5vw, 18px);
  text-align: center;
  margin: 0 0 12px 0;
  color: var(--primary-color);
}

/* CULTURE VALUE PARAGRAPHS */
#section4 .value p {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.6;
  text-align: center;
  color: var(--primary-color);
  margin: 0;
}

/* STRONG TEXT */
#section4 strong {
  font-weight: 600;
  color: var(--primary-color);
}

/* ========================================
   SPACING & LAYOUT - PERFECT
   ======================================== */
#section4 .mt-5 {
  margin-top: 40px !important;
}

#section4 .mb-4 {
  margin-bottom: 20px !important;
}

/* ========================================
   SCROLLBAR - CULTURE ONLY
   ======================================== */
#section4 .OurCulture::-webkit-scrollbar {
  width: 6px;
}

#section4 .OurCulture::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

#section4 .OurCulture::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* HIDE OTHER SCROLLBARS */
#section4 .slide-content::-webkit-scrollbar,
#section4 .VisionMission::-webkit-scrollbar,
#section4 .timeline-section::-webkit-scrollbar {
  display: none !important;
}

/* ========================================
   MOBILE - PERFECT RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
   #section4 .slide-content {
    max-width: 100%; 
    width: 100%;   
    padding: 20px 0;
    box-sizing: border-box;
  }
  #section4 .slide-content {
    padding: 20px 15px;
  }
  
  #section4 .OurCulture {
    padding: 20px 15px;
  }
  
  #section4 .timeline-item {
    margin-bottom: 25px;
  }
  #section4 .VisionMission.team-content-section {
   max-width: 95%;
   width: 95%;
  }
  #section4 .timeline-dot img {
    width: 16px;
    height: 16px;
  }
   #section4 .VisionMission.team-content-section {
        max-width: 95%;
        width: 95%;
    }
  /* TO START FROM THE TOP */
  #slide-about-1 .slide-content,
  #slide-about-2 .slide-content,
  #slide-about-3 .slide-content {
    justify-content: flex-start !important;
    padding-top: 40px; 
  }
  /* FOR CULTURE SECTION */
  #slide-about-3 .slide-content {
    padding-top: 20px;
  }
}
/* EXTRA SMALL PHONES (≤400px)*/
@media (max-width: 400px) {
  #section4 .heading-section h2 {
    font-size: 18px;
    line-height: 1.3;
  }
  #section4 p {
    font-size: 11px;
    line-height: 1.4;
  }
  #section4 .value h3 {
    font-size: 13px;
  }
  #section4 .OurCulture {
    padding: 15px 10px;
  }
}
/* ========================================
   TABLET
   ======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  #section4 .slide-content {
    padding: 30px 25px;
  }
  
  #section4 .OurCulture {
    padding: 30px 25px;
  }
}
/* LARGE TABLETS / SMALL LAPTOPS (1025–1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  #section4 .team-content-section {
    max-width: 85%;
  }
  #section4 .heading-section h2 {
    font-size: 24px;
  }
  #section4 p {
    font-size: 14px;
  }
}
/* ========================================
   DESKTOP EXTRAS
   ======================================== */
@media (min-width: 1025px) {
  #section4 .half-timelineCircle-image {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 150px;
    height: 100vh;
    clip-path: none;
    z-index: 10;
  }
}
