@import url('https://fonts.maateen.me/kalpurush/font.css');
@import url('https://fonts.googleapis.com/css2?family=Sutonny+MJ&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Kalpurush', 'Sutonny MJ', Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.bangla-text {
  line-height: 1.8;
  text-align: justify;
}

.navbar {
  background-color: #0d1b2a;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  background-color: #1b263b;
  transform: scale(1.05);
}

/* ====== HERO SECTION START ====== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url('images/school_banner1122.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 100px 25px;
  border-bottom: 5px solid #f4a261;

  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* নিচে নামাবে */
  align-items: center;       /* সেন্টারে রাখবে */
  height: 320px;
}

.hero h1 {
  font-size: 2rem;
  margin: 40px 0 0 0;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
  align-self: center;
}
/* ====== HERO SECTION END ====== */

.section {
  padding: 40px 25px;
  background: #fff;
  margin: 30px auto;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.section:hover {
  transform: scale(1.01);
}

.section h2 {
  font-size: 2rem;
  color: #0d1b2a;
  margin-bottom: 15px;
  text-align: center;
}

.btn,
.edit-button,
.delete-button,
.delete-permanent-button {
  background-color: #0d1b2a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover,
.edit-button:hover,
.delete-button:hover,
.delete-permanent-button:hover {
  background-color: #1b263b;
  transform: scale(1.05);
}

footer {
  background-color: #0d1b2a;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.facebook-link {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.3s;
  font-size: 1.1rem;
}

.facebook-link:hover {
  color: #f4a261;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
    height: 220px;
  }

  .hero h1 {
    font-size: 1.6rem;
    margin: 30px 0 0 0;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .section {
    padding: 25px 15px;
    margin: 20px 10px;
    border-radius: 10px;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-column {
    margin-bottom: 20px;
  }

  .btn,
  .edit-button,
  .delete-button,
  .delete-permanent-button {
    width: 100%;
    max-width: 300px;
  }
}

.memoriam-section {
  background-color: #fef7f0;
  padding: 40px 25px;
  margin: 30px auto;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.memoriam-section h2 {
  font-size: 1.8rem;
  color: #8b0000;
  margin-bottom: 25px;
}

.memoriam-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.memoriam-card img {
  width: auto;
  max-width: 180px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #8b0000;
}

.memoriam-text p {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  text-align: justify;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .memoriam-card {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
}
.footer-column p {
  text-align: justify;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}
.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.footer-column {
  flex: 1 1 300px;
  padding: 10px;
  max-width: 450px;
}

.footer-column h3 {
  font-size: 1.3rem;
  color: #f4a261;
  margin-bottom: 10px;
}

.footer-column p {
  text-align: justify;
  line-height: 1.7;
  color: #eee;
}

.social-links {
  list-style: none;
  padding: 0;
}

.social-links li {
  margin-bottom: 10px;
}

.footer-note {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 30px;
}
footer {
  background-color: #0d1b2a;
  color: #fff;
  padding: 40px 20px 25px;
  font-size: 0.95rem;
  border-top: 4px solid #f4a261;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 300px;
  padding: 10px;
  max-width: 450px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #f4a261;
}

.footer-column p {
  text-align: justify;
  line-height: 1.7;
  color: #ddd;
}

.footer-column a.facebook-link {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-column a.facebook-link i {
  margin-right: 8px;
}

.footer-column a.facebook-link:hover {
  color: #f4a261;
}

footer > p {
  text-align: center;
  margin-top: 40px;
  color: #aaa;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-column {
    max-width: 100%;
    text-align: center;
  }

  .footer-column p,
  .footer-column a.facebook-link {
    text-align: center;
  }
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.footer-logo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #f4a261;
  background-color: #fff;
}

@media (max-width: 768px) {
  .footer-logo {
    margin: 20px 0;
  }

  .footer-logo img {
    width: 130px;
    height: 130px;
  }
}
