/* ======= CSS RESET & BASE STYLES ======= */

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f9fafc;
  color: #15334A;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, video {
  max-width: 100%;
  display: block;
}
ul,ol { 
  padding-left: 24px;
}
a {
  color: #15334A;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #EDC36C;
}
:focus {
  outline: 2px solid #EDC36C;
  outline-offset: 2px;
}

/* ======= BRAND FONTS ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  color: #15334A;
}
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 1.38rem; line-height: 1.2; margin-bottom: 14px; }
h4 { font-size: 1.1rem; line-height: 1.18; margin-bottom: 10px; }

/* ======= REUSABLE FLEX SPACING PATTERNS ======= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;  /* mobile friendly padding, adapted in media queries */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(21, 51, 74, 0.03);
}
@media (max-width: 768px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(21, 51, 74, 0.06);
  padding: 28px 18px;
  min-width: 270px;
  flex: 1 1 270px; /* flexible for wrapping */
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), transform 0.2s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 6px 24px rgba(21, 51, 74, 0.12);
  transform: translateY(-2px) scale(1.015);
}
.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: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(21, 51, 74, 0.09);
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.18s, border 0.18s;
  border: 2px solid #EDC36C;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #15334A;
  line-height: 1.32;
  margin: 0 0 12px 0;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote:before { content: open-quote; color: #EDC36C; font-size: 2em; vertical-align: top; }
.testimonial-card cite {
  color: #646B77;
  font-style: normal;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* ======= LAYOUT CONTAINERS ======= */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ======= HEADER & NAVIGATION ======= */
header {
  background: #FFFFFF;
  padding: 0;
  box-shadow: 0 2px 14px rgba(21, 51, 74, 0.06);
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 24px;
}
.main-nav > a img {
  height: 46px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background .18s, color .15s;
}
.main-nav ul li a:hover, 
.main-nav ul li a:focus {
  background: #EDC36C;
  color: #15334A;
}
.main-nav .btn-primary {
  margin-left: 18px;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #EDC36C;
  padding: 10px 14px;
  cursor: pointer;
  display: none;
  z-index: 1021;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  background: #EDEDED;
  border-radius: 10px;
}
@media (max-width: 1024px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ======= MOBILE MENU ======= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #15334A;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  min-width: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1), opacity 0.28s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #EDC36C;
  border: none;
  font-size: 2rem;
  margin: 14px 0 8px 18px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.17s;
}
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 14px 24px;
  gap: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #EDC36C;
  padding: 12px 10px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #15334A;
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ======= HERO SECTION ======= */
.hero-section {
  background: #15334A;
  color: #fff;
  border-radius: 0 0 40px 40px;
  padding: 60px 0 40px 0;
  margin-bottom: 0px;
  position: relative;
  overflow: hidden;
}
.hero-section .content-wrapper {
  max-width: 850px;
  align-items: flex-start;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.07;
  margin-bottom: 1.1rem;
  letter-spacing: .015em;
}
.hero-section p {
  color: #EDC36C;
  font-size: 1.3rem;
  margin-bottom: 1.6rem;
}
.hero-section .btn-primary {
  background: #EDC36C;
  color: #15334A;
  font-size: 1.15rem;
}
@media (max-width: 1024px) {
  .hero-section {
    padding: 36px 0 20px 0;
    border-radius: 0 0 24px 24px;
  }
  .hero-section h1 { font-size: 2.1rem; }
}

/* ======= BUTTONS ======= */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.1rem;
  padding: 14px 34px;
  border-radius: 12px;
  border: none;
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .17s;
  box-shadow: 0 2px 10px rgba(21, 51, 74, 0.07);
}
.btn-primary {
  background: #EDC36C;
  color: #15334A;
}
.btn-primary:hover, .btn-primary:focus {
  background: #15334A;
  color: #EDC36C;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(21, 51, 74, 0.12);
}
.btn-secondary {
  background: #fff;
  color: #15334A;
  border: 2px solid #EDC36C;
  font-weight: 700;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #EDC36C;
  color: #15334A;
  border-color: #15334A;
}

/* ======= FEATURES (INDEX) ======= */
.content-wrapper ul, .content-wrapper ol {
  margin-bottom: 0;
  padding-left: 28px;
  font-size: 1rem;
}
.content-wrapper ul li, .content-wrapper ol li {
  padding: 8px 0 8px 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.content-wrapper ul li:before {
  content: '';
  display: inline-block;
  width: 11px; height: 11px;
  background: #EDC36C;
  margin: 0 10px 0 0;
  border-radius: 50%;
  vertical-align: middle;
}

/* ======= SERVICES GRID & CARDS ======= */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(21, 51, 74, 0.10);
  flex: 1 1 270px;
  min-width: 260px;
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border-left: 5px solid #EDC36C;
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), border-color .22s cubic-bezier(.4,0,.2,1);
}
.service-card:hover {
  box-shadow: 0 6px 32px rgba(21, 51, 74, 0.14);
  border-color: #15334A;
}
.service-card h3, .service-card h2 {
  font-size: 1.18rem;
  color: #15334A;
  margin-bottom: 8px;
  font-weight: 800;
}
.service-card p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 12px;
}
.service-card .price {
  color: #EDC36C;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  letter-spacing: .03em;
}

/* ======= OFFERS ======= */
.offers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.offer-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(21,51,74,0.07);
  flex: 1 1 300px;
  min-width: 280px;
  padding: 22px 20px 18px 20px;
  margin-bottom: 20px;
  border-left: 4px solid #EDC36C;
  display: flex;
  flex-direction: column;
  transition: box-shadow .19s, border .19s;
}
.offer-card:hover {
  border-color: #15334A;
  box-shadow: 0 5px 25px rgba(21,51,74,0.12);
}
.offer-card h2 {
  font-size: 1.2rem;
  color: #15334A;
  margin-bottom: 10px;
  font-weight: 700;
}

/* ======= NEWS SECTION ======= */
.news-feed {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.news-feed article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(21,51,74,0.09);
  flex: 1 1 330px;
  min-width: 270px;
  padding: 18px 20px 16px 20px;
  border-left: 5px solid #EDC36C;
  margin-bottom: 20px;
  transition: box-shadow .2s, border-color .2s;
}
.news-feed article:hover {
  border-color: #15334A;
  box-shadow: 0 6px 19px rgba(21,51,74,0.11);
}
.news-tag {
  background: #EDC36C;
  color: #15334A;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: .93rem;
  font-weight: 800;
  display: inline-block;
  padding: 5px 18px;
  border-radius: 6px;
  margin-top: 9px;
}

/* ======= INDUSTRY INSIGHTS ======= */
.industry-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.industry-insights > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(21, 51, 74, 0.06);
  flex: 1 1 300px;
  min-width: 230px;
  padding: 18px 18px 14px 18px;
}
.industry-insights h3 {
  font-size: 1.14rem;
}

/* ======= TEXT & RESOURCE LISTS ======= */
.text-section {
  margin-bottom: 20px;
}
.section-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 10px 0 0 0;
  list-style: none;
  padding-left: 0;
}
.section-nav ul li a {
  background: #EDC36C;
  color: #15334A;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 9px;
  transition: background .15s, color .15s;
}
.section-nav ul li a:hover {
  background: #15334A;
  color: #EDC36C;
}
.resources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}
.resources-list > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(21, 51, 74, 0.07);
  padding: 15px 18px;
  flex: 1 1 240px;
  min-width: 190px;
}

/* ======= CONTACT INFO ======= */
.contact-info {
  margin-bottom: 16px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin-bottom: 6px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
}
.contact-info strong {
  color: #15334A;
  font-weight: 900;
}

/* ======= FOOTER ======= */
footer {
  background: #15334A;
  color: #fff;
  padding: 30px 0 25px 0;
  border-radius: 40px 40px 0 0;
  margin-top: 60px;
  box-shadow: 0 -2px 12px rgba(21, 51, 74, 0.09);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #EDC36C;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  font-size: .96rem;
  color: #fff;
  margin-bottom: 4px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/* ======= COOKIE CONSENT BANNER & MODAL ======= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #15334A;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 26px 16px 18px 16px;
  z-index: 6000;
  box-shadow: 0 -3px 12px rgba(21, 51, 74, 0.14);
  transition: transform 0.41s cubic-bezier(.4,0,.2,1), opacity 0.25s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-btn {
  margin: 0 8px 0 0;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 9px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-banner .cookie-btn.accept {
  background: #EDC36C;
  color: #15334A;
}
.cookie-banner .cookie-btn.accept:hover {
  background: #fff;
  color: #15334A;
}
.cookie-banner .cookie-btn.rej {
  background: #fff;
  color: #EDC36C;
  border: 2px solid #EDC36C;
}
.cookie-banner .cookie-btn.rej:hover {
  background: #EDC36C;
  color: #15334A;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #EDC36C;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #EDC36C;
  color: #15334A;
}
.cookie-banner .cookie-desc {
  max-width: 600px;
  font-size: 1.02rem;
  color: #EDC36C;
  margin-bottom: 8px;
  font-weight: 500;
}

/* Modal overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(21,51,74,0.57);
  z-index: 6500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  padding: 30px 24px 28px 24px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 6px 32px rgba(21,51,74,0.25);
  color: #15334A;
  animation: popin 0.34s cubic-bezier(.4,0,.2,1);
}
@keyframes popin {
  from { transform: scale(0.92) translateY(22px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  color: #15334A;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 18px;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}
.cookie-modal li {
  font-size: 1.06rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .cookie-category-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #EDEDED;
  outline: none;
  cursor: pointer;
  position: relative;
  margin-right: 6px;
  transition: background .18s;
}
.cookie-modal .cookie-category-toggle:checked {
  background: #EDC36C;
}
.cookie-modal .cookie-category-toggle:disabled {
  background: #B8C0CC;
  cursor: not-allowed;
}
.cookie-modal .cookie-category-toggle:after {
  content: '';
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 3px; top: 3px;
  transition: left .15s;
}
.cookie-modal .cookie-category-toggle:checked:after {
  left: 19px;
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-footer button {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 9px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .15s, color .15s;
  background: #EDC36C;
  color: #15334A;
}
.cookie-modal-footer button:hover {
  background: #15334A;
  color: #EDC36C;
}


/* ======= RESPONSIVE RULES & LAYOUTS ======= */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 992px) {
  .container { max-width: 700px; }
  .content-wrapper { gap: 17px; }
  .card-container, .offers-list, .news-feed, .services-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container { max-width: 97vw; }
  .footer-nav { gap: 8px; }
  .content-wrapper { gap: 14px; }
  .offers-list, .services-grid, .news-feed, .industry-insights, .resources-list {
    flex-direction: column;
    gap: 12px;
  }
  .service-card, .offer-card, .news-feed article, .industry-insights > div, .resources-list > div {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 450px) {
  .btn-primary, .btn-secondary { font-size: 1rem; padding: 12px 10px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 21px 7px; gap: 18px; }
  .cookie-banner .cookie-btn { padding: 10px 12px; }
  footer { border-radius: 18px 18px 0 0; padding: 22px 0 18px 0; }
}

/* ======= HIGHLIGHTS & MICROINTERACTIONS ======= */
.card, .service-card, .offer-card, .news-feed article, .industry-insights > div, .testimonial-card {
  will-change: box-shadow, transform;
}
.btn-primary, .btn-secondary, .cookie-banner .cookie-btn, .cookie-modal-footer button  {
  will-change: background, color, transform;
}

/* ======= MISC UI TWEAKS ======= */
::-webkit-scrollbar {
  width: 10px;
  background: #EDEDED;
}
::-webkit-scrollbar-thumb {
  background: #EDC36C;
  border-radius: 12px;
}
/* ======= END OF CSS ======= */
