* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #0a0f1c;
  color: #f5f5f5;
  line-height: 1.6;
}

.obj-width {
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
nav {
  background: linear-gradient(90deg, #007991, #78ffd7b3);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar .logo {
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

.navbar .logo span {
  color: #00ffcc;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00ffcc;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  background: url("https://64.media.tumblr.com/b1de9dbb1de90a89cdccb895a0ff0bea/4e2f698cc6a29592-3f/s1280x1920/2c6ce6921ebb0f47083de1fec88892d897f3e62a.jpg") no-repeat center/cover;
  height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(10,10,10,10.2);
}

.hero h1 span {
  color: #00ffcc;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-search {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 10px;
}

.hero-search input {
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  width: 270px;
  max-width: 100%;
  font-size: 1rem;
  color: white;
  background: rgba(93, 223, 246, 0.271);
}

.hero-search button {
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  background: #00ffcc52;
  color: #0a0f1c;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.hero-search button:hover {
  background: #fff;
  color: #00ffcc;
}

.hero-btn {
  padding: 12px 30px;
  background: #00ffcc;
  color: #0a0f1c;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #fff;
  color: #00ffcc;
}



#news-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #242a2b;
  text-align: center;
  margin: 20px auto 10px auto;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#news-text {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: #444;
  text-align: center;
  max-width: 90%;  
  margin: 0 auto 20px auto;
  line-height: 1.6;
}
@media (max-width: 480px) {
  #news-heading {
    letter-spacing: 0.5px;
  }
  #news-text {
    line-height: 1.4;
  }
}





/* BLOG CARDS */
#bolg-container {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards ek line me */
  gap: 20px;
  justify-items: center;
}

.blog-card {
  background: #121826;
  border: 1px solid #00ffcc;
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card h2 {
  padding: 1rem;
  font-size: 1.3rem;
  color: #00ffcc;
}

.blog-card p {
  padding: 0 1rem 1rem;
  font-size: 1rem;
  color: #ddd;
  flex-grow: 1;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 5px 20px rgba(0, 255, 204, 0.5);
}



/* FOOTER */
footer {
  background: url("https://st5.depositphotos.com/24151620/68783/i/450/depositphotos_687838334-stock-photo-natural-paradise-welcomes-vastogirardi-village.jpg") 
              no-repeat center/cover;
  margin-top: 3rem;
  padding-top: 2rem;
  position: relative;
  color: #fff;
}

/* Overlay for readability */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.8); 
  z-index: 0;
}

.footer-container,
.footer-bottom {
  position: relative;
  z-index: 1; /* text image ke upar dikhai de */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 2rem 0;
}

.footer-col h3, 
.footer-col h4 {
  color: #00ffcc;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col ul li a {
  color: #ccc;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #00ffcc;
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  color: #bbb;
}


/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  #bolg-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #007991;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  #bolg-container {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  #bolg-container {
    grid-template-columns: 1fr;
  }

  .blog-card {
    max-width: 100%;
  }
}
