/* RESET & BASE STYLES - MOBILE-FIRST */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}
 *, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #184778;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B441;
  text-decoration: underline;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #184778;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.5rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 10px; }
p { margin-bottom: 16px; font-size: 1.1rem; color: #18263a; }
.subheadline { font-size: 1.25rem; margin-bottom: 24px; color: #184778; font-weight: 500; }
ul, ol {
  margin-bottom: 16px;
  margin-left: 20px;
}
ul li, ol li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #184778;
}
strong { color: #184778; }
em { color: #F2B441; font-style: italic; }

/* BUTTONS & CALLS-TO-ACTION */
.cta-btn, .cookie-btn, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 32px;
  font-size: 1.1rem;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  background: #184778;
  color: #fff;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 2px 12px rgba(24,71,120,0.09);
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F2B441;
  color: #184778;
  box-shadow: 0 4px 20px rgba(242,180,65,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* GENERIC BUTTON */
.cookie-btn {
  min-width: 120px;
  background: #184778;
  color: #fff;
  margin-right: 14px;
  margin-bottom: 8px;
}
.cookie-btn.accept {
  background: #25c972;
  color: #fff;
}
.cookie-btn.reject {
  background: #e0302b;
  color: #fff;
}
.cookie-btn.settings {
  background: #F2B441;
  color: #184778;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.1);
  transform: scale(1.04);
}

/* LAYOUT & SPACING */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: #F5F6FA;
  border-radius: 26px;
  padding: 32px 22px;
  box-shadow: 0 2px 18px rgba(24,71,120,0.07);
  margin-bottom: 28px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 260px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(24,71,120,0.08);
  transition: box-shadow 0.18s, transform 0.18s;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(24,71,120,0.14);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}

.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;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(24,71,120,0.08);
  margin-bottom: 20px;
  border-left: 6px solid #F2B441;
  flex-wrap: wrap;
}
.testimonial-card p {
  flex: 1 1 auto;
  font-size: 1.11rem;
  color: #184778;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #18263a;
  margin-left: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- SPECIFIC PAGE FLEX LAYOUTS --- */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
  margin-bottom: 18px;
}
.feature, .service {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 10px rgba(24,71,120,0.08);
  padding: 30px 20px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover, .service:hover {
  box-shadow: 0 6px 22px rgba(24,71,120,0.12);
  transform: translateY(-3px) scale(1.02);
  z-index: 1;
}
.feature img, .service img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  margin-bottom: 10px;
}
.price-tag {
  background: #F2B441;
  color: #184778;
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 1.09rem;
  margin-top: 15px;
  align-self: flex-start;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.project {
  background: #F5F6FA;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(24,71,120,0.05);
  padding: 27px 18px;
  flex: 1 1 280px;
  min-width: 260px;
  margin-bottom: 20px;
  position: relative;
}
.project h2 { color: #F2B441; font-size: 1.3rem; margin-bottom: 8px; }
.project p { color: #184778; font-size: 1.05rem; margin-bottom: 12px; }
.project ul { margin-left: 16px; color: #184778; }

.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 22px 0;
}
.contact-method {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(24,71,120,0.07);
  flex: 1 1 210px;
  min-width: 210px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.contact-method img {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
}
.info-text {
  font-size: 1.12rem;
  color: #184778;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #184778;
  color: #fff;
  padding: 36px 18px 30px 18px;
  text-align: center;
  margin-top: 60px;
  position: relative;
}
footer img {
  max-width: 68px;
  margin: 0 auto 20px auto;
  display: block;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
  margin-top: 6px;
}
.footer-nav a {
  color: #F2B441;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact p {
  color: #fff;
  opacity: 0.89;
  font-size: 0.96rem;
  margin-bottom: 10px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,71,120,0.06);
  z-index: 99;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 14px 18px;
  width: 100%;
}
.main-nav img {
  max-width: 58px;
  margin-right: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #184778;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.02em;
  margin-right: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2B441;
  color: #184778;
}
.mobile-menu-toggle {
  background: #184778;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  border-radius: 50%;
  padding: 10px 16px;
  margin-left: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  z-index: 110;
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2B441;
  color: #184778;
  transform: scale(1.085);
}
/* Hide on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,71,120,0.97);
  z-index: 2000;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(0.6,0.2,0.23,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 20px 20px 20px;
  box-sizing: border-box;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F2B441;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.18s, transform 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.15);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 34px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.36rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 8px;
  border-radius: 13px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B441;
  color: #184778;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #184778;
  color: #fff;
  z-index: 5003;
  padding: 22px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  box-shadow: 0 -2px 16px rgba(24,71,120,.17);
  font-size: 1rem;
  animation: slideUpCookie 0.76s cubic-bezier(.49,.01,.38,1.44);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,71,120, 0.92);
  z-index: 5020;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInCookieModal 0.34s ease;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #184778;
  border-radius: 22px;
  box-shadow: 0 6px 42px rgba(24,71,120,.14);
  padding: 38px 32px 26px 32px;
  min-width: 340px;
  max-width: 98vw;
  animation: popModal 0.44s cubic-bezier(.5,.25,.72,1.42);
}
@keyframes popModal {
  0% { transform: scale(0.9) translateY(40px); opacity:0; }
  80% { transform: scale(1.03) translateY(-3px); opacity:1; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 12px;
  color: #184778;
}
.cookie-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-form label {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  margin-bottom: 0;
  gap: 10px;
}
.cookie-modal-form input[type='checkbox'] {
  transform: scale(1.24);
  margin-right: 8px;
}
.cookie-category-essential {
  color: #25c972;
  font-weight: 700;
}
.cookie-modal .cookie-actions {
  margin-top: 24px;
}

/* -- RESPONSIVE BREAKPOINTS -- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.95rem;
    padding: 12px 10px;
  }
  .footer-contact p, .footer-nav a { font-size: 0.94rem; }
  .feature, .service, .card, .project {
    min-width: 205px;
    max-width: 430px;
  }
}
@media (max-width: 768px) {
  .main-nav a { font-size: 1rem; padding: 7px 10px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.43rem; }
  h3 { font-size: 1.13rem; }
  .section {
    padding: 31px 8px;
    margin-bottom: 34px;
  }
  .footer-nav { gap: 12px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 19px;
    top: 18px;
  }
  .card-container, .feature-grid, .service-list, .content-grid, .project-list, .contact-info-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card, .feature, .service, .project, .contact-method {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    margin-bottom: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.34rem; margin-bottom: 15px; }
  h2 { font-size: 1.07rem; margin-bottom: 11px; }
  .container { padding: 0 2vw; }
  .text-section { padding: 19px 8px; }
  .footer-nav { flex-direction: column; gap: 8px; }
}

/* --- VIBRANT ENERGETIC THEME --- */
body {
  background: #F5F6FA;
}
.section { background: #fff; border-radius: 20px; box-shadow: 0 2px 18px 0 rgba(24,71,120,0.05); }
h1, h2, h3 { text-shadow: 0 2px 9px rgba(242,180,65,0.1); }
.cta-btn {
  box-shadow: 0 2px 14px 0 rgba(242,180,65,0.18);
}
.cta-btn:active { background: #184778; color: #fff; }
.feature, .service, .card, .contact-method { border-left: 8px solid #F2B441; }
.service {
  border-top: 4px solid #184778;
}
.price-tag {
  background: #F2B441; color: #184778; font-weight: bold;
}
.project {
  border-left: 8px solid #184778;
}

/* --- Animations/Micro-interactions --- */
.feature img, .service img, .contact-method img {
  transition: transform 0.22s cubic-bezier(.4,.1,.62,1.55);
}
.feature:hover img, .service:hover img, .contact-method:hover img {
  transform: scale(1.18) rotate(-8deg);
}

/* Misc */
::-webkit-input-placeholder { color: #18477883; }
:-ms-input-placeholder { color: #18477883; }
::placeholder { color: #18477883; }

[tabindex]:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid #F2B441;
  outline-offset: 2px;
}

/* For visually hidden cookie modal when closed (add .hidden) */
.cookie-modal-overlay.hidden, .cookie-banner.hidden { display: none !important; }

