/* Page-specific styles for about-tec.html (from the original page embeds, in source order) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --orange: #6c58dd;
    --teal: #000000;
    --dark: #1a1a2e;
    --navy: #1B2F6E;
    --accent: #6c58dd;
    --text: #3a3a3a;
    --text-light: #666;
    --bg: #f5f5f5;
    --card-bg: #ffffff;
    --radius: 4px;
    --shadow: 0 2px 16px rgba(0,0,0,0.08);
  }

  body {
    color: var(--text);
  }

  /* ══════════════════════════════════════
     INTRO SECTION
  ══════════════════════════════════════ */
  .intro-section {
    background: #fff;
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .intro-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 460px;
  }

  /* Left: large image */
  .intro-image {
    width: 42%;
    min-width: 42%;
    flex-shrink: 0;
    overflow: hidden;
  }
  .intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Right: text content */
  .intro-content {
    flex: 1;
    padding: 0px 0 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .intro-content h3,.second_heading h3{
    color: #0c134f;
    margin-bottom: 20px;
    font-family: Rotissemiserifstd, sans-serif;
    font-size: 32px;
    font-weight: 400;
  }
  .second_heading{text-align: center; margin-bottom: 40px;}
  .intro-content h3 span{color: #6c58dd;}
  .intro-content p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
  }
  .intro-content p:last-of-type { margin-bottom: 22px; }

  /* Hide toggle */
  .hide-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    border-bottom: 1.5px solid var(--accent);
    padding-bottom: 2px;
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s;
  }
  .hide-toggle:hover { opacity: 0.75; }
  .hide-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }

  /* ══════════════════════════════════════
     MISSION / VISION BAND
  ══════════════════════════════════════ */
  .mv-band {
    background: #efefef;
    padding: 0 20px 48px;
    margin-top: -40px;
  }

  /* Aligns with the right column of the intro layout above */
  .mv-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
  }

  /* Spacer matching the image width */
  .mv-spacer {
    width: 42%;
    min-width: 42%;
    flex-shrink: 0;
  }

  .mv-cols {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0 0 48px;
  }

  .mv-item {}

  .mv-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }

  .mv-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .mv-title {
    font-family: Rotissemiserifstd, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
  }

  .mv-desc {
    font-size: 0.87rem;
    line-height: 1.65;
    color: #555;
  }

  /* ══════════════════════════════════════
     GROUPS GRID
  ══════════════════════════════════════ */
  .groups-section {
    padding: 40px 20px;
  }

  .groups-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .group-card {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 265px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .group-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  }

  .card-image {
    position: relative;
    width: 42%;
    min-width: 42%;
    flex-shrink: 0;
  }
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .group-card:hover .card-image img { transform: scale(1.04); }

  .card-logo {
    position: absolute;
    top: 34%;
    right: -18px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
    overflow: hidden;
    z-index: 2;
    border: 2px solid white;
  }
  .card-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 0;
  }

  .card-content {
    flex: 1;
    padding: 28px 24px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: background 0.25s ease;
  }
  .card-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    width: 48px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transition: background 0.25s ease;
  }

  .card-title {
    font-family: Rotissemiserifstd, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
  }
  .card-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 400;
    transition: color 0.25s ease;
  }

  .group-card:hover .card-content { background: var(--orange); }
  .group-card:hover .card-title,
  .group-card:hover .card-desc { color: #fff; }
  .group-card:hover .card-content::after { background: rgba(255,255,255,0.5); }

  /* ── Responsive ── */
  @media (max-width: 800px) {
    .intro-layout { flex-direction: column; }
    .intro-image { width: 100%; min-width: unset; height: 280px; }
    .intro-content { padding: 28px 0; }
    .mv-spacer { display: none; }
    .mv-cols { padding-left: 0; grid-template-columns: 1fr 1fr; }
    .groups-grid { grid-template-columns: 1fr; }
    .card-image { width: 38%; min-width: 38%; }
    .intro-content h3{font-size: 24px;}
  }
  @media (max-width: 500px) {
    .mv-cols { grid-template-columns: 1fr; gap: 24px; }
    .group-card { flex-direction: column; }
    .card-image { width: 100%; min-width: unset; height: 180px; }
    .card-logo { top: unset; bottom: -24px; right: 14px; }
    .card-content { padding: 34px 18px 22px; }
    .card-content::after { left: 18px; }
  }
