/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  background: #f5f7fa;
  color: #333;
}

/* Floating marine background */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(0,70,160,0.4), transparent 40%),
              radial-gradient(circle at 80% 30%, rgba(220,30,30,0.3), transparent 50%),
              radial-gradient(circle at 50% 70%, rgba(0,150,100,0.4), transparent 50%);
  animation: floatBG 20s infinite alternate;
  z-index: -1;
}
@keyframes floatBG {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 30px 30px, -40px 20px, 20px -30px; }
}



/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}
.logo-img {
  height: 36px;
  width: auto;
  margin-right: 0;
  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 8px rgba(255, 255, 255, 0.95))
          drop-shadow(0 0 18px rgba(255, 255, 255, 0.8))
          drop-shadow(0 0 28px rgba(255, 255, 255, 0.6))
          drop-shadow(0 0 40px rgba(255, 255, 255, 0.45));
}



/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 25px;           /* spacing between links */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffcc00;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden by default on small screens */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #00334d;
    padding: 15px;
    border-radius: 8px;
  }

  .nav-links.show {
    display: flex; /* show when toggled */
  }

  .hamburger {
    display: flex; /* show hamburger */
  }
}

/* ===== External Links Section ===== */
.external-links {
  padding: 40px 20px;
  width: 100%;
}

.external-links h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #004466;
}

/* Force two equal columns */

.links-columns {
  display: flex !important;       /* override anything else */
  justify-content: center; /* push left & right apart */
  align-items: center; /*flex-start; */
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto; /* center horizontally */
}

/* Each column takes up 50% of row */

.links-column {
  flex: none; /* grow equally */
  width: 40%; /* instead of 50% each */
}
.links-column h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #0077b6;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

.links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-column ul li {
  margin-bottom: 12px;
}

.links-column ul li a {
  display: block;
  text-decoration: none;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 6px;
  color: #005580;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

.links-column ul li a:hover {
  background: #004466;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .links-columns {
    flex-direction: column; /* stack on small screens */
  }
    .links-column {
    flex: none;        /* disable flex-grow */
    width: 90%;       /* force same width */
    max-width: 100%;   /* prevent shrinking */
    align-items: center;
  }
}



/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;              /* full hero height */
  max-height: 600px;
  min-height: 400px;
  overflow: hidden;
  margin-top:-100;
  z-index:1;
  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering */
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(72, 70, 70, 0.5); /* dark overlay, adjust opacity */
  z-index: 1;
}

.header-span {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  color: #f5f1f1;
  letter-spacing: 0.5px;
}

.h2-alt {
  font-family: 'Nunito', sans-serif;   /* softer, modern look */
  font-weight: 700;                    /* slightly bolder */
  color: #f7f5f5;                      /* deeper tone */
  letter-spacing: 1px;                 /* more spacing */
  text-transform: uppercase;           /* makes it stand out */
  border-left: 4px solid #FFD700;      /* gold accent line */
  padding-left: 12px;                  /* spacing from accent */
  margin-bottom: 20px;
}

/* Background slideshow (optional) */
.slideshow { 
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slideshow img.active {
  opacity: 1;
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;               /* sits above slideshow */
  max-width: 900px;
  padding: 0 15px;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-content .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0077b6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.hero-content .btn:hover {
  background: #005f8c;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero { height: 65vh; max-height: 500px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
}
@media (max-width: 768px) {
  .hero { height: auto; padding: 40px 20px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { font-size: 0.85rem; }
}


/* Inner Pages Hero (Services, About, Contact) */
body.inner-page .hero {
  min-height: 250px;    /* shorter */
  height: auto;
  padding: 40px 20px;   /* less padding */
}
body.inner-page .hero h1 { font-size: 1.8rem; }
body.inner-page .hero p  { font-size: 1rem;  }

/* ===== CTA Buttons ===== */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 10px auto;
  padding: 6px 0;
  flex-wrap: wrap;  /* ✅ wrap gracefully if space is tight */
}

.cta-buttons .cta-btn {
  background: #0077b6;
  color: #fff;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.cta-buttons .cta-btn:hover {
  background: #f4a507;
  color: black;
}

/* Desktop / Large screens */
.nav-links {
  margin-left: auto;          /* pushes nav to right */
  display: flex;              /* ✅ always visible on large screens */
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: #fff;                /* ✅ visible against dark background */
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffd700;             /* gold highlight */
}

/* Mobile only */
@media (max-width: 768px) {
  .nav-links {
    display: none;            /* ✅ hide on mobile until toggled */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: min(260px, 85vw);
    padding: 15px;
    background: #004466;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    gap: 12px;
    z-index: 1100;
  }

  .nav-links.active {
    display: flex;            /* ✅ show when toggled */
  }
}

/* ===== About Page ===== */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 10px;
  line-height: 1.7;
}
.about-left { flex: 1; min-width: 300px; }
.about-left h2 { margin-bottom: 15px; color: #004466; }
.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 300px;
}
.about-right .card {
  background: #fff;
  border-left: 6px solid #0077b6;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.about-right .card:hover { transform: translateY(-5px); }
.about-right h3 { margin-bottom: 10px; color: #f4a507; }

/* Extra About Sections */
.about-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px auto;
  max-width: 1100px;
  padding: 20px;
}
.about-box {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.about-box:hover { transform: translateY(-5px); }
.about-box h2 { color: #004466; margin-bottom: 15px; font-size: 1.4rem; }
.about-box ul { list-style: none; }
.about-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.about-box ul li:last-child { border-bottom: none; }

/* Core Values */
.core-values { text-align: center; padding: 10px; max-width: 1200px; margin: auto; }
.core-values h2 { font-size: 2rem; margin-bottom: 10px; color: #00334d; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.value-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Navbar layout (logo left, links right) */


/* Page header (content below navbar) */
.page-header {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #004466, #0077aa);
  color: white;
}


/* Logo */
.navbar .logo,
.page-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
}

/* Nav Links */
/* ===== Navbar layout ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #004466;
  color: white;
  position: relative;
  z-index: 10;
}

/* Logo inside navbar */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar .logo img {
  height: 40px;
}
.navbar .logo span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

/* ===== Nav Links (Desktop default) ===== */
.nav-links {
  display: flex;             /* ✅ always inline on large screens */
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: white;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffd700;
}

/* ===== Hamburger (hidden on desktop) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Mobile Styles ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;            /* ✅ hidden by default */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    width: min(260px, 85vw);
    background: #00334d;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 1000;
    gap: 12px;
  }

  .nav-links.active {
    display: flex;            /* ✅ show when toggled */
  }

  .hamburger {
    display: flex;            /* ✅ show hamburger only on small screens */
  }
}

/* Page Header Titles */
.page-header h1 {
  font-size: 2rem;
  margin: 0;
}

.page-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 5px 0 0;
}

/* Social Links */
.page-header .social-links a {
  margin-left: 15px;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.page-header .social-links a:hover {
  color: #ffcc00;
}


/* ===== Contact Section ===== */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 50px 20px;
  gap: 30px;
}
.contact-card {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info {
  background: linear-gradient(135deg, #0077aa, #004466);
  color: white;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
}
.contact-info h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 5px;
}
.contact-info p {
  margin: 8px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info i { color: #ffcc00; }

.contact-form { flex: 1; display: flex; flex-direction: column; }
.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}
.contact-form button {
  background: #0077aa;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover { background: #005f88; }
.map { flex: 1; min-width: 300px; max-width: 600px; }
.map iframe {
  width: 100%; height: 100%;
  border: 0; min-height: 300px; border-radius: 10px;
}

/* ===== Service Grid Layout ===== */
.services-overview {
  padding: 30px 20px;
  background: #f8f9fa;
  text-align: center;
}
.services-overview h2 {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #003366;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}
.service-card {
  display:flex;
  flex-direction: column;
  height:100%;
  gap:20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: #fff;
  width:100%;
  align-items: center;
  max-width:300px;
  margin:auto;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.service-card i {
  font-size: 2.5rem;
  color: #0056b3;
  margin-bottom: 15px;
}
.service-card h2 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 10px;
}
.service-card h3 {
  font-size: 1.5rem;
  color: #0056b3;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}
/* Mobile (≤480px) - 2 per row */
@media (max-width: 480px) {
  .service-card {
    flex: 1 1 calc(50% - 15px);
    max-width: 200px;
    padding: 16px;
  }
}

/* Very small phones (≤360px) - full width */
@media (max-width: 360px) {
  .service-card {
    flex: 1 1 100%;       /* stack in one column */
    max-width: 90%;       /* reduce width so it fits */
    padding: 14px;
  }
}
/* ===== Footer ===== */
footer {
  background: #002233;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}


/* ===== Hamburger (hidden by default, mobile-only) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  margin-left: 12px;
  font-size: 24px;
  color: #333;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger span {
  transition: all 0.3s ease;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero { height: 65vh; max-height: 500px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
}
@media (max-width: 768px) {
  /* Show hamburger on mobile */
}
@media (max-width: 768px) {
  .hamburger { display: flex;  }
  .hero { height: auto; padding: 40px 20px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.9rem; }

  .cta-buttons .cta-btn {
    flex: 1 1 auto;
    max-width: 45%;   /* ✅ keeps them side by side (2 per row) */
  }
}
/* Small phones (≤480px) */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.3rem; }
  .hero-content p { font-size: 0.85rem; }
  .cta-buttons .cta-btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    max-width: 48%;   /* ✅ still side by side on small phones */
  }
}
/* Very small phones (≤360px) */
@media (max-width: 360px) {
  .cta-buttons {
    flex-direction: column;   /* stack vertically */
    align-items: center;
    gap: 10px;
  }
  .cta-buttons .cta-btn {
    max-width: 90%;          /* ✅ full width, but not touching edges */
    width: 100%;
  }
}
/* Nav Links (desktop) */
.nav-links {
  margin-left: auto;           /* ✅ pushes links to the right */
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  padding: 10px 20px;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: white;
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: #ffd700; }

  

  .cta-buttons {
    flex-direction: row;
    gap: 10px;
  }

  .links-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    padding: 2rem 1rem;
  }




/* ===== Why Choose Us (Glass-Style) ===== */
.why-choose-us {
  padding: 60px 20px;
  background: #f5f7fa;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #00334d;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}
.choose-card {
  background: rgba(255, 255, 255, 0.6);   /* more transparent */
  backdrop-filter: blur(12px);            /* stronger blur for glass effect */
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* softer shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}


.choose-card i {
  font-size: 2.5rem;
  color: #0077b6;
  margin-bottom: 15px;
}

.choose-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #f4a507;
}

.choose-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 480px) {
  .logo-img { height: 35px; }
  .logo span { font-size: 1rem; }
  .hero-content h1 { font-size: 1.4rem; margin-top: 60px;   /* pushes hero text down */ }
  .hero-content p { font-size: 0.95rem; margin-top: 60px;  }
}
/* Align form labels + inputs in one row (desktop) */
.form-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.form-row label {
  flex: 0 0 200px;       /* fixed label width */
  text-align: right;
  margin-bottom: 0;      /* remove default spacing */
}

.form-row .form-control,
.form-row input[type="file"],
.form-row select {
  flex: 1;               /* input stretches full width */
}

/* ===== Compact Form Styling only for CTA Section ===== */
.cta-section .card {
  padding: 1rem;                 /* reduce padding inside the card */
  border-radius: 10px;           /* slightly smaller rounding */
}

.cta-section h2 {
  font-size: 1.25rem;            /* smaller heading */
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cta-section .form-label {
  font-size: 0.8rem;             /* smaller label text */
  font-weight: 300;
}

.cta-section .form-control {
  font-size: 0.8rem;             /* smaller input text */
  padding: 5px 9px;              /* reduce input height */
  height: auto;
  border-radius: 5px;
}

.cta-section .btn {
  font-size: 0.85rem;            /* smaller button */
  padding: 7px 15px;
  border-radius: 5px;
}

/* Italicize all placeholders inside CTA forms */
.cta-section ::placeholder {
  font-style: italic;
  color: #6c757d;  /* Bootstrap's default placeholder gray */
}

/* On small screens, stack vertically */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .form-row label {
    text-align: left;
    flex: unset;
    margin-bottom: 0.3rem;
  }
}




.slideshow { 
  position: absolute;     /* ensures background slideshow covers hero */
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
/* Hero images */
.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  inset: 0;
}

.slideshow img.active {
  opacity: 1;
  z-index: 1;
}

/* ===== HERO (Base) ===== */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;              /* default height */
  max-height: 600px;
  min-height: 400px;
  overflow: hidden;

  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering */
  text-align: center;
}

/* ===== HERO Content ===== */
.hero-content {
  position: relative;
  z-index: 2;                /* always above slideshow */
  color: #fff;
  padding: 0 15px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-content .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0077b6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-content .btn:hover {
  background: #005f8c;
}

/* ===== CTA Buttons ===== */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;           /* ✅ wrap on small screens */
}

.cta-buttons .cta-btn {
  background: #0077b6;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-buttons .cta-btn:hover {
  background: #f4a507;
  color: #000;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Large tablets */
@media (max-width: 1024px) {
  .hero {
    height: 65vh;
    padding: 10px 5px;
    max-height: 500px;
  }
  .hero-content h1 { font-size: 2.2rem; color: #e8e7df; }
  .hero-content p { font-size: 1rem; }
}

/* Tablets */
@media (max-width: 768px) {
  
  /* Mobile nav menu (hidden by default) */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: min(260px, 90vw);
    padding: 15px;
    background: #222;   /* consistent dark background */
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    z-index: 1100;
    gap: 12px;
  }

  .nav-links a {
    color: #fff;
    padding: 10px 0;
    text-decoration: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    height: auto;             /* let content dictate height */
    padding: 10px 5px;
    min-height: unset;
  }
  .hero-content { margin-top: 40px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }

  .cta-buttons {
    flex-direction:column; gap: 8px; padding:10px; align-items:center;
  }
  
  .cta-buttons .cta-btn {
  background: #0077b6;
  color: #fff;
  padding: 3px 5px;
  
  font-size: 0.95rem;
  font-size: 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  padding: 8px 14px;   /* reduced horizontal + vertical padding */
  font-size: 0.95rem;  /* slightly smaller text */

  display: flex;              /* ✅ make button a flexbox */
  justify-content: center;    /* ✅ center text horizontally */
  align-items: center;        /* ✅ center text vertically */
  text-align: center;         /* ✅ extra safeguard */
}

/* Glassy Mobile CTA Buttons */
  .cta-btn {
    font-size: 14px;  
    padding: 10px 16px;
    width: 90%;               /* almost full-width but not edge-to-edge */
    border-radius: 10px;
    text-align: center;
    font-weight: 600;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;

    /* Subtle shadow */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

    /* Smooth transition */
    transition: all 0.3s ease;
  }

  /* Hover/Active Effect */
  .cta-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }

  .hero-content .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 6px;
  }


/* Phones */
@media (max-width: 480px) {
  .hero-content { margin-top: 60px; }
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { font-size: 0.85rem; }

  .cta-buttons {
    gap: 10px;
  }
  .cta-buttons .cta-btn {
    font-size: 0.8rem;
    padding: 8px 14px;
    text-align: center;
    max-width: 48%;           /* ✅ side by side on phones */
  }

  .hero-content .btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
  .hero-content h1 { font-size: 1.3rem; }
  .hero-content p { font-size: 0.85rem; }

  .cta-buttons .cta-btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    max-width: 230px;
  }
}
}