/* ===================== Root Variables ===================== */
:root {
  --dark-blue: #0b1f3a;
  --red: #e53935;
  --white: #ffffff;
  --yellow: #ffc107;
  --gray-bg: #f5f6f9;
  --text-muted: #5c6577;
}

* {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-blue);
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-heading {
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 18px;
}

.section-text {
  color: var(--text-muted);
  max-width: 700px;
  font-size: 1.05rem;
}

/* ===================== Navbar ===================== */
.main-navbar {
  background: var(--dark-blue);
  padding: 12px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.logo-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  /* border: 2px solid var(--yellow); */
}

.brand-text {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
}

.main-navbar .nav-link {
  color: #e7ebf3;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color 0.25s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
  color: var(--yellow);
}

.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

.main-navbar .nav-link:hover::after {
  width: 100%;
}

/* ===================== Hero Section ===================== */
.hero-section {
  width: 100%;
  line-height: 0;
  margin-top: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-features-strip {
  background: var(--dark-blue);
  padding: 30px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 22px 10px;
  text-align: center;
  height: 100%;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(229, 57, 53, 0.25);
}

.feature-card i {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 10px;
  display: block;
}

.feature-card p {
  color: var(--white);
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}

/* ===================== About ===================== */
.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: 10px;
  background: var(--red);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(229, 57, 53, 0.35);
  max-width: calc(100% - 20px);
}

@media (min-width: 992px) {
  .about-badge {
    bottom: -20px;
    right: -20px;
    padding: 18px 22px;
  }
}

.about-badge i {
  font-size: 1.8rem;
  color: var(--yellow);
}
.about-badge strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
}
.about-badge span {
  font-size: 0.8rem;
}

.highlight-item {
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.highlight-item:hover {
  background: #ffece9;
  transform: translateX(4px);
}

.highlight-item i {
  color: var(--red);
  margin-right: 8px;
}

/* ===================== Services ===================== */
.services-section {
  background: var(--gray-bg);
}

.service-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(11, 31, 58, 0.08);
  height: 100%;
  padding-bottom: 24px;
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 35px rgba(11, 31, 58, 0.18);
}

.service-img {
  height: 170px;
  background-size: cover;
  background-position: center;
  border-radius: 18px 18px 0 0;
}

.service-icon {
  width: 62px;
  height: 62px;
  background: var(--dark-blue);
  color: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: -31px auto 14px;
  border: 4px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--red);
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0 18px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 18px;
  min-height: 60px;
}

.service-btn {
  background: var(--red);
  color: var(--white);
  border-radius: 30px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.service-btn:hover {
  background: var(--dark-blue);
  color: var(--yellow);
  transform: scale(1.05);
}

/* ===================== Why Choose Us ===================== */
.why-us-section {
  background: var(--white);
}

.why-card {
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 32px 26px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  border: 1px solid transparent;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(11, 31, 58, 0.12);
  background: var(--white);
  border-color: #eee;
}

.why-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.why-card h5 {
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
}

/* ===================== Gallery ===================== */
.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===================== Emergency Banner ===================== */
.emergency-banner {
  background-size: cover;
  background-position: center;
}

.emergency-icon {
  font-size: 3rem;
  color: var(--yellow);
  margin-bottom: 15px;
  display: block;
}

.emergency-banner h2 {
  font-weight: 800;
  font-size: 2.3rem;
}
.emergency-banner p {
  font-size: 1.15rem;
  color: #f1f1f1;
  margin-top: 8px;
}
.emergency-banner .btn-lg {
  border-radius: 30px;
}

/* ===================== Contact ===================== */
.contact-info-card {
  display: flex;
  gap: 16px;
  background: var(--gray-bg);
  padding: 18px 20px;
  border-radius: 14px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.contact-info-card:hover {
  background: #ffece9;
  transform: translateX(4px);
}

.contact-info-card i {
  font-size: 1.4rem;
  color: var(--red);
  margin-top: 3px;
}

.contact-info-card h6 {
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.contact-info-card a {
  color: var(--text-muted);
}
.contact-info-card a:hover {
  color: var(--red);
}

.contact-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(11, 31, 58, 0.1);
  border: 1px solid #eee;
  line-height: 0;
  height: 100%;
  min-height: 450px;
}

/* ===================== Footer ===================== */
.footer {
  background: var(--dark-blue);
  color: #cfd6e4;
  padding: 60px 0 25px;
}

.footer-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #cfd6e4;
}
.footer-links a {
  color: #cfd6e4;
  transition: color 0.25s ease;
}
.footer-links a:hover {
  color: var(--yellow);
}

.text-light-50 {
  color: #b6bdcc;
  font-size: 0.92rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 30px 0 20px;
}

.copyright {
  font-size: 0.88rem;
  color: #a9b0c1;
}

/* ===================== Floating Buttons ===================== */
.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: 30px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fab-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: none;
  transition: transform 0.25s ease;
}

.fab-btn:hover {
  transform: scale(1.12);
  color: var(--white);
}

.fab-call {
  background: var(--red);
  animation: pulse-call 2s infinite;
}
.fab-whatsapp {
  background: #25d366;
}
.fab-top {
  background: var(--dark-blue);
  opacity: 0;
  visibility: hidden;
}
.fab-top.show {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse-call {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(229, 57, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}

/* ===================== Mobile Bottom Bar ===================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-blue);
  display: flex;
  z-index: 1100;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-bottom-bar a {
  flex: 1;
  text-align: center;
  color: var(--white);
  padding: 10px 5px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-bar a:last-child {
  border-right: none;
}
.mobile-bottom-bar a i {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 3px;
  color: var(--yellow);
}
.mobile-bottom-bar a:nth-child(1) i {
  color: var(--red);
}
.mobile-bottom-bar a:nth-child(2) i {
  color: #25d366;
}

body {
  padding-bottom: 0;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 62px;
  }
  .floating-buttons {
    right: 14px;
    bottom: 78px;
  }
  .section-padding {
    padding: 60px 0;
  }
}
