/* ======= TOP HEADER ======= */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url('../image/header.jpg') no-repeat center center;
  background-size: cover;
  padding: 20px 40px;
  height: 100px;
  color: #fff;
  position: relative;
  z-index: 10;
  border-bottom: 3px solid rgba(0, 0, 0, 0.2);
}

.top-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 80, 20, 0.45);
  z-index: -1;
}

.top-header img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.top-header h4,
.top-header small {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.date-display {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fdfdfd;
}


/* ======= NAVBAR ======= */
.navbar {
  background-color: rgba(197, 7, 7, 0.96);
  padding: 12px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(6px);
}

.navbar .navbar-brand {
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  letter-spacing: 1px;
}

.navbar .nav-link {
  color: #fff;
  font-weight: 600;
  margin-right: 16px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  -webkit-text-stroke: 0.3px black;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #00ffcc;
  transform: scale(1.05);
}

.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-in-out;
}

.navbar .dropdown-item {
  color: #e40505;
  font-weight: 500;
}

.navbar .dropdown-item:hover {
  background-color: #e6f5ed;
  color: #007b5e;
}


/* ======= LOGIN BUTTON ======= */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 2px solid #e40505;
  border-radius: 30px;
  color: #e40505;
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.btn-login:hover {
  background-color: #e40505;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


/* ======= SEARCH BOX ======= */
.navbar .form-control {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.9rem;
  border: 2px solid #e40505;
  color: #e40505;
  transition: 0.3s;
}

.navbar .form-control::placeholder {
  color: #e40505;
}

.navbar .form-control:focus {
  box-shadow: 0 0 0 0.15rem rgba(197, 7, 7, 0.96);
  border-color: #e40505;
  outline: none;
}

.navbar .btn-primary {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.9rem;
  background-color: #e40505;
  border: 2px solid #e40505;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.navbar .btn-primary:hover {
  background-color: #2252d6;
  border-color: #1637ca;
}


/* ======= DROPDOWN ANIMATION ======= */
@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* ======= FOOTER ======= */
body,
html {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.custom-footer {
  background-image: url('../image/foother.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.custom-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.newsletter-form input {
  border: none;
  padding: 0.75rem;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: none;
}

.newsletter-form button {
  border: none;
}

a:hover {
  color: #00ffc3;
  transition: 0.3s;
}