/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

:root {
  --primary: hsl(16, 90%, 55%);
  --primary-dark: hsl(16, 90%, 45%);
  --secondary: hsl(174, 62%, 47%);
  --background: hsl(0, 0%, 98%);
  --foreground: hsl(222, 47%, 11%);
  --card: hsl(0, 0%, 100%);
  --border: hsl(214, 32%, 91%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --success: hsl(142, 71%, 45%);
  --warning: hsl(38, 92%, 50%);
  --destructive: hsl(0, 84%, 60%);
}

section {
  padding: 2rem;
  margin: 1rem auto;
  max-width: 1200px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Statistics */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-item {
  flex: 1 1 200px;
  background: orangered;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

/* Team */
.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.team-member {
  flex: 1 1 250px;
  background: #f0f0f0;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 50%;
}

/* ===========================
   Partners Section
=========================== */
.partners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  justify-items: center;
  align-items: center;
}

.partner-item {
  background-color: #f9f9f9; /* Soft neutral background */
  border-radius: 12px;
  padding: 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.partner-item img {
  max-width: 100%;
  height: 100px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.partner-item:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .partner-item img {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .partners-container {
    gap: 1rem;
  }
}

/* ===========================
   Testimonials Section
=========================== */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.testimonial-item {
  background: var(--primary); /* Soft cyan */
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-align: center;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-item p {
  font-size: 0.95rem;
  color: var(--card);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.testimonial-item strong {
  font-weight: 600;
  color: var(--card);
}

/* Optional: Add quotation marks for style */
.testimonial-item p:first-child::before {
  content: "“";
  font-size: 1.5rem;
  color: var(--card);
  margin-right: 0.2rem;
}

.testimonial-item p:first-child::after {
  content: "”";
  font-size: 1.5rem;
  color: var(--card);
  margin-left: 0.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .testimonials-container {
    gap: 1rem;
  }
}

/* ===========================
   Press Section
=========================== */
.press-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.press-item {
  background-color: #fff; /* White background for each card */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.press-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.press-item h4 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  text-align: center;
  color: #222;
}

.press-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  text-align: center;
}

.press-item img,
.press-item video {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  margin-top: 0.8rem;
}

.press-item video {
  background-color: #000; /* nice fallback background */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .press-item {
    padding: 0.8rem;
  }

  .press-item h4 {
    font-size: 1.1rem;
  }

  .press-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .press-container {
    gap: 1rem;
  }
}

/* ===========================
   Jobs Section
=========================== */
.jobs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.job-item {
  background: #f0f0f0;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.job-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.job-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.job-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.job-item a {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.4rem 0.8rem;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .job-item h4 {
    font-size: 1.1rem;
  }

  .job-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .jobs-container {
    gap: 1rem;
  }
}

/* ===========================
   Awards Section
=========================== */
.awards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  justify-items: center;
}

.award-item {
  background-color: #f9f9f9; /* Soft neutral background */
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.award-item img {
  width: 80px;
  height: auto;
  margin-bottom: 0.8rem;
  object-fit: cover;
  border-radius: 50%;
}

.award-item p {
  font-size: 0.95rem;
  color: #555;
  margin: 0.3rem 0;
}

.award-item strong {
  color: #222;
  font-weight: 600;
}

/* =====================================
   ULTRA COMPACT ONE-SCREEN MOBILE VIEW
===================================== */
@media (max-width: 768px) {
  body {
    background: #f1f1f2;
    font-size: 14px;
  }

  /* Remove section card feel */
  section {
    padding: 0.6rem 0.7rem;
    margin: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
  }

  section h2 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.4rem 0 0.5rem;
    text-align: center;
  }

  /* =====================
     STATISTICS (COMPACT)
  ===================== */
  .stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .stat-item {
    padding: 0.4rem 0.2rem;
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1.2;
    background: orangered;
  }

  .stat-item strong {
    font-size: 0.85rem;
    display: block;
  }

  /* =====================
     TEAM (ROW STYLE)
  ===================== */
  .team-container {
    gap: 0.5rem;
  }

  .team-member {
    flex-direction: row;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
  }

  .team-member img {
    width: 45px;
    height: 45px;
  }

  /* =====================
     PARTNERS (DENSE GRID)
  ===================== */
  .partners-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0;
  }

  .partner-item {
    padding: 0.3rem;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: none;
  }

  .partner-item img {
    height: 60px;
  }

  /* =====================
     TESTIMONIALS (MINI)
  ===================== */
  .testimonials-container {
    gap: 0.5rem;
  }

  .testimonial-item {
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    box-shadow: none;
    border: 1px solid #eee;
  }

  .testimonial-item p {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  /* =====================
     PRESS
  ===================== */
  .press-container {
    gap: 0.5rem;
  }

  .press-item {
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: none;
  }

  /* =====================
     JOBS (LIST STYLE)
  ===================== */
  .jobs-container {
    gap: 0.5rem;
  }

  .job-item {
    padding: 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    box-shadow: none;
  }

  .job-item a {
    padding: 0.4rem;
    font-size: 0.75rem;
  }

  /* =====================
     AWARDS (ICON GRID)
  ===================== */
  .awards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .award-item {
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: none;
    font-size: 0.7rem;
  }

  .award-item img {
    width: 60px;
  }
}

/* =====================================
   MOBILE OVERFLOW FIX (CRITICAL)
===================================== */
@media (max-width: 768px) {

  /* Existing rules */
  * {
    box-sizing: border-box;
  }

  body,
  section {
    overflow-x: hidden;
  }

  .about-description {
    display: block;
    width: 100%;
    text-align: center;
    word-break: break-word;
  }

  .jobs-container,
  .press-container,
  .testimonials-container {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .job-item,
  .press-item,
  .testimonial-item,
  .team-member,
  .partner-item {
    width: 100%;
    max-width: 100%;
  }

  .job-item a {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }

 .team-member img {
    width: 250px;       /* Bigger image */
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
  }

  .team-member h3 {
    font-size: 1.2rem;  /* Bigger name text */
    margin: 0.5rem 0 0;
  }

  .team-member p {
    font-size: 2.2rem;  /* Bigger role text */
    margin: 0.25rem 0;
  }

.service-image {
  width: 100%;
  height: 250px;   /* Normal desktop height */
  object-fit: cover;
  border-radius: 10px;
}
    
}

/* 📱 Phone View Only */
@media (max-width: 768px) {
  .service-image {
    height: 380px;   /* Bigger on phone */
  }
}
