/* === CSS RESET & BASE === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background-color: #FFF;
  color: #2b2c30;
  min-height: 100vh;
  font-size: 16px;
}
img,
picture,
video,
canvas,
svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #174962;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #41A8C6;
}
ul, ol {
  margin: 0 0 16px 20px;
}
li { margin-bottom: 10px; }
strong { font-weight: bold; }

/* =========== BRAND COLORS =========== */
:root {
  --color-primary: #174962;
  --color-secondary: #41A8C6;
  --color-accent: #EAF2F7;
  --color-warm-1: #FFE7D0;
  --color-warm-2: #FFBC7A;
  --color-warm-3: #FFD7A8;
  --color-shadow: rgba(30,37,40,0.08);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #174962;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}
h1 {font-size: 2.5rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.45rem;}
h4 {font-size: 1.15rem;}
p, ul, ol, li, blockquote {
  font-family: var(--font-body);
  color: #363949;
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.3rem;}
  h3 {font-size: 1.1rem;}
}

/* ========== LAYOUT: CONTAINER & SECTIONS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: var(--color-accent);
  box-shadow: 0 6px 32px var(--color-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: #FFF8F2;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 24px;
  gap: 16px;
}
.next-steps-info ul {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .section, .text-section {
    padding: 24px 8px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(120deg, #FFE7D0 55%, #EAF2F7 100%);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 4px 28px var(--color-shadow);
  margin-bottom: 40px;
  padding: 48px 0 36px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: center;
  text-align: center;
}

/* ========= FLEXBOX PATTERNS AND CARDS ========= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px 0 #FFD7A8;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF8F2;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: 1.5px solid #FFD7A8;
  max-width: 520px;
  min-width: 220px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #322e29;
}
.testimonial-card span {
  color: #6D4C29;
  font-family: var(--font-body);
  font-size: 0.97rem;
  margin-bottom: 4px;
  margin-top: -10px;
}
.star-ratings {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 0;
}

/* Feature, Team, Grid Layouts (Flex) */
.feature-grid, .service-highlights-grid, .team-bios-grid, .tour-options-grid, .industry-grid-list, .capacity-specs-grid, .contact-details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.feature-item, .service-item, .team-member, .tour-option, .industry-grid-list > div, .capacity-specs-grid > div, .contact-details-grid > div {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px var(--color-shadow);
  padding: 22px 17px;
  flex: 1 1 250px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}
.feature-item h3, .service-item h3, .team-member h3 {
  margin-bottom: 6px;
}
.feature-item:hover, .service-item:hover, .team-member:hover {
  box-shadow: 0 6px 18px 0 #FFD7A8;
  transform: translateY(-4px);
}
@media (max-width: 900px) {
  .feature-grid, .service-highlights-grid, .team-bios-grid, .tour-options-grid, .industry-grid-list, .capacity-specs-grid, .contact-details-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-highlights-grid, .team-bios-grid, .tour-options-grid, .industry-grid-list, .capacity-specs-grid, .contact-details-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .service-item, .team-member, .industry-grid-list > div, .capacity-specs-grid > div, .contact-details-grid > div {
    min-width: 100%;
  }
}

/* ========== MAIN NAV & HEADER ========== */
header {
  background: #fff;
  padding: 0 0 2px 0;
  border-bottom: 1px solid #EEE;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 18px 0;
  justify-content: flex-start;
}
.main-nav a {
  color: #174962;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta.primary {
  background: #FFBC7A;
  color: #184053;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 24px;
  margin-left: 8px;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.15s, transform 0.15s;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #FFD7A8;
  color: #174962;
  transform: translateY(-2px);
}

.main-nav a:hover, .main-nav a:focus {
  background: #FFE7D0;
  color: #41A8C6;
}
.main-nav img[alt='Sazia Accam Marine'] {
  width: 155px;
  height: auto;
  margin-right: 16px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .main-nav a {
    font-size: 0.98rem;
  }
  .main-nav img[alt='Sazia Accam Marine'] {
    width: 120px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 0.7rem;
    padding: 10px 0;
  }
}

/* HIDE NAVIGATION ON MOBILE, SHOW HAMBURGER */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #174962;
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 105;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s;
  width: 46px;
  height: 46px;
  padding: 0;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFE7D0;
}

@media (max-width: 900px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 380px;
  height: 100vh;
  background: #FFF8F2;
  box-shadow: -12px 0 60px 0 rgba(30,37,40,0.20);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.5,1.85,.4,1.01);
  display: flex;
  flex-direction: column;
  padding: 38px 26px 24px 34px;
  gap: 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #174962;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 2050;
  border-radius: 10px;
  cursor: pointer;
  padding: 4px 16px;
  line-height: 1;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE7D0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #174962;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 9px 12px;
  transition: background 0.15s, color 0.13s;
  margin-bottom: 2px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD7A8;
  color: #184053;
}
@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========== FOOTER ========== */
footer {
  background: #174962;
  color: #fff;
  padding: 0 0 18px 0;
  border-radius: 20px 20px 0 0;
  margin-top: 50px;
  box-shadow: 0 -3px 18px var(--color-shadow);
}
footer .container {
  padding-top: 38px;
  padding-bottom: 12px;
}
footer .content-wrapper {
  gap: 10px;
  align-items: flex-start;
}
.footer-nav, .footer-nav a {
  display: flex;
  gap: 18px;
  color: #FFD7A8;
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 1.03rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.contact-details {
  color: #fff8f2;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}
.contact-details img {
  vertical-align: middle;
  margin-right: 4px;
  width: 18px;
  height: 18px;
}
footer .brand-credit {
  color: #FFD7A8;
  font-size: 0.93rem;
  margin-top: 14px;
  font-family: var(--font-body);
}

@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .content-wrapper {
    align-items: flex-start;
  }
}

/* ====== BUTTONS & CTAs ====== */
.cta {
  display: inline-block;
  border: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 28px;
  background: #41A8C6;
  color: #fff;
  padding: 12px 32px;
  box-shadow: 0 2px 12px var(--color-shadow);
  cursor: pointer;
  text-align: center;
  margin-top: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.11s;
}
.cta.primary {
  background: #FFBC7A;
  color: #174962;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FFD7A8;
  color: #174962;
  transform: translateY(-2.5px) scale(1.02);
}
.cta:active {
  background: #FFD7A8;
  color: #184053;
}

/* Generic Buttons in Cookie Banner/Modal */
.button, .cookie-btn {
  border: none;
  border-radius: 24px;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  background: #FFBC7A;
  color: #174962;
  margin-right: 12px;
  font-weight: 600;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.16s, color 0.12s, box-shadow 0.14s;
}
.button:hover, .button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #FFD7A8;
  color: #184053;
  box-shadow: 0 2px 16px 0 #FFD7A8;
}
.button.secondary, .cookie-btn.secondary {
  background: #fff;
  color: #174962;
  border: 1.5px solid #FFBC7A;
}
.button.secondary:hover, .cookie-btn.secondary:hover {
  background: #FFE7D0;
  color: #174962;
}
.button.danger, .cookie-btn.danger {
  background: #FFD5D0;
  color: #73271d;
}
.button.danger:hover {
  background: #FFAFA0;
}

/* FORM ELEMENTS (future extensibility) */
input, textarea, select {
  font-family: var(--font-body);
  border: 1.5px solid #FFD7A8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 10px;
  background: #FFF;
  box-shadow: 0 0.5px 2.5px var(--color-shadow);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #41A8C6;
}
label {
  display: block;
  margin-bottom: 5px;
  color: #174962;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF8F2;
  color: #174962;
  box-shadow: 0 -4px 32px var(--color-shadow);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 32px;
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
  animation: cookieBannerFadeIn 0.45s cubic-bezier(.5,1.5,.4,1.01);
}
@keyframes cookieBannerFadeIn {
  from { bottom: -100px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}
.cookie-banner .cookie-btn {
  margin-top: 0;
  margin-right: 10px;
}
.cookie-banner p {
  flex: 3 1 200px;
  font-size: 0.98rem;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 15px 10px 10px 10px;
    text-align: center;
    gap: 11px;
  }
  .cookie-banner p {
    margin-bottom: 8px;
  }
  .cookie-banner-actions {
    justify-content: center;
  }
}

/* ========== COOKIE PREFERENCES MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,60,80,0.28);
  z-index: 4000;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  animation: cookieModalFadeIn .25s cubic-bezier(.5,1.6,.5,1.01);
}
@keyframes cookieModalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cookie-modal {
  background: #FFF;
  border-radius: 18px 18px 0 0;
  max-width: 450px;
  width: 95vw;
  box-shadow: 0 -2px 40px rgba(0,0,0,0.15);
  padding: 35px 20px 28px 28px;
  margin-right: 0;
  margin-bottom: 0;
  animation: cookieModalSlideIn .25s cubic-bezier(.5,1.6,.5,1.01);
}
@keyframes cookieModalSlideIn {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 24px;
  top: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #174962;
  z-index: 1002;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 8px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFE7D0;
}
.cookie-modal-title {
  font-family: var(--font-display);
  color: #174962;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #EAF2F7;
  border-radius: 10px;
  padding: 11px 14px;
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: #184053;
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFBC7A;
  width: 20px;
  height: 20px;
}
.cookie-category .cookie-essential-label {
  color: #81807b;
  font-size: 0.97rem;
  font-weight: 400;
  padding-left: 3px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 24px 6px 16px 12px;
    max-width: 98vw;
    font-size: 0.98rem;
  }
  .cookie-modal-title {
    font-size: 1.08rem;
  }
}

/* =========== CUSTOM SPACING & FLEX CLASSES ========= */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ======= SPECIALS ======= */
.star-ratings img {
  height: 1.4em;
  width: 1.4em;
  margin: 0;
  vertical-align: middle;
}

@media (max-width: 550px) {
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
  }
  .testimonial-card {
    min-width: 0;
    width: 92vw;
  }
}

/* ========== ACCESSIBILITY ========== */
:focus {
  outline: 2px solid #41A8C6;
  outline-offset: 3px;
}

/* ===== Scrollbars: for accent ===== */
body::-webkit-scrollbar {
  width: 11px;
  background: var(--color-accent);
}
body::-webkit-scrollbar-thumb {
  background: #FFD7A8;
  border-radius: 6px;
}

/* ======= Z-INDEX MANAGEMENT ======= */
.mobile-menu,
.mobile-menu.open,
.mobile-menu-close,
.mobile-menu-toggle,
.cookie-banner,
.cookie-modal-overlay,
.cookie-modal {
  z-index: 3100;
}

/* =========== END =========== */
