/* =============================================================
   CSS RESET & BASELINE (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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F3F6F2;
  color: #224E3E;
  font-family: 'Roboto', Times New Roman, Times, serif;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #224E3E;
  text-decoration: underline;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #B0731D;
  text-decoration: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* =============================================================
   TYPOGRAPHY (Elegant Classic)
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, 'Times New Roman', serif;
  letter-spacing: 0.5px;
  color: #224E3E;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  line-height: 1.16;
  letter-spacing: 1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.18rem; }
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #224E3E;
  font-family: 'Roboto', Georgia, Times, 'Times New Roman', serif;
}
strong {
  font-weight: 700;
  color: #B0731D;
}

/* =============================================================
   LAYOUT CONTAINERS
   ============================================================= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* =============================================================
   HEADER & NAVIGATION
   ============================================================= */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(34, 78, 62, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
.logo img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, Times, 'Times New Roman', serif;
  font-size: 1rem;
  color: #224E3E;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #B0731D;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover::after {
  width: 100%;
}
.main-nav a:hover {
  color: #B0731D;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #224E3E;
  color: #fff;
  font-family: 'Montserrat', Georgia, Times, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 32px;
  border: none;
  box-shadow: 0 4px 12px rgba(34,78,62,0.07);
  transition: background 0.2s, box-shadow 0.3s, color 0.2s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B0731D;
  color: #fff;
  box-shadow: 0 4px 24px rgba(176,115,29,0.18);
  text-decoration: none;
}
/* Burger menu (mobile only) */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background: #224E3E;
  color: #fff;
  font-size: 2rem;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(34, 78, 62, 0.07);
  transition: background 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #B0731D;
}
/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.84,.01,.27,.99);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 0 1px 48px rgba(34, 78, 62, 0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #224E3E;
  color: #fff;
  font-size: 2rem;
  height: 44px; width: 44px;
  border-radius: 50%;
  margin: 18px 24px 8px 0;
  transition: background 0.2s;
  z-index: 210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B0731D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 32px 32px 32px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, Times, 'Times New Roman', serif;
  font-size: 1.25rem;
  color: #224E3E;
  text-decoration: none;
  padding: 8px 0;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.22s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F6F2;
  color: #B0731D;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =============================================================
   HERO SECTION & GENERIC SECTIONS
   ============================================================= */
.section,
.hero,
.features,
.services-overview,
.testimonials,
.about-short,
.home-contact,
.company-history,
.company-values,
.team,
.services-detail,
.service-benefits,
.process-short,
.project-list,
.project-testimonials,
.process-full,
.faq-section,
.faq-contact-cta,
.contact-section,
.contact-cta,
.thankyou,
.privacy-policy,
.gdpr-info,
.cookie-policy,
.terms-conditions {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(34,78,62,0.05);
}
/* Section background alternation for elegance */
.features, .about-short, .company-values, .service-benefits, .faq-contact-cta {
  background: #F3F6F2;
}
.hero {
  background: linear-gradient(120deg,#F3F6F2 60%,#fff 100%);
  padding-top: 48px;
  padding-bottom: 64px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 32px;
}
.hero h1 {
  font-size: 2.8rem;
  font-family: 'Montserrat', Georgia, Times, serif;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.2rem;
  color: #313d37;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .section, .hero, .features, .services-overview, .testimonials, .about-short, .home-contact,
  .company-history, .company-values, .team, .services-detail, .service-benefits, .process-short,
  .project-list, .project-testimonials, .process-full, .faq-section, .faq-contact-cta, .contact-section,
  .contact-cta, .thankyou, .privacy-policy, .gdpr-info, .cookie-policy, .terms-conditions {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

/* =============================================================
   FLEXBOX PATTERNS & CARD GRIDS
   ============================================================= */
/* Card/feature/testimonial containers */
.card-container,
.card-grid,
.feature-grid,
.project-cards,
.content-grid,
.team-members,
.testimonial-list,
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34,78,62,0.03);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34,78,62,.03);
  padding: 28px 22px;
  min-width: 225px;
  flex: 1 1 245px;
  transition: box-shadow 0.2s;
}
.feature-item img {
  height: 40px;
  width: auto;
}
.feature-item h3 {
  font-size: 1.15rem;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 28px 0 rgba(34,78,62,0.14);
}

/* Project cards */
.project-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34,78,62,0.04);
  flex: 1 1 290px;
  min-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.project-card h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.project-card:hover, .project-card:focus {
  box-shadow: 0 8px 32px rgba(176,115,29,.14);
}

/* Content grid patterns */
.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) {
  .feature-grid, .content-grid, .card-container, .team-members, .testimonial-list, .testimonial-carousel, .project-cards {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .project-card, .feature-item {
    min-width: 0;
    width: 100%;
  }
}

/* =============================================================
   TESTIMONIALS & REVIEW CARDS
   ============================================================= */
.testimonial-list, .testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 22px rgba(34,78,62,0.04);
  max-width: 380px;
  min-width: 240px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 38px rgba(34,78,62,0.15);
}
.testimonial-card p {
  color: #1d3127;
  font-size: 1.07rem;
  font-family: "Roboto", Georgia, serif;
  line-height: 1.6;
  margin-bottom: 12px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #224E3E;
  font-style: italic;
  font-family: 'Montserrat', serif;
}
.star-rating {
  color: #B0731D;
  letter-spacing: 2.2px;
  margin-left: 4px;
  font-size: 1.11rem;
}
.ratings-overview {
  margin: 18px 0 0;
  font-family: 'Montserrat', serif;
  font-size: 1.05rem;
  color: #224E3E;
}
@media (max-width: 600px) {
  .testimonial-card { max-width: 100%; }
}

/* =============================================================
    LISTS (cards, bullets, steps)
   ============================================================= */
.brand-values li, .milestones li, .service-list li, .service-detail-list li, .team-members li,
.faq-highlights li, .faq-accordion .faq-item, .process-stepper li, .process-timeline li, .thankyou ul li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #224E3E;
  font-family: 'Roboto', Georgia, serif;
}
.brand-values, .milestones, .service-list, .service-detail-list, .team-members {
  margin-bottom: 10px;
}
.process-stepper, .process-timeline, .faq-highlights, .faq-accordion {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.faq-accordion .faq-item:not(:last-child) {
  border-bottom: 1px solid #e9eee7;
  padding-bottom: 12px;
}

/* =============================================================
   FORMS, CONTACT, MAP
   ============================================================= */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 18px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.03rem;
  color: #224E3E;
}
.location-map {
  margin-top: 24px;
  background: #F3F6F2;
  border-radius: 10px;
  padding: 18px 16px;
}
.contact-brief img, .contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #224E3E;
  color: #fff;
  padding: 38px 0 20px;
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  text-decoration: underline;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B0731D;
  text-decoration: none;
}
footer p {
  color: #fff;
  font-size: 0.92rem;
}

/* =============================================================
   COOKIE CONSENT BANNER
   ============================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10010;
  background: #fff;
  color: #224E3E;
  box-shadow: 0 -2px 24px rgba(34,78,62,0.07);
  padding: 24px 10px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  transition: transform 0.33s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-consent-banner .cookie-btn {
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  background: #224E3E;
  color: #fff;
  box-shadow: 0 2px 8px rgba(34,78,62,0.09);
  transition: background 0.19s, color 0.19s;
  margin-right: 7px;
}
.cookie-consent-banner .cookie-btn.secondary {
  background: #fff;
  color: #224E3E;
  border: 1px solid #224E3E;
}
.cookie-consent-banner .cookie-btn.accent {
  background: #B0731D;
  color: #fff;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: #B0731D;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.secondary:hover, .cookie-consent-banner .cookie-btn.secondary:focus {
  background: #F3F6F2;
  color: #224E3E;
}
.cookie-consent-banner .cookie-btn:active {
  transform: scale(0.97);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,78,62,0.37);
  z-index: 11000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.35s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #224E3E;
  border-radius: 18px;
  max-width: 360px;
  width: 97vw;
  padding: 32px 22px;
  box-shadow: 0 8px 48px rgba(34,78,62,.19);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px; top: 16px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #224E3E;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #B0731D;
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.28rem;
  font-family: 'Montserrat', serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 1em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #224E3E;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
}
.cookie-toggle input[type='checkbox'] {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #e5e8e6;
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.18s;
}
.cookie-toggle input[type='checkbox']:checked {
  background: #B0731D;
}
.cookie-toggle input[type='checkbox']::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 2px rgba(34,78,62,0.07);
}
.cookie-toggle input[type='checkbox']:checked::before {
  left: 16px;
}
.cookie-modal .category-desc {
  color: #85958e;
  font-size: 0.98rem;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin: 24px 0 0;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    padding: 16px 6px 10px 8px;
    gap: 14px;
    font-size: 0.99rem;
  }
  .cookie-modal {
    padding: 24px 6px;
    max-width: 96vw;
  }
}

/* =============================================================
   ANIMATION & MICRO-INTERACTIONS
   ============================================================= */
.card, .feature-item, .project-card, .testimonial-card, .cta-btn, .cookie-btn,
.mobile-menu, .cookie-modal, .hero, .section {
  transition: box-shadow 0.22s, background 0.20s, color 0.17s, transform 0.20s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* Fade+slide in for mobile menu overlay */
.mobile-menu {
  will-change: transform;
}

/* =============================================================
   MISCELLANEOUS/UTILITY
   ============================================================= */
.section-title {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 2rem;
  margin-bottom: 20px;
}
.mb-20 { margin-bottom: 20px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-32 { gap: 32px; }
.gap-16 { gap: 16px; }

/* Ensure all cards and flex items have enough margin */
.card, .feature-item, .testimonial-card, .project-card {
  margin-right: 0;
  margin-bottom: 20px;
}

/* Headings in sections */
.section h2, .content-wrapper h2 {
  font-family: 'Montserrat', Georgia, Times, serif;
  font-size: 2rem;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .section h2, .content-wrapper h2 { font-size: 1.2rem; }
  .section h1, .content-wrapper h1 {font-size: 1.8rem; }
}

/* =============================================================
   FOCUS STATE ACCESSIBILITY
   ============================================================= */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-toggle:focus,
.cookie-btn:focus, .mobile-menu-close:focus, .cookie-modal .modal-close:focus {
  outline: 2px solid #B0731D;
  outline-offset: 2px;
}
::-moz-focus-inner { border:0; }

/* =============================================================
   RESPONSIVE DESIGN / MOBILE-FIRST
   ============================================================= */
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  .cta-btn { margin-left: 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 6px; }
}

/* Allow scroll on body when mobile menu not open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Hide display empty classes if needed */
.d-none { display: none !important; }

/* ==================== END ===================== */