/* 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;
}

/* About Section */
.about {
  width: 100%;
  background-color: var(--light-bg);
  background-image: url(/images/bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  width: 85%;
  margin: 80px auto;
  padding: 70px 20px;
  display: flex;
  gap: 80px;
}

.left-section {
  flex: 1;
}

.title {
  font-family: "Plus Jakarta Sans", serif;
  font-weight: 500;
  font-size: 66px;
  margin-bottom: 10px;
  color: #0a0a0a;
}

.academy-name {
  font-size: 66px;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.description {
  width: 80%;
  color: #1a1919;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 20px;
  font-family: "Plus Jakarta Sans", serif;
  font-weight: 400;
}

.learn-more {
  display: inline-block;
  padding: 14px 45px;
  background-color: var(--primary-color);
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  border-radius: 20px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.learn-more:hover {
  background-color: var(--primary-color);
}

.mosque-image {
  width: 80%;
  border-radius: 12px;
  margin-top: 24px;
  height: auto;
  border-right: #b08b29 12px solid;
  object-fit: cover;
}

.right-section {
  background-color: var(--primary-color);
  padding: 0px 20px;
  border-radius: 20px;
}

.right-section h2 {
  padding-top: 25px;
  color: #fffbfb;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  font-family: "Plus Jakarta Sans", serif;
}

.right-section h2::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.class-time {
  color: #0a0909;
  font-size: 16px;
  margin-bottom: 24px;
}

.time-highlight {
  color: #0a0909;
}

.coming-soon {
  color: var(--black);
  font-style: italic;
  font-size: 16px;
}

.section-gap {
  margin-bottom: 40px;
}

/* Partners Section */
.partner-section {
  padding: 40px 0;
  text-align: center;
  margin: auto;
  margin-top: 50px;
  width: 85%;
}

.title1 {
  color: rgb(12, 11, 11);
  font-size: 45px;
  font-weight: 300;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  padding-bottom: 40px;
}

.title1 span {
  font-size: 45px;
  font-weight: 600;
  color: #ca9836;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 20px 0;
}

.partner-container {
  display: flex;
  gap: 30px;
  overflow-x: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.partner-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.partner-card {
  flex: 0 0 200px; /* Fixed width for consistent scrolling */
  height: 100px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px 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: 70px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.partner-card:hover img {
  filter: brightness(1.1);
}


/* 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;
  }
}
