/* ===========================
   Global Reset & Typography
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  color: #fff;
  background: linear-gradient(135deg, #001f3f, #003366, #004080);
  overflow-x: hidden;
  position: relative;
}

/* Marine floating effect background */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 128, 255, 0.25) 20%, transparent 70%),
              radial-gradient(circle, rgba(0, 200, 255, 0.2) 25%, transparent 70%),
              radial-gradient(circle, rgba(0, 100, 200, 0.15) 30%, transparent 80%);
  animation: floatBg 60s linear infinite;
  z-index: 0;
}

@keyframes floatBg {
  from { transform: rotate(0deg) translate(0, 0); }
  to   { transform: rotate(360deg) translate(0, 0); }
}

/* ===========================
   Navbar
=========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
  border-radius: 0 0 12px 12px;
}

/* Navbar Logo Section */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 14px rgba(255, 255, 255, 0.7))
          drop-shadow(0 0 22px rgba(255, 255, 255, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1))
          drop-shadow(0 0 20px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 30px rgba(255, 255, 255, 0.7));
}

.brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
}

.navbar .brand {
  margin-left: 0.6rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}

/* Dropdown base */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 20;
}

.navbar .dropdown-content li a {
  display: block;
  padding: 0.7rem 1rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar .dropdown-content li a:hover {
  background: rgba(0, 195, 255, 0.3);
  color: #00c3ff;
}

.navbar .dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .dropdown-content {
    position: static;
    display: none;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar .nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #00c3ff;
}

/* ===========================
   Hero Slideshow
=========================== */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  z-index: 1;
}

.slideshow img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  opacity: 0;
  padding-top: 20;
  transition: opacity 1s ease-in-out;
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 1.5rem 2rem;
  color: #fff;
  text-align: center;
  background: rgba(138, 136, 136, 0.45);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
}

/* ===========================
   Main Content (Glass Cards)
=========================== */
main.service-details {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  max-width: 1100px;
  margin: 3rem auto;
}

main.service-details h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #f5f2f2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

main.service-details p {
  color: #f5f3f3;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

main.service-details ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

main.service-details ul li {
  margin-bottom: 0.6rem;
  color: #faf7f7;
}

/* ===== Features Section (2-column) ===== */
.features {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 2rem;
}

.features-list h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #002b45;
}

.features-list ul {
  list-style: none;
  padding-left:10;
}

.features-list li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
  position: relative;
  color: #111;
}

/* ===========================
   Consult Promo Card
=========================== */
/* ===========================
   Features Section Layout
=========================== */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  margin: 2rem 0;
}

.features-list {
  flex: 1;
  min-width: 280px;
}

.features-list h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #111;
}

.features-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list ul li {
  margin: 0.7rem 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #333;
  display: flex;
  align-items: center;
}

/* .features-list ul li::before {
  content: "✔️";
  margin-right: 0.6rem;
  color: #0077b6;
} */

/* ===========================
   Safety Box Styling
=========================== */
.consult-safety-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  padding: 1.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  max-width: 85%;
  margin: 1.5rem auto 0 auto;
  /* 🚫 no overflow hidden */
}

.consult-safety-box img {
  width: 120px;   /* ✅ very small initial size */
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.25),
    0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.consult-safety-box img:hover {
  transform: scale(2.5);   /* ✅ zooms outside container */
  z-index: 10;             /* ✅ makes sure it floats above */
  box-shadow: 
    0 15px 30px rgba(0,0,0,0.4),
    0 25px 50px rgba(0,0,0,0.3);
}



.consult-safety-box span {
  font-size: 25px;
  text-align: center;
  line-height: 1.3;
}

/* ===========================
   Consult Promo Card (dark)
=========================== */
.consult-promo-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: #1e293b; /* dark accent background */
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  color: #f1f1f1; /* default light text */
}

/* Promo image */
.consult-promo-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.2rem;
}

/* Heading */
.consult-promo-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff; /* light accent */
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Paragraph */
.consult-promo-card p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e5e5e5; /* lighter gray for readability */
  margin-bottom: 2rem;
  padding: 0 0.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* CTA Button */
.consult-promo-card .btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #f44336; /* safety red for contrast */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.consult-promo-card .btn:hover {
  background: #c62828; /* darker red */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}


/* ===========================
   Promo Card (Default)
=========================== */
.promo-card {
  flex:1;
  display:flex;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #f1f1f1; /* default light text */
}

.promo-card .promo-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.promo-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #002b45;
}

.promo-card p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.promo-card .btn {
  display: inline-block;
  background: #0077b6;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.promo-card .btn:hover {
  background: #004c70;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 160px;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #0066cc, #004080);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #004080, #003060);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 64, 128, 0.4);
}

/* Secondary Button */
.btn-secondary {
  background: #f4f4f4;
  color: #333;
  border: 2px solid #0066cc;
}

.btn-secondary:hover {
  background: #0066cc;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 64, 128, 0.3);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* ===========================
   Vessel Image & Animations
=========================== */
.vessel-image {
  text-align: center;
  margin-top: 10px;
}

.vessel-image img {
  max-width: 40%;
  height: auto;
  border-radius: 0;
  filter: drop-shadow(0 6px 10px rgba(255, 255, 255, 0.9));
  animation: floatVessel 6s ease-in-out infinite;
}

.marine-consumables img {
  max-width: 60%;
  height: auto;
  border-radius: 0;
  filter: drop-shadow(0 6px 10px rgba(255, 255, 255, 0.9));
  animation: floatVessel 6s ease-in-out infinite;
}

@keyframes floatVessel {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   CTA Section
=========================== */
.cta {
  margin-top: 2rem;
  text-align: center;
}

.cta .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 25px;
  border: none;
  background: rgba(0, 195, 255, 0.8);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta .btn:hover {
  background: rgba(0, 195, 255, 1);
  transform: translateY(-3px);
}

/* ===========================
   Footer
=========================== */
footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ccc;
  font-size: 0.9rem;
  margin-top: 2rem;
  border-radius: 12px 12px 0 0;
}
