/* 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;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  background: #F3EADA;
  color: #184C2F;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #275578;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #C25218;
}
ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #184C2F;
}
h1 { font-size: 2.25rem; letter-spacing: .012em; }
h2 { font-size: 1.5rem; letter-spacing: .01em; }
h3 { font-size: 1.15rem; letter-spacing: .008em; }
h4, h5, h6 { font-size: 1rem; }
p, li, label, input, textarea {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #2E2321;
  line-height: 1.6;
}

/* ========================== VINTAGE RETRO COLOR & EFFECTS ========================== */
:root {
  --primary: #275578;
  --secondary: #184C2F;
  --accent: #F3EADA;
  --orange-retro: #C25218;
  --mustard-retro: #E7C065;
  --green-retro: #789262;
  --cream-retro: #FFF9F3;
  --retro-border: #bfa679;
  --retro-shadow: rgba(42,34,28,0.11);
}

body {
  background: var(--cream-retro);
}

/* Vintage accent patterns */
body::before {
  content: '';
  position: fixed;
  z-index: 0;
  top: -48px;
  left: -64px;
  width: 360px;
  height: 240px;
  pointer-events: none;
  background: repeating-linear-gradient(141deg, #E7C065 0 4px, transparent 4px 14px), repeating-linear-gradient(54deg, #78926230 0 6px, transparent 6px 18px);
  opacity: 0.11;
}
body::after {
  content: '';
  position: fixed;
  z-index: 0;
  right: -60px;
  bottom: -64px;
  width: 320px;
  height: 200px;
  pointer-events: none;
  background: repeating-linear-gradient(98deg, #C25218 0 7px, transparent 7px 17px), repeating-linear-gradient(30deg, #27557820 0 10px, transparent 10px 23px);
  opacity: 0.08;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ==================== HEADER & NAV ===================== */
header {
  background: var(--accent);
  box-shadow: 0 3px 16px var(--retro-shadow);
  margin-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0 0 0;
}
.main-nav > a img {
  height: 48px;
  width: auto;
  filter: drop-shadow(1px 2px 0 #C25218c9);
  margin-right: 19px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-left: 14px;
  margin-right: 14px;
  align-items: center;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 5px 0;
  position: relative;
  color: var(--primary);
  transition: color 0.22s;
}
.main-nav li a:hover, .main-nav li a:focus {
  color: var(--orange-retro);
}
.cta-button {
  background: var(--orange-retro);
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .04em;
  font-weight: 700;
  border: none;
  outline: none;
  border-radius: 33px;
  padding: 10px 36px;
  font-size: 1.12rem;
  box-shadow: 0 5px 20px var(--retro-shadow);
  cursor: pointer;
  margin-left: 12px;
  transition: background-color 0.23s, box-shadow 0.18s, transform 0.1s;
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: #fffbe6;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 9px 25px #C2521880;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 26px;
  z-index: 160;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--orange-retro);
}

/* ----- MOBILE MENU SYSTEM ----- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  box-shadow: 0 4px 18px var(--retro-shadow);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(0.77,0,0.18,1);
  padding: 0 32px 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 16px;
  margin-right: 10px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2.0rem;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--orange-retro);
}
.mobile-nav {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 12px 0;
  border-bottom: 1px dotted var(--retro-border);
  transition: background 0.16s, color 0.18s;
  border-radius: 8px 8px 0 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--mustard-retro);
  color: var(--primary);
}

/* HEADER RESPONSIVE */
@media (max-width: 1020px) {
  .main-nav ul {
    gap: 12px 13px;
  }
  .main-nav > a img {
    height: 40px;
    margin-right: 10px;
  }
  .main-nav,
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 860px) {
  .main-nav ul,
  .main-nav .cta-button {
    display: none;
  }
  .main-nav > a {
    margin-right: auto;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 24px;
    right: 12px;
  }
}
@media (max-width: 600px) {
  header {
    padding-bottom: 10px;
  }
  .main-nav {
    padding: 12px 0 0 0;
  }
  .mobile-menu {
    padding: 0 6vw;
  }
}

/* ========================= HERO & CTA BANNER ========================= */
.hero-section,
.cta-banner,
.contact-hero,
.pricing-hero,
.education-hero,
.thank-you-section {
  background: var(--mustard-retro);
  border-bottom: 4px solid var(--retro-border);
  border-radius: 0 0 60px 60px / 0 0 33px 33px;
  box-shadow: 0 5px 16px var(--retro-shadow);
  margin-bottom: 60px;
  padding: 40px 0 54px 0;
  position: relative;
  z-index: 1;
}
.hero-section h1,
.cta-banner h2,
.thank-you-section h1,
.pricing-hero h1,
.education-hero h1 {
  color: var(--primary);
  font-size: 2.35rem;
  text-shadow: 1.5px 2px 0 #fffbe6, 0 4px 16px #fff6;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}
.hero-section p,
.cta-banner p,
.thank-you-section p {
  color: #463324;
  font-size: 1.15rem;
  margin-bottom: 22px;
}

@media (max-width: 600px) {
  .hero-section, .cta-banner, .thank-you-section, .pricing-hero, .education-hero {
    padding: 30px 0 35px 0;
    border-radius: 0 0 28px 28px / 0 0 22px 22px;
  }
  .hero-section h1, .cta-banner h2, .thank-you-section h1 {
    font-size: 1.42rem;
  }
}

/* ======================= FEATURE GRIDS & FLEX WRAPS ====================== */
.features-section, .fact-section, .about-section, .resources-section, .contact-form-section, .services,
.pricing-table-section, .team-section, .skills-section, .testimonial-section, .services-preview, .faq-section, .contact-details-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF9F3;
  border-radius: 22px;
  box-shadow: 0 2px 11px 0 var(--retro-shadow);
}

.features-section ul.feature-grid,
.fact-section ul.feature-list,
.skills-section ul,
.resources-section ul.article-list,
.faq-section ul.faq-list,
.services .service-list,
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.features-section ul.feature-grid > li,
.fact-section ul.feature-list > li,
.skills-section ul > li,
.resources-section ul.article-list > li,
.faq-section ul.faq-list > li,
.services .service-list > li {
  background: var(--accent);
  border: 1.5px solid var(--retro-border);
  border-radius: 18px;
  padding: 25px 18px 18px 18px;
  box-shadow: 0 4px 14px var(--retro-shadow);
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 330px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: stretch;
}
.service-card {
  background: #fff;
  border-radius: 20px;
  border: 1.2px solid var(--retro-border);
  box-shadow: 0 3px 12px 0 var(--retro-shadow);
  padding: 28px 18px 20px 18px;
  flex: 1 1 250px;
  min-width: 212px;
  max-width: 300px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.15s;
  position: relative;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 36px 0 #27557829;
  transform: scale(1.025) translateY(-3px);
  z-index: 2;
}
.service-card img {
  height: 38px; width: 38px; margin-bottom: 3px;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--mustard-retro);
  border-radius: 16px;
  color: var(--primary);
  padding: 4px 16px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 1px 5px var(--retro-shadow);
  margin-top: 5px;
}

.team-member-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-member-card {
  background: #fff;
  border-radius: 18px;
  border: 1.2px solid var(--retro-border);
  box-shadow: 0 3px 12px var(--retro-shadow);
  padding: 26px 16px 18px 16px;
  min-width: 215px;
  max-width: 265px;
  margin-bottom: 20px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.15s;
}
.team-member-card:hover, .team-member-card:focus-within {
  box-shadow: 0 12px 35px #184C2F21;
  transform: scale(1.025) translateY(-3px);
  z-index: 2;
}
.team-member-card img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
}
.team-member-card h2 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.team-member-card .role {
  font-size: 0.93rem;
  font-weight: 500;
  color: #C25218;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
}

.brand-values ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  padding-left: 0;
}
.brand-values ul li {
  background: var(--mustard-retro);
  border-radius: 25px;
  padding: 8px 18px;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  border: 1px dashed var(--retro-border);
}

/* =================== Testimonial Card Styles ================== */
.testimonials, .testimonial-section {
  background: var(--accent);
  border-radius: 20px;
  box-shadow: 0 2px 14px var(--retro-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 25px 18px 25px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 350px;
  background: #fff;
  border-radius: 15px;
  border: 1.2px solid var(--retro-border);
  box-shadow: 0 3px 12px var(--retro-shadow);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  transition: box-shadow 0.17s, transform 0.16s;
  position: relative;
  color: var(--secondary);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 26px var(--primary)23;
  transform: scale(1.03) translateY(-3px);
  z-index: 2;
}
.star-rating {
  color: var(--mustard-retro);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .05em;
  text-shadow: 1px 1px 0 #fff6, 0 0 6px #ffaa0090;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .features-section ul.feature-grid, .service-cards, .team-member-cards, .testimonial-slider {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .features-section ul.feature-grid, .service-cards, .team-member-cards, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* ==================== Article, FAQ, Brand Footer ================ */
.article-list > li, .faq-list > li, .contact-details > li {
  margin-bottom: 18px;
  background: #fff;
  border: 1.2px solid var(--retro-border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 3px 10px #aaa3 0.08;
}
.article-list > li h3, .faq-list > li h3 {
  color: var(--primary);
  font-size: 1.17rem;
}
.read-more-link {
  background: var(--primary);
  color: #fff;
  padding: 5px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
  margin-top: 8px;
  display: inline-block;
}
.read-more-link:hover, .read-more-link:focus {
  background: var(--orange-retro);
  color: #fffbe6;
}

.learn-more-link {
  color: var(--orange-retro);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  text-decoration: underline dotted var(--mustard-retro);
  transition: color 0.14s, background 0.14s;
  background: var(--cream-retro);
  border-radius: 10px;
  padding: 3px 12px 2px 12px;
  margin-top: 10px;
}
.learn-more-link:hover, .learn-more-link:focus {
  color: var(--primary);
  background: var(--mustard-retro);
}

.contact-details > li {
  border-left: 7px solid var(--primary);
}

.policy-section, .text-section {
  background: #fff;
  border-radius: 15px;
  border: 1.2px solid var(--retro-border);
  box-shadow: 0 3px 12px #b19d6a15;
  padding: 28px 18px 12px 18px;
}
.policy-section h1 {
  color: var(--secondary);
  font-size: 1.55rem;
  margin-bottom: 12px;
}

/* =============== PRICING TABLE ============== */
.pricing-table-section {
  overflow-x: auto;
}
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 3px 9px var(--retro-shadow);
  margin-top: 10px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--retro-border);
}
.pricing-table th,
.pricing-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--retro-border);
  color: #184C2F;
  background: #fff;
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.pricing-table th {
  background: var(--mustard-retro);
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: left;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  color: var(--primary);
  border-bottom: 2px solid var(--retro-border);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 700px) {
  .pricing-table th, .pricing-table td { font-size: 0.97rem; padding: 9px 6px; }
}

/* =============== FORMS ============== */
input, textarea {
  border: 1px solid var(--retro-border);
  border-radius: 7px;
  padding: 10px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 16px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 2px 8px #27557833;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 7px;
}
button[type="submit"].cta-button {
  margin-top: 7px;
}

/* =============== FOOTER & UTILS ============== */
footer {
  background: var(--primary);
  color: #fff;
  border-radius: 25px 25px 0 0 / 19px 19px 0 0;
  margin-top: 40px;
  box-shadow: 0 4px 19px var(--retro-shadow);
  position: relative;
  z-index: 2;
  padding-bottom: 18px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 28px 10px 14px 10px;
}
.footer-nav a {
  color: #FFD742;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  text-decoration: underline dotted #E7C065;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fffbe6;
  text-decoration-color: #fffbe6;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-content: center;
  margin-top: 0px;
  margin-bottom: 0;
}
.brand-footer img {
  height: 32px;
  width: 32px;
}
.brand-footer span {
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fffbe6;
}
.footer-copy {
  color: #F3EADA;
  font-size: 0.89rem;
  text-align: center;
  margin-top: 12px;
  font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 800px) {
  .footer-nav ul { gap: 16px; padding: 17px 2px 10px 2px; }
  .brand-footer { flex-direction: column; gap: 7px; margin-top: 7px; }
}

/* =========== VINTAGE MICRO INTERACTIONS, SHADOWS & HOVER ============ */
.card, .service-card, .team-member-card, .testimonial-card {
  box-shadow: 0 3px 12px var(--retro-shadow);
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover, .service-card:hover, .team-member-card:hover, .testimonial-card:hover, .card:focus-within, .service-card:focus-within, .team-member-card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 8px 35px #C252182c;
  transform: scale(1.035) translateY(-2px);
  z-index: 20;
}

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: var(--mustard-retro);
  color: var(--primary);
  border-top: 3px solid var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 -3px 15px var(--retro-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
  z-index: 9999;
  padding: 20px 14vw 16px 14vw;
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 280px;
  margin-bottom: 0;
  color: #184C2F;
  font-weight: 500;
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: #fffbe6;
  border: none;
  border-radius: 23px;
  padding: 8px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin-right: 7px;
  cursor: pointer;
  box-shadow: 0 2px 10px #184C2F15;
  transition: background 0.19s, color 0.13s, box-shadow 0.16s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--orange-retro);
  color: #fff;
  box-shadow: 0 4px 18px #E7C06544;
}
.cookie-banner .cookie-settings {
  background: transparent;
  border: 1.2px solid var(--primary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 22px;
  border-radius: 19px;
  font-weight: 700;
  transition: background 0.14s, border-color 0.16s, color 0.19s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #fffbe6;
  color: var(--orange-retro);
  border-color: var(--orange-retro);
}

@media (max-width: 800px) {
  .cookie-banner { font-size: 0.98rem; padding: 14px 6vw 14px 6vw; }
}
@media (max-width: 500px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 0.97rem; padding: 8px 4vw 18px 4vw; }
}

/* =============== COOKIE MODAL =============== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32, 24, 21, 0.42);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInModal 0.27s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fffbe6;
  padding: 28px 27px 19px 27px;
  border-radius: 22px;
  box-shadow: 0 5px 27px #184C2F28;
  min-width: 270px; max-width: 420px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  border: 2px solid var(--mustard-retro);
}
.cookie-modal-content h2 {
  font-size: 1.22rem;
  margin-bottom: 7px;
  color: var(--primary);
}
.cookie-category {
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 1.1em; height: 1.1em;
}
.cookie-modal-btnrow {
  display: flex;
  gap: 13px;
  margin-top: 10px;
  width: 100%;
}
.cookie-modal .cookie-btn {
  width: 100%;
  border-radius: 17px;
  min-width: 0;
  font-size: 1.01rem;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--secondary);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--orange-retro);
}
.cookie-category label {
  font-size: 1.01rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-note {
  font-size: 0.96rem;
  color: #6B532B;
  margin-top: 6px;
}

/* ========== CONTENT SPACING: SECTIONS, FLEX GROUPS, LAYOUTS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 1.2px solid var(--retro-border);
  border-radius: 15px;
  padding: 18px 17px;
}
.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: 850px) {
  .content-grid { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 20px; }
}
@media(max-width: 650px) {
  .section, .features-section, .fact-section, .about-section, .resources-section, .contact-form-section, .services, .pricing-table-section, .team-section, .skills-section, .testimonial-section, .services-preview, .faq-section, .contact-details-section {
    padding: 18px 4vw;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}

/* =================== RESPONSIVE TYPOGRAPHY =================== */
@media(max-width: 700px){
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.1rem; }
}

/* =================== VINTAGE DETAILS =================== */
.card, .service-card, .team-member-card, .testimonial-card,
.features-section ul.feature-grid > li, .fact-section ul.feature-list > li {
  border-style: solid;
  border-width: 1.2px;
  border-radius: 19px 25px 13px 18px/13px 17px 22px 23px;
  box-shadow: 0 2.5px 10px #1e110C16, 0 1.5px 4px #BFA67920;
}

/* =================== MISC UTILS =================== */
::-webkit-scrollbar { width: 12px; background: #F3EADA; }
::-webkit-scrollbar-thumb { background: #E7C065; border-radius: 7px; }

/* Ensure buttons and links are easy to tap on mobile */
button, a, .cta-button {
  touch-action: manipulation;
}

/* ========== Ensure all interactive elements match retro style ========== */
button, .cta-button, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2.5px 8px #1e110c11;
  border-radius: 20px;
  transition: background 0.17s, color 0.13s, box-shadow 0.16s;
}

/* ================== PRINT & ACCESSIBILITY ================ */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  body { background: #fff!important; }
}
