:root {
  --brand-blue: #0b4f8a;
  --brand-blue-dark: #08375f;
  --brand-gray: #1f2933;
  --brand-gray-light: #f3f5f7;
  --brand-white: #ffffff;
  --accent: #0d7bdc;
  --text: #1d2430;
  --muted: #5b6773;
  --shadow: 0 10px 30px rgba(8, 16, 24, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 60%, #ffffff 100%);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.top-bar {
  background: var(--brand-gray);
  color: #e7edf3;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.header {
  position: sticky;
  top: 0;
  background: var(--brand-white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo .brand-name {
  font-weight: 700;
  color: var(--brand-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
}

.nav-links > li {
  list-style: none;
  position: relative;
}

.nav-links a {
  color: var(--brand-gray);
  font-size: 0.98rem;
}

.service-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-menu-toggle::after {
  content: "\25BE";
  font-size: 0.7rem;
  margin-top: 2px;
}

.nav-links a:hover {
  color: var(--brand-blue);
}

.cta-btn {
  background: var(--brand-blue);
  color: var(--brand-white);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 20px rgba(11, 79, 138, 0.25);
  border: none;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  background: var(--brand-white);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
  width: min(560px, 92vw);
  min-width: 260px;
  border: 1px solid #e2e8f0;
}

/* Click-only dropdown: open state controls visibility */
.nav-links li.open .mega-menu {
  display: grid;
}

.mega-menu {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 18px;
}

.mega-menu h4 {
  color: var(--brand-blue);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.mega-menu p {
  color: var(--muted);
  font-size: 0.9rem;
}

.mega-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.mega-menu a:hover {
  background: #f2f6fb;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  min-height: 520px;
  display: none;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  display: flex;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(8, 30, 54, 0.85) 0%, rgba(8, 30, 54, 0.4) 65%, rgba(8, 30, 54, 0.1) 100%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  color: var(--brand-white);
  max-width: 540px;
  padding: 80px 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 20px;
}

.hero-content p {
  margin-bottom: 28px;
  color: #dfe7ef;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  color: var(--brand-gray);
}

.section-title p {
  color: var(--muted);
  margin-top: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--brand-white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.card svg {
  width: 38px;
  height: 38px;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-embed {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--brand-white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid #e7edf3;
  transition: border 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-6px);
}

.service-card svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.marquee {
  background: var(--brand-gray-light);
  padding: 24px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 18s linear infinite;
  align-items: center;
}

.marquee img {
  height: 44px;
  filter: grayscale(100%);
  opacity: 0.8;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer {
  background: var(--brand-gray);
  color: #e5edf5;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}

.footer h4 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.footer a {
  color: #c7d2dd;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 237, 245, 0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

.enquiry-tab {
  position: fixed;
  right: 16px;
  top: 40%;
  background: var(--brand-blue);
  color: var(--brand-white);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 12px 25px rgba(11, 79, 138, 0.25);
}

.enquiry-panel {
  position: fixed;
  right: 16px;
  top: 20%;
  width: 320px;
  background: var(--brand-white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  color: var(--brand-white);
  font-weight: 600;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.22);
}

.float-btn.call {
  background: var(--brand-blue);
}

.float-btn.whatsapp {
  background: #128c7e;
}

.float-btn svg {
  width: 18px;
  height: 18px;
}

.enquiry-panel.open {
  transform: translateX(0);
}

.enquiry-panel h3 {
  margin-bottom: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

input, textarea, select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d6dee8;
  font-family: inherit;
}

button.submit-btn {
  background: var(--brand-blue);
  color: var(--brand-white);
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  background: linear-gradient(120deg, rgba(11, 79, 138, 0.85), rgba(8, 55, 95, 0.85)), url("https://images.unsplash.com/photo-1522075469751-3a6694fb2f61?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: var(--brand-white);
  padding: 90px 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-white);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .mega-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 12px 0 0;
    border: none;
    grid-template-columns: 1fr;
  }

  .nav-links li:hover .mega-menu {
    display: none;
  }

  .nav-links li.open .mega-menu {
    display: grid;
  }
}

@media (max-width: 700px) {
  .hero-content {
    padding: 60px 0;
  }

  .enquiry-panel {
    right: 10px;
    width: 92%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
