
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
header, footer {
  background-color: #006400;
  color: white;
  text-align: center;
  padding: 10px 0;
}
nav ul {
  list-style: none;
  background: #006400;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
nav ul li {
  display: inline;
}
nav ul li a, .lang select {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
}
.hero {
  background-color: #f0f0f0;
  padding: 30px;
  text-align: center;
}
.about, .cta {
  padding: 20px;
  text-align: center;
}
.button {
  background-color: #006400;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
}

.pagination {
  text-align: center;
  padding: 15px;
}
.pagination a {
  margin: 0 5px;
  padding: 5px 10px;
  background: #eee;
  text-decoration: none;
}
.pagination a.active {
  background: #007b5e;
  color: white;
}
.page-title {
  padding: 20px;
  background: #f0f0f0;
  text-align: center;
}
.page-title h1 {
  margin: 0;
  font-size: 32px;
}
.page-title p {
  color: #555;
  font-size: 16px;
}

.donation-section {
  padding: 30px;
  background: #fff;
  max-width: 800px;
  margin: auto;
}
.bank-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.bank-table td {
  border: 1px solid #ddd;
  padding: 10px;
}
.qr-code {
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

.donate-btn {
  margin-top: 20px;
  background: #007b5e;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}
.donate-btn:hover {
  background: #005c46;
}
.logo {
  height: 50px;      /* Logo ki height adjust karein yahan */
  width: auto;       /* Proportion maintain rahe */
  display: inline-block;
  vertical-align: middle;
}
.social-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

header {
  background-color: #0e4d2b;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

section {
  padding: 30px 20px;
  max-width: 900px;
  margin: auto;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

h2 {
  color: #0e4d2b;
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
}

.image-placeholder {
  background-color: #ddd;
  height: 200px;
  border-radius: 10px;
  text-align: center;
  line-height: 200px;
  color: #555;
  font-size: 18px;
  margin-top: 10px;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.2s;
}

.icons img:hover {
  transform: scale(1.1);
}

footer {
  background-color: #0e4d2b;
  color: white;
  text-align: center;
  padding: 15px;
}
.contact-page {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

.page-title {
  background: #f0f0f0;
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-title h1 {
  font-size: 36px;
  color: #0e4d2b;
  margin-bottom: 10px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-form h2 {
  margin-bottom: 20px;
  color: #0e4d2b;
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form textarea {
  resize: vertical;
}

.submit-button {
  background: #007b5e;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.submit-button:hover {
  background: #005c46;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 8px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.info-card {
  flex: 1;
  min-width: 250px;
  background: #e6f2e6;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-card h3 {
  color: #0e4d2b;
  margin-bottom: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}
button[type="submit"] {
  background-color: #00ff44; /* Bootstrap Blue */
  color: #ffffff;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

button[type="submit"]:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

button[type="submit"]:active {
  transform: scale(0.97);
}
form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

form textarea {
  resize: vertical;
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  background: url('https://www.transparenttextures.com/patterns/arabesque.png'); /* Islamic pattern */
  background-color: #f5f3ea; /* Light beige */
  border-top: 4px solid #126e54; /* Islamic green */
  border-bottom: 4px solid #126e54;
}

.info-card {
  background-color: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  font-family: 'Scheherazade New', serif; /* Arabic-style font */
  font-size: 20px;
  margin-bottom: 10px;
  color: #126e54;
}

.info-card a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-card a:hover {
  color: #126e54;
  text-decoration: underline;
}
.founder-img {
  width: 220px;
  height: auto;
  border-radius: 50%; /* Circular frame for respectful & soft feel */
  border: 5px solid #126e54; /* Islamic green border */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
  margin: 20px auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.media-gallery {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 15px;
  background: linear-gradient(to right, #f0f8f6, #e8f5f1); /* Soft Islamic green shades */
  border: 2px solid #126e54; /* Islamic green border */
  border-radius: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #126e54 #e0f2e9;
}

.media-gallery img,
.media-gallery video {
  flex: 0 0 auto;
  height: 180px;
  width: auto;
  border-radius: 10px;
  border: 3px solid #dbeee6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.media-gallery img:hover,
.media-gallery video:hover {
  transform: scale(1.05);
  border-color: #126e54;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Scrollbar customization (for webkit browsers like Chrome) */
.media-gallery::-webkit-scrollbar {
  height: 8px;
}

.media-gallery::-webkit-scrollbar-track {
  background: #e0f2e9;
  border-radius: 10px;
}

.media-gallery::-webkit-scrollbar-thumb {
  background-color: #126e54;
  border-radius: 10px;
}
.social-media {
  text-align: center;
  background: linear-gradient(to bottom, #eaecee, #d6e0d5);
  padding: 40px 20px;
  border-top: 5px solid #0c4b33;
  border-bottom: 5px solid #0c4b33;
  font-family: 'Segoe UI', sans-serif;
}

.social-media h3 {
  font-size: 28px;
  color: #0c4b33;
  margin-bottom: 20px;
  border-bottom: 2px dashed #0c4b33;
  display: inline-block;
  padding-bottom: 5px;
  font-weight: bold;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #0c4b33;
  padding: 5px;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
/* Page Title */
.page-title {
  text-align: center;
  padding: 40px 20px;
  background: #10f06d;
  color: #fff;
  border-bottom: 5px solid #2bff0088;
}
/* Admission Section */
.admission-section {
  background: #f6f9f4;
  padding: 50px 20px;
}
.form-wrapper {
  max-width: 900px;
  margin: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 64, 0, 0.1);
  padding: 30px;
}

.form-wrapper h2 {
  text-align: center;
  color: #174d3f;
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
}

.form-grid input,
.form-grid textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #f8fdfb;
}

.submit-button {
  background-color: #174d3f;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
  grid-column: 1 / -1;
}

.submit-button:hover {
  background-color: #116144;
}

/* Why Choose Us Section */
.why-choose-us {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

.why-choose-us h2 {
  color: #174d3f;
  margin-bottom: 20px;
}

.why-choose-us ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
  color: #333;
}

.why-choose-us li {
  padding: 10px;
  border-bottom: 1px dashed #ccc;
}

/* Course Grid Section */
.course-preview-grid {
  padding: 40px 20px;
  background: #f4fdfb;
}

.course-preview-grid h2 {
  text-align: center;
  color: #174d3f;
  margin-bottom: 30px;
}

.course-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.course-card {
  width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.course-card img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.course-card h3 {
  padding: 10px;
  color: #153d30;
  font-size: 1rem;
}
.gallery-header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(to right, #004d40, #00796b);
  color: white;
  border-top: 4px solid #fdd835;
  border-bottom: 4px solid #fdd835;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
  background-color: #f5f5f5;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border: 5px solid #004d40;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
  transform: scale(1.05);
}
