/* ==========================================================================
   CSS RESET & BASE TYPOGRAPHY
   ========================================================================== */
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;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F7F7F2;
  color: #2C3E50;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #2C3E50;
  background: #F7F7F2;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #B4975A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
}
section, article, aside, footer, header, nav, main {
  display: block;
}
hr {
  border: none;
  height: 1px;
  background: #E0E4EA;
  margin: 32px 0;
}

/* ==========================================================================
   BRAND FONTS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #2C3E50;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-size: 1rem;
}
strong {
  font-weight: bold;
  color: #2C3E50;
}

/* ==========================================================================
   CONTAINER & SECTION LAYOUTS
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44,62,80,0.07);
}

/* Section styles for special backgrounds */
.hero {
  background: linear-gradient(120deg, #F7F7F2 75%, #E0E4EA 100%);
  padding: 48px 0 48px 0;
  margin-bottom: 48px;
  position: relative;
}

/* Card and Grid Layouts (Flexbox! NOT Grid) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(44,62,80,0.13);
  transform: translateY(-4px);
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f1f3f7;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.07);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: #2C3E50;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Alternate Feature and Icon Grids */
.feature-grid, .icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .icon-grid > div {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(44,62,80,0.05);
  min-width: 220px;
  padding: 32px 18px 24px 18px;
  gap: 16px;
  flex: 1 1 240px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover, .icon-grid > div:hover {
  box-shadow: 0 6px 16px rgba(44,62,80,0.13);
  transform: translateY(-3px);
}

.certifications {
  margin-top: 18px;
  margin-bottom: 18px;
  background: #F7F7F2;
  border-radius: 10px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.experience-timeline {
  margin-top: 18px;
  margin-bottom: 18px;
  background: #F7F7F2;
  border-radius: 10px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
header {
  background: #fff;
  border-bottom: 1px solid #E0E4EA;
  box-shadow: 0 2px 8px rgba(44,62,80,0.04);
  z-index: 10;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 1rem;
  color: #2C3E50;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E0E4EA;
  color: #B4975A;
}
.main-nav .cta-btn {
  background: #2C3E50;
  color: #fff;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(44,62,80,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #B4975A;
  color: #fff;
  box-shadow: 0 4px 12px rgba(44,62,80,0.15);
}

header img {
  height: 44px;
  width: auto;
}

/* --------------------------------------------------------------------------
   MOBILE BURGER MENU
   -------------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #2C3E50;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #B4975A;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.96);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.86, 0, 0.07, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #fff;
  margin: 26px 18px 0 18px;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B4975A;
}

/* --------------------------------------------------------------------------
   MAIN & FOOTER
   -------------------------------------------------------------------------- */
main {
  min-height: 40vh;
  width: 100%;
}
footer {
  background: #fff;
  border-top: 1px solid #E0E4EA;
  font-size: 0.97rem;
  margin-top: 48px;
  padding: 0 0 0 0;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 20px 18px 20px;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px 16px 20px;
  border-top: 1px solid #E0E4EA;
  color: #697180;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.legal-info {
  font-size: 0.95rem;
  color: #98a0ab;
  text-align: right;
}
footer img {
  height: 38px;
  width: auto;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 270px;
  text-align: center;
}
.hero .content-wrapper {
  gap: 20px;
  align-items: center;
}
.hero h1 {
  color: #2C3E50;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.1rem;
  color: #697180;
  margin-bottom: 8px;
}
.hero .cta-btn {
  margin-top: 16px;
}

/* ==========================================================================
   BUTTONS & CTA
   ========================================================================== */
.cta-btn {
  display: inline-block;
  background: #2C3E50;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 32px 13px 32px;
  font-size: 1.11rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(44,62,80,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B4975A;
  color: #fff;
  box-shadow: 0 4px 14px rgba(44,62,80,0.18);
  transform: translateY(-2px);
}

button, input[type="submit"], input[type="button"] {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 22px;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
button:focus {
  outline: 2px solid #B4975A;
  outline-offset: 2px;
}

/* ==========================================================================
   ICONS & INLINE INFO
   ========================================================================== */
section .content-wrapper > div > img,
.contact-info img,
.contact-list img {
  height: 28px;
  width: 28px;
  margin-bottom: -5px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials .testimonial-card {
  background: #f1f3f7;
  color: #2C3E50;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(44,62,80,0.07);
  border-left: 4px solid #2C3E50;
  font-size: 1.05rem;
  margin-bottom: 20px;
  gap: 24px;
  align-items: flex-start;
  min-width: 240px;
}
.testimonial-card > p {
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #2C3E50;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card span {
  color: #B4975A;
  font-size: 1.15rem;
  margin-left: 8px;
}

/* ==========================================================================
   CONTACT/INFO BLOCKS
   ========================================================================== */
.contact .content-wrapper > div,
.contact-info .contact-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F7F7F2;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 10px;
  font-size: 1.06rem;
}
.contact-info .contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info .contact-list a {
  color: #2C3E50;
  font-weight: 500;
}

/* Information/Legal Sections */
.legal {
  background: #fff;
  padding: 44px 0 44px 0;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(44,62,80,0.08);
}
.legal .content-wrapper {
  gap: 20px;
}
.text-section {
  line-height: 1.68;
  color: #2C3E50;
  background: #F7F7F2;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
  font-size: 1.01rem;
}

/* ==========================================================================
   MISCELLANEOUS UI
   ========================================================================== */
.faq-accordion > div {
  background: #fafbfc;
  border-radius: 9px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(44,62,80,0.04);
  font-family: 'Roboto', Arial, sans-serif;
}
.contact-us-prompt {
  margin-top: 18px;
  padding: 14px 15px;
  background: #B4975A;
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
}
.contact-us-prompt a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

.team-placeholder {
  width: 76px;
  height: 76px;
  background: #B4975A;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

/* Timeline List Styling */
.experience-timeline ul {
  list-style: disc inside;
  margin-top: 9px;
  color: #697180;
}

.certifications ul {
  list-style: none;
  padding-left: 0;
}
.certifications li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.04rem;
}
.certifications img {
  width: 24px;
  height: 24px;
}


/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #2C3E50;
  color: #fff;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 -2px 14px rgba(44,62,80,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  z-index: 8888;
  opacity: 1;
  transition: transform 0.34s, opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__message {
  flex: 2 1 260px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 19px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.17s, color 0.17s;
  outline: none;
}
.cookie-btn--accept {
  background: #B4975A;
  color: #fff;
}
.cookie-btn--accept:hover {
  background: #2C3E50;
  color: #fff;
}
.cookie-btn--decline {
  background: #F7F7F2;
  color: #2C3E50;
  border: 1px solid #E0E4EA;
}
.cookie-btn--decline:hover {
  background: #E0E4EA;
  color: #2C3E50;
}
.cookie-btn--settings {
  background: #2C3E50;
  color: #fff;
  border: 1px solid #B4975A;
}
.cookie-btn--settings:hover {
  background: #B4975A;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,62,80,0.65);
  z-index: 8889;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(44,62,80,0.17);
  padding: 36px 28px 26px 28px;
  max-width: 420px;
  width: 94vw;
  color: #2C3E50;
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookiePop 0.4s cubic-bezier(0.67,0,0.26,1);
}
@keyframes cookiePop {
  0% { transform: translateY(80px) scale(0.97); opacity: 0; }
  96%{ transform: translateY(-5px) scale(1.03); }
  100% { transform: translateY(0) scale(1); opacity:1; }
}

.cookie-modal__close {
  position: absolute;
  top: 15px; right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2C3E50;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal__close:hover {
  color: #B4975A;
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #B4975A;
  width: 20px; height: 20px;
}
.cookie-modal__footer {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .essential {
  font-style: italic;
  color: #B4975A;
  cursor: not-allowed;
}

/* ==========================================================================
   RESPONSIVE FLEXBOX/MOBILE STYLES
   ========================================================================== */
@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 950px){
  .feature-grid > div, .icon-grid > div, .card {
    min-width: 180px;
    flex: 1 1 44%;
  }
  .footer-top nav, .footer-bottom nav {
    gap: 11px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .section, .legal {
    padding: 22px 8px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .hero {
    padding: 26px 0;
    margin-bottom: 26px;
  }
  .hero .container {
    min-height: 140px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap:9px;
    height: 54px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer img {
    height: 30px;
  }
  .feature-grid, .icon-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 8px !important;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonials .testimonial-card {
    flex-direction: column;
    gap: 11px;
    padding: 16px;
  }
  .testimonial-card {
    min-width: unset;
    font-size: 0.97rem;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.18rem;
  }
  .hero .cta-btn {
    padding: 11px 17px;
    font-size: 1rem;
  }
}
@media (max-width:450px){
  .cookie-modal {
    padding: 16px 3vw 16px 3vw;
    max-width: 98vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 6vw 12px 6vw;
  }
}

/* ==========================================================================
   MICRO-INTERACTIONS & HOVER EFFECTS
   ========================================================================== */
.card, .feature-grid > div, .icon-grid > div {
  transition: box-shadow 0.21s cubic-bezier(.67,.34,.15,1.2), transform 0.18s cubic-bezier(.67,.34,.15,1.2);
}
a, button, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.17s, box-shadow 0.17s, transform 0.13s;
}

/* Focus outlines for accessibility */
a:focus, .cta-btn:focus, button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #B4975A;
  outline-offset: 2px;
}

/* ==========================================================================
   COLORS UTILITIES
   ========================================================================== */
.bg-primary { background: #2C3E50 !important; color: #fff !important; }
.bg-secondary { background: #B4975A !important; color: #fff !important; }
.bg-accent { background: #F7F7F2 !important; color: #2C3E50 !important; }
.text-primary { color: #2C3E50 !important; }
.text-secondary { color: #B4975A !important; }
.text-accent { color: #F7F7F2 !important; }

/* ==========================================================================
   VISUAL ENHANCEMENTS
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F7F2;
}
::-webkit-scrollbar-thumb {
  background: #E0E4EA;
  border-radius: 18px;
}

/* End of styles */
