* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#search-input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}
#search-input:active {
  outline: none;
  border: none;
  box-shadow: none;
}

nav {
  background-color: transparent;
}
#search-btn i,
#search-btn:hover i,
#search-btn:focus i,
#search-btn:active i {
  color: #333;
  transition: color 0.2s ease;
  outline: none;
  border: none;
  box-shadow: none;
}

#search-btn:hover i,
#search-btn:focus i {
  color: #007bff;
  outline: none;
  border: none;
  box-shadow: none;
}

#search-btn:active i {
  color: #0056b3;
  outline: none;
  border: none;
  box-shadow: none;
}

.hero-section {
  position: relative;
  background-image: url("images/unnamed.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
}
.small-img {
  border: 5px solid #7d7a7a6c;
  border-radius: 5px;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.home::before {
  background: rgba(0, 0, 0, 0.72);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.navbar {
  z-index: 999;
}

.article-hero {
  min-height: 80vh;
}

.hero-image-card {
  max-width: 420px;
}

.hero-badge {
  max-width: 200px;
  margin: 0.75rem;
}

.hero-author-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0;
  border-right: 0;
  max-width: 500px;
}

.hero-author-avatar {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-cta-link {
  text-decoration: none !important;
  font-size: 1.35rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.hero-cta-link i {
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.hero-cta-link:hover {
  color: #76ffda !important;
  text-decoration: none !important;
}

.hero-cta-link:hover i {
  transform: translateX(4px);
  color: #76ffda;
}

.btn-primary-gradient {
  background: linear-gradient(90deg, #4d7dff 0%, #9c54ff 100%);
  color: #fff;
  border: none;
}

.btn-primary-gradient:hover {
  background: linear-gradient(90deg, #415fe8 0%, #8b3de6 100%);
}

.card-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow: hidden;
}

.card-row-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
}

.card-row .card-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.latest-blogs .card {
  max-height: 420px;
}

.latest-blogs .card-img-top {
  height: 180px;
  object-fit: cover;
}

.latest-blogs .card-body {
  padding-bottom: 1rem;
}

.latest-blogs .card-title {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .card-row {
    flex-direction: column;
  }
  .card-row-img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem 0.75rem 0 0;
  }
}

.trending-card {
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 360px;
  background-color: #000;
}

.trending-card .card-img {
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
  filter: brightness(0.72);
}

.trending-card:hover .card-img {
  transform: scale(1.05);
}

.trending-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.trending-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.trending-card .card-text {
  font-size: 0.95rem;
}

.trending-card a:hover {
  color: #76ffda;
}

.trending-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 3;
}

.categories-section {
  background-image: url("images/unnamed.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height:30vh;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 767.98px) {
  .categories-section {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .category-card {
    padding: 2rem 1.5rem;
  }
}

.categories-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.category-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
}

.pointer-curser {
  cursor: pointer;
}

.footer-section {
  background: #0d1117;
}

.footer-section .footer-logo i {
  color: #76ffda;
}

.footer-section .footer-links li {
  margin-bottom: 0.9rem;
}

.footer-section .footer-links a:hover {
  color: #76ffda;
}

.footer-social a {
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #76ffda;
}

.footer-section .form-control {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-section .form-control:focus {
  box-shadow: none;
  border-color: transparent;
}

.footer-section .btn-success {
  background: #28a745;
  border-color: #28a745;
}
