html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom styles for Madina tul Ilm */
.logo-img {
  max-height: 60px;
  max-width: 280px;
}

.navbar-brand {
  padding: 0;
  margin-right: 30px;
}

.hero-section {
  margin-top: -24px; /* To remove the gap between navbar and hero section */
}

.service-icon i {
  color: #0d6efd;
}

@media (max-width: 767.98px) {
  .logo-img {
    max-height: 40px;
    max-width: 200px;
  }
  
  .hero-image {
    height: 400px !important;
  }
  
  .navbar-brand {
    margin-right: 0;
  }
}

.footer {
  position: relative;
  margin-top: 30px;
  padding: 0;
}

.contact-item {
  padding: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-section a {
  color: #0d6efd;
}

.contact-section a:hover {
  color: #0a58ca;
}

.prayer-times-section {
  background-color: #ffffff;
}

.prayer-times-section .table th,
.prayer-times-section .table td {
  padding: 15px;
  vertical-align: middle;
}

.prayer-times-section .table-primary {
  background-color: #0d6efd;
  color: white;
}

.prayer-times-section .card {
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .prayer-times-section .table {
    font-size: 0.85rem;
  }
  
  .prayer-times-section .table th,
  .prayer-times-section .table td {
    padding: 10px 5px;
  }
}

/* Custom card styles */
.card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: bold;
  text-align: center;
}

.card-body {
  padding: 1.5rem;
  font-size: 1rem;
  color: #333;
}

.card ul {
  padding-left: 1.5rem;
}

.card ul li {
  margin-bottom: 0.5rem;
}