/* ===== 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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #101724;
}
body {
  background: #0E171D;
  color: #F6F2ED;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #FFB84C;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #fff3d4;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
hr {
  border: none;
  border-top: 1px solid #233;
}

/* ===== VARIABLES (with Fallbacks) ===== */
:root {
  --color-primary: #225544;
  --color-primary-dark: #183d31;
  --color-secondary: #F6F2ED;
  --color-background: #0E171D;
  --color-neutral-bg: #18252C;
  --color-card: #18252C;
  --color-accent: #FFB84C;
  --color-accent-glow: #ffe1a7;
  --color-danger: #E2531E;
  --text-light: #F6F2ED;
  --text-dark: #192034;
  --shadow-elevated: 0 6px 24px 0 rgba(32,44,58,0.15), 0 1.5px 3px 0 rgba(0,0,0,0.02);
  --shadow-card: 0 4px 20px 0 rgba(32,44,58,0.11);
  --border-radius-base: 16px;
  --border-radius-lg: 32px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --font-family-display: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  --font-family-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --transition: 0.22s cubic-bezier(.55,.09,.68,.53);
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #b5c5bb; }
::placeholder { color: #b5c5bb; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {font-size: 2.25rem; line-height: 1.1; margin-bottom: 24px;}
h2 {font-size: 1.7rem; margin-bottom: 20px;}
h3 {font-size: 1.4rem; margin-bottom: 14px;}
h4 {font-size: 1.125rem; margin-bottom: 10px;}
h5, h6 {font-size: 1rem;}
p, li {font-size: 1rem;  margin-bottom: 8px; color: var(--text-light);}
strong, b {
  font-weight: 700;
  color: var(--color-accent);
}
small {
  font-size: 0.875rem;
  color: #bbc6c2;
}
.text-dark, .testimonial-card span {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  h1 {font-size: 1.5rem;}
  h2 {font-size: 1.18rem;}
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius-base);
  background: var(--color-neutral-bg);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-image-section { /* Visual alignment for sections with both text and image */
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--border-radius-base);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 30px 0 #ffb84c38, 0 1.5px 6px 0 #ffe1a726;
  transform: translateY(-3px) scale(1.018);
  border-color: var(--color-accent);
}
@media (max-width: 768px) {
  .card {
    padding: 20px 12px;
  }
}

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

.testimonial-card {
  background: var(--color-secondary);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--border-radius-base);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 #9ccfba19, 0 1.5px 3px 0 #ffe1a726;
  border-left: 4px solid var(--color-accent);
  position: relative;
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--text-dark);
  font-size: 1.08rem;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.97rem;
}

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

.features > .container > .content-wrapper > ul,
.features > .container > .content-wrapper > ol,
.services > .container > .content-wrapper > ul,
.services > .container > .content-wrapper > ol,
.about > .container > .content-wrapper.text-section > ul,
.about > .container > .content-wrapper.text-section > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.features li, .services li {
  align-items: center;
  background: #18252C;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px 0 #32393919;
  gap: 14px;
  color: #F6F2ED;
  min-width: 210px;
  flex: 1 1 220px;
  font-size: 1.03rem;
}
.features li img, .services li img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px #ffb84c56);
}
@media (max-width: 768px) {
  .features li, .services li {
    flex: 1 1 100%;
  }
}

/* ========== HEADER & NAVIGATION ========== */
header {
  width: 100%;
  background: #16222a;
  box-shadow: 0 4px 18px 0 #1e664238;
  position: relative;
  z-index: 100;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
header img {
  height: 38px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-family-display);
  font-weight: 600;
  color: var(--text-light);
  font-size: 1rem;
  letter-spacing: 0.02em;
  background: transparent;
  padding: 7px 15px;
  border-radius: 24px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cta-btn {
  background: linear-gradient(90deg, #FFB84C 60%, #ffe1a7 120%);
  color: #192834;
  font-family: var(--font-family-display);
  padding: 9px 26px;
  border: none;
  border-radius: 28px;
  font-weight: 800;
  font-size: 1.11rem;
  box-shadow: 0 4px 24px 0 #ffb84c42;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  z-index: 10;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #ffe1a7 30%, #FFB84C 90%);
  color: #183d31;
  box-shadow: 0 6px 28px 0 #ffb84c88;
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-primary-dark);
  color: var(--color-accent);
  border-radius: 50%;
  font-size: 2.4rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 102;
  border: none;
  box-shadow: 0 2px 8px 0 #183d3114;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 950px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #101724ec;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.43,0,.42,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
  box-shadow: 0 0 0 1200px rgba(16, 23, 36, 0.78);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2.15rem;
  color: var(--color-accent);
  background: #262f38;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  z-index: 1001;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #332d22;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 38px;
  align-items: flex-start;
  width: 80%;
  max-width: 340px;
}
.mobile-nav a {
  padding: 13px 0;
  width: 100%;
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--color-accent);
  border-bottom: 1px solid #223a3660;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22554436;
  color: #fff;
}

/* Hide mobile menu by default on large screens */
@media (min-width: 950px) {
  .mobile-menu { display: none !important; }
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(140deg, #225544 0%, #19333c 65%, #FFB84C 250%);
  box-shadow: 0 10px 42px 0 #17321830;
  border-radius: var(--border-radius-lg);
  min-height: 350px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper {
  max-width: 550px;
  color: #fff;
  gap: 18px;
}
.hero h1 {
  color: #fff3d6;
  text-shadow: 0 2px 14px #22554466;
}
.hero p {
  color: #fffbe6;
  margin-bottom: 22px;
  font-size: 1.11rem;
}

@media (max-width: 768px) {
  .hero { min-height: unset; margin-bottom: 32px; border-radius: var(--border-radius-base); }
  .hero .content-wrapper { max-width: 100%; }
}

/* ========== ABOUT, SERVICES, FEATURES ========== */
.about .content-wrapper, .services .content-wrapper, .features .content-wrapper {
  background: none;
  box-shadow: none;
}

.services > .container > .content-wrapper > ul,
.services > .container > .content-wrapper > ol {
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.services li {
  background: #1a272a;
  color: var(--color-accent);
  min-width: 180px;
}
.services li span {
  color: var(--color-accent);
  font-weight: 700;
  display: block;
  margin-top: 8px;
}

@media (max-width:768px) {
  .services > .container > .content-wrapper > ul,
  .services > .container > .content-wrapper > ol {
    flex-direction: column;
    gap: 14px;
  }
}

/* ========== CONTACT SECTION, SOCIAL MEDIA ========== */
.contact .container {
  padding-bottom: 0;
}
.contact .content-wrapper {
  background: var(--color-card);
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-card);
  padding: 32px 22px;
  gap: 32px;
}
.contact .cta-btn {
  margin-top: 6px;
}
.social-media {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  align-items: center;
}
.social-media img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 7px #FFB84C66) saturate(1.02);
  transition: filter 0.22s;
}
.social-media img:hover {
  filter: drop-shadow(0 0 18px #ffb84c) brightness(1.18);
}

/* ========== FOOTER ========== */
footer {
  width: 100%;
  background: #19232b;
  padding: 28px 0 16px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 21px 0 #22314d37;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 6px;
}
footer nav a {
  color: #dbe8e1;
  font-size: 0.97rem;
  font-family: var(--font-family-display);
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
footer small {
  color: #bbb7ae;
  font-size: 0.91rem;
}

@media (max-width: 945px) {
  footer .container { gap: 14px; }
  footer nav { flex-wrap: wrap; gap: 8px; }
}

/* ========== LEGAL & CONFIRMATION SECTIONS ========== */
.legal, .confirmation {
  background: var(--color-card);
  color: #F6F2ED;
  border-radius: var(--border-radius-base);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow-card);
}
.legal h1, .confirmation h1 {
  color: var(--color-accent);
}
.legal h2, .confirmation h2 { color: #fff; }

/* ========== OTHER UTILITIES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }

/* ========== BUTTON STYLES ========== */
button, .btn {
  font-family: var(--font-family-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-right: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 #183d3125;
}
button:hover, .btn:hover,
button:focus, .btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 20px 0 #ffb84c36;
}

.btn-secondary {
  background: #fffbe6;
  color: var(--color-primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: #fff;
}
.btn-outline {
  background: none !important;
  border: 2px solid var(--color-accent) !important;
  color: var(--color-accent) !important;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--color-accent) !important;
  color: #192834 !important;
}

/* ========== TRANSITIONS & MICROINTERACTIONS ========== */
.card, .cta-btn, .testimonial-card, button, .btn {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 #ffb84c60;
  transform: translateY(-2px) scale(1.012);
}
.features li:hover, .services li:hover {
  border-color: var(--color-accent);
  box-shadow: 0 3px 12px 0 #ffb84c33;
  background: #263933;
  transform: translateY(-2px);
  z-index: 2;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding: 0 7vw;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 2vw;
  }
  .section, .legal, .confirmation {
    padding: 22px 3vw;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .content-wrapper, .contact .content-wrapper {
    gap: 18px;
    padding: 12px 0;
  }
  .contact .content-wrapper { padding: 12px 0; }
  .testimonial-card { padding: 14px; }
}

/* ========== COOKIE CONSENT BANNER ========== */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #16222a;
  color: var(--color-secondary);
  z-index: 1300;
  box-shadow: 0 -3px 20px 0 #0014111f;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  animation: cookie-slide-up 0.44s 1;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
#cookie-banner p {
  color: #fffbe6;
  margin-bottom: 0;
  font-size: 1.01rem;
}
#cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
#cookie-banner button {
  font-family: var(--font-family-display);
  border-radius: 24px;
  padding: 9px 19px;
  margin-right: 0;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
#cookie-banner .accept {
  background: var(--color-accent);
  color: #1f2428;
}
#cookie-banner .accept:hover, #cookie-banner .accept:focus {
  background: #ffd881;
  color: #0e1c23;
}
#cookie-banner .reject {
  background: #232b22;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}
#cookie-banner .reject:hover, #cookie-banner .reject:focus {
  background: var(--color-primary);
  color: #fff;
}
#cookie-banner .settings {
  background: #fffbe6;
  color: var(--color-primary);
  border: 2px solid #fffbe6;
}
#cookie-banner .settings:hover, #cookie-banner .settings:focus {
  background: var(--color-accent);
  color: #fff;
}

/* ========== COOKIE MODAL ========== */
#cookie-modal-backdrop {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(12,16,22,0.82);
  z-index: 1500;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}
#cookie-modal-backdrop.open {
  display: flex;
  animation: cookie-fadein 0.28s 1;
}
@keyframes cookie-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal {
  background: #16222a;
  color: var(--color-secondary);
  border-radius: 20px;
  box-shadow: 0 8px 36px 0 #223a4938;
  padding: 34px 32px 24px 32px;
  max-width: 420px;
  min-width: 280px;
  position: relative;
  z-index: 1501;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-appear .27s cubic-bezier(.44,.14,.9,1) 1;
}
@keyframes modal-appear {
  from { transform: translateY(36px) scale(0.97); opacity: 0.7; }
  to { transform: none; opacity: 1; }
}
#cookie-modal h2 {
  color: var(--color-accent);
  margin-bottom: 6px;
}
#cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
#cookie-modal .category {
  background: #19232b;
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
#cookie-modal .category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-accent);
}
#cookie-modal .category label {
  color: #fffbe6;
  font-size: 1rem;
  font-weight: 600;
}
#cookie-modal .save-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 22px;
  font-family: var(--font-family-display);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 10px 19px;
  transition: background var(--transition);
}
#cookie-modal .save-btn:hover, #cookie-modal .save-btn:focus {
  background: #ffd881;
  color: #0e1c23;
}
#cookie-modal .close-btn {
  background: none;
  color: var(--color-accent);
  border: none;
  font-size: 1.7rem;
  position: absolute;
  top: 12px;
  right: 18px;
  transition: color var(--transition);
}
#cookie-modal .close-btn:hover, #cookie-modal .close-btn:focus {
  color: #fff;
}

/* Responsive Cookie Modal */
@media (max-width: 520px) {
  #cookie-modal {
    max-width: 96vw;
    padding: 20px 8px;
  }
}

/* ====== MISCELLANEOUS SPACING & FLEX ====== */
.section, .about, .legal, .confirmation, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius-base);
}
.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;
}

/* Utility for visually hidden elements */
.visually-hidden {
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

/* ===== END OF CSS ===== */
