/* 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;
  }
}



/* Reset */

/* Section wrapper */
.section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Intro part */
.intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1c2e4a;
}

.divider {
  width: 50px;
  height: 4px;
  background: #e63946;
  margin: 12px auto;
  border-radius: 2px;
}

.lead {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  padding-bottom: 20px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: #1c2e4a;
}

.card p {
  font-size: 14px;
  color: #6c757d;
  margin: 0 20px 15px;
  line-height: 1.6;
}

.card .learn {
  margin-left: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1c2e4a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.card .learn:hover {
  color: #e63946;
}

/* Responsive */
/* Tablet */
@media (max-width: 992px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone */
@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }

  .intro h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 14px;
  }
}






















/* 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%;
  }
}
