@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
}
header {
  background: #0a3d62;
  color: #fff;
  padding: 0.5rem 0;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  font-size: 1.7rem;
  font-weight: bold;
  letter-spacing: 1px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}
nav ul li {
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
nav ul li a:hover {
  color: #f6b93b;
}

/* Hamburger menu styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}
.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  position: relative;
  border-radius: 2px;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  top: 8px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100vw;
    width: 70vw;
    max-width: 320px;
    height: 100vh;
    background: #0a3d62;
    box-shadow: 2px 0 12px #22223b44;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 4rem 2rem 2rem 2rem;
    transition: left 0.3s;
    z-index: 1001;
  }
  .nav-menu.open {
    left: 0;
  }
  nav ul {
    display: block;
    gap: 0;
  }
  nav ul li {
    margin-bottom: 1.2rem;
  }
  nav {
    position: relative;
  }
}
.hero {
  text-align: center;
  background: linear-gradient(-5deg, #0a3d5e -12%, #f6b93b 100%);
  /* background: linear-gradient(90deg, #0a3d62 60%, #f6b93b 100%); */
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-btn {
  background: #f6b93b;
  color: #0a3d62;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: #fff;
  color: #0a3d62;
}
footer {
  background: #0a3d62;
  color: #fff;
  text-align: center;
  padding: 0;
  position: relative;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 8px rgba(10, 61, 98, 0.08);
}

.about-section.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #eee;
  padding: 2.5rem 2rem;
  border-radius: 16px;
}

.about-section.grid.advantages {
  background: #22223b;
  color: #fff;
  box-shadow: 0 2px 12px #22223b44;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 25% 75%;
  gap: 2rem;
  align-items: flex-start;
  margin: 3rem auto;
  max-width: 1100px;
}
.about-section.grid.advantages .about-text {
  flex: 1.2;
  min-width: 220px;
}
.about-section.grid.advantages .about-bullets {
  flex: 2.5;
  display: flex;
  gap: 1.5rem;
}
.about-section.grid.advantages .about-bullets ul {
  column-count: 3;
  column-gap: 2rem;
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.08rem;
}
.about-section.grid.advantages h2 {
  color: #f6b93b;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.about-section.grid.advantages img {
  width: 320px;
  border-radius: 12px;
  margin-top: 1.5rem;
  box-shadow: 0 2px 12px #22223b44;
}

.whyus-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #eee;
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 3rem auto;
}
.whyus-grid {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 2rem;
  align-items: flex-start;
}
.whyus-img {
  margin: auto;
}
.whyus-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px #eee;
}
.whyus-content h2 {
  color: #222;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.whyus-content ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.08rem;
}
.whyus-content ul li {
  margin-bottom: 1.2rem;
}
@media (max-width: 900px) {
  .whyus-grid {
    grid-template-columns: 1fr;
  }
  .whyus-img img {
    margin-bottom: 1rem;
  }
}

.advantages-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #eee;
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 3rem auto;
}
.advantages-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 2rem;
  align-items: flex-start;
}
.advantages-content h2 {
  color: #222;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.advantages-content p {
  font-size: 1.08rem;
  margin-bottom: 0;
}
.advantages-bullets ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.08rem;
}
.advantages-bullets ul li {
  margin-bottom: 1.2rem;
}
@media (max-width: 900px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}
.about-section.grid.reverse {
  grid-template-columns: 1fr 1fr;
}
.about-section.grid.reverse .about-text {
  order: 2;
}
.about-section.grid.reverse .about-img {
  order: 1;
}
.about-section .about-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(10, 61, 98, 0.12);
  display: block;
  margin: 0 auto;
}
.about-section .about-text h1,
.about-section .about-text h2 {
  color: #0a3d62;
  margin-bottom: 1rem;
}
.about-section .about-text p,
.about-section .about-text ul {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.about-section .about-text ul {
  padding-left: 1.2rem;
}
.about-section.grid.dark {
  background: #223;
  color: #fff;
}
.about-section.grid.dark .about-text h2 {
  color: #f6b93b;
}
.about-section.grid.dark .about-text ul {
  color: #fff;
}
@media (max-width: 900px) {
  .about-section.grid,
  .about-section.grid.reverse,
  .about-section.grid.dark {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
  .about-section .about-img img {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

.hero-img-container {
  position: relative;
  width: 90%;
  height: 85vh;
  max-width: 1800px;
  margin: 0 auto;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(10, 61, 98, 0.12);
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  color: #fff;
  background: rgba(10, 61, 98, 0.55);
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(10, 61, 98, 0.12);
}

.features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
  flex-wrap: wrap;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #eee;
  padding: 1.5rem 1rem;
  text-align: center;
  width: 260px;
  transition: transform 0.2s;
}
.feature-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 6px 24px #e0e0e0;
}
.feature-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px #eee;
}
.feature-card h3 {
  margin: 0.5rem 0 0.7rem 0;
  color: #0a3d62;
}
.testimonials {
  background: #fff;
  padding: 0rem 1rem;
  margin: 2rem 0;
  border-radius: 12px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 12px #eee;
}
.testimonials h2 {
  color: #0a3d62;
  margin-bottom: 2rem;
  text-align: center;
}

.grid-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
}
.testimonial {
  background: #f6b93b;
  color: #0a3d62;
  border-radius: 10px;
  padding: 1.2rem 1rem;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 2px 8px #eee;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial span {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-style: normal;
}

@media (min-width: 600px) {
  .grid-testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .grid-testimonials {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.partners {
  max-width: 900px;
  margin: 2rem auto 3rem auto;
  text-align: center;
}
.partners h2 {
  color: #0a3d62;
  margin-bottom: 1.5rem;
}
.partner-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.partner-logos img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.2s;
}
.partner-logos img:hover {
  filter: none;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem 1rem 1rem;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.footer-social {
  display: flex;
  gap: 1.2rem;
}
.footer-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.2s;
}
.footer-social img:hover {
  filter: none;
}
@media (max-width: 900px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-list {
    flex-direction: column;
    align-items: center;
  }
}

/* Contact Page Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  max-width: 1100px;
  margin: 3rem auto;
  background: #0a3d62;
  box-shadow: 0 2px 12px #eee;
  overflow: hidden;
}
.contact-left {
  color: #fff;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.contact-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px #22223b44;
}
.contact-info h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.contact-info p {
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
}
.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.2s;
}
.contact-social img:hover {
  filter: none;
}
.contact-right {
  background: #fff;
  color: #222;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.contact-right h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
#contactForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#contactForm label {
  font-weight: 500;
  margin-bottom: 0.3rem;
}
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  font-family: inherit;
}
#contactForm button {
  width: 120px;
  padding: 0.7rem 0;
  border-radius: 6px;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  background: #145c43;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
#contactForm button:hover {
  background: #0a3d62;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-left,
  .contact-right {
    padding: 2rem 1rem;
  }
}

/* Quran Classes Section */
.quran-classes {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #eee;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0;
}
.quran-classes-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: center;
}
.quran-classes-img {
  padding-inline: 20px;
}
.quran-classes-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
  max-height: 500px;
  display: block;
}
.quran-classes-content {
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.quran-classes-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.tajweed-green {
  color: #6cc24a;
  font-weight: 700;
}
.quran-classes-content p {
  font-size: 1.08rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.quran-classes-links {
  display: flex;
  gap: 2rem;
  margin-top: 1.2rem;
}
.quran-link {
  color: #222;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid #6cc24a;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  background: #f6b93b;
  padding: 5px 20px;
}
.quran-link:hover {
  color: #6cc24a;
  border-color: #222;
}
@media (max-width: 900px) {
  .quran-classes-grid {
    grid-template-columns: 1fr;
  }
  .quran-classes-img img {
    max-height: 300px;
  }
}

/* Who We Are Section */
.who-we-are {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #eee;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 1rem 2rem;
  text-align: center;
}
.who-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
}
.who-desc {
  font-size: 1.08rem;
  margin-bottom: 2.2rem;
  color: #222;
}
.who-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: center;
  margin-top: 1.5rem;
}
.who-img img {
  width: 100%;
  border-radius: 12px;
  min-height: 300px;
  max-height: 400px;
  object-fit: cover;
  display: block;
}
.who-content {
  text-align: left;
  padding-left: 2.5rem;
}
.who-content h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.who-content p {
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.who-link {
  color: #6cc24a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #6cc24a;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.who-link:hover {
  color: #222;
  border-color: #222;
}
@media (max-width: 900px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
  .who-content {
    padding-left: 0;
    margin-top: 1.5rem;
    text-align: center;
  }
  .who-img img {
    max-height: 220px;
  }
}

/* Learn Arabic Online Section */
.arabic-online {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #eee;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2.5rem 2rem;
}
.arabic-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  align-items: center;
}
.arabic-content {
  text-align: left;
  padding-right: 2.5rem;
}
.arabic-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.arabic-content p {
  font-size: 1.08rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.arabic-link {
  color: #222;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid #6cc24a;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.arabic-link:hover {
  color: #6cc24a;
  border-color: #222;
}
.arabic-img img {
  width: 100%;
  border-radius: 12px;
  min-height: 250px;
  max-height: 400px;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .arabic-grid {
    grid-template-columns: 1fr;
  }
  .arabic-content {
    padding-right: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .arabic-img img {
    max-height: 220px;
  }
}

/* Online Quran Classes Section */
.online-quran-classes {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #eee;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2.5rem 2rem;
}
.online-quran-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: center;
}
.online-quran-img img {
  width: 100%;
  border-radius: 12px;
  min-height: 250px;
  max-height: 400px;
  object-fit: cover;
  display: block;
}
.online-quran-content {
  text-align: left;
  padding-left: 2.5rem;
}
.online-quran-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.online-quran-content p {
  font-size: 1.08rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.online-quran-link {
  color: #222;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid #6cc24a;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.online-quran-link:hover {
  color: #6cc24a;
  border-color: #222;
}
@media (max-width: 900px) {
  .online-quran-grid {
    grid-template-columns: 1fr;
  }
  .online-quran-content {
    padding-left: 0;
    margin-top: 1.5rem;
    text-align: center;
  }
  .online-quran-img img {
    max-height: 220px;
  }
}

/* Learn Quran Section */
.learn-quran {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #eee;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2.5rem 2rem;
}
.learn-quran-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  align-items: center;
}
.learn-quran-content {
  text-align: left;
  padding-right: 2.5rem;
}
.learn-quran-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.learn-quran-content p {
  font-size: 1.08rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.learn-quran-link {
  color: #222;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid #6cc24a;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.learn-quran-link:hover {
  color: #6cc24a;
  border-color: #222;
}
.learn-quran-img img {
  width: 100%;
  border-radius: 12px;
  min-height: 250px;
  max-height: 400px;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .learn-quran-grid {
    grid-template-columns: 1fr;
  }
  .learn-quran-content {
    padding-right: 0;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .learn-quran-img img {
    max-height: 220px;
  }
}

.free-trial-section {
  text-align: center;
  padding-inline: 40px;

  margin-bottom: 20px;
}
.free-trial-section a {
  text-decoration: none;
  color: #0a3d62;
  font-weight: bold;
}
