/* ====================================
   Variables & General Setups
==================================== */
:root {
  --primary-dark: #1b2032;
  --accent-yellow: #e6c125;
  --text-grey: #6c757d;
  --light-grey: #e9ecef;
  --bg-light: #fdfdfd;
}

/* Scroll smooth & Prevents Navbar/AOS from overlapping content */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--primary-dark);
  background-color: var(--bg-light);
}
/* Prevent Bootstrap row negative margins from causing horizontal scroll */
.row {
  margin-right: 0;
  margin-left: 0;
}
/* ====================================
   Custom Logo Design
==================================== */
.brand-logo img {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  text-decoration: none;
}

.footer img {
  width: 250px;
  height: 100%;
}
.footer .brand-logo {
  width: 180px;
  height: 100px;
  justify-content: flex-start;
}

/* ====================================
   Navbar Styling
==================================== */
.navbar {
  padding: 20px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), transparent);
  transition: all 0.3s ease;
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
}
.navbar-toggler-icon {
  filter: invert(1); /* makes the icon white */
}
.nav-link {
  color: #fff !important;
  font-weight: 300;
  margin: 0 15px;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-link:hover {
  color: var(--accent-yellow) !important;
}
#about,
#service,
#contact {
  scroll-margin-top: 100px;
}
/* ====================================
   Hero Section
==================================== */
.hero-section {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)),
    url("../images/1.webp") center/cover no-repeat;
  background-color: #2c3e50; /* Fallback color */
  display: flex;
  align-items: center;
}
.hero-title {
  color: #fff;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ====================================
   Typography & Shared Elements
==================================== */
.small-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-grey);
  display: block;
  margin-bottom: 15px;
}
.section-heading {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--primary-dark);
  line-height: 1.2;
}
.desc-text {
  color: var(--text-grey);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}
.section-divider {
  border: 0;
  border-top: 1px solid var(--text-grey);
  opacity: 0.2;
  margin: 0;
  width: 100%;
}

/* ====================================
   Interactive Menu Section
==================================== */
.service-list-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease-in-out;
}
.menu-item {
  font-size: 1.8rem;
  font-weight: 300;
  color: #999;
  margin: 0;
  padding: 20px 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.menu-item:hover,
.menu-item.active {
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--primary-dark);
  padding-bottom: 20px;
}
.list-divider {
  width: 100%;
  height: 1px;
  background-color: var(--light-grey);
  margin: 0;
}

/* ====================================
   Blue Economy Grid Cards
==================================== */
.btn-yellow {
  background-color: var(--accent-yellow);
  color: #000;
  border-radius: 50px;
  padding: 12px 35px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  transition: 0.3s;
  margin-top: 20px;
}
.btn-yellow:hover {
  background-color: #d1b020;
  transform: translateY(-2px);
}

.grid-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  margin-bottom: 30px;
}
.grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.grid-card:hover img {
  transform: scale(1.05);
}
.grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
}
.grid-overlay h5 {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

/* ====================================
   Feature Blocks & Pills
==================================== */
.feature-block {
  padding: 80px 0;
}
.feature-img {
  width: 100%;
  max-width: 380px;
  height: 550px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto;
  display: block;
}
.outline-pill {
  display: inline-block;
  border: 1px solid var(--text-grey);
  color: var(--text-grey);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 12px;
  font-weight: 400;
  transition: 0.3s;
}
.outline-pill:hover {
  background-color: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

/* ====================================
   Footer
==================================== */
.site-footer {
  border-top: 1px solid var(--light-grey);
  padding: 80px 0 30px;
}
.footer-col h6 {
  color: var(--accent-yellow);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.footer-col p {
  font-size: 0.85rem;
  color: var(--text-grey);
  line-height: 1.6;
}
.footer-bottom {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid var(--light-grey);
  font-size: 0.75rem;
  color: var(--text-grey);
}

/* ====================================
   Mobile & Tablet Responsiveness
==================================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--primary-dark);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
  }
  .nav-link {
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
  }
  .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .hero-title {
    font-size: 2.8rem;
  }
  .section-heading {
    font-size: 2.2rem;
  }
  .menu-item {
    font-size: 1.5rem;
  }
  .menu-item:hover,
  .menu-item.active {
    font-size: 2.2rem;
  }
  .service-list-img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .feature-block .text-start {
    text-align: center !important;
  }
  .feature-img {
    height: 400px;
    margin: 30px auto;
  }
  .mobile-pills-wrap {
    align-items: center !important;
    width: 100%;
  }
  .outline-pill {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  .btn-yellow {
    width: 100%;
    padding: 15px;
  }
}

/* WhatsApp Widget Styles */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);

  /* Centering Fixes */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;

  z-index: 9999;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  display: block; /* Removes any extra inline spacing */
  margin: 0;
  padding: 0;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .whatsapp-widget {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}
