    :root {
      --blue-900: #0057D8;
      /* header / CTA */
      --blue-700: #0096C7;
      /* nav hover / accents */
      --blue-500: #4CC9F0;
      /* gradients / tags */
      --blue-200: #A6E9FA;
      /* section bg light */
      --blue-100: #D8F2FF;
      /* alt bg */
      --offwhite: #F8FFFF;
      /* page bg */
      --ink: #0F172A;
      /* text */
      --muted: #475569;
      /* secondary text */
      --radius: 18px;
      --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth
    }

    body {
      margin: 0;
      font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
      color: var(--ink);
      background: var(--offwhite);
    }

    a {
      color: inherit;
      text-decoration: none
    }

    .container {
      width: min(1120px, 100% - 2rem);
      margin-inline: auto
    }


    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: saturate(120%) blur(6px);
    }

    .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    white-space: nowrap;
    }

    .nav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    }

    .logo {
      width: 300px;
      height: 300px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: white;
      font-weight: 700
    }
    /* Brand section (logo + text) */


    .brand .logo {
    height: 75px; /* atur sesuai ukuran logo */
    width: auto;
    }

    .brand-name {
    font-weight: bold;
    color: #111827;
    font-size: 1rem;
    }

    .brand span {
      font-weight: 700;
      letter-spacing: 1px
    }
    

    .nav-links {
      display: flex;
      gap: 1rem
    }

    .nav-links a {
      padding: .6rem .9rem;
      border-radius: 12px
    }

    .nav-links a:hover {
      background: var(--blue-100)
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      border: none;
      border-radius: 16px;
      padding: .85rem 1.2rem;
      cursor: pointer
    }

    .btn-primary {
      background: var(--blue-900);
      color: #fff
    }

    .btn-primary:hover {
      background: #084fc2
    }

    .btn-light {
      background: #fff;
      color: var(--blue-900);
      box-shadow: var(--shadow)
    }

    /* Mobile nav */
    .menu-toggle {
      display: none;
      background: #fff;
      border-radius: 12px;
      border: 1px solid #e5e7eb;
      padding: .5rem .7rem;
    }

    @media (max-width:900px) {
    
      .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: #fff;
        border-bottom: 1px solid #e5e7eb;
        padding: 1rem 1rem;
        flex-direction: column
      }

      .nav-links.open {
        display: flex
      }
      .nav .ul {
       flex-direction: column;
       text-align: center;
      }
      
      .header {
       display: flex;
       flex-wrap: wrap;
       justify-content: space-between;
       align-items: center;
       padding: 10px 15px;
       overflow: hidden;
      }
      .header .img {
        max-width: 40px;
        height: auto;
     }

     .header .h1,
         .header .logo-text {
        font-size: 14px;
        flex: 1;
        white-space: normal;
        word-break: break-word;
    }

      .menu-toggle {
        display: inline-flex;
        font-size: 14px;
        padding: 15px 10px;
      }
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
      color: #fff;
    }

    .hero .wrap {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 2rem;
      align-items: center;
      padding: 4.5rem 0
    }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      line-height: 1.1;
      margin: 0 0 1rem
    }

    .hero p {
      margin: 0 0 1.5rem;
      color: #E6F4FF
    }

    .hero-card {
      background: rgba(255, 255, 255, .12);
      border: 1px solid rgba(255, 255, 255, .25);
      border-radius: 24px;
      padding: 1rem;
      backdrop-filter: blur(4px)
    }

    .ph {
      width: 100%;
      aspect-ratio: 4/3;
      border-radius: 16px;
      background: linear-gradient(135deg, #ffffff33, #ffffff18);
      display: grid;
      place-items: center;
      color: #fff
    }

    /* About (Visi Misi) */
    section {
      padding: 4rem 0
    }

    .section-title {
      font-size: 1.8rem;
      margin: 0 0 1.25rem
    }

    .about {
      background: var(--blue-100)
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem
    }

    .card {
      background: #fff;
      border-radius: var(--radius);
      padding: 1.25rem;
      box-shadow: var(--shadow)
    }

    .list {
      margin: .5rem 0 0 0;
      padding-left: 1.1rem
    }

    .list li {
      margin: .35rem 0
    }

    @media (max-width:900px) {
      .hero .wrap {
        grid-template-columns: 1fr
      }

      .about-grid {
        grid-template-columns: 1fr
      }
    }

    /* Gallery */
    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem
    }

    .tile {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow)
    }

    .tile .img {
      width: 100%;
      aspect-ratio: 16/10;
      background: var(--blue-200)
    }

    .tile .caption {
      padding: .9rem;
      font-weight: 600
    }

    @media (max-width:900px) {
      .gallery {
        grid-template-columns: 1fr 1fr
      }
    }

    @media (max-width:600px) {
      .gallery {
        grid-template-columns: 1fr
      }
    }

    /* Donate Focus */
    .donate {
      background: var(--blue-900);
      color: #fff
    }

    .donate .container {
      display: grid;
      gap: 1.5rem
    }

    .donate h2 {
      margin: 0
    }

    .donate-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem
    }

    .don-card {
      background: #fff;
      color: var(--ink);
      border-radius: 16px;
      padding: 1rem;
      box-shadow: var(--shadow)
    }

    .don-card h4 {
      margin: .25rem 0 .5rem
    }

    .badge {
      display: inline-block;
      background: var(--blue-100);
      color: var(--blue-900);
      padding: .25rem .5rem;
      border-radius: 10px;
      font-size: .8rem;
      font-weight: 600
    }

    .donate .cta {
      justify-self: center;
      margin-top: .5rem
    }

    @media (max-width:900px) {
      .donate-cards {
        grid-template-columns: 1fr
      }
    }

    /* Testimonials */
    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem
    }

    .quote {
      background: #fff;
      border-left: 6px solid var(--blue-700);
      padding: 1rem;
      border-radius: 12px;
      box-shadow: var(--shadow)
    }

    .quote p {
      margin: .2rem 0
    }

    @media (max-width:900px) {
      .testi-grid {
        grid-template-columns: 1fr
      }
    }

    /* Footer */
    footer {
      background: #0b3ea3;
      color: #eaf2ff;
      padding: 2.5rem 0
    }

    .foot {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 1.5rem
    }

    .foot h5 {
      margin: .2rem 0 1rem;
      font-size: 1rem
    }

    .foot a {
      color: #eaf2ff
    }

    .foot a:hover {
      text-decoration: underline
    }

    .copyright {
      margin-top: 1.5rem;
      border-top: 1px solid #2c57b8;
      padding-top: 1rem;
      font-size: .9rem;
      color: #cddcff
    }

    @media (max-width:900px) {
      .foot {
        grid-template-columns: 1fr
      }
    }

    /* Floating CTA */
    .floating-cta {
      position: fixed;
      right: 16px;
      bottom: 16px;
      z-index: 60
    }

    .floating-cta .btn {
      padding: .9rem 1.1rem;
      border-radius: 999px;
      box-shadow: 0 12px 30px rgba(0, 87, 216, .35)
    }

    /* Utilities */
    .muted {
      color: var(--muted)
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0
    }

    .kbd {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      background: #eef2ff;
      border: 1px solid #c7d2fe;
      border-radius: 6px;
      padding: .05rem .35rem
    }

    .slider {
      position: relative;
      width: 100%;
      max-width: 800px;     /* biar tidak terlalu besar */
      aspect-ratio: 4/3;
      min-height: 300px;    /* fallback biar nggak collapse */
      margin: 20px auto;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      background: #f0f0f0;
    }

    .slider img {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .slider img.active {
      opacity: 1;
    }

    /* Halaman Kegiatan */
    .activities {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    }

    .activity {
    display: flex;
    align-items: center;
    gap: 20px;
    }

    .activity img {
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .activity h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--primary, #2c3e50);
    }

    .activity p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    }

    /* Responsive */
    @media (max-width: 768px) {
    .activity {
        flex-direction: column;
        text-align: center;
    }
    .activity img {
        width: 100%;
        height: auto;
    }
    }
    
        .tentang {
      background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
      color: #fff;
    }

    .tentang .wrap {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 2rem;
      align-items: center;
      padding: 4.5rem 0;
      text-align: center;
    }

    h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .tentang img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: var(--shadow);
    }

    .tentang-text {
      margin-top: 20px;
      font-size: 1.1rem;
      line-height: 1.7;
    }

    .sejarah {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
      margin-top: 60px;
    }

    .sejarah img {
      width: 100%;
      border-radius: 8px;
      box-shadow: var(--shadow);
    }

    .sejarah-text h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .sambutan-title {
      text-align: center;
      font-size: 2rem;
      margin-top: 80px;
    }


    /* Grid donasi */
    .donasi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      max-width: 1000px;
      margin: 0 auto 3rem;
    }
    .don-card {
      padding: 1.5rem;
      border-radius: 16px;
      color: #fff;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: transform 0.2s;
    }
    .don-card:hover {
      transform: translateY(-4px);
    }
    .don-card h3 {
      margin-top: 0;
      margin-bottom: .5rem;
    }
    .don-card p {
      margin: .25rem 0;
    }

        /* Warna kartu */
    .bank { background: linear-gradient(135deg, #2563eb, #3b82f6); }
    .qris { background: linear-gradient(135deg, #059669, #10b981); }
    .ewallet { background: linear-gradient(135deg, #9333ea, #a855f7); }

        /* Grid */
    .misi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    /* Card */
    .misi-card {
      background: #fff;
      border-radius: 16px;
      padding: 2rem 1.5rem;
      text-align: left;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: transform .2s;
      position: relative;
      overflow: hidden;
    }
    .misi-card:hover {
      transform: translateY(-5px);
    }
    .misi-card h3 {
      margin: 0.75rem 0 0.5rem;
      font-size: 1.2rem;
      color: #111827;
    }
    .misi-card p {
      font-size: 0.95rem;
      color: #374151;
      line-height: 1.5;
    }
    .misi-card .icon {
      font-size: 1.6rem;
      background: rgba(255,255,255,0.6);
      padding: .6rem;
      border-radius: 50%;
      display: inline-block;
    }

    /* Warna Kartu */
    .card-sosial { background: linear-gradient(135deg, #6366f1, #818cf8); color: #fff; }
    .card-pendidikan { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; }
    .card-ibadah { background: linear-gradient(135deg, #10b981, #34d399); color: #fff; }
    .card-ekonomi { background: linear-gradient(135deg, #3b82f6, #60a5fa); color: #fff; }
    .card-dana { background: linear-gradient(135deg, #9333ea, #a855f7); color: #fff; }

    .misi-card h3, .misi-card p, .misi-card .icon { color: #fff; }

    .visi-section {
      display: flex;
      justify-content: center;
      margin: 2rem auto 3rem;
      padding: 0 1rem;
    }
    .visi-card {
      background: linear-gradient(135deg, #2563eb, #3b82f6);
      color: #fff;
      padding: 2.5rem 2rem;
      border-radius: 20px;
      max-width: 800px;
      text-align: center;
      box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    }
    .visi-card .icon {
      font-size: 2rem;
      background: rgba(255,255,255,0.2);
      padding: 0.8rem;
      border-radius: 50%;
      margin-bottom: 1rem;
      display: inline-block;
    }
    .visi-card h2 {
      margin-bottom: 1rem;
      font-size: 1.6rem;
    }
    .visi-card p {
      font-size: 1.1rem;
      line-height: 1.7;
    }
    .highlight { font-weight: 600; }
    
    
    .btn-detail {
      display: inline-block;
      margin-top: 10px;
      padding: 10px 18px;
      background-color: #2563eb; /* biru */
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      border-radius: 8px;
      text-decoration: none;
      transition: 0.3s ease;
    }
    
    .btn-detail:hover {
      background-color: #1d4ed8; /* biru lebih gelap */
      transform: scale(1.05);
    }
    
        .book-container {
      display: flex;
      max-width: 1000px;
      margin: 40px auto;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      overflow: hidden;
    }

    .book-cover {
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #f0f0f0;
      overflow: hidden;
 
    }

    .book-cover img {
      max-height: 100%;
      max-width: 350px;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: transform 0.4s ease;
     cursor: zoom-in;
    }
    .book-cover img:hover {
  transform: scale(3); /* efek zoom saat hover */
  cursor: zoom-out;
}


    .book-info {
      flex: 3;
      padding: 30px;
      display: flex;
      flex-direction: column;
      min-height: 400px;
    }

    .book-info h2 {
      margin: 0;
      font-size: 28px;
      color: #222;
    }

    .book-info h4 {
      margin: 5px 0 20px;
      font-weight: normal;
      color: #666;
    }

    .tabs {
      border-bottom: 2px solid #ddd;
      margin-bottom: 15px;
      display: flex;
    }

    .tabs button {
      padding: 10px 20px;
      border: none;
      background: none;
      font-size: 16px;
      cursor: pointer;
      border-bottom: 3px solid transparent;
    }

    .tabs button.active {
      border-bottom: 3px solid #007BFF;
      font-weight: bold;
      color: #007BFF;
    }

    .tab-content {
      font-size: 15px;
      line-height: 1.6;
      min-height: 400px;
    }

    /* Scrollable Sinopsis */
    #sinopsis {
      max-height: 300px; /* batasi tinggi box */
      overflow-y: auto;
      padding-right: 10px;
    }

    #sinopsis::-webkit-scrollbar {
      width: 8px;
    }
    #sinopsis::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 4px;
    }
    #sinopsis::-webkit-scrollbar-thumb:hover {
      background: #999;
    }