/* Frost Shard Negotiation Academy – gradient_modern responsive CSS */
/* Reset & Normalize */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #E4F0F8 0%, #FFFFFF 100%);
  color: #244C63;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #11729C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2F9DC3;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #244C63;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, li, address {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #244C63;
}
strong {
  font-weight: 700;
  color: #11729C;
}
blockquote {
  font-style: italic;
  color: #244C63;
  border-left: 4px solid #2F9DC3;
  padding-left: 16px;
  margin-bottom: 8px;
  background: #F6FAFC;
}

/* Layout Containers */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Header and Navigation */
header {
  background: #ffffffcc;
  box-shadow: 0 2px 8px rgba(36,76,99,0.07);
  position: sticky;
  top: 0;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0 12px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
header nav a {
  color: #244C63;
  opacity: 0.90;
  border-radius: 7px;
  padding: 6px 14px;
  transition: background 0.22s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #E4F0F8;
  color: #11729C;
  opacity: 1;
}
header nav a img {
  height: 42px;
  width: auto;
  padding: 0;
  background: none;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 24px;
  background: #2F9DC3;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  z-index: 108;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #11729C;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #244C63ee;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.6,0.1,0.3,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  background: #11729C;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  margin: 24px 0 24px 26px;
  align-self: flex-start;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2F9DC3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 36px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2F9DC3;
  color: #E4F0F8;
}

/* Hide nav on mobile, show burger */
@media (max-width: 950px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Main Styles & Typography */
main {
  padding-bottom: 32px;
  padding-top: 18px;
}

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

/* Flex Utility Containers (All are flex with mandatory patterns) */
.feature-grid, .service-cards, .card-container, .content-grid, .social-links, .client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .service-cards > div {
  flex: 1 1 240px;
  min-width: 240px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(36,76,99,0.07);
  padding: 28px 22px;
  transition: box-shadow 0.22s, transform 0.22s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div:hover, .service-cards > div:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 6px 22px 0 rgba(36,76,99,0.11);
}
.feature-grid img, .feature-item img {
  width: 41px;
  height: 41px;
  margin-bottom: 10px;
}
.service-cards > div {
  background: #F6FAFC;
  border: 1px solid #E4F0F8;
}

/* Card and testimonial layout */
.card-container {
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(36,76,99,0.08);
  padding: 24px 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #F6FAFC;
  box-shadow: 0 2px 12px rgba(36,76,99,0.06);
  margin-bottom: 28px;
}
.testimonial-card blockquote {
  color: #244C63;
  background: none;
  border: none;
  font-size: 1.15rem;
}
.testimonial-card p {
  color: #244C63;
  font-size: 1rem;
}

/* Visual Buttons & Calls to Action */
.cta-primary,
.cta-secondary {
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 28px;
  padding: 13px 34px;
  font-size: 1.12rem;
  margin-top: 16px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 3px 16px 0 rgba(47,157,195,0.09);
  transition: background 0.22s, color 0.15s, transform 0.15s, box-shadow 0.2s;
}
.cta-primary {
  background: linear-gradient(90deg, #244C63 0%, #2F9DC3 60%);
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #11729C 0%, #2F9DC3 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px 0 rgba(47,157,195,0.15);
}
.cta-secondary {
  background: #fff;
  color: #244C63;
  border: 2px solid #2F9DC3;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #E4F0F8;
  color: #11729C;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 2px 14px 0 rgba(36,76,99,0.10);
}

/* Address block and contact info */
address {
  font-style: normal;
  background: #F6FAFC;
  border-left: 4px solid #2F9DC3;
  padding: 18px 18px 18px 24px;
  border-radius: 10px;
  margin-bottom: 20px;
}
address p { margin-bottom: 8px; }
address a {
  color: #11729C;
  text-decoration: underline;
}
address a:hover, address a:focus {
  color: #244C63;
}

/* Footer Styles */
footer {
  background: #244C63;
  color: #F6FAFC;
  padding: 36px 0 18px 0;
  border-top: 4px solid #E4F0F8;
}
footer .container {
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #E4F0F8;
  opacity: 0.92;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #2F9DC3;
  color: #fff;
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 6px;
}
.social-links a img {
  width: 26px;
  height: 26px;
  opacity: 0.87;
  transition: opacity 0.2s;
}
.social-links a:hover img {
  opacity: 1;
}
footer img[alt="Frost Shard Negotiation Academy"],
footer img[alt="Frost Shard Negotiation Academy logo"] {
  width: 50px;
  height: auto;
}
footer p {
  font-size: 0.93rem;
  color: #E4F0F8;
  opacity: 0.7;
}

/* Other Common UI Elements */
.client-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12px;
}
.client-logos img {
  height: 38px;
  opacity: 0.75;
  filter: grayscale(0.2);
  transition: opacity 0.14s, filter 0.14s;
}
.client-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9000;
  background: #244C63;
  color: #fff;
  box-shadow: 0 -2px 22px 0 rgba(36,76,99,0.08);
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  width: 100%;
  transition: transform 0.27s cubic-bezier(0.6,0,0.3,1), opacity 0.23s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #2F9DC3;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 21px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0 4px;
  font-weight: 600;
  transition: background 0.19s, color 0.13s;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #11729C;
  color: #E4F0F8;
}
.cookie-btn.secondary {
  background: #fff;
  color: #244C63;
  border: 2px solid #2F9DC3;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #E4F0F8;
  color: #11729C;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,40,55,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #244C63;
  border-radius: 18px;
  padding: 34px 28px 26px 28px;
  min-width: 295px;
  max-width: 95vw;
  box-shadow: 0 8px 34px 0 rgba(36,76,99,0.11);
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-weight: 600;
  color: #244C63;
  font-size: 1.05rem;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #2F9DC3;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

/* Responsive design - Mobile First */
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper {
    gap: 18px;
  }
  main {
    padding-top: 9px;
    padding-bottom: 13px;
  }
  .feature-grid, .service-cards, .card-container, .content-grid, .client-logos {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-cards > div {
    min-width: 0;
    width: 100%;
    padding: 18px 13px;
  }
  .testimonial-card {
    padding: 17px 13px;
    gap: 7px;
  }
  .social-links {
    gap: 14px;
  }
  .client-logos img {
    height: 28px;
  }
  header {
    padding-bottom: 0;
  }
  header nav {
    gap: 10px;
    font-size: 0.98rem;
  }
  .section {
    padding: 23px 7px;
    margin-bottom: 32px;
  }
  address {
    padding: 10px 12px 10px 14px;
    font-size: 0.97rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  .cta-primary, .cta-secondary {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }
  .cookie-modal {
    padding: 16px 11px 16px 11px;
  }
}
@media (max-width: 415px) {
  .footer-nav {
    gap: 8px;
    font-size: 0.90rem;
  }
  .footer img[alt="Frost Shard Negotiation Academy"],
  .footer img[alt="Frost Shard Negotiation Academy logo"] {
    width: 32px;
  }
}

/* Visual Microinteractions */
.card-container > *, .service-cards > div, .feature-grid > div {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card-container > *:hover, .service-cards > div:hover, .feature-grid > div:hover {
  box-shadow: 0 10px 22px 2px rgba(36,76,99,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* Utility Flex Patterns (spacing/alignment) */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* Spacing/Stacking for Cards and Sections */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}
.card-container > * {
  margin-bottom: 20px;
}

/* Prevent Overlapping */
.card,
.feature-grid > div,
.testimonial-card,
.service-cards > div {
  z-index: 1;
}

/* Decorative Z stacking */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 100; }
.cookie-modal-overlay { z-index: 1050; }

/* Hide visually-inaccessible elements for a11y */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* Fonts (import – intended for linking, not for local CSS) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
