/* Font imports */
@import url("https://fonts.googleapis.com/css2?family=Alumni+Sans+Collegiate+One:ital@0;1&family=DM+Serif+Text:ital@0;1&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

/* Variables */
:root {
  --primary-color: #c3922e;
  --text-color: #333;
  --white: #ffffff;
  --black: #000000;
  --light-bg: #f5f5f5;
  --footer-bg: #000;
  --footer-text: #fff;
  --footer-secondary: #999;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", serif;
  font-weight: 500;
  line-height: 1.0;
  color: var(--text-color);
}

main {
  display: flex;
  justify-content: center;
}

p {
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.9;
}

h2 {
  font-size: 36px;
  margin-bottom: 15px;
  line-height: 1.3;
  font-weight: 800;
}

/* Section Headings */
.section-heading {
  font-size: 45px;
  margin: 0 0 20px;
  text-align: center;
  padding: 10px 20px;
  font-weight: 300;
  font-family: Arial, sans-serif;
}

.heading-highlight {
  color: var(--primary-color);
  font-size: 45px;
  font-weight: 600;
  font-family: Arial, sans-serif;
}

 /* Partners Section Styles */
 .partner-section {
  padding: 60px 0;
  text-align: center;
  max-width: 1200px;
  margin: 50px auto;
  position: relative;
}

.section-heading {
  color: rgb(12, 11, 11);
  font-size: 36px;
  font-weight: 300;
  font-family: Arial, sans-serif;
  margin-bottom: 40px;
}

.heading-highlight {
  font-weight: 600;
  color: #ca9836;
}

    /* Partners Section Styles */
    .partner-section {
      padding: 40px 0;
      text-align: center;
      max-width: 100%;
      overflow: hidden;
      position: relative;
    }

    .section-heading {
      color: rgb(12, 11, 11);
      font-size: 36px;
      font-weight: 300;
      font-family: Arial, sans-serif;
      margin-bottom: 30px;
    }

    .heading-highlight {
      font-weight: 600;
      color: #ca9836;
    }

    /* Carousel Container */
    .carousel-container {
      position: relative;
      overflow: hidden;
      width: 100%;
      padding: 0;
    }

    .partner-container {
      display: flex;
      transition: transform 0.5s ease;
      gap: 20px;
      padding: 10px 0;
    }

    /* Partner Cards */
    .partner-card {
      flex: 0 0 200px;
      height: 120px;
      padding: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #c3922e;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }

    .partner-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .partner-card a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }

    .partner-card img {
      max-width: 100%;
      max-height: 80px;
      object-fit: contain;
      transition: filter 0.3s ease;
    }

    .partner-card:hover img {
      filter: brightness(1.1);
    }

    /* Navigation Dots */
    .partner-dots {
      display: flex;
      justify-content: center;
      margin-top: 20px;
      gap: 8px;
    }

    .partner-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: #ddd;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .partner-dot.active {
      background-color: #ca9836;
      transform: scale(1.2);
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
      .partner-card {
        flex: 0 0 160px;
        height: 100px;
      }

      .section-heading {
        font-size: 32px;
      }
    }

    @media (max-width: 480px) {
      .partner-card {
        flex: 0 0 130px;
        height: 90px;
        padding: 10px;
      }

      .partner-card img {
        max-height: 60px;
      }

      .section-heading {
        font-size: 28px;
      }
    }

    /* Control buttons */
    .control-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.7);
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .prev-btn {
      left: 10px;
    }

    .next-btn {
      right: 10px;
    }

    .control-btn:hover {
      background: rgba(255, 255, 255, 0.9);
    }
/* Donation Banner */
.banner-container {
  margin-top: 10%;
  margin-bottom: 10%;
}

.donation-banner {
  display: flex;
  height: 240px;
  width: 85%;
  margin: auto;
  background: linear-gradient(90deg, #dba634, #c0840d), url(/images/pattren.png);
  background-blend-mode: overlay;
  background-size: cover;
  padding: 30px;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin-bottom: 20px;
}

.banner-content {
  max-width: 50%;
}

.donate-button {
  background-color: white;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 80px;
  filter: brightness(0) invert(1);
}

.footer-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 300px;
}

.newsletter {
  display: flex;
  margin-bottom: 20px;
  gap: 10px;
}

.newsletter input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
}

.newsletter button {
  background-color: #c99c31;
  color: var(--footer-text);
  border: none;
  padding: 6px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #333;
  color: var(--footer-text);
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #c99c31;
}

.footer-column h3 {
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
  padding-left: 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ca9836;
}

.hiring-tag {
  background-color: #ca9836;
  color: var(--black);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  font-weight: bold;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-info a {
  color: var(--footer-text);
  text-decoration: none;
}

.contact-info a:hover {
  color: #ca9836;
}

.preferences h3 {
  margin-top: 20px;
}

.preference-select {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background-color: var(--white);
  border: none;
  border-radius: 5px;
}

.footer-divider {
  height: 1px;
  background-color: #333;
  margin: 30px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.payment-method img {
  max-width: 100%;
  max-height: 100%;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--footer-secondary);
}

/* Header */
.header1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: white;
  border-bottom: 1px solid #dbdbdb;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-container:hover {
  animation-play-state: paused;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1rem;
  }

  .hero {
    padding: 2rem;
  }

  h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .container {
    gap: 40px;
    padding: 30px 20px;
  }

  .title,
  .academy-name {
    font-size: 32px;
  }

  .right-section h2 {
    font-size: 18px;
  }

  .testimonial-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .navbar .nav-links,
  .navbar .store-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .side-menu .store-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .students-joined {
    justify-content: center;
  }

  .hero-images {
    display: hidden;
  }

  /* Container */
  .container {
    flex-direction: column;
    padding: 20px;
  }

  .left-section,
  .right-section {
    width: 100%;
  }

  .title,
  .academy-name {
    font-size: 28px;
  }

  .description {
    font-size: 14px;
  }

  .mosque-image {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .right-section h2 {
    font-size: 25px;
    padding-top: 20px;
  }

  .right-section h2::before {
    top: -30px;
  }

  /* Partners */
  .partner-section {
    padding-top: 10px;
    margin: 30px 0px 0px 0px;
    width: 100%;
    border-radius: 0%;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
    overflow: hidden;
  }

  .partner-container {
    padding-bottom: 20px;
  }

  /* Title */
  .title1 {
    font-size: 35px;
    padding: 30px 0px;
  }

  .title1 span {
    font-size: 38px;
    padding: 10px 0px;
  }

  .heading-highlight {
    font-size: 35px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 0px;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer-links {
    text-align: start;
  }

  .footer-column h3 {
    text-align: start;
  }

  .footer-links a {
    padding: 0px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  /* Donation Banner */
  .donation-banner {
    width: 100%;
    background: linear-gradient(90deg, #dba634, #c0840d), url(/images/pattren.png);
    background-size: cover;
    padding: 25px 20px;
  }

  h2 {
    font-size: 22px;
  }

  /* Reminders
  .reminders-container {
    margin: 0%;
    width: 100%;
  }

  .reminder-item,
  .reminder-item.has-video {
    min-width: calc(100% - 20px);
    flex: 0 0 calc(100% - 20px);
  }

  .reminder-item.has-video .reminder-img {
    height: 220px;
  } */
}

@media (max-width: 600px) {
  .donation-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px 15px;
  }

  .banner-content {
    max-width: 100%;
  }

  h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  p {
    font-size: 13px;
  }

  .donate-button {
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
  }

  .testimonial-card {
    width: 100%;
  }

  .testimonials-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .title,
  .academy-name {
    font-size: 24px;
  }

  .learn-more {
    width: 100%;
    text-align: center;
  }

  .class-time,
  .coming-soon {
    font-size: 13px;
    margin: 0px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .description {
    font-size: 1rem;
  }

  .hero-images {
    display: hidden;
    height: 250px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .donation-banner {
    padding: 20px 12px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 12px;
  }

  .contact-info {
    padding: 0%;
    text-align: start;
  }
}
