/* =========================================================
   Colombo Diving and Marine Services (Pvt) Ltd
   Website Stylesheet - Professional Marine / Diving theme
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --navy: #051650;
  --navy-dark: #071b30;
  --navy-light: #123a5f;
  --red: #e53632;
  --red-dark: #c81f1b;
  --accent: #fe5a04;
  --accent-dark: #e04f03;
  --brand: #403F6F;
  --brand-dark: #3a3964;
  --white: #ffffff;
  --offwhite: #f5f7fa;
  --grey: #5a6b7b;
  --grey-light: #e8edf2;
  --border: #dfe5ec;
  --shadow: 0 6px 20px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 12px 34px rgba(10, 37, 64, 0.18);
  --font-display: 'Archivo Black', 'Archivo', Arial, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: #243446;
  line-height: 1.7;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 800;
}

.eyebrow,
.tag,
.stat-label,
.form-label,
.form-group label,
.footer-bottom,
.footer-bottom a,
.footer-find li,
.footer-links li,
.ticker,
.ticker a {
  font-family: var(--font-mono);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 70px 0;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--brand);
  color: #dcd9ef;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: #dcd9ef;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar svg {
  width: 14px;
  height: 14px;
  fill: var(--red);
}

/* ---------- Scrolling Ticker ---------- */
.ticker {
  background: #1a2a4a;
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ticker-inner {
  display: inline-flex;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-inner a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.ticker-inner a:hover {
  color: var(--red);
}

.ticker-sep {
  display: inline-block;
  margin: 0 24px;
  color: var(--red);
  font-weight: 400;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 150px;
  gap: 40px;
}

.site-header .container .main-nav {
  margin-left: auto;
}

.site-header .container .header-cta {
  margin-left: 20px;
}

/* Text Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-mark {
  width: auto;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.logo-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text {
  line-height: 1.15;
}

.logo-text strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
}

.logo-text strong span {
  color: var(--navy);
}

.logo-text small {
  display: block;
  font-size: 20px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > ul {
  display: flex;
  gap: 24px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 30px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.main-nav .caret {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
}

.main-nav > ul > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #2c3e50;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.dropdown li a:hover {
  color: var(--red);
  background: var(--offwhite);
  border-left-color: var(--red);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  line-height: 1.4;
  text-align: center;
}

.btn-red {
  background: var(--accent);
  color: var(--white);
}

.btn-red:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(254, 90, 4, 0.35);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
  border-radius: 4px;
}

.btn-sm svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.slide-contain {
  background-size: contain;
  background-color: var(--navy);
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 48, 0.85) 0%, rgba(10, 37, 64, 0.55) 55%, rgba(10, 37, 64, 0.2) 100%);
}

.slide .content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: var(--white);
}

.slide .content .kicker {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffb3b2;
  font-weight: 600;
  margin-bottom: 14px;
}

.slide .content h1,
.hero__title {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  max-width: 620px;
  margin-bottom: 18px;
}

.slide .content p,
.hero__lede {
  font-family: var(--font-body);
  font-size: 17px;
  max-width: 540px;
  color: #d5e0ec;
  margin-bottom: 28px;
}

/* Hero text entrance animation */
.slide.active .content > * {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.slide.active .content .kicker {
  animation-delay: 0.15s;
}

.slide.active .content h1 {
  animation-delay: 0.35s;
}

.slide.active .content p {
  animation-delay: 0.55s;
}

.slide.active .content .btn {
  animation-delay: 0.75s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide.active .content > * {
    animation: none;
    opacity: 1;
  }
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dots button.active {
  background: var(--red);
  border-color: var(--red);
}

/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(7, 27, 48, 0.35);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.hero-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

/* ---------- Section headings ---------- */
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.sec-head .kicker {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.sec-head p {
  color: #000000;
  font-size: 17px;
  font-family: var(--font-body);
  text-align: justify;
}

.sec-head.left {
  text-align: left;
  margin-left: 0;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 26px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #ff7a45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  pointer-events: none;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  background: var(--accent);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: var(--offwhite);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.svc-card:hover .svc-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.svc-icon svg {
  width: 38px;
  height: 38px;
  fill: var(--navy);
  transition: fill 0.3s;
}

.svc-card:hover .svc-icon svg {
  fill: var(--white);
}

.svc-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.svc-card p {
  font-size: 15px;
  color: #000000;
  margin-bottom: 18px;
}

.svc-card .view-more {
  color: var(--red);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-card .view-more svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.25s;
}

.svc-card .view-more:hover svg {
  transform: translateX(5px);
}

.svc-card:hover h3 {
  color: var(--white);
}

.svc-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.svc-card:hover .view-more {
  color: var(--white);
}

/* ---------- Main Services Tabs ---------- */
.main-services-tabs {
  padding: 80px 0;
  background: var(--offwhite);
}

.main-services-tabs h1,
.main-services-tabs h2,
.main-services-tabs h3,
.main-services-tabs h4,
.main-services-tabs h5,
.main-services-tabs h6 {
  font-family: var(--font-body);
}

.main-services-tabs .sec-head h2 {
  font-weight: 800;
}

.main-services-tabs .sec-head .kicker {
  font-family: var(--font-body);
  font-weight: 700;
}

.main-services-tabs .sec-head p {
  font-family: var(--font-body);
  font-size: 17px;
  color: #000000;
}

.tabs-wrap {
  margin-top: 10px;
}

.tab-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  border-bottom: none;
}

.tab-btn {
  flex: 1 1 0;
  padding: 16px 18px;
  border: 1px solid rgba(50, 82, 120, 0.18);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  border-bottom: 1px solid rgba(50, 82, 120, 0.18);
  transition: all 0.2s ease;
  text-align: center;
  word-break: break-word;
  line-height: 1.4;
}

.tab-btn:hover {
  color: var(--white);
  background: var(--accent);
  border-left-color: var(--accent);
  box-shadow: 0 12px 28px rgba(254, 90, 4, 0.25);
  transform: translateY(-4px);
}

.tab-btn.active {
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left-color: var(--red);
  border-bottom: 1px solid rgba(50, 82, 120, 0.18);
  position: relative;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  border-radius: 0 0 10px 10px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}

.tab-panel p {
  font-size: 15.5px;
  color: #4a5a6a;
  margin-bottom: 20px;
  line-height: 1.8;
}

.tab-panel ul {
  list-style: none;
  padding: 0;
}

.tab-panel ul li {
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: #4a5a6a;
  line-height: 1.7;
  position: relative;
}

.tab-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.tab-panel ul li strong {
  color: var(--navy);
}

.svc-desc-list {
  margin-top: 24px;
}

.svc-desc-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.svc-desc-item:last-child {
  border-bottom: none;
}

.svc-desc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.svc-desc-head h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin: 0;
}

.svc-desc-item h4 a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.svc-desc-item h4 a:hover {
  color: var(--red);
}

.svc-desc-item p {
  font-size: 15px;
  color: #4a5a6a;
  line-height: 1.8;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Vision / Mission ---------- */
.vision-mission {
  background: var(--navy);
  color: var(--white);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.vm-box {
  padding: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.vm-box h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.vm-box h3 span {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vm-box h3 svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.vm-box p {
  color: #c9d6e3;
  font-size: 15px;
  text-align: justify;
  line-height: 1.8;
}

/* ---------- About split ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-split .img-wrap {
  position: relative;
}

.about-split .img-wrap img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  height: 420px;
  width: 100%;
  object-fit: cover;
}

.about-split .img-wrap .badge {
  position: absolute;
  bottom: -22px;
  right: -16px;
  background: var(--red);
  color: var(--white);
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  line-height: 1.3;
}

.about-split .img-wrap .badge strong {
  font-size: 26px;
  font-weight: 800;
  display: block;
}

.about-split .img-wrap .badge span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.25;
}

.about-text h2 span {
  color: var(--red);
}

.about-text p {
  color: #000000;
  font-size: 15px;
  margin-bottom: 16px;
}

.about-text ul {
  margin: 18px 0 24px;
}

.about-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #000000;
}

.about-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: rgba(229, 54, 50, 0.12);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Stats ---------- */
.stats {
  background: url("../assets/images/slide-2.jpg") center/cover fixed;
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 48, 0.88);
}

.stats .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat h3 {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
}

.stat h3 span {
  color: var(--red);
}

.stat p {
  color: #b8c8d8;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Quote CTA ---------- */
.quote-cta {
  position: relative;
  background: url("../assets/images/quote-bg.jpg") center/cover;
}

.quote-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.92), rgba(10, 37, 64, 0.65));
}

.quote-cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.quote-cta h2 {
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
  max-width: 640px;
  line-height: 1.3;
}

.quote-cta p {
  color: #c9d6e3;
  margin-top: 8px;
  font-size: 15px;
}

/* ---------- Core values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.value-item {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s;
}

.value-item:hover {
  background: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-item .num {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--red);
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.value-item:hover .num {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.value-item h4 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.value-item p {
  font-size: 15px;
  color: #000000;
  transition: color 0.3s;
}

.value-item:hover h4,
.value-item:hover p {
  color: var(--white);
}

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  padding: 90px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 48, 0.82);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: var(--white);
  font-size: 40px;
  font-weight: 800;
}

.breadcrumb {
  color: var(--white);
  font-size: 14px;
  margin-top: 10px;
}

.breadcrumb a {
  color: var(--red);
}

.breadcrumb a:hover {
  color: #ff6b69;
}

/* ---------- General text blocks ---------- */
.text-block {
  max-width: 880px;
  margin: 0 auto;
}

.text-block p {
  color: #000000;
  font-size: 17px;
  margin-bottom: 16px;
  text-align: justify;
}

.text-block ul {
  margin: 18px 0 24px;
}

.text-block ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #000000;
}

.text-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}

.text-block h3 {
  color: var(--navy);
  font-size: 24px;
  margin: 34px 0 14px;
}

/* MD message */
.md-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.md-wrap .md-photo {
  text-align: center;
}

.md-avatar {
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 56px;
  border: 4px solid var(--red);
  box-shadow: var(--shadow);
}

.md-wrap h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 4px;
}

.md-wrap .role {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.md-wrap .md-body p {
  color: #000000;
  margin-bottom: 14px;
  font-size: 15px;
  text-align: justify;
}

.md-wrap .md-body p.sign {
  font-weight: 700;
  color: #000000;
  margin-bottom: 0;
}

/* ---------- Chairman Message ---------- */
.chairman-message {
  max-width: 800px;
  margin: 0 auto;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.chairman-message h2 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.chairman-message p {
  color: #000000;
  font-size: 15px;
  text-align: justify;
  margin-bottom: 14px;
}

.chairman-message p.signature {
  text-align: left;
  font-weight: 700;
  margin-bottom: 4px;
}

.chairman-message p.company-name {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  margin-top: 10px;
}

/* ---------- Detailed service list ---------- */
.service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 26px 28px;
  transition: all 0.3s;
}

.service-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  background: var(--accent);
  border-color: var(--accent);
}

.service-item h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.service-item:hover h3 {
  color: var(--white);
}

.service-item h3 span {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: rgba(229, 54, 50, 0.1);
  color: var(--red);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service-item:hover h3 span {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.service-item p {
  color: var(--grey);
  font-size: 14.5px;
  transition: color 0.3s;
}

.service-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* HSE list */
.hse-list {
  margin-top: 22px;
}

.hse-list li {
  position: relative;
  padding: 14px 20px 14px 52px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
}

.hse-list li::before {
  display: none;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

.contact-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s;
}

.contact-card:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.contact-card:hover .ic {
  background: var(--white);
}

.contact-card:hover .ic svg {
  fill: var(--accent);
}

.contact-card:hover h4,
.contact-card:hover p,
.contact-card:hover a {
  color: var(--white);
}

.contact-card .ic {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .ic svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.contact-card h4 {
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  font-size: 14px;
  color: #000000;
  display: block;
  margin-bottom: 2px;
}

.contact-card a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-form .sub {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: #000000;
  background: var(--white);
  background: var(--offwhite);
  transition: all 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #000000;
}

.form-success {
  display: none;
  background: #e7f7ee;
  border: 1px solid #9be0b6;
  color: #166534;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 18px;
}

.form-success.show {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1a2a4a;
  color: #c9d6e3;
  font-size: 14px;
}

.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-grid h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.footer-about p {
  color: var(--white);
  font-size: 13.5px;
  margin: 18px 0 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-logo .logo-mark {
  width: auto;
  height: 180px;
}

.footer-logo .logo-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
  padding-top: 10px;
}

.footer-logo .logo-text strong {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.footer-logo .logo-text strong span {
  color: var(--white);
}

.footer-logo .logo-text small {
  color: var(--white);
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.socials a svg {
  width: 17px;
  height: 17px;
  fill: #a0b4c8;
  transition: fill 0.25s;
}

.socials a:hover {
  background: var(--red);
  border-color: var(--red);
}

.socials a:hover svg {
  fill: var(--white);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: "›";
  color: var(--red);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-find li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 13.5px;
}

.footer-find li svg {
  width: 16px;
  height: 16px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-find li a {
  color: var(--white);
  transition: color 0.2s;
}

.footer-find li a:hover {
  color: var(--accent);
}

.footer-bottom {
  background: var(--white);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
}

.footer-bottom a {
  color: #ffb3b2;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 24px 30px;
    transition: right 0.35s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .main-nav > ul > li > a {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav > ul > li.open .dropdown {
    max-height: 600px;
  }

  .header-cta .btn {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 48, 0.5);
    z-index: 999;
    display: none;
  }

  .nav-overlay.show {
    display: block;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .slide .content h1 {
    font-size: 30px;
  }

  .slide .content p {
    font-size: 15px;
  }

  .hero {
    min-height: 460px;
  }

  .sec-head h2 {
    font-size: 26px;
  }

  .services-grid,
  .values-grid,
  .vm-grid,
  .about-split,
  .contact-grid,
  .service-detail,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-split .img-wrap .badge {
    right: 0;
  }

  .md-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .quote-cta .container {
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats .container {
    grid-template-columns: 1fr 1fr;
  }

  .stat h3 {
    font-size: 34px;
  }

  .page-banner {
    padding: 70px 0;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .top-bar {
    display: none;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .logo-mark {
    height: 44px;
  }

  .footer-logo .logo-mark {
    height: 40px;
  }

  .site-header .container {
    height: 75px;
    gap: 20px;
  }
}

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
}
