/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
 /* overflow-x: hidden; */
  padding-top: 45px;   /* adjust if header height differs */
  /* padding-bottom:20px; */
}

 .homepage .cta-section {
  margin-bottom: 50px !important;
} 

/* GLOBAL scroll reveal base state */
.reveal {
  /* opacity: 0; */
  transform: translateY(60px);
}


/* ================= WRAPPER ================= */
.hero-wrapper {
  background: #F1F2FA;              /* light gray like screenshot */
 width:100%;
  display: flex;
  align-items: center;
  padding: 60px 20px;
  
 
}

/* ================= CONTAINER ================= */
.hero-container {
  width: 100%;
  max-width: 1300px;                /* LOCKED */
  margin: 0 auto;
}

/* ================= SLIDER ================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(430px, 60vh, 920px);
  border-radius: 20px;
  overflow: hidden;
}

/* .slide {
  position: absolute;
  inset: 0;
  opacity: 0;

  background-size: 100% 100%;  
  background-position: center;
  background-repeat: no-repeat;

  transition: opacity 0.8s ease;
  display: flex;
  align-items: flex-end;
} */


.slide {
  position: absolute;
  inset: 0;
  opacity: 0;

  background-size: cover;        /* full width without stretch */
  background-position: top center; /* ⬅️ start from top */
  background-repeat: no-repeat;

  transition: opacity 0.8s ease;
  display: flex;
  align-items: flex-end;
}





.slide.active {
  opacity: 1;

}

/* Overlay – same feel as screenshot */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.2) 100%
  );
}

/* ================= CONTENT ================= */
.slide-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 94px;
  color: var(--color-text-white);
  margin-bottom: 0px; /* space from bottom */

}

/* Headline – RESPONSIVE, SAME FEEL */
.slide-content h1 {
  font-size: clamp(24px, 3.2vw, 35px);   /* 🔥 responsive */
  letter-spacing: 0.5px;
  color: var(--color-thirdary);
  font-family:montserrat;
  font-weight:700px;
  
}

/* Paragraph – RESPONSIVE */
.slide-content p {
  font-size: 18px !important;
  margin-top: 14px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  opacity: 0.85;
  max-width: 520px;
  color:var(--color-text-white);
}

/* ================= ARROWS ================= */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 5;

  background-color:transparent;
  color: yellow;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-arrow:hover {
  color: var(--brand);
  transform: translateY(-50%) scale(1.1);
}

/* ================= ICON BOXES ================= */

.icon-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

/* Individual box */
.icon-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  will-change: transform, opacity;
  cursor: pointer;
  transition: all 0.35s ease;
}

/* SVG icon (img) */
.icon-box img {
  width: 32px;               /* ICON SIZE */
  height: auto;
  transition: filter 0.35s ease, transform 0.35s ease;
  color: var(--brand);

}

/* Text */
.icon-box span {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);

  transition: color 0.35s ease;
}
.icon-box span:hover {
color:white;
}

/* Hover effect */
.icon-box:hover {
 background: linear-gradient(
    135deg,
    rgba(39, 36, 123, 0.95),
    rgba(39, 36, 123, 0.65)
  );
  transform: translateY(-3px);
  
}

/* Make SVG white on hover */
.icon-box:hover img {
  filter: brightness(0) invert(1);
  transform: scale(1.05);
}

/* Text white on hover */
.icon-box:hover span {
  color: #ffffff;
}


/* ===== BELOW 900px ===== */
@media (max-width:900px){

.icon-boxes{
  grid-template-columns:1fr;   /* one by one */
}

.icon-box{
  justify-content:center;      /* center icon + text */
  text-align:center;
}

}

/* ===== BELOW 500px ===== */
@media (max-width:500px){

.icon-box{
  justify-content:flex-start;  /* left align */
  text-align:left;
}

}
























/* ================= ABOUT US SECTION ================= */



.join-section {
  padding: 60px 20px;
  background: var(--color-text-white);
}

.join-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 35% 35% 25%; /* 🔥 EXACT SPLIT */
  gap: 40px;
  align-items: center;
}

/* LEFT */

.join-left h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.join-left p {
  margin-top: 16px;
  opacity: 0.8;
  line-height: 1.6;
  padding-bottom:30px;
}

.cta-btns {
  font-family: 'Montserrat', sans-serif;
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background-color: var(--color-thirdary);
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  isolation: isolate;   /* 🔥 VERY IMPORTANT */
}

/* hover layer */
.cta-btns::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-secondary);
  border-radius: inherit;

  transform: translate(100%,100%);
  transition: transform .45s ease;
  z-index:-1;
}

/* hover */
.cta-btns:hover::before{
  transform: translate(0,0);
}

.cta-btns:hover{
  color:#000;
}





/* ================= IMAGE LAYOUT ================= */

.join-images {
  display: grid;
  grid-template-columns: 1fr 1.1fr; /* right image slightly wider */
  gap: 24px;
  align-items: stretch;
  
}

/* Left stacked layout */
.img-left {
  display: grid;
  grid-template-rows: 1.2fr 0.8fr; /* top bigger, bottom smaller */
  gap: 24px;
  height: 380px; /* 🔥 reduced total height */
  
  
}

/* Right tall image */
.img3 {
  height: 380px; /* match total left height */
  border-radius:30px;
}

.img1{
border-radius:30px;

}
.img2{
  border-radius:30px;
}
/* ================= BASE IMAGE STYLING ================= */

 .img-box {
position: relative; 
 background-size: cover;
background-position: center; 
overflow: hidden; 
transition: transform 0.6s ease, box-shadow 0.6s ease;
  
} 
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* .img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0) 60%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.img-box:hover::after {
  transform: translateX(100%);
} */

/* STATS */

.join-stats .stat {
  margin-bottom: 40px;
}

.join-stats h3 {
  font-size: 40px;
  font-weight: 700;
}

.join-stats p {
  font-size: 15px;
  opacity: 0.7;
}





/* REVEAL */
.reveal {
  /* opacity: 0; */
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ================= SEPARATE RESPONSIVENESS FOR DESKTOP AND MOBILE FOR ABOUT US SECTION IMAGE PART ================= */
/* ================= MOBILE================= */
@media (max-width:767px){

  .join-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .join-left { order: 1; }
  .join-images { order: 2; }
  .join-stats { order: 3; }

  /* Stack images vertically */
  .join-images {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .img-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
  }

  .img1 { height: 240px; }
  .img2 { height: 180px; }
  .img3 { height: 320px; }

  /* 🔥 LEFT ALIGN STATS */
  .join-stats{
    display:flex;
    flex-direction:column;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    text-align:left !important;
    width:100%;
    
  }

  .join-stats .stat{
    width:100%;
    text-align:left !important;
  }

}

/* ================= TABLET================= */
@media (min-width: 768px) and (max-width: 996px) {

  .join-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* Text first */
  .join-left {
    order: 1;
  }

  /* Images second */
  .join-images {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;  /* keep side-by-side */
    gap: 24px;
  }

  .img-left {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    height: 360px;
  }

  .img3 {
    height: 360px;
  }

  /* Stats below */
  .join-stats {
    order: 3;
  }

}

.join-stats{
  display:flex;
  flex-direction:column;
  align-items:flex-start !important;   /* force left */
  justify-content:flex-start !important;
  text-align:left !important;
}

.join-stats .stat{
  width:100%;
  text-align:left !important;
}

























/* ===============================
   LOGO SLIDER
================================ */

.logo-section {
  width: 100%;
  background: var(--color-text-white);
  display: flex;
  justify-content: center;
  padding: 60px 0px;
  
}

.logo-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Viewport */
.logo-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Gradient fade edges */
.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* Track */
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 70s linear infinite;
}



/* Pause on hover */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* Logo box (same size) */
.logo-slide {
  width: 180px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Logo image */
.logo-slide img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.logo-slide img:hover{ 
  transform: scale(1.08);   /* gentle zoom */
  opacity: 1;


}

/* Animation */
@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}










/* ===============================
   TESTIMONIALS – BASE STYLES
================================ */

.testimonials-section {
  background: var(--color-text-white);
  padding: 60px 20px;
  
}

.testimonials-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

/* Header */
.testimonials-header .subtitle {
  font-size: 12px;
  letter-spacing: 2px;
 color: var(--color-thirdary);
  font-weight : 600;
}

.testimonials-header h2 {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 700;
}

/* Wrapper */
.testimonial-wrapper {
  margin-top: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card */
.testimonial-card {
  width: 100%;
  max-width: 700px;
  background: var(--color-text-white);
  border-radius: 18px;
  padding: 50px 200px;
  box-shadow:
  0 0 24px rgba(70, 90, 160, 0.06),
  0 18px 36px rgba(70, 90, 160, 0.08);


overflow: hidden;
  transition: border-color 0.4s ease;
}
/* TEMPORARY highlight ONLY during slide change */
.testimonial-card.is-animating {

  box-shadow: 0 24px 50px rgba(245, 180, 0, 0.08);


}


/* Slides */
.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide h4 {
  font-size: 18px;
  font-weight: 700;
}

.testimonial-slide .role {
  font-size: 13px;
  opacity: 0.7;
}

.stars {
  margin: 12px 0;
  color: var(--color-thirdary);
}

.testimonial-slide p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
}

/* Arrows */
.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* border: 1px solid blue; */
  background-color: var(--color-thirdary);
  color: var(--color-primary);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-arrow.prev {
  margin-right: 25px;
}

.testimonial-arrow.next {
  margin-left: 25px;
}

/* Active arrow */
.testimonial-arrow.active {
  background-color: var(--color-thirdary);
  color: var(--color-primary);
  transform: scale(1.1);
}
  

/* Dots */
.testimonial-dots {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonial-dots span {
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
}

.testimonial-dots span.active {
  background-color: var(--color-thirdary);
}



/* ===============================
  TESTIMONIALS
================================ */
@media (max-width: 992px) {

  .testimonials-section {
    padding: 60px 3%;
  }

  .testimonial-card {
    max-width: 90%;
    padding: 40px 30px;
  }

  .testimonial-slide p {
    font-size: 14px;
  }
}


@media (max-width: 576px) {

  .testimonials-section {
    padding: 50px 0px;
  }

  .testimonials-header h2 {
    font-size: 22px;
  }

  .testimonial-card {
    padding: 30px 22px;
  }

  /* Hide arrows on small devices */
  /* .testimonial-arrow {
    display: none;
  } */

  .testimonial-slide h4 {
    font-size: 16px;
  }

  .testimonial-slide p {
    font-size: 14px;
  }
}

















/* ================= WHY CHOOSE US SECTION ================= */


.why-section {
  padding: 60px 20px;
  background: white;
  
}

/* Extended width support */
.why-container {
  width: 100%;
  max-width: 1300px;   /* supports large screens */
  margin: 0 auto;
}

/* HEADER */

.why-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin-bottom: 70px;
}

.why-left {
  max-width: 750px;
}

.why-left h2 {
  font-size: 36px;
  font-weight: 700;
}

.why-left p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
}

/* GRID */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
}

.why-item {
  display: flex;
  gap: 18px;
}

.why-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-item ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.why-item li {
   margin-bottom: 6px;
}

/* ICONS */
/* ================= WHY ICON ================= */

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-icon img {
  width: 28px;
  height: 28px;
  transition: transform 0.4s ease;
}

/* Background colors */
.why-icon.red { background-color: #E8EDFF; }
.why-icon.purple { background-color: #F6EFFF; }
.why-icon.pink { background-color: #FFD6D2; }
.why-icon.orange { background-color: #FFEDE0; }

/* 🔥 Hover Zoom Effect */
.why-item:hover .why-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.why-item:hover .why-icon img {
  transform: scale(1.15);
}



/* ===== BELOW 800px COLUMN ===== */
@media (max-width:800px){

.why-grid{
  grid-template-columns:1fr;   /* one by one column */
  gap:40px;
}

.why-item{
  flex-direction:column;       /* icon top, text below */
  align-items:flex-start;
}

.why-header{
  flex-direction:column;
  align-items:flex-start;
  gap:0px;
}

}















/* ================= CTA BUTTON (Same as previous) ================= */

.cta-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background-color: yellow;
  color: #000;
  border-radius: 40px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.cta-btn::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: #1f3cff;
  transition: left 0.5s ease;
  z-index: 0;
}

.cta-btn:hover::before {
  left: 0;
}

.cta-btn .btn-text,
.cta-btn .arrow {
  position: relative;
  z-index: 2;
  transition: color 0.4s ease, transform 0.4s ease;
}

.cta-btn:hover .btn-text,
.cta-btn:hover .arrow {
  color: #ffffff;
}

.cta-btn:hover .arrow {
  transform: translateX(6px);
}

/* ================= SCROLL REVEAL ================= */

.reveal-section {
  /* opacity: 0; */
  transform: translateY(70px);
  transition: all 1s ease;
}

.reveal-section.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

