/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Navbar Styling */


nav {
    background-color: #ffffff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: rgb(255, 0, 0);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

.services-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: rgb(255, 0, 0);
    padding: 12px 16px;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #444;
}

.show {
    display: block;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: rgb(255, 0, 0);
    font-size: 2.5rem;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 110px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0.5rem;
        padding-left: 1rem;
    }
}














.article-header {
    background-color: #2b6cb0;
    color: white;
    padding: clamp(3rem, 10vw, 6rem) 1rem;
    text-align: center;
  }

  .header-content {
    max-width: min(90%, 800px);
    margin: 0 auto;
  }

  .article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
  }

  .featured-image {
    width: 100%;
    max-width: min(90%, 1000px);
    margin: -4rem auto 0;
    position: relative;
    z-index: 2;
  }

  .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .article-content {
    max-width: min(90%, 800px);
    margin: 3rem auto;
    padding: 0 1rem;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #2d3748;
    margin: 2.5rem 0 1rem;
  }

  h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: #2d3748;
    margin: 2rem 0 1rem;
  }

  p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #4a5568;
  }

  blockquote {
    border-left: 4px solid #2b6cb0;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4a5568;
  }

  .article-image {
    margin: 2rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .article-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .image-caption {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
  }

  .tags {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
  }

  .tag {
    background-color: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: #4a5568;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .tag:hover {
    background-color: #cbd5e0;
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }

    .article-meta {
      flex-direction: column;
      gap: 0.5rem;
      align-items: center;
    }

    .featured-image {
      margin-top: -2rem;
    }
  }

  .author-section {
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .author-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
  }

  .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .author-info h3 {
    margin: 0 0 0.5rem 0;
  }

  .author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
  }


  /* footer */


.content {
  flex: 1;
}

.footer {
  background-color: #ffffff;
  color: rgb(255, 0, 0);
  padding: 2rem 0;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #4299e1, #667eea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.footer-info {
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards 0.2s;
}

.footer-links {
  display: flex;
  gap: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards 0.4s;
}

.footer-links a {
  color: rgb(255, 0, 0);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4299e1;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      text-align: center;
  }
}