/* ================= FULL BG HERO ================= */
.famcom-hero-fullbg {
    position: relative;
    min-height: 90vh;
    background: url("s1.webp") center center / cover no-repeat;
    overflow: hidden;

}

/* DARK OVERLAY */
.famcom-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 40, 30, 0.85),
        rgba(10, 40, 30, 0.65),
        rgba(10, 40, 30, 0.85)
    );
    z-index: 1;
}

/* LAYOUT */
.famcom-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    min-height: 90vh;
    align-items: center;
}

/* ===== SIDE FOUNDERS ===== */
.famcom-hero-side {
    height: 100%;
}

.famcom-hero-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LEFT CURVE */
.famcom-left {
    clip-path: ellipse(100% 100% at 0% 50%);
}

/* RIGHT CURVE */
.famcom-right {
    clip-path: ellipse(100% 100% at 100% 50%);
}

/* ===== CENTER TEXT ===== */
.famcom-hero-center {
    text-align: center;
    color: #fff;
    padding: 40px;
}

.famcom-hero-center h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.famcom-hero-center p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 35px;
}

/* CTA */
.famcom-cta {
    display: inline-block;
    padding: 14px 40px;
    background: #127ec3;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.famcom-cta:hover {
    background: #0f6aa7;
}

/* ===== MOBILE ===== */
@media (max-width: 992px) {
    .famcom-hero-layout {
        grid-template-columns: 1fr;
    }

    .famcom-hero-side {
        height: 260px;
        clip-path: none;
    }

    .famcom-hero-center {
        padding: 60px 20px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 992px) {
    .famcom-hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    /* HIDE SIDE IMAGES ON MOBILE */
    .famcom-hero-side {
        display: none;
    }

    .famcom-hero-fullbg {
        min-height: 70vh;
    }

    .famcom-hero-center {
        padding: 70px 20px;
        text-align: center;
    }

    .famcom-hero-center h1 {
        font-size: clamp(32px, 8vw, 46px);
        letter-spacing: 2px;
    }

    .famcom-hero-center p {
        font-size: 16px;
    }
}


.white-text {
    color: white !important;
}

.service-carousel-three.owl-carousel .owl-item img ,
.portfolio-style02 .portfolio-box .portfolio-img img{
        height: 400px;
    object-fit: cover;
}

.owl-carousel .owl-item img{
        height: 300px;
    object-fit: cover;
}

    .founders-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9fafc, #ffffff);
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* Intro */
.founders-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.founders-intro h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.founders-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* Grid */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Card */
.founder-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.12);
}

/* Image Box */
.founder-image.box {
  width: 100%;
  height: 340px;
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f2f2;
}

.founder-image.box img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* FULL IMAGE VISIBLE */
}

/* Text */
.founder-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111;
}

.designation {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Mobile */
@media (max-width: 768px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }

  .founder-image.box {
    height: 260px;
  }

  .founders-intro h2 {
    font-size: 28px;
  }
}

    .team-row {
    min-height: 420px;
}

.team-image-wrap {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.team-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-image-wrap:hover img {
    transform: scale(1.05);
}

/* Content */
.team-content-wrap {
    padding: 40px;
}

.team-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-role {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2c3f6f;
    margin-bottom: 20px;
}

.team-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    max-width: 520px;
}

/* Mobile */
@media (max-width: 991px) {
    .team-row {
        min-height: auto;
    }

    .team-image-wrap {
        height: 320px;
        margin-bottom: 25px;
    }

    .team-content-wrap {
        padding: 20px 10px;
        text-align: center;
    }

    .team-description {
        max-width: 100%;
    }
}