/* ======================================================================
   FrostBite Escape Consulting | Modern Gradient – style.css
   ====================================================================== */

/* ----- CSS Reset & Normalize ----- */
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5FAFA;
  min-height: 100vh;
  color: #143F54;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* {
  box-sizing: border-box;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
a {
  color: #1D7A9B;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #143F54;
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ----- Variables & Fonts ----- */
:root {
  --primary: #143F54;
  --secondary: #1D7A9B;
  --accent: #F5FAFA;
  --white: #ffffff;
  --gray: #E7F2F4;
  --text: #143F54;
  --shadow: 0 4px 24px 0 rgba(32, 65, 91, 0.13);
  --radius: 16px;
  --radius-sm: 10px;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'),
       url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'),
       url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap') format('woff2');
  font-display: swap;
}

/* ----- Typography ----- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
p, li, blockquote {
  font-size: 1.08rem;
  line-height: 1.62;
}
.subheadline {
  font-size: 1.3rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 650px;
}
.text-section p, .content-wrapper.text-section p {
  margin-bottom: 18px;
}

/* Typography Scale Responsive */
@media (max-width: 600px) {
  h1, .hero h1 { font-size: 1.65rem; }
  h2 { font-size: 1.15rem; }
  .subheadline { font-size: 1.04rem; }
}

/* ----- General Layout ----- */
.container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.section:last-child, main section:last-child {
  margin-bottom: 0;
}

/* ----- HEADER ----- */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 12px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover:not(.btn-primary), .main-nav a:focus:not(.btn-primary) {
  background: rgba(255,255,255, 0.09);
  color: var(--secondary);
}
.main-nav .btn-primary {
  margin-left: 12px;
  color: #143F54;
  background: var(--accent);
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 2px 8px rgba(86,174,187,0.07);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}
.main-nav .btn-primary:hover,.main-nav .btn-primary:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(20,63,84,0.14);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  padding: 8px 8px 8px 12px;
  cursor: pointer;
  display: none;
  z-index: 31;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
  color: var(--secondary);
}

/* ----- MOBILE MENU ----- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(120deg, var(--primary) 77%, var(--secondary) 100%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 6px 24px 4px rgba(20,63,84,0.10);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.8rem;
  background: none;
  border: none;
  margin: 22px 26px 0 0;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  margin: 48px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  width: 100%;
  padding: 0 38px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  padding: 6px 0;
  width: 100%;
  border-radius: 8px;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255, 0.13);
  color: var(--secondary);
}

/* ----- HERO SECTION ----- */
.hero {
  background: linear-gradient(102deg, #F5FAFA 67%, #e1ecf2 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 800px;
  padding: 0;
}

/* ----- Feature Cards & Grids ----- */
.feature-grid, .service-cards, .team-list, .testimonial-list, .case-study-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 28px 28px 28px;
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  min-width: 224px;
  max-width: 345px;
  margin-bottom: 20px;
  transition: transform 0.16s, box-shadow 0.17s;
  cursor: default;
}
.feature-item img {
  width: 44px;
  height: 44px;
  display: block;
  margin-bottom: 10px;
}
.feature-item:hover {
  box-shadow: 0 6px 30px -2px rgba(20,63,84,0.17);
  transform: translateY(-6px) scale(1.024);
}

/* ----- Service & Team Cards ----- */
.service-cards, .service-list, .method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-card, .team-member, .case-study {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-card:hover, .team-member:hover, .case-study:hover {
  box-shadow: 0 8px 30px -2px rgba(20,63,84,0.19);
}

/* Team Layout */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.team-member {
  align-items: flex-start;
  min-width: 200px;
}

/* ----- TESTIMONIALS ----- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f7fbfc;
  border-left: 6px solid var(--secondary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 420px;
  transition: box-shadow 0.15s, transform 0.15s;
  color: var(--text);
}
.testimonial-card:hover {
  box-shadow: 0 10px 35px -4px rgba(20,63,84,0.122);
  transform: translateY(-2px);
}
.testimonial-card blockquote {
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  margin: 0 0 8px 0;
  color: #18475b;
}
.testimonial-meta {
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--secondary);
  margin-left: 12px;
}

/* ----- Cards ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  flex: 1 1 300px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px -4px rgba(20,63,84,0.17);
  transform: translateY(-4px) scale(1.013);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

/* ----- Case Studies ----- */
.case-study-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.case-study {
  min-width: 240px;
  max-width: 400px;
  flex: 1 1 260px;
}

/* ----- Content Grids & Alignment ----- */
.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;
}

/* ----- Contact Info ----- */
.contact-info, .contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
}
.contact-detail img {
  width: 22px;
  height: 22px;
  opacity: 0.75;
}

/* ----- List Styles ----- */
ul, ol {
  padding-left: 19px;
  margin-top: 10px;
  margin-bottom: 17px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.cookie-banner {
  display: none !important;
}

/* ----- BUTTONS / CTA ----- */
.btn-primary, .btn-secondary {
  display: inline-block;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  font-size: 1.09rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(20,63,84,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.16s;
}
.btn-primary {
  color: var(--white);
  background: var(--secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  color: var(--primary);
  background: var(--accent);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--primary);
}

/* ----- FOOTER ----- */
footer {
  background: linear-gradient(90deg, var(--primary) 70%, var(--secondary) 100%);
  color: var(--white);
  padding: 44px 0 24px 0;
  font-size: 1.01rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.footer-nav a {
  color: var(--white);
  opacity: 0.88;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  transition: opacity 0.17s;
  padding: 4px 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
.social {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 12px 0;
}
.social a img {
  width: 29px;
  height: 29px;
  opacity: 0.90;
  transition: opacity 0.17s;
}
.social a:hover img, .social a:focus img {
  opacity: 1;
}
.footer-copy {
  color: var(--accent);
  font-size: 0.99rem;
  opacity: 0.77;
  margin-top: 3px;
}

/* ----- Cookie Consent Banner ----- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(92deg, var(--white) 70%, #E5F2F7 100%);
  color: var(--text);
  box-shadow: 0 -2px 16px rgba(20,63,84,0.12);
  padding: 24px 18px 20px 18px;
  z-index: 1203;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform 0.45s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 540px;
}
.cookie-banner-text {
  font-size: 1.01rem;
  line-height: 1.56;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 5px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  padding: 7px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.reject {
  background: #dbeff6;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #bfd4e5;
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #c6e7f1;
  color: var(--secondary);
}

/* ----- Cookie Modal ----- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(12, 28, 36, 0.30);
  z-index: 1204;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.33s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 38px 0 rgba(32,65,91,0.19);
  padding: 38px 36px 28px 36px;
  max-width: 410px;
  min-width: 250px;
  color: var(--primary);
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalFadeIn 0.72s cubic-bezier(.36,2.2,.46,.96);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.78;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
  opacity: 1;
  outline: 2px solid var(--secondary);
}
.cookie-modal h2 {
  font-size: 1.34rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 1.03rem;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  margin-right: 6px;
}
.cookie-category .always {
  font-size: 0.95rem;
  color: #4B848C;
  margin-left: 9px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 15px;
  flex-wrap: wrap;
}


/* ----- Responsive Design ----- */
@media (max-width: 1024px) {
  .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 11px; }
  .feature-item { max-width: 100%; }
  .feature-grid, .testimonial-list, .service-cards, .team-list, .case-study-snippets {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  /* Hamburger Nav */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero { padding-top: 34px; padding-bottom: 34px; }
  h1, .hero h1 { font-size: 1.6rem; }
  h2 { font-size: 1.03rem; }
  .content-wrapper, .content-wrapper.text-section {
    gap: 14px;
    padding: 0;
  }
  .feature-grid, .service-cards, .testimonial-list, .team-list, .case-study-snippets {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .team-member, .case-study, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .content-grid, .case-study-snippets {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 7px; }
  .section, main section { padding: 19px 3px; }
  .footer-nav { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 19px 6px 16px 11px;
    max-width: 99vw;
  }
  .hero .container, .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* ----- Micro-Interactions & Transitions ----- */
.section,.feature-item,.service-card,.team-member,.case-study,.testimonial-card,
.btn-primary,.btn-secondary,
.card, .cookie-btn, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.14s, transform 0.14s, background 0.14s, color 0.13s;
}

/* ----- Misc Utility Classes ----- */
.mt-0{ margin-top:0 !important; } .mb-0{ margin-bottom:0 !important; }
.pt-0{ padding-top:0 !important; } .pb-0{ padding-bottom:0 !important; }
.text-center { text-align: center; }

/* ----- Accessibility ----- */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

/* =======================================================================
   END CSS FrostBite Escape Consulting Modern Gradient UI
   ======================================================================= */
