/* ============================
   Celestial Expedition – Tech Futuristic
   ============================ */
/* ===== CSS RESET & BASE TYPOGRAPHY ===== */
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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #0B1924;
  color: #F4F7FB;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

*, *:before, *:after { box-sizing: inherit; }

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

ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

strong { font-weight: 700; }
a { color: #37B8AF; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #52fcf7; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  color: #F4F7FB;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

p, li {
  color: #D1E0F9;
  font-size: 1rem;
  margin-bottom: 12px;
}
p:last-child, li:last-child { margin-bottom: 0; }

/* ===== BRAND COLORS as CUSTOM PROPERTIES ===== */
:root {
  --ce-primary: #153950;
  --ce-secondary: #37B8AF;
  --ce-accent: #F4F7FB;
  --ce-bg: #0B1924;
  --ce-gradient1: #153950;
  --ce-gradient2: #0B1924;
  --ce-neon: #00d4ff;
  --ce-shadow: 0 4px 32px 0 rgba(55,184,175,.08), 0 1.5px 8px 0 rgba(55,184,175,.14);
  --ce-radius: 18px;
  --ce-elevation: 0 2px 20px 0 rgba(38,82,104,.14);
  --ce-link: #37B8AF;
  --ce-link-hover: #00d4ff;
}

/* ===== LAYOUT: CONTAINERS & WRAPPERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .section { padding: 22px 7px; margin-bottom: 36px; }
}

/* ===== HEADER, NAVIGATION, MOBILE MENU ===== */
header {
  width: 100%;
  background: linear-gradient(90deg, #112432 0%, #153950 70%, #0B1924 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 18px 0;
  position: relative;
  z-index: 20;
  box-shadow: 0 1.4px 18px rgba(38,82,104,.08);
  gap: 0;
}
header > a img {
  height: 46px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-left: 32px;
  flex: 1 1 auto;
  align-items: center;
}
nav a {
  color: var(--ce-accent);
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 5px 0;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--ce-neon);
  text-shadow: 0 0 6px var(--ce-neon);
}
header .cta-primary {
  margin-left: 30px;
  margin-right: 16px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--ce-neon);
  cursor: pointer;
  z-index: 111;
  margin-left: 16px;
}
@media (max-width: 1024px) {
  nav { gap: 16px; margin-left: 14px; }
}
@media (max-width: 860px) {
  nav { display: none !important; }
  header .cta-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  header > a img { height: 40px; }
}

/* ===== MOBILE MENU (OVERLAY & SLIDE) ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,29,42, 0.95);
  z-index: 2222;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.6,.17,.41,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 22px 26px 6px 0;
  background: none;
  border: none;
  color: var(--ce-neon);
  font-size: 2.2rem;
  cursor: pointer;
  outline: none;
  transition: transform .14s;
}
.mobile-menu-close:hover {
  transform: scale(1.12);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  padding: 30px 0 0 0;
}
.mobile-nav a {
  color: var(--ce-accent);
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  background: rgba(21,58,80,0.5);
  border-radius: 12px;
  padding: 13px 40px;
  text-align: center;
  transition: background 0.15s, color 0.12s;
  min-width: 200px;
  box-shadow: 0 1.5px 16px rgba(55,184,175,.11);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--ce-secondary);
  color: var(--ce-bg);
  text-shadow: 0 0 8px var(--ce-neon);
}

/* ======= HERO SECTION ======= */
.hero {
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(100deg, #112432 0%, var(--ce-primary) 45%, var(--ce-bg) 100%);
  box-shadow: var(--ce-elevation);
  padding-top: 32px;
  padding-bottom: 44px;
  margin-bottom: 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: inherit;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #F4F7FB;
  font-size: 2.6rem;
  line-height: 1.15;
  text-shadow: 0 0 16px rgba(0,212,255,.20);
}
.hero p {
  color: #CFF7F8;
  font-size: 1.2rem;
  max-width: 580px;
}

/* ======= CTA BUTTONS ======= */
.cta-primary {
  background: linear-gradient(90deg, #37B8AF 15%, #00d4ff 98%) !important;
  color: #0B1924;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 28px 1px rgba(0,212,255,.13);
  border: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.19s;
  cursor: pointer;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #00d4ff 60%, #37B8AF 100%) !important;
  color: #061118;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 36px 5px #00eaff60;
  text-shadow: 0 0 6px #ACFDFD;
}

/* ======= SECTIONS & FLEX ======= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 12px;
  margin-bottom: 6px;
}
.feature-item {
  background: linear-gradient(100deg, #153950 80%, #37B8AF 100%);
  box-shadow: var(--ce-shadow);
  border-radius: var(--ce-radius);
  padding: 30px 24px 22px 24px;
  min-width: 220px;
  flex: 1 0 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid #203f6a1f;
  transition: box-shadow 0.18s, border 0.15s, transform 0.22s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 0 38px 4px #00d4ff3b;
  border: 1.5px solid #37B8AF;
  transform: translateY(-6px) scale(1.03);
}
.feature-item img {
  width: 36px; height: 36px; filter: drop-shadow(0 1px 7px #00d4ff61);
}
.feature-item h3 {
  color: #00fff0;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-item p {
  color: #E1FCFB;
  font-size: 1rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .feature-item { max-width: 100%; min-width: 0; }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  background: #173952;
  border-radius: 16px;
  box-shadow: var(--ce-shadow);
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border: 1px solid #37b8af12;
  transition: box-shadow 0.18s, border 0.15s, transform 0.21s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 0 24px 4px #37B8AF40;
  border: 1.5px solid #37B8AF;
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 720px) {
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ======= TESTIMONIALS ======= */
.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f9fcff;
  color: #153950;
  border-radius: var(--ce-radius);
  box-shadow: 0 4.5px 34px 0 rgba(38, 82, 104, .14);
  min-width: 256px;
  max-width: 410px;
  margin-bottom: 20px;
  border: 1.5px solid #15395015;
  font-size: 1.08rem;
  font-style: italic;
  position: relative;
  transition: box-shadow 0.18s, border 0.15s, transform 0.19s;
}
.testimonial-card .testimonial-meta {
  color: #37B8AF;
  font-style: normal;
  font-size: .98rem;
  margin-top: 3px;
}
.testimonial-card .star-rating { color: #F9C04F; font-size: 1.2rem; margin-top: 1px; }
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 0 32px 4px #37B8AF22;
  border: 1.5px solid #37B8AF;
  transform: translateY(-2px) scale(1.02);
}
@media (max-width: 900px) {
  .testimonial-row { flex-direction: column; gap: 18px; }
  .testimonial-card { max-width: 100%; min-width: 0; }
}

/* ======= PRICING & SERVICES ======= */
.service-price {
  background: #37B8AF;
  color: #0B1924;
  display: inline-block;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 9px;
  margin: 18px 0 0 0;
  letter-spacing: 0.035em;
  box-shadow: 0 2px 14px 0 #0bd7ff11;
}

.feature-icons-row {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.feature-icons-row img {
  width: 40px; height: 40px;
}

/* ======= FORMS, CONTACT, FOOTER ======= */
.contact-info {
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-row {
  color: #A1BCCB;
  font-size: 0.97rem;
}

footer {
  background: #112432;
  width: 100%;
  padding: 36px 0 0 0;
  margin-top: 70px;
  font-size: 1rem;
}
.footer-contact {
  color: #E2F9F9;
  margin-bottom: 20px;
  font-size: .99rem;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #37B8AF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #00d4ff;
}
@media (max-width: 768px) {
  .footer-nav { flex-direction: column; gap: 7px; }
}

/* ======= TEXT SECTIONS, LISTS, CONFIRMATION ======= */
.text-section, .confirmation-text {
  background: #113352;
  color: #F3F5F8;
  border-radius: 13px;
  padding: 20px 16px;
  box-shadow: 0 1.5px 10px #0bd7ff0a;
  margin-bottom: 20px;
}
.text-section h2, .confirmation-text h2 {
  color: #37B8AF;
}
.text-section ul, .confirmation-text ul {
  margin-bottom: 10px;
}

/* ======= MODALS & COOKIE BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw; z-index: 9000;
  background: #112432;
  color: #F4F7FB;
  padding: 22px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 28px rgba(55,184,175,.17);
  gap: 16px;
  transition: transform 0.3s, opacity 0.2s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; transform: translateY(80px); }
.cookie-banner .cookie-text { max-width: 750px; text-align: center; font-size: 1.03rem; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 6px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 11px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.14s, color 0.13s, transform 0.14s;
  background: #203a57;
  color: #37B8AF;
}
.cookie-btn.accept { background: linear-gradient(90deg,#37B8AF 60%,#00d4ff 100%); color: #0B1924; }
.cookie-btn.reject { background: #18181d; color: #ff667b; }
.cookie-btn.settings { background: #203A57; color: #37B8AF; border: 1.5px solid #37B8AF44; }
.cookie-btn:focus, .cookie-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 2px #00d4ff70; }

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%) scale(0.97);
  z-index: 9999;
  background: #101a24;
  color: #F4F7FB;
  border-radius: 19px;
  min-width: 310px;
  max-width: 95vw;
  width: 430px;
  box-shadow: 0 1.5px 32px #13e6fd30, 0 12px 80px #000e2717;
  padding: 32px 26px 26px 26px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.cookie-modal.open { display: flex; animation: cookieModalIn .25s cubic-bezier(.7,1,.48,.89); }
@keyframes cookieModalIn { from { opacity: 0; transform: translate(-50%,-58%) scale(.88); } to { opacity: 1; transform: translate(-50%,-54%) scale(0.97); } }
.cookie-modal h3 { font-size: 1.32rem; color: #37B8AF; margin-bottom: 11px; }
.cookie-modal label {
  display: flex; align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #37B8AF;
  width: 18px; height: 18px;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 15px; margin-bottom: 10px;
}
.cookie-modal .cookie-modal-actions {
  display: flex; flex-direction: row; gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
@media (max-width: 600px) {
  .cookie-modal { width: 96vw; min-width: 0; padding: 20px 7px 18px 7px; }
}

/* ====== MISCELLANEOUS EFFECTS ======= */
::-webkit-scrollbar {
  width: 10px;
  background: #0B1924;
}
::-webkit-scrollbar-thumb { background: linear-gradient(90deg,#18344c,#37B8AF 90%); border-radius: 6px; }
::selection { background: #37B8AF; color: #0B1924; }

/* ====== ANIMATIONS & MICRO-INTERACTIONS ====== */
.button-pulse { animation: btn-pulse 2.2s infinite; }
@keyframes btn-pulse {
  0% {box-shadow: 0 0 0 0 #00d4ff55;}
  80% {box-shadow: 0 0 0 10px #00d4ff00;}
  100% {box-shadow: 0 0 0 0 #00d4ff00;}
}

.card, .feature-item, .testimonial-card, .cta-primary, .cookie-btn {
  transition: box-shadow 0.18s, border 0.15s, transform 0.16s, color 0.16s;
}

/* ===== FLEXBOX LAYOUT: FORMAL ENFORCED REQUIREMENTS ===== */
/* ... Per instruction, enforced above for all .card-container, .content-grid, .feature-grid, etc. ... */

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .container { max-width: 97vw; padding: 0 7px; }
  .content-wrapper { gap: 15px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.08rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; margin-bottom: 16px; }
  h2 { font-size: 1.11rem; margin-bottom: 13px; }
  h3 { font-size: 1rem; margin-bottom: 9px; }
  .feature-item, .testimonial-card { padding: 14px 8px 13px 13px; }
  .cta-primary { font-size: .98rem; padding: 10px 21px; }
  .footer-contact { font-size: .90rem; }
  .service-price { font-size: .97rem; padding: 7px 10px; }
}

/* ==== Utility Classes ====*/
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom:16px; }
.mt-32 { margin-top: 32px; }

/* ============================
 Fonts (for use in / etc.)
 ============================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
