/*
Theme Name: Mahad Al-Funun
Theme URI: https://mahad-alfunun.org/
Author: Raju Ahmed
Author URI: https://rajugreenlover.com/
Description: Bangla-first, Islamic aesthetics, page-builder–free custom theme.
Version: 1.0.0
Text Domain: mahadulfunun
*/

/* Basics */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "SolaimanLipi", sans-serif;
  color: #2b2b2b;
  background: #faf9f6;
  line-height: 1.7;
}
a {
  color: #005e47;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mt-2 {
  margin-top: 20px;
}

.mb-0 {
  margin-bottom: 0;
}

/* Hero */
.hero {
  background: radial-gradient(70% 70% at 20% 10%, #e9f5f2 0%, transparent 60%),
    url("./assets/images/pattern.svg");
  background-size: cover;
  padding: 6rem 0 4rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.3rem;
  margin: 0.2rem 0;
}
.hero p {
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto 1.2rem;
}

/* UI */
.btn {
  display: inline-block;
  background: #005e47;
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
}
.btn-outline {
  background: transparent;
  border: 2px solid #005e47;
  color: #005e47;
}
.grid {
  display: grid;
  gap: 1.2rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.section {
  padding: 3rem 0;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
  margin: 0 0 1.4rem;
}

.section-title .divider {
  height: 1px;
  background: #c4a45a;
  flex: 1;
  max-width: 120px;
}
.section-title h2 {
  margin: 0;
  font-size: 1.6rem;
}
.notice {
  background: #fff9e6;
  border: 1px solid #ffe7a3;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
}
.badge {
  display: inline-block;
  background: #c4a45a;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
}

/* Footer */
.footer {
  background: #0e3f34;
  color: #fff;
  padding: 2rem 0;
  margin-top: 3rem;
}
.footer a {
  color: #fff;
}

/* Language */
.site-lang {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.site-lang a {
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid #ddd;
  color: #333;
}
.site-lang a.active,
.site-lang a:hover {
  background: #005e47;
  color: #fff;
  border-color: #005e47;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 4rem 0 3rem;
  }
}
@media (max-width: 600px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
