* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.head {
  background-color: #f7f9fa;;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: cyan;
}

/* Hamburger Icon */
.hamburger {
  width: 30px;
  height: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  background: black;
  height: 3px;
  border-radius: 2px;
  transition: 0.4s;
}

/* Hamburger Animation - Turn into X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 0;
    padding-left: 20px;
    width: 100%;
    display: none;
    padding: 20px 10px;
    animation: slideDown 0.4s ease forwards;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.blog-header {
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
  padding: 50px 20px; 
}

.blog-header h1 {
  margin: 0;
  font-size: 36px;
}

.blog-header p {
  margin-top: 10px;
  font-size: 16px;
  color: #ccc;
}

.blog-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.blog-article h2 {
  color: #1e293b;
}

.blog-article img {
  width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

.blog-article .date {
  font-size: 14px;
  color: #888;
}

.blog-footer {
  text-align: center;
  padding: 20px;
  background: #f1f3f6;
  font-size: 14px;
  color: #777;
}

/* Animation trigger */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .blog-article {
    padding: 20px;
  }

  .blog-header h1 {
    font-size: 28px;
  }
}


/* footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px 30px;

     @media screen and (max-width: 780px){
       padding: 50px 15px;
}
    }

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;

}

.footer-logo img {
    width: 150px;
}

.footer-links {
    display: flex;
    gap: 60px;

    @media screen and (max-width: 780px){
    gap: 20px;
}
}

.footer-column {
    min-width: 150px;
} 

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;

}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}


.footer-column ul li a {
color: #cccccc;
text-decoration: none;
font-size: 14px;
margin-left: 30px;

@media screen and (max-width: 450px) {
    padding-right: 30px;
}
}

.footer-column ul li a:hover {
    color: #00c2cb;
}

.footer-buttom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    text-align: center;
}

.footer-buttom p {
    font-size: 14px;
    color: #aaaaaa;
}

.footer-socials a img {
    width: 24px;
    margin: 0 10px;
    filter: brightness(0) invert(1);
}

