/* =============================================
   ABOUT PAGE — Matches site design system
   Dark theme, glassmorphism, mobile-first
   ============================================= */

/* ===== HERO ===== */
.about-hero {
    position: relative;
    padding: 70px 24px 60px;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero .eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeUp 0.7s 0.1s forwards;
}

.about-hero h1 {
    font-size: clamp(32px, 7vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.05;
    margin: 0 0 10px;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s forwards;
}

.about-hero h1 span {
    color: #c0392b;
}

.about-hero .tagline {
    max-width: 500px;
    margin: 16px auto 28px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.7s 0.3s forwards;
}

.hero-freq {
    display: inline-block;
    background: rgba(192, 57, 43, 0.20);
    border: 1px solid rgba(192, 57, 43, 0.40);
    color: #e57373;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 8px 22px;
    border-radius: 999px;
    opacity: 0;
    animation: fadeUp 0.7s 0.4s forwards;
}

/* ===== STATS BAND ===== */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 20px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}

.stat-item {
    padding: 28px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }

.stat-item .num {
    display: block;
    font-size: clamp(22px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: rgba(255,255,255,0.92);
    line-height: 1;
}
.stat-item .num sup {
    font-size: 0.5em;
    vertical-align: super;
    color: #c0392b;
}
.stat-item .label {
    display: block;
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    font-weight: 500;
}

/* ===== BODY WRAPPER ===== */
.about-body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 14px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.section-header h2 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    margin: 0;
}
.section-header .sh-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* ===== OUR STORY ===== */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.story-text-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}

.story-text-card h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
    margin: 0 0 16px;
}

.story-text-card p {
    color: rgba(255,255,255,0.62);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}
.story-text-card p:last-child { margin-bottom: 0; }

.story-visual-card {
    background: linear-gradient(135deg, rgba(192,57,43,0.22) 0%, rgba(80,15,10,0.50) 100%);
    border: 1px solid rgba(192,57,43,0.22);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
    text-align: center;
    min-height: 240px;
}

.story-visual-card .radio-icon {
    font-size: 56px;
    filter: drop-shadow(0 0 20px rgba(192,57,43,0.5));
    animation: pulse 2.5s ease-in-out infinite;
}
.story-visual-card .founded-label {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    font-weight: 600;
}
.story-visual-card .founded-year {
    font-size: clamp(48px, 8vw, 76px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(255,255,255,0.92);
    line-height: 1;
}
.story-visual-card .years-badge {
    margin-top: 8px;
    background: rgba(192,57,43,0.20);
    border: 1px solid rgba(192,57,43,0.35);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #e57373;
}

/* ===== MISSION & VISION ===== */
.mv-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.mv-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
    transition: border-color 0.2s ease;
}
.mv-card:hover { border-color: rgba(192,57,43,0.30); }

.mv-card .mv-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}
.mv-card h2 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
    margin: 0 0 12px;
}
.mv-card p {
    color: rgba(255,255,255,0.62);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== CAROUSEL ===== */
.carousel-section { margin-bottom: 20px; }

.carousel-wrapper {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16/6;
    min-height: 180px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.22);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
.carousel-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
}
.carousel-slide .ph-icon { font-size: 34px; opacity: 0.2; }

.carousel-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 10;
}
.carousel-btn:hover {
    background: rgba(192,57,43,0.45);
    border-color: rgba(192,57,43,0.50);
    color: #fff;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.dot.active {
    background: #c0392b;
    width: 22px;
    border-radius: 4px;
}

/* ===== TEAM ===== */
.team-section { margin-bottom: 20px; }

.team-panel {
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}

.team-grid {
    display: flex;
    gap: 16px;
    padding: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.team-grid::-webkit-scrollbar { height: 6px; }
.team-grid::-webkit-scrollbar-thumb {
    background: rgba(192,57,43,0.5);
    border-radius: 10px;
}
.team-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }

.team-card {
    flex: 0 0 160px;
    padding: 22px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.40);
    border-color: rgba(192,57,43,0.30);
}

.team-card .avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(192,57,43,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 12px;
    overflow: hidden;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.team-card:hover .avatar {
    border-color: rgba(192,57,43,0.65);
    box-shadow: 0 0 0 4px rgba(192,57,43,0.20);
}
.team-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
}
.team-card h3 {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin-bottom: 5px;
}
.team-card p {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.07); }
}

/* =============================================
   RESPONSIVE — TABLET (max 820px)
   ============================================= */
@media (max-width: 820px) {
    .about-hero { padding: 50px 16px 40px; }

    .stats-band {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 12px 16px;
    }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
    .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); border-right: none; }

    .about-body { padding: 0 12px 40px; }

    .story-section { grid-template-columns: 1fr; }
    .story-visual-card { min-height: 180px; padding: 30px; }

    .mv-section { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE — MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {
    .about-hero { padding: 36px 14px 30px; }
    .about-hero .eyebrow { font-size: 10px; letter-spacing: 0.18em; }
    .about-hero .tagline { font-size: 14px; }

    .stats-band { margin: 0 10px 14px; border-radius: 12px; }
    .stat-item { padding: 20px 10px; }
    .stat-item .label { font-size: 9px; letter-spacing: 0.1em; }

    .about-body { padding: 0 10px 32px; }

    .story-text-card { padding: 22px 18px; }
    .story-text-card h2 { font-size: 20px; margin-bottom: 12px; }
    .story-text-card p { font-size: 14px; }

    .story-visual-card { padding: 24px; min-height: 160px; gap: 6px; }
    .story-visual-card .radio-icon { font-size: 42px; }
    .story-visual-card .founded-year { font-size: 52px; }

    .mv-card { padding: 22px 18px; }
    .mv-card p { font-size: 14px; }

    .carousel-wrapper { aspect-ratio: 16/7; min-height: 150px; border-radius: 14px; }
    .carousel-btn { width: 30px; height: 30px; font-size: 12px; }

    .team-panel { padding: 10px; border-radius: 14px; }
    .team-card { flex: 0 0 140px; padding: 18px 12px; }
    .team-card .avatar { width: 90px; height: 90px; font-size: 24px; }
    .team-card h3 { font-size: 9px; }
    .team-card p { font-size: 13px; }

    .section-header h2 { font-size: 17px; }
}

/* =============================================
   TOUCH IMPROVEMENTS
   ============================================= */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn { width: 40px; height: 40px; }
    .team-card { min-height: 160px; }
}

/* ===========================
   CAROUSEL UPGRADE (BANNER-FRIENDLY)
   Put this at the BOTTOM of about.css
   =========================== */

/* Make the frame feel more premium */
.carousel-wrapper{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,0.40);
}

/* Give more height so banners look good */
.carousel-wrapper{
  aspect-ratio: auto;      /* override */
  height: 420px;           /* desktop height */
}

/* Slide base */
.carousel-slide{
  background: rgba(255,255,255,0.03);
}

/* Blurred background image */
.carousel-slide.has-img .bg{
  position: absolute;
  inset: -20px;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: blur(18px) saturate(1.05) brightness(0.70);
  transform: scale(1.08);
  opacity: 0.95;
}

/* Dark gradient overlay for readability + contrast */
.carousel-slide.has-img::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.18) 45%,
    rgba(0,0,0,0.10) 100%
  );
  pointer-events:none;
}

/* Foreground image = NO CROPPING (shows whole banner) */
.carousel-slide.has-img .fg{
  position: relative;
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  object-fit: contain;              /* KEY FIX */
  z-index: 2;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45));
  border-radius: 12px;
}

/* Better buttons */
.carousel-btn{
  width: 46px;
  height: 46px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.carousel-btn:hover{
  background: rgba(0,0,0,0.55);
  border-color: rgba(192,57,43,0.55);
  transform: translateY(-50%) scale(1.06);
}

/* Dots a bit cleaner */
.dot{
  height: 8px;
  width: 8px;
  background: rgba(255,255,255,0.28);
}
.dot.active{
  width: 20px;
  background: rgba(255,255,255,0.90);
}

/* Mobile */
@media (max-width: 700px){
  .carousel-wrapper{ height: 260px; }
  .carousel-slide.has-img .fg{
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }
  .carousel-btn{ width: 40px; height: 40px; }
}