/* ========== IRMANUFA STYLE - FULL VERSION ========== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a3a6b;
  --primary-dark: #0f2a50;
  --primary-light: #2a4a8a;
  --accent: #f8b400;
  --accent-dark: #d89a00;
  --white: #ffffff;
  --light: #f5f7fa;
  --light-dark: #eef2f7;
  --gray: #6c757d;
  --gray-dark: #4a5568;
  --dark: #1a1a1a;
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* HAPUS SEMUA GARIS BAWAH */
a,
a:hover,
a:focus,
a:active,
button,
.btn,
.division-link,
.read-more,
.social-links a,
.footer-social a {
  text-decoration: none !important;
  outline: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ========== HEADER ========== */
header {
  background: linear-gradient(135deg, #0d1f3a, #1a3a6b);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo div span {
  font-size: 20px;
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1.2;
}

.logo div small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: white;
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
  padding: 8px 0;
}

nav ul li a:hover {
  color: var(--accent);
}

.donasi-nav {
  background: var(--accent);
  color: var(--dark) !important;
  padding: 8px 18px !important;
  border-radius: 50px;
}

.donasi-nav:hover {
  background: var(--accent-dark);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 80px 0 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../assets/hero-bg2.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(28px, 6vw, 48px);
  color: white;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: clamp(14px, 4vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ========== VIDEO ========== */
.video {
  padding: 40px 0;
  background: var(--light-dark);
}

.video-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.video-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--primary);
}

.video-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card span {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

/* ========== WELCOME ========== */
.welcome {
  padding: 40px 0 60px;
}

.welcome-card {
  background: white;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 950px;
  margin: -40px auto 0;
  position: relative;
  z-index: 10;
}

.welcome-card h2 {
  font-size: clamp(18px, 5vw, 26px);
  color: var(--primary);
  margin-bottom: 15px;
}

.line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 20px auto;
  border-radius: 3px;
}

.welcome-card p {
  color: var(--gray-dark);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

/* ========== SECTION ========== */
.section {
  padding: 70px 0;
}

.bg-light {
  background: var(--light-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(22px, 5vw, 32px);
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--gray);
  font-size: 14px;
  max-width: 700px;
  margin: 0 auto;
}

/* ========== ABOUT ========== */
.about-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.about-img {
  flex: 1;
  min-width: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
}

.about-text p {
  color: var(--gray-dark);
  margin-bottom: 15px;
  line-height: 1.7;
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.stats div {
  text-align: center;
}

.stats strong {
  font-size: 28px;
  color: var(--primary);
  display: block;
}

.stats span {
  font-size: 12px;
  color: var(--gray);
}

/* ========== DIVISIONS GRID ========== */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.division-card {
  background: white;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.division-card:hover {
  transform: translateY(-5px);
}

.division-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.division-logo i {
  font-size: 32px;
  color: white;
}

.division-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.division-card p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 15px;
}

.division-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 12px;
  transition: var(--transition);
}

.division-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
}

/* ========== PROGRAMS GRID ========== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.program-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-img {
  height: 180px;
  overflow: hidden;
}

.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.program-card:hover .program-img img {
  transform: scale(1.05);
}

.program-content {
  padding: 20px;
}

.program-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.program-content p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray);
  padding-top: 12px;
  border-top: 1px solid #eee;
}

/* ========== GALLERY GRID ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.gallery-item {
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* ========== BLOG GRID ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-content p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-light);
  margin-bottom: 12px;
}

.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

/* ========== TEAM GRID ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-card h3 {
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--dark);
}

.team-card .position {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
}

/* ========== DONATION ========== */
.donation-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.donation-info,
.donation-form {
  flex: 1;
  min-width: 280px;
}

.donation-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
}

.donation-info p {
  color: var(--gray-dark);
  margin-bottom: 15px;
}

.donation-info ul {
  list-style: none;
}

.donation-info li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-dark);
}

.donation-info li i {
  color: var(--accent);
}

.donation-form {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.donation-form h3 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.amount-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.amount-group button {
  flex: 1;
  padding: 10px;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.amount-group button:hover,
.amount-group button.active {
  background: var(--primary);
  color: white;
}

.donation-form input,
.donation-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

.donation-form input:focus,
.donation-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ========== CONTACT ========== */
.contact-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.contact-form {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ========== FOOTER ========== */
footer {
  background: #0d1f3a;
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 40px;
}

.footer-logo h3 {
  font-size: 20px;
  color: white;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--dark);
}

footer h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

footer ul li a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-contact i {
  width: 25px;
  margin-top: 3px;
}

/* INSTAGRAM FOOTER */
.insta-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.insta-item {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  transition: var(--transition);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.insta-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.insta-item:hover img {
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: calc(100vh - 75px);
    background: linear-gradient(180deg, #0d1f3a, #1a3a6b);
    transition: 0.3s;
    z-index: 999;
    padding: 30px 20px;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .welcome-card {
    padding: 25px 20px;
    margin: -30px auto 0;
  }

  .section {
    padding: 50px 0;
  }

  .about-flex,
  .donation-flex,
  .contact-flex {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
  }

  .stats {
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .insta-footer {
    max-width: 250px;
    margin: 0 auto;
  }

  .footer-contact li {
    justify-content: center;
  }
}
