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

/* Hero Section */
.hero {
  position: relative;
  height: 100vh; /* full screen height */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden; /* video বাইরে গেলে কাটবে */
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* video কে perfectly fit করবে */
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* ডার্ক শেড */
  z-index: -1;
}


/* Hero text content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero .btn {
  padding: 12px 25px;
  background: #2bb7b3;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #fff;
  color: #2bb7b3;
}


/* ============================= */
/* 📱 Responsive Design */
/* ============================= */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .top-bar {
    padding: 8px 20px;
    font-size: 13px;
  }

  .navbar {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    padding: 5px 15px;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
  }
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin: 60px 0 40px; /* 🔹 উপরে 60px gap, নিচে 40px gap */
  color: #333;
  position: relative;
}


.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #2bb7b3;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ✅ Service Section Grid */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 20px;
}

/* ✅ Card Style */
.card {
  background: #91eaea;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
}

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

.card.highlight {
  background: #2bb7b3;
  color: #fff;
}

.card h3 {
  margin: 15px 0;
  font-size: 20px;
  font-weight: bold;
}

.card p {
  font-size: 14px;
  color: #444;
}

.card.highlight p {
  color: #fff;
}

.icon {
  font-size: 28px;
}

/* ✅ Responsive Design */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 15px;
  }

  .card {
    padding: 25px 15px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 13px;
  }
}

/* Phone (max-width: 480px) */
@media (max-width: 480px) {
  .services {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px 10px;
  }

  .card {
    padding: 20px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 12px;
  }
}


/* Emergency Section */
.emergency {
  background: #20b2aa; /* teal background */
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.emergency .section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

/* Normal Text */
.emergency h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.emergency p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* Button */
.btn-outline {
  padding: 12px 25px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #20b2aa;
}

/* ============================= */
/* 📱 Responsive Design */
/* ============================= */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .emergency {
    padding: 60px 20px;  /* কম gap */
  }

  .emergency h2 {
    font-size: 26px;
  }

  .emergency p {
    font-size: 15px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .emergency {
    padding: 50px 15px;
  }

  .emergency h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .emergency p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-outline {
    padding: 10px 18px;
    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%;
  }
}
