/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Top bar */
.top-bar {
  background: #f2eae2;
  color: rgb(19, 16, 16);
  display: flex;
  justify-content: space-between;
  padding: 8px 50px;
  font-size: 14px;
  flex-wrap: wrap;
  text-align: center;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #009688;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn {
  background: #009688;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #00796b;
}
/* ✅ Responsive Navbar */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column; /* সব নিচে নিচে যাবে */
    text-align: center;
    padding: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
  }

  .btn {
    margin-top: 15px;
  }
}

/* About Section */
.about {
  padding: 80px 5%;
  background: #e6e4e4;
  width: 100%;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* Desktop এ 3 কলাম */
  align-items: center;
  gap: 40px;
}

/* Left Video */
.about-video video {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
}

/* Middle Content */
.about-content {
  text-align: center;
  padding: 20px;
}

.section-title {
  font-size: 22px;
  color: #0ea5e9;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.about-content h2 {
  font-size: 36px; /* বড় */
  font-weight: 800;
  margin-bottom: 20px;
  color: #0f172a;
}

.about-content p {
  color: #444;
  line-height: 1.8;
  font-size: 18px; /* লেখার সাইজ বড় */
  margin-bottom: 30px;
}

/* Features */
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-box {
  background: #f9fafb;
  padding: 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.05);
}

.feature-box span {
  color: #0ea5e9;
  font-weight: 700;
}

.feature-box:hover {
  background: #0ea5e9;
  color: #fff;
  transform: translateY(-5px);
}

.feature-box:hover span {
  color: #fff;
}

/* Right Image */
.about-img img {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
}

/* ✅ Responsive Styles */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr; /* এক কলাম */
  }
  .about-content {
    order: -1; /* লেখাটা ওপরে আসবে */
  }
  .about-video video,
  .about-img img {
    height: 300px;
  }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .about {
    padding: 50px 20px;
  }
  .about-content h2 {
    font-size: 26px; /* মোবাইলে ছোট */
  }
  .about-content p {
    font-size: 16px;
  }
  .about-features {
    grid-template-columns: 1fr; /* মোবাইলে 1 কলাম */
  }
  .feature-box {
    font-size: 16px;
    padding: 15px;
  }
  .about-video video,
  .about-img img {
    height: 220px;
  }
}
/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 80px 0 40px 0;  /* ⬅️ উপরে বেশি gap */
  color: #1e3a8a;
  text-transform: uppercase;
}

/* Blog Container */
.blog-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* ⬅️ সবসময় ৪টা কলাম */
  gap: 25px;
  max-width: 1400px;   /* ⬅️ এক লাইনে ফিট হবে */
  margin: 0 auto;
  padding: 0 20px;
}


/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.blog-content {
  padding: 20px;
}

.blog-content .category {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  color: #2563eb;
  margin-right: 10px;
}

.blog-content .category.lifestyle {
  color: #16a34a; /* green for lifestyle */
}

.blog-content .date {
  font-size: 0.8rem;
  color: #6b7280;
}

.blog-content h3 {
  margin: 15px 0;
  font-size: 1.1rem;
  color: #111827;
}

.blog-content a {
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.blog-content a:hover {
  text-decoration: underline;
}

/* ✅ Responsive Design */

/* Tablets */
@media (max-width: 992px) {
  .section-title {
    font-size: 1.8rem;
  }
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phones */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.5rem;
  }
  .blog-container {
    grid-template-columns: 1fr;
  }
  .blog-card img {
    height: 180px;
  }
}


/* Footer */
.footer {
  background: #98d0eb;
  padding: 50px 20px 20px;
  color: #444;
  font-family: Arial, sans-serif;
  margin-top: 60px;  /* 🔥 উপরের gap */
}


.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer h3, .footer h4 {
  font-weight: bold;
  margin-bottom: 15px;
  color: #222;
}

.footer p {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
  padding: 0;
}

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

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

.footer ul li a:hover {
  color: #00bcd4;
}

/* Newsletter */
.newsletter {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  padding: 10px;
  border: 1px solid #ccc;
  flex: 1;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.newsletter button {
  padding: 10px 20px;
  border: none;
  background: #00bcd4;
  color: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter button:hover {
  background: #008c9e;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 14px;
}

.footer-bottom a {
  color: #00bcd4;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .newsletter {
    flex-direction: column;
  }

  .newsletter input {
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .newsletter button {
    border-radius: 4px;
    width: 100%;
  }
}

