/* ================= CTA HERO ================= */

.cta-hero {
  position: relative;
  width: 100%;
  height: 520px;
  margin-top: 95px;
  background: url("/assests/images/About\ us\ banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Content */
.cta-content {
  max-width: 900px;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 35px;
}

.cta-btn-main {
  font-family: 'Montserrat', sans-serif;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 14px 32px;
  border-radius: 40px;

  background: var(--color-thirdary);        /* default color */
  color: var(--color-primary);

  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;

  z-index: 1;
}

/* sliding background */
.cta-btn-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1f2d8f;   /* hover color */

  transform: translate(100%, 100%);
  transition: transform 0.45s ease;
  z-index: -1;
}

/* hover animation */
.cta-btn-main:hover::before {
  transform: translate(0, 0);
}

/* text color change */
.cta-btn-main:hover {
  color: var(--color-text-white);
}




@media (max-width: 750px) {

  .cta-hero {
    height: 380px;   /* reduce height for mobile */
  }

  .cta-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .cta-content h2 {
    font-size: 30px;   /* reduce heading size */
    line-height: 1.3;
  }

  .cta-content p {
    font-size: 15px;   /* smaller paragraph */
    margin-bottom: 25px;
  }

  .cta-btn-main {
    padding: 14px 24px;
    font-size: 16px;
  }

}






















.management-section {
  padding: 60px 20px;
  background: var(--color-text-white);
}

.management-container {
  max-width: 1300px;
  margin: auto;
}

/* TITLE */
.management-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 50px;
}

/* LAYOUT */
.management-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  text-align: justify;
}

/* IMAGE */
.management-image {
  flex: 0 0 40%;
}

.management-image img {
  width: 100%;
  border-radius: 24px;
  display: block;
}



/* TEXT */
.management-text {
  flex: 1;
}

.management-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.management-text p {
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: justify;

}

/* RESPONSIVE */
@media (max-width: 900px) {
  .management-content {
    gap: 40px;
    text-align: justify;
  }
}

@media (max-width: 768px) {
  .management-content {
    flex-direction: column;
    text-align: justify;
  }

  .management-image {
    width: 100%;
  }

  .management-title {
    font-size: 28px;
  }

  .management-text h3 {
    font-size: 20px;
  }
}














.core-team-section{
  padding:60px 20px;
}

.core-team-container{
  max-width:1300px;
  margin:auto;
}

/* MAIN LAYOUT */
.core-team-content{
  display:flex;
  align-items:stretch;   /* 🔥 equal height both sides */
  gap:50px;
  text-align: justify;
}

/* LEFT TEXT */
.core-team-text{
  flex:1;
  margin:0;
}

.core-team-images{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:20px;
  height:100%;
}

/* top images smaller */
.top-images{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  flex:0.75;
  height:0;        /* 🔥 important */
}

/* bottom image bigger */
.bottom-image{
  flex:1.25;
  height:0;        /* 🔥 important */
}

/* image fit */
.core-team-images img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px;
  display:block;
}



/* TOP TWO */
.top-images{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  flex:0.8;     /* top smaller */
}

/* BOTTOM BIG */
.bottom-image{
  flex:0.8;     /* bottom bigger */
}

/* IMAGE FIT */
.core-team-images img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px;
  display:block;
}

/* ===== HERO RESPONSIVE FIX ===== */
/* ===== MOBILE & TABLET VIEW ===== */
@media (max-width: 992px){

  .core-team-section{
  padding:0px 20px;
}

.core-team-content{
  flex-direction:column; /* text top, images bottom */
  text-align: justify;
}

/* images container */
.core-team-images{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:25px;
}

/* remove grid */
.top-images{
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* all images same width */
.core-team-images img{
  width:100%;
  height:auto;
  object-fit:contain;
  border-radius:14px;
}

}

/* ===== SMALL MOBILE ===== */
@media (max-width:600px){

.core-team-images img{
  width:100%;
  height:auto;          /* full image visible */
  object-fit:contain;   /* no crop */
  border-radius:14px;
  background:#f5f5f5;   /* optional */
}

}

/* ===== VERY SMALL MOBILE ===== */
@media (max-width:350px){

.core-team-images img{
  width:100%;
  height:auto;
  object-fit:contain;
}

}


































.principles-section {
  padding: 60px 20px;
  background: var(--contact-info-card);
}

.principles-container {
  max-width: 1300px;
  margin: auto;
}

/* TITLE */
.principles-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 50px;
}

/* GRID */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.principle-card {
  position: relative;
  overflow: hidden;

  background: var(--color-text-white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;

  z-index: 1;
}

/* SLIDING HOVER BACKGROUND (same as contact page) */
.principle-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background-color: var(--color-primary);

  transform: translate(100%, 100%);
  transition: transform 0.45s ease;

  z-index: -1;
}

/* HOVER */
.principle-card:hover::before {
  transform: translate(0, 0);
  
}

/* TEXT */
.principle-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.principle-card p {
  line-height: 1.7;
  text-align: justify;
}

/* TEXT COLOR CHANGE ON HOVER */
.principle-card:hover h3,
.principle-card:hover p {
  color: var(--color-text-white); /* or #111 / #fff based on your hover bg */
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principles-title {
    font-size: 28px;
  }
}























.gallery-section {
  padding: 60px 20px;
  background: #ffffff;
}

.gallery-container {
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.gallery-title {
  font-size: 34px;
  margin-bottom: 10px;
}

.gallery-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 50px;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  align-items: stretch;
}

/* COLUMN */
.gallery-col {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 25px;
}

/* CENTER COLUMN = 3 EQUAL IMAGES */
.center-col {
  grid-template-rows: repeat(3, 1fr);
}

/* IMAGES */
.gallery-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.gallery-col.center-col img {
  border-radius: 10px; /* adjust value as needed */
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .center-col {
    grid-template-rows: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-col,
  .center-col {
    grid-template-rows: auto;
  }

  .gallery-col img {
    height: auto;
  }
}























































/* ================= TIMELINE SECTION ================= */

.timeline-section {
  padding: 60px 20px;
  
}

.timeline-container {
  position: relative;
  max-width: 1300px;
  margin: auto;
}

/* Center vertical line */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
   background: #27247B; /* 🔵 Blue */
  transform: translateX(-50%);
  z-index: 1;
}

/* Items */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 40px 60px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.22,1,0.36,1);
}

/* Left & Right */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

/* Dot */
.timeline-dot {
  position: absolute;
  top: 60px;
  width: 16px;
  height: 16px;
  background: #FFC92A; /* 🟡 Yellow */
  border-radius: 50%;
  z-index: 3;
  transition: all 0.4s ease;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

/* Content box */
.timeline-content {
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

/* Active state */
.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.active .timeline-content {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.timeline-item.active .timeline-dot {
  background: #FFC92A;
  box-shadow: 0 0 0 8px rgba(255,201,42,0.2);
}
/* ================= HOVER EFFECT ================= */

.timeline-content {
  transition: 
    transform 0.4s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.timeline-item:hover .timeline-content {
  transform: 
    perspective(1000px)
    scale(1.04)
    rotateY(2deg)
    rotateX(1deg)
    translateY(-6px);

  box-shadow: 
    0 25px 60px rgba(0,0,0,0.12);
}

/* Enhance dot slightly on hover */
.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 10px rgba(255,201,42,0.25);
}



















/* ================= TIMELINE ================= */
@media (max-width: 768px) {

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    text-align: left;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }

}