:root {
  --primary-color: #138fde;
  --secondary-color: #003ca9;
  --accent-color: #ffc107;
  --dark-color: #013c57;
  --light-color: #f8f9fa;
  --success-color: #28a745;
}

body {
  font-family: "Poppins", "SolaimanLipi", sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
.top-bar {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.logo-area {
  padding: 20px 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.main-nav {
  background: var(--dark-color);
}

.navbar {
  padding: 0;
}

.navbar-nav .nav-link {
  color: white;
  padding: 15px 20px;
  font-weight: 500;
  transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
}

.dropdown-menu {
  background: var(--dark-color);
  border: none;
  border-radius: 0;
}

.dropdown-item {
  color: white;
  padding: 8px 20px;
}

.dropdown-item:hover {
  background: var(--primary-color);
  color: white;
}

/* Slider */
/* .main-slider {
        margin: 20px 0;
      } */

.carousel-item img {
  height: 400px;
  object-fit: cover;
  border-radius: 5px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  bottom: 20px;
  left: 20px;
  right: auto;
  width: auto;
  padding: 15px 20px;
  border-radius: 5px;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.announcement-title {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  margin-right: 15px;
}

/* Content Cards */
.content-card {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 12px 15px;
  font-weight: 600;
  border-bottom: none;
}

.card-body {
  padding: 20px;
}

/* Quick Links */
.quick-links li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.quick-links li:last-child {
  border-bottom: none;
}

.quick-links a {
  color: #555;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.quick-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.quick-links i {
  margin-right: 8px;
  color: var(--primary-color);
}

/* History Section */
.history-section img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Principal Section */
.principal-section {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.principal-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-right: 20px;
}

/* Footer */
.main-footer {
  background: var(--dark-color);
  color: white;
  padding: 30px 0 15px;
  margin-top: 40px;
}

.footer-widget h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-right: 8px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: 20px;
  font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .principal-section {
    flex-direction: column;
    text-align: center;
  }

  .principal-img {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .announcement-title {
    margin-right: 0;
    margin-bottom: 10px;
    display: block;
  }
}
/* teacher section---------------------------- */

.teacher-card {
  transition: transform 0.3s;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.subject-badge {
  margin-right: 5px;
  margin-bottom: 5px;
}
