/* ===========================
   Global Reset & Fonts
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 40px 50px;
  height: 60px;
}

/* Logo */
.logo img {
  height: 45px;
}

/* Menu */
.menu {
  margin: auto;
}

.menu a {
  margin: 0 14px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  /*background: #23988e;*/
  transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.menu a:hover,


.menu a.active {
  color: #23988e;
}




/* Menu link underline */
.menu a.active {
  border-bottom: 2px solid #23988e;
  display: inline-block; /* prevents full width underline */
  padding-bottom: 2px;
}

/* Arrow next to Home */
.menu a .arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when expanded */
.menu a.expanded .arrow {
  transform: rotate(180deg);
}

/* Mobile menu items hidden by default */
.menu-items {
  display: flex;
  gap: 25px;
}

@media (max-width: 768px) {
  .menu-items {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .menu-items.active {
    display: flex;
  }

  .menu a.active {
    border-bottom: 2px solid #23988e;
  }
}


/* ===========================
   HERO SECTION
=========================== */
.hero {
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: linear-gradient(-45deg, #000000, #23988e, #0f3f3c, #000000);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  position: relative;
  transition: background 1.5s ease-in-out;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* overlay for contrast */
}

@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Button */
.btn-primary {
  background: #23988e;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #1c6f68;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(35,152,142,0.4);
}

/* ===========================
   FEATURES / SERVICE CARDS
=========================== */
.features {
  max-width: 1200px;
  margin: 70px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.feature-box {
  background: #ffffff; /* white background for contrast */
  padding: 35px 30px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.feature-box h3 {
  color: #23988e; /* brand color */
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.feature-box p {
  color: #555; /* dark grey for readability */
  font-size: 15px;
  line-height: 1.6;
}

/* Card hover effect */
.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(35,152,142,0.3);
}

/* Optional: Add decorative top line on hover */
.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, #23988e, #1c6f68, #23988e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-box:hover::before {
  transform: scaleX(1);
}


/*=====================
card icon style
=======================*/

.feature-icon {
  width: 60px;
  margin-bottom: 15px;
}



/* ===========================
   FOOTER
=========================== */
footer {
  background: #0b0f11;
  color: #ccc;
  padding: 60px 20px;
}

footer h4 {
  color: #23988e;
  margin-bottom: 15px;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #23988e;
}

/* ===========================
   SCROLL REVEAL JS CLASS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .menu {
    display: none; /* Optional: Add mobile menu later */
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 18px;
  }
}




/* ===========================
   FOOTER
=========================== */
footer {
  background: linear-gradient(-45deg, #000000, #23988e, #0f3f3c, #000000);
  color: #fff;
  padding: 60px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 300px;
  min-width: 250px;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #000000;
}

/* Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

.contact-form button {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: #23988e;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #1c6f68;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35,152,142,0.4);
}

/* Success / Error Messages */
.success-msg {
  color: #0f3f3c;
  background: #d4f5f2;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
}

.error-msg {
  color: #fff;
  background: #e74c3c;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #ddd;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}




/* ===========================
   OUR BRAND MARQUEE (Dark Background, Reduced Height)
=========================== */
.our-brand {
  padding: 15px 10px; /* reduce top/bottom padding */
  text-align: center;
  overflow: hidden;
  background: #111111; /* solid dark background */
  position: relative;
  color: #fff;
}

.our-brand h2 {
  font-size: 24px; /* slightly smaller title */
  margin-bottom: 20px; /* less space below title */
  color: #ffffff;
}

.brand-marquee {
  overflow: hidden;
  position: relative;
}

.brand-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
}

.brand-track img {
  height: 40px; /* reduced height */
  object-fit: contain;
  filter: brightness(1.2) contrast(1.3); /* visibility on dark bg */
  transition: all 0.3s ease;
}

.brand-track img:hover {
  filter: brightness(1.5) contrast(1.4);
  transform: scale(1.1);
}

/* Scroll Animation */
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .brand-track {
    gap: 20px;
  }

  .brand-track img {
    height: 30px;
  }

  .our-brand h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
}
