/* ======= Slimmer, Softer About Us Page with Gradient Accents and Improved Hero ======= */

/* Variables */
:root {
    --primary: #ff6b6b;
    --primary-dark: #c0392b;
    --secondary: #2c3e50;
    --accent: #22223b;
    --light: #f8f9fa;
    --dark: #232323;
    --gray: #888;
    --white: #fff;
    --shadow: 0 2px 12px rgba(44,62,80,0.07);
    --radius: 12px;
    --transition: all 0.23s cubic-bezier(.77,0,.18,1);
  }
  
  /* ======= Hero Section with taller gradient overlay for all devices ======= */
  .about-hero {
    background: 
      linear-gradient(120deg, rgba(255,107,107,0.82) 0%, rgba(44,62,80,0.60) 100%),
      url('background.webp') center center/cover no-repeat;
    color: #fff;
    text-align: center;
    /* Increased min-height for a bigger hero on all screens */
    min-height: 320px;
    padding: 120px 16px 100px 16px;
    position: relative;
    z-index: 1;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.1;
    text-shadow: 0 4px 18px rgba(44,62,80,0.25);
    padding: 0.1em 0.2em;
    display: inline-block;
    background: rgba(0,0,0,0.12);
    border-radius: 6px;
  }
  .hollow {
    font-weight: 400;
    color: transparent;
    -webkit-text-stroke: 1.2px #fff;
    position: relative;
    z-index: 1;
  }
  .about-container {
    background: rgba(255,255,255,0.92);
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.09);
    padding: 35px 18px 18px 18px;
  }
  
  .about-section {
    display: flex;
    align-items: center;
    gap: 44px;
    margin: 54px 0;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.97);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.07);
    padding: 32px 18px;
    transition: box-shadow 0.2s;
  }
  .about-section.reverse {
    flex-direction: row-reverse;
  }
  
  .about-image {
    flex: 1 1 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    max-width: 600px;
  }
  .about-image img {
    width: 100%;
    max-width: 550px;
    min-width: 320px;
    aspect-ratio: 16/10;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(44,62,80,0.09);
    background: #fafafa;
  }
  
  .about-text {
    flex: 2 1 420px;
    min-width: 260px;
  }
  
  .about-text h2 {
    color: #ff6b6b;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    background: linear-gradient(90deg, #ff6b6b 0%, #c0392b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  
  .about-text p {
    color: #888;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  
  /* Responsive tweaks for smaller screens */
  @media (max-width: 950px) {
    .about-section, .about-section.reverse {
      flex-direction: column;
      gap: 24px;
      text-align: center;
    }
    .about-image,
    .about-text {
      flex: 1 1 100%;
      max-width: 100%;
      min-width: 0;
    }
    .about-image img {
      max-width: 95vw;
      min-width: 0;
    }
  }
  @media (max-width: 600px) {
    .about-section {
      padding: 14px 2vw;
      margin: 26px 0;
    }
    .about-container {
      padding: 12px 2vw 10px 2vw;
    }
    .about-image img {
      max-width: 100vw;
      aspect-ratio: 16/10;
      border-radius: 8px;
    }
    .about-text h2 {
      font-size: 1.18rem;
    }
    .about-text p {
      font-size: 1rem;
    }
  }
  /* ======= Team Section ======= */
  .team-section {
    background: rgba(255,255,255,0.96);
    padding: 38px 10px 26px 10px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0 auto 30px auto;
    max-width: 860px;
  }
  .team-section h2 {
    font-size: 1.45rem;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
  }
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    justify-items: center;
  }
  .team-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 1px 8px rgba(44,62,80,0.04);
    padding: 16px 8px 14px 8px;
    transition: var(--transition);
    min-height: 200px;
    max-width: 180px;
    margin: 0 auto;
  }
  .team-card:hover {
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 6px 20px rgba(255,107,107,0.14);
  }
  .team-card img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 9px;
    border: 2px solid var(--primary);
  }
  .team-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--secondary);
  }
  .team-card p {
    color: var(--gray);
    font-size: 0.93rem;
    margin-bottom: 0;
  }
  
  /* ======= Service CTA ======= */
  .service-cta {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark) 90%);
    color: var(--white);
    padding: 33px 10px 24px 10px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: 0 2px 14px rgba(44,62,80,0.09);
    margin: 30px auto 0 auto;
    max-width: 640px;
  }
  .service-cta h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 13px;
    color: var(--white);
    letter-spacing: 0.3px;
  }
  .cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-dark);
    padding: 9px 22px;
    border-radius: 45px;
    font-weight: 500;
    text-decoration: none;
    margin: 8px 7px 0 7px;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(44,62,80,0.07);
    cursor: pointer;
  }
  .cta-button:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px) scale(1.035);
    box-shadow: 0 4px 16px rgba(255,107,107,0.13);
  }
  
  /* ======= Responsive Layout ======= */
  @media (max-width: 950px) {
    .about-section, .about-section.reverse {
      flex-direction: column;
      gap: 20px;
      text-align: center;
    }
    .about-text, .about-image {
      flex: 1 1 100%;
      max-width: 100%;
    }
    .about-image img {
      max-width: 190px;
    }
  }
  @media (max-width: 700px) {
    .about-hero {
      min-height: 240px;
      padding: 70px 5vw 60px 5vw;
      background-position: center 30%;
    }
    .about-hero h1 {
      font-size: 1.19rem;
      padding: 0.4em 0.2em;
      background: rgba(0,0,0,0.18);
      border-radius: 5px;
      -webkit-text-stroke: 0.8px #fff;
    }
    .about-section {
      padding: 12px 2px;
    }
    .team-section {
      padding: 15px 2px 10px 2px;
    }
    .service-cta {
      padding: 16px 2px 9px 2px;
    }
  }
  @media (max-width: 500px) {
    .about-hero {
      min-height: 160px;
      padding: 40px 2vw 30px 2vw;
      background-position: center 36%;
    }
    .about-hero h1 {
      font-size: 0.96rem;
      padding: 0.7em 0.2em;
      background: rgba(0,0,0,0.22);
      border-radius: 5px;
      -webkit-text-stroke: 0.6px #fff;
    }
    .about-section, .team-section, .service-cta {
      border-radius: 7px;
    }
    .about-text h2, .team-section h2, .service-cta h2 {
      font-size: 1.04rem;
    }
    .cta-button {
      font-size: 0.95rem;
      padding: 8px 13px;
    }
  }
  
  /* ======= Fade-in Animation for Sections ======= */
  .about-section, .team-section, .service-cta {
    animation: fadeInUp 0.7s cubic-bezier(.77,0,.18,1);
  }
  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(28px);}
    100% { opacity: 1; transform: translateY(0);}
  }