/* =========================
   GLOBAL / BASE
   ========================= */
:root {
  --card-bg: #ffffff;
  --section-bg: linear-gradient(180deg, #a49319ff 0%, #d0d0d9ff 100%);
  --gradient-icon: linear-gradient(90deg, #d2a511d3, #202020);
  --text-dark: #222;
  --text-light: #6c757d;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-weight: 700;
  color: #ececf1;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* On small screens make outer containers edge-to-edge to avoid side gaps */
@media (max-width: 768px) {
  .content-container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* =========================
   TEAM HERO (CURVED IMAGE)
   ========================= */
.team-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: #fff;
  padding-bottom: 60px;
}

/* Curved Image Section */
.trusted-image {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  clip-path: ellipse(150% 85% at 50% 100%);
  background: #fff;
  animation: fadeInImage 1.2s ease 0.8s forwards;
}

.trusted-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s ease;
}

.trusted-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(0, 0, 0, 0.5) 70%,
      rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.trusted-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  z-index: 2;
  pointer-events: none;
}

.trusted-image:hover img {
  transform: scale(1.1);
}

/* Text card */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInText 1s ease 1s forwards;
  max-width: 700px;
  margin: -120px auto 0;
  background: rgba(8, 1, 1, 0.8);
  backdrop-filter: blur(6px);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #d2a511d3, #202020);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #f3eded;
}

/* Animations */
@keyframes fadeInImage {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive hero */
@media (max-width: 900px) {
  .trusted-image {
    height: 350px;
  }

  .hero-content {
    margin: -80px 20px 0;
    padding: 30px 20px;
  }

  .hero-content h1 {
    font-size: 2em;
  }
}

/* =========================
   TEAM CAROUSEL (SCROLLABLE)
   ========================= */
/* Section wrapper */
.team-carousel-section {
  position: relative;
  padding: 80px 0;
  background-color: #fcfcfc;
  text-align: center;
  overflow: hidden;
}

.team-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scrollable row */
.team-member-carousel {
  display: flex;
  gap: 20px;
  /* tighter spacing for mobile friendliness */
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.team-member-carousel::-webkit-scrollbar {
  display: none;
}

/* Cards – use width (not min-width) so they can shrink on mobile */
.team-card {
  width: 280px;
  /* desktop default */
  flex-shrink: 0;
  background: #fff;
  border: 4px solid #b68a22;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-inner {
  position: relative;
}

/* Images */
.team-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* “Detailed” first card (darker overlay, taller) */
.detailed-card img {
  height: 450px;
  filter: brightness(60%);
}

.detailed-card .overlay-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.detailed-card .overlay-content h3 {
  color: #fff;
  font-size: 1.6em;
  margin-bottom: 5px;
}

.detailed-card .overlay-content p {
  color: #ddd;
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Social buttons */
.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: #b68a22;
  color: #1a1a4a;
  font-size: 1.1em;
  transition: background-color .3s, color .3s;
}

/* Arrows (desktop only – hidden on mobile) */
.nav-arrow {
  background: #b68a22;
  color: #1a1a4a;
  border: none;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5rem;
  margin: 0 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color .3s, transform .2s;
}

.nav-arrow:hover {
  background: #c09f00;
  transform: scale(1.05);
}

/* Make the carousel container edge-to-edge on small screens to avoid side “white space” */
@media (max-width: 768px) {

  .team-slider-container,
  .team-carousel-section,
  .team-member-carousel {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-arrow {
    display: none !important;
  }

  /* swipe on mobile */
}

/* Card sizing breakpoints */
@media (max-width: 992px) {
  .team-card {
    width: 240px;
  }

  .team-card img {
    height: 320px;
  }

  .detailed-card img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .team-card {
    width: 200px;
  }

  .team-card img {
    height: 260px;
  }

  .detailed-card img {
    height: 290px;
  }
}

@media (max-width: 576px) {
  .team-member-carousel {
    gap: 15px;
  }

  .team-card {
    width: 160px;
    border-width: 3px;
  }

  .team-card img {
    height: 200px;
  }

  .detailed-card img {
    height: 220px;
  }

  .detailed-card .overlay-content h3 {
    font-size: 1.05rem;
  }

  .detailed-card .overlay-content p {
    font-size: 0.85rem;
  }

  .social-links a {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* =========================
   CONTACT SECTION
   ========================= */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-top: 50px;
}

.contact-info-panel {
  flex: 1;
  min-width: 320px;
  background: #121212;
  color: #fff;
  padding: 60px 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 15px;
  border-radius: 20px;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-panel h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ccc;

}

.contact-info-panel p {
  font-size: 1rem;
  line-height: 1.5;
  color: #f3eeee;
  margin-bottom: 25px;
  max-width: 450px;
}

.contact-info-panel .phone-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  display: inline-block;
  text-decoration: none;
}

.contact-info-panel .phone-number:hover {
  color: #b68a22;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 20px;
  margin-bottom: 40px;
}

.benefit-item {
  display: flex;
  align-items: center;
  font-size: .95rem;
  color: #eee;
}

.benefit-item svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: #b68a22;
}

.process-steps {
  margin-top: 40px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.steps-container::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 35px;
  color: #ccc;
  font-size: .9rem;
}

.number-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background: #b68a22;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .85rem;
  border: 2px solid #b68a22;
}

.contact-form-panel {
  flex: 1.2;
  min-width: 350px;
  background: #f4f5f8;
  padding: 60px 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: center;
}

.contact-form-panel .arrow {
  display: block;
  width: 25px;
  margin: 0 auto 25px;
  color: #b68a22;
  transform: rotate(90deg);
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  color: #555;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: .95rem;
  color: #333;
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #b68a22;
  box-shadow: 0 0 0 2px rgba(182, 138, 34, 0.15);
  outline: none;
}

textarea {
  min-height: 100px;
}

.submit-button {
  width: 100%;
  padding: 12px;
  background: #b68a22;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 12px rgba(182, 138, 34, .3);
}

.submit-button:hover {
  background: #a77b1f;
  transform: translateY(-2px);
}

/* Contact responsive */
@media (max-width: 1024px) {

  .contact-info-panel,
  .contact-form-panel {
    padding: 50px 5%;
  }

  .contact-info-panel h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }

  .contact-info-panel,
  .contact-form-panel {
    width: 100%;
  }

  .contact-info-panel {
    padding-bottom: 40px;
  }

  .contact-form-panel {
    padding-top: 40px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .contact-info-panel h1 {
    font-size: 1.8rem;
  }

  .contact-info-panel p {
    font-size: .9rem;
  }

  .submit-button {
    font-size: .95rem;
    padding: 10px;
  }
}

/* =========================
   ACHIEVEMENTS (COUNTERS)
   ========================= */
.achievements-section {
  background: linear-gradient(gray, black);
  padding: 60px 40px;
  text-align: center;
  margin: 40px auto;
  width: 100%;
  max-width: 1200px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.section-heading {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f4c542, #070707);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metrics-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 180px;
  padding: 20px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all .3s;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.metric-number {
  font-size: 52px;
  font-weight: 800;
  color: #ef4444;
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: 1px;
}

.metric-description {
  font-size: 16px;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.metric-line {
  width: 60px;
  height: 3px;
  background: #444;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .metrics-grid {
    gap: 40px;
  }

  .metric-number {
    font-size: 44px;
  }

  .metric-description {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 24px;
  }

  .metric-number {
    font-size: 38px;
  }

  .metric-card {
    min-width: 150px;
    padding: 15px 10px;
  }
}

/* =========================
   STATS STRIP
   ========================= */
.stats-section {
  background: var(--section-bg);
  padding: 60px 0;
  text-align: center;
  border-radius: 20px;
  margin-top: 10px;
}

.stats-header {
  margin-bottom: 40px;
}

.stats-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #202020;
  margin-bottom: 10px;
}

.stats-header p {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 20px;
  width: 220px;
  transition: transform .3s, box-shadow .3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.stat-left {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-icon);
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 15px;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 22px;
}

.stat-right {
  text-align: left;
}

.stat-number {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1;
}

.stat-label {
  font-size: .9em;
  color: var(--text-light);
  margin-top: 5px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stat-card {
    width: 85%;
  }

  .stats-header h2 {
    font-size: 24px;
  }
}
/* --- TEAM CTA SECTION --- */
.team-cta {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f2f2 0%, #070800 100%);
  height: 400px;
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dotted texture */
.pattern-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0.15;
  transform: skewX(-20deg);
}

/* Content */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.team-cta h2 {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.team-cta p {
  font-size: 1.2em;
  color: #e5e5e5;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Button */
.cta-button {
  display: inline-block;
  background-color: #b68a22;
  color: #1a1a2e;
  padding: 15px 40px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #b68a22;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* ✅ Tablets */
@media (max-width: 900px) {
  .team-cta {
    padding: 100px 0;
    height: auto;
  }

  .pattern-overlay {
    width: 100%;
    height: 50%;
    bottom: 0;
    top: auto;
    transform: skewY(-20deg);
  }

  .team-cta h2 {
    font-size: 2.2em;
  }

  .team-cta p {
    font-size: 1.05em;
  }
}

/* ✅ Mobile Large */
@media (max-width: 600px) {
  .team-cta {
    padding: 80px 20px;
  }

  .team-cta h2 {
    font-size: 1.8em;
  }

  .team-cta p {
    font-size: 1em;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .pattern-overlay {
    height: 45%;
    opacity: 0.12;
  }
}

/* ✅ Mobile Small */
@media (max-width: 480px) {
  .team-cta h2 {
    font-size: 1.6em;
  }

  .team-cta p {
    font-size: 0.95em;
  }

  .cta-button {
    padding: 10px 26px;
    font-size: 0.95em;
  }
}
