/* Prevent horizontal scroll on mobile */
  html, body { width:100%; overflow-x:hidden; }

  :root{
    --brand:#2b4b72;      /* primary */
    --brand-2:#566f8f;    /* secondary */
    --ink:#3c597d;        /* headings */
    --muted:#6c7a91;      /* paragraphs */
    --bg:#f4f6fb;         /* light section bg */
  }

  .bg-brand-gradient{ background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
  .text-brand{ color: var(--brand)!important; }
  section.section{ padding:64px 0; }

  /* ===== HERO (YouTube background) — true full screen cover ===== */
  #hero{
    position:relative; width:100%;
    height:100dvh;                 /* mobile-safe viewport */
    min-height:540px; overflow:hidden; background:#000;
  }
  @supports not (height: 100dvh){
    #hero{ height: calc(var(--vh, 1vh) * 100); }
  }
  .yt-bg{ position:absolute; inset:0; }

  /* Start anchored (no 100vw) to avoid right gap; JS will resize & center */
  #yt-player{
    position:absolute;
    left:0; top:0;
    width:100%; height:100%;
    pointer-events:none;
  }
  #yt-player iframe{
    width:100% !important;
    height:100% !important;
    pointer-events:none;
  }

  .overlay-gradient{
    position:absolute; inset:0; pointer-events:none;
    background:
      radial-gradient(70% 50% at 18% 50%, color-mix(in oklab, var(--brand) 35%, transparent), transparent 60%),
      linear-gradient(180deg, color-mix(in oklab, var(--brand-2) 18%, transparent), color-mix(in oklab, #000 65%, var(--brand) 25%));
  }

  .hero-caption{
    position:absolute; left:6%; right:6%; bottom:14%;
    max-width:720px; color:#fff;
  }
  .hero-kicker{
    font-size:.9rem; letter-spacing:.18em; text-transform:uppercase;
    color:color-mix(in oklab, #fff 85%, var(--brand-2) 15%);
  }
  .hero-title{ font-weight:700; line-height:1.1; }

  /* ===== WHITE BUTTONS ===== */
  .btn-brand{
    --bs-btn-color:#1e2a3f;
    --bs-btn-bg:#ffffff;
    --bs-btn-border-color:#ffffff;
    --bs-btn-hover-color:#1e2a3f;
    --bs-btn-hover-bg:#ffffff;
    --bs-btn-hover-border-color:#ffffff;
    --bs-btn-focus-shadow-rgb: 43,75,114;
    position:relative; border-radius:.65rem; border:0;
    padding:.8rem 1.25rem; font-weight:700;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    transition: transform .15s ease, box-shadow .2s ease;
  }
  .btn-brand:hover{ transform: translateY(-1px); box-shadow:0 12px 26px rgba(0,0,0,.16); }
  .btn-brand:active{ transform: translateY(0); box-shadow:0 6px 14px rgba(0,0,0,.12); }

  /* ===== SECTION TITLES ===== */
  .section-title .kicker{
    color: var(--brand-2);
    font-weight:700; text-transform:uppercase; letter-spacing:.2em; font-size:.875rem;
  }
  .section-title h2{ font-weight:800; color:var(--ink); }
  .title-underline{
    width:72px; height:3px; border-radius:999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
  }

  /* ===== ABOUT ===== */
  .about-figure{ position:relative; border-radius:12px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,.08); }
  .about-figure::after{
    content:""; position:absolute; inset:16px; border-radius:10px; pointer-events:none;
    border:2px solid color-mix(in oklab, var(--brand) 35%, transparent);
  }
  .about-figure img{ width:100%; height:auto; display:block; }
  .lead-ramatan{ color:#2b3345; font-weight:500; }
  .text-muted-ramatan{ color:var(--muted)!important; }
    
    /* ===== PROJECTS (two inline cards) ===== */
    #projects .proj-card{
      background:#fff; border-radius:16px; overflow:hidden; height:100%;
      border:1px solid color-mix(in oklab, var(--brand-2) 12%, transparent);
      box-shadow:0 12px 28px rgba(0,0,0,.08);
      display:flex; flex-direction:column;
    }
    #projects .proj-thumb{
      position:relative; overflow:hidden; aspect-ratio:16/9; background:#000;
    }
    #projects .proj-thumb img{
      width:100%; height:100%; object-fit:cover;
      filter: saturate(1.02) contrast(1.02) brightness(.95);
      transition: transform .55s ease, filter .35s ease;
    }
    #projects .proj-thumb::after{
      content:""; position:absolute; inset:0; pointer-events:none;
      background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
      opacity:.35; transition: opacity .35s ease;
    }
    #projects .proj-card:hover .proj-thumb img{ transform:scale(1.05); filter:saturate(1.05) contrast(1.05) brightness(.98); }
    #projects .proj-card:hover .proj-thumb::after{ opacity:.5; }

    #projects .proj-body{ padding:20px 22px; display:flex; flex-direction:column; gap:12px; flex:1; }
    #projects .proj-title{ margin:0; color:var(--ink); font-weight:800; font-size:1.25rem; }
    #projects .proj-meta{ margin:0; padding:0; list-style:none; display:grid; gap:10px; }
    #projects .proj-meta li{ display:flex; align-items:center; gap:10px; color:#405470; }

    #projects .proj-meta svg{ width:18px; height:18px; flex:0 0 18px; color:var(--brand); }

    #projects .proj-cta{ margin-top:auto; }
    #projects .btn-outline-brand{
      --bs-btn-color: var(--brand);
      --bs-btn-border-color: var(--brand);
      --bs-btn-hover-color:#fff;
      --bs-btn-hover-bg: var(--brand);
      --bs-btn-hover-border-color: var(--brand);
      border-width:2px; font-weight:700; border-radius:.65rem;
    }

  /* ===== MEDIA CENTER ===== */
    
  /* Media tiles — filters + centered icons */
  .media-card {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #000;
  }
  .media-card img{
    width:100%;
    height:320px;             /* adjust as you like */
    object-fit:cover;
    filter: brightness(.7) saturate(.9) contrast(1);
    transition: transform .6s ease, filter .35s ease;
  }
  @media (min-width: 992px){
    .media-card img{ height:380px; }
  }

  /* soft dark shade + brand tint on hover */
  .media-card .shade{
    position:absolute; inset:0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
    opacity:.35; transition: opacity .35s ease, background .35s ease;
  }

  /* centered icon wrapper */
  .media-card .media-icon{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    pointer-events:none;
  }
  .media-card .media-icon svg{
    width:72px; height:72px;
    opacity:.9;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
    transition: transform .25s ease, opacity .25s ease;
  }

  /* Hover effects */
  .media-card:hover img{ transform:scale(1.05); filter: brightness(.9) saturate(1.05) contrast(1.02); }
  .media-card:hover .shade{ opacity:.55; }
  .media-card:hover .media-icon svg{ transform: scale(1.06); opacity:1; }

  /* Badge stays as you had */
  .media-badge{
    position:absolute; left:12px; bottom:12px; color:#fff; font-weight:600; font-size:.95rem;
    background: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
    padding:.4rem .65rem; border-radius:8px; border:1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(4px);
  }


  /* ===== PARTNERS ===== */
  .partners-wrap{
    background: var(--bg);
    border-radius:14px; padding:24px;
    border:1px solid color-mix(in oklab, var(--brand-2) 18%, transparent);
  }
  .partner-logo{
    max-height:50px; width:auto; filter:grayscale(1) contrast(1.1) opacity(.9);
    transition: filter .3s ease, transform .3s ease;
  }
  .partner-logo:hover{ filter:none; transform:translateY(-2px); }

  /* WhatsApp FAB (left fixed) */
  #whatsapp-fab{
    position:fixed; left:16px; bottom:24px;
    width:56px; height:56px; border-radius:50%;
    background:#25D366; color:#fff;
    display:flex; align-items:center; justify-content:center;
    text-decoration:none; z-index:1050; /* above header/footer */
    box-shadow:0 10px 24px rgba(0,0,0,.15);
    transition:transform .15s ease, box-shadow .2s ease, filter .2s ease;
  }
  #whatsapp-fab:hover{ transform:translateY(-1px); filter:brightness(1.05); box-shadow:0 14px 28px rgba(0,0,0,.18); }
  #whatsapp-fab:active{ transform:translateY(0); }
  @media (max-width:576px){
    #whatsapp-fab{ left:12px; bottom:16px; width:52px; height:52px; }
  }
  /* Hide on print */
  @media print{ #whatsapp-fab{ display:none !important; } }
