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

body {
  font-family: "Inter", sans-serif;
  background-color: #fff;
  color: #191a23;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(25, 26, 35, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  width: 60%;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: #191a23;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #b9ff66;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #b9ff66;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #191a23;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #191a23 0%, #2a2b35 100%);
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(185,255,102,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background: #fff;
}

.blog-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(25, 26, 35, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(25, 26, 35, 0.15);
}

.blog-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #b9ff66, #8fff4d);
  position: relative;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #191a23;
  line-height: 1.4;
}

.blog-excerpt {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.blog-author {
  font-size: 0.9rem;
  color: #888;
}

.read-more {
  background: #b9ff66;
  color: #191a23;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.read-more:hover {
  background: #191a23;
  color: #b9ff66;
  transform: translateY(-2px);
}

/* Sidebar */
.sidebar {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  height: fit-content;
  position: sticky;
  top: 120px;
  opacity: 0;
  transform: translateX(30px);
}

.sidebar.animate {
  animation: fadeInRight 0.6s ease forwards;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #191a23;
}

.search-box {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-box:focus {
  border-color: #b9ff66;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem;
  border-radius: 5px;
}

.category-list a:hover {
  color: #191a23;
  background: #b9ff66;
}

.newsletter {
  background: #191a23;
  color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.newsletter h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.newsletter input {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 25px;
  margin-bottom: 1rem;
  outline: none;
}

.newsletter button {
  background: #b9ff66;
  color: #191a23;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: #191a23;
  color: #fff;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #b9ff66;
}

.footer-links {
  list-style: none;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: #b9ff66;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}
.social-icon {
  width: 80%;
  height: 100%;
}

.social-icon:hover {
  background: #b9ff66;
  color: #191a23;
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid #333;
  padding-top: 2rem;
  color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .blog-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .blog-section {
    padding: 60px 0;
  }

  .sidebar {
    padding: 1.5rem;
  }
      .social-icons {
        gap: 0.5rem;
    }
    .social-icon{
        width: 100% ;
    }
}
