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


/* Services Hero Section */
.services-hero {
  position: relative;
  height: 350px; /* চাইলে height পরিবর্তন করো */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.services-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ইমেজ স্কেল হয়ে পুরো section cover করবে */
  z-index: 0;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(137, 173, 234, 0.8); /* নীল overlay */
  z-index: 1;
}

.services-hero .overlay {
  position: relative;
  z-index: 2;
  color: #fff;
}

.services-hero .subtitle {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 400;
  opacity: 0.9;
}

.services-hero .title {
  font-size: 42px;
  font-weight: 700;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #072b68;
}

/* Services Grid */
.services-grid {
  padding: 60px 0;
  background: #fff;
}

.services-grid .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

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

.card:hover {
  transform: translateY(-8px);
}

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

.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #072b68;
  margin: 15px;
}

.card p {
  font-size: 15px;
  color: #555;
  margin: 0 15px 20px;
  line-height: 1.5;
}

/* Next Section with Background Video */
.next-section {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.next-section .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.next-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 50, 100, 0.5); /* Dark blue transparent overlay */
  z-index: 2;
}

.next-section .content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.next-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.next-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

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

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

  .card img {
    height: 180px;
  }

  .section-title {
    font-size: 28px;
  }

  .next-section h2 {
    font-size: 26px;
  }

  .next-section p {
    font-size: 16px;
  }
}






















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