/* ---------------------------------------
   CSS RESET & NORMALIZATION
--------------------------------------- */
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F7F4EF;
  color: #244058;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* ---------------------------------------
   CUSTOM FONT IMPORT
--------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Montserrat:wght@400;700;900&display=swap');

/* Brand Color Variables */
:root {
  --color-primary: #244058;
  --color-secondary: #B0866B;
  --color-accent: #F7F4EF;
  --color-white: #fff;
  --color-black: #1a222e;
  --color-contrast-dark: #21232D;
  --color-neutral: #E7E3DE;
  --shadow-card: 0 4px 24px rgba(36,64,88,0.09), 0 2px 4px rgba(36,64,88,0.06);
  --transition-main: all 0.26s cubic-bezier(.4,0,.2,1);
}

/* ---------------------------------------
   TYPOGRAPHY
--------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.13;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.18rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.95rem; }
p, ul, li, blockquote, label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--color-black);
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  border-left: 4px solid var(--color-secondary);
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--color-contrast-dark);
  background: rgba(183,134,107,0.07);
  border-radius: 8px;
}

@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }
}

/* ---------------------------------------
   CONTAINER & LAYOUTS
--------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

/* Content Flex Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  flex: 1 1 320px;
}
.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;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border: 1.5px solid var(--color-secondary);
  transition: box-shadow 0.25s, transform 0.24s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px rgba(36,64,88,0.15);
  transform: translateY(-3px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ---------------------------------------
   HEADER & NAVIGATION
--------------------------------------- */
header {
  padding: 0;
  background: var(--color-white);
  box-shadow: 0 3px 20px rgba(36,64,88,0.045);
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 82px;
}
header img {
  height: 48px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 8px;
  transition: var(--transition-main);
  position: relative;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--color-secondary);
  color: var(--color-white);
}
.main-nav .cta {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 9px 18px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  transition: var(--transition-main);
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(36,64,88,0.11);
}
.main-nav .cta:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: scale(1.045);
}

/* Burger menu for mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 2.3rem;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  justify-content: center;
  align-items: center;
  transition: background 0.22s, color 0.21s;
  margin-left: 16px;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  background: var(--color-accent);
  box-shadow: -3px 0 32px rgba(36,64,88,0.24);
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.53,.16,.33,1.05);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px 28px;
  gap: 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.19s;
}
.mobile-menu-close:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 10px 0 10px 8px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

@media (max-width: 460px) {
  .mobile-menu {
    width: 100vw;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Overlay for mobile menu (optional for dimming background - style as needed) */
.mobile-menu-overlay {
  content: '';
  display: none; /* You may display and animate this via JS */
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(36,64,88,0.36);
  z-index: 1100;
  pointer-events: auto;
}

/* ---------------------------------------
   HERO / INTRODUCTION STYLES
--------------------------------------- */
.hero {
  background: linear-gradient(90deg, var(--color-accent) 60%, #e6ded6 100%);
  box-shadow: 0 6px 38px -18px rgba(36,64,88,0.12);
  padding-top: 56px;
  padding-bottom: 44px;
  margin-bottom: 52px;
  border-bottom-left-radius: 64px 40px;
  border-bottom-right-radius: 64px 40px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  line-height: 1.13;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.21rem;
  margin-bottom: 22px;
  color: var(--color-black);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 32px;
    margin-bottom: 28px;
    border-radius: 0  0 38px 38px;
  }
  .hero h1 { font-size: 1.35rem;}
}

/* ---------------------------------------
   BUTTONS & CTAs
--------------------------------------- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: 16px;
  margin-top: 6px;
  box-shadow: 0 1px 8px rgba(36,64,88,0.11);
  transition: background 0.19s, color 0.16s, transform 0.14s;
  text-align: center;
}
.cta.primary {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cta:hover, .cta:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.045);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: scale(1.055);
}

/* ---------------------------------------
   FEATURES
--------------------------------------- */
.features, .about-preview, .services-preview, .testimonials, .contact-mini,
.services-list, .add-on-services, .cta, .gallery-descriptions, .process-detail, .blog-articles, .contact-details, .location-info, .legal-text, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
.features h2, .about-preview h2, .services-preview h2, .testimonials h2,
.contact-mini h2, .about-team h2, .usp-certificates h2, .services-list h2, .add-on-services h2, .gallery-descriptions h2, .process-detail h2, .blog-articles h2, .contact-details h2, .location-info h2, .thank-you h1 {
  margin-bottom: 20px;
}

.feature-grid, .service-highlights, .usp-list, .philosophy-list, .article-list, .step-by-step-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li, .service-highlights li, .usp-list li, .philosophy-list li, .article-list li, .step-by-step-timeline li {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.24s;
}
.feature-grid li:hover, .service-highlights li:hover, .usp-list li:hover, .philosophy-list li:hover, .article-list li:hover, .step-by-step-timeline li:hover {
  box-shadow: 0 8px 40px rgba(36,64,88,0.13);
  transform: translateY(-4px) scale(1.022);
}
.feature-grid img, .service-highlights img, .usp-list img, .step-by-step-timeline img, .contact-info img {
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .feature-grid, .service-highlights, .usp-list, .philosophy-list, .article-list, .step-by-step-timeline {
    flex-direction: column;
    gap: 18px;
  }
}

/* About/USP Lists */
.usp-list li, .philosophy-list li {
  font-size: 1.08rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

/* Services Highlights, Add-ons */
.add-on-services ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.add-on-services li {
  background: var(--color-neutral);
  border-radius: 15px;
  padding: 12px 16px;
  color: var(--color-black);
  font-size: 1rem;
  font-weight: 600;
}

/* Blog Articles */
.article-list li {
  min-width: 220px;
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
  margin-bottom: 10px;
  transition: box-shadow 0.16s, transform 0.18s;
}
.article-list li:hover {
  box-shadow: 0 6px 28px rgba(36,64,88,0.13);
  transform: translateY(-1px) scale(1.012);
}
.article-list em {
  color: var(--color-secondary);
  font-style: normal;
  font-size: 0.97rem;
  margin-bottom: 3px;
}

/* Process Timeline Steps */
.step-by-step-timeline {
  gap: 22px;
  margin-bottom: 16px;
  counter-reset: process-steps;
}
.step-by-step-timeline li {
  position: relative;
  min-width: 220px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding-left: 40px;
  border-left: 5px solid var(--color-secondary);
  counter-increment: process-steps;
}
.step-by-step-timeline li:before {
  content: counter(process-steps) ".";
  position: absolute;
  left: 12px;
  top: 21px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-secondary);
}

@media (max-width: 800px) {
  .step-by-step-timeline {
    flex-direction: column;
    gap: 15px;
  }
  .step-by-step-timeline li {
    padding-left: 35px;
  }
}

/* ---------------------------------------
   TESTIMONIALS
--------------------------------------- */
.testimonials {
  background: var(--color-neutral);
}
.testimonials h2 {
  color: var(--color-primary);
}
.testimonial-card {
  background: var(--color-white);
  border-left: 4px solid var(--color-secondary);
  border-radius: 16px;
  color: var(--color-primary);
  transition: box-shadow 0.24s, transform 0.12s;
  margin-bottom: 18px;
}
.testimonial-card blockquote {
  color: var(--color-contrast-dark);
  background: none;
  border-radius: 0;
  margin-bottom: 8px;
  border: none;
}
.testimonial-card strong {
  font-size: 1.06rem;
  color: var(--color-secondary);
}

/* ---------------------------------------
   CONTACT DETAILS
--------------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}
.contact-info div {
  display: flex;
  align-items: center;
  font-size: 1.01rem;
  color: var(--color-black);
  gap: 10px;
}
.contact-info a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.15s;
}
.contact-info a:hover {
  color: var(--color-secondary);
}

/* ---------------------------------------
   FOOTER
--------------------------------------- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 36px 0 12px 0;
  margin-top: 36px;
  border-top-left-radius: 44px 32px;
  border-top-right-radius: 44px 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--color-accent);
  font-weight: bold;
  letter-spacing: 0.015em;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 3px 10px;
  border-radius: 7px;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.brand-contact {
  color: var(--color-neutral);
  font-size: 0.93rem;
  text-align: center;
  margin-bottom: 5px;
  line-height: 1.5;
}
.brand-contact strong {
  color: var(--color-white);
  font-weight: 900;
}

/* ---------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  color: var(--color-primary);
  border-top: 4px solid var(--color-secondary);
  box-shadow: 0 -4px 24px rgba(36,64,88,0.09);
  padding: 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 9999;
  animation: cookieBannerSlideIn 0.36s;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: var(--color-primary);
  font-size: 1.05rem;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
}
.cookie-banner__btn {
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 22px;
  margin: 0 4px;
  box-shadow: 0 1px 6px rgba(36,64,88,0.08);
  transition: background 0.18s, color 0.15s, transform 0.12s;
}
.cookie-banner__btn:hover,
.cookie-banner__btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.045);
}
.cookie-banner__btn.settings {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner__btn.settings:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,64,88,0.30);
  z-index: 10000;
  animation: cookieModalFadeIn 0.29s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  max-width: 390px;
  width: 92vw;
  margin: 60px auto 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(36,64,88,0.26);
  padding: 30px 26px 20px 26px;
  position: relative;
  z-index: 10003;
  animation: cookieModalPopup 0.23s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookieModalPopup {
  from { transform: scale(0.97) translateY(17px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 1.7rem;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal__close:hover {
  background: var(--color-primary);
}
.cookie-modal h3 {
  font-size: 1.16rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cookie-category__name {
  min-width: 120px;
  font-weight: bold;
}
.cookie-category__desc {
  font-size: 0.97rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.cookie-category input[disabled] {
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal__btn {
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 12px;
  padding: 7px 19px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal__btn:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-modal__btn.secondary {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-modal__btn.secondary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ---------------------------------------
   THANK YOU SECTION
--------------------------------------- */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}
.thank-you a {
  margin-top: 26px;
}

/* ---------------------------------------
   GENERAL RESPONSIVE SPACING/ALIGNMENT
--------------------------------------- */
@media (max-width: 700px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, .features, .about-preview, .services-preview, .testimonials, .contact-mini,
  .services-list, .add-on-services, .cta, .gallery-descriptions, .process-detail, .blog-articles, .contact-details, .location-info, .legal-text, .thank-you {
    padding: 22px 5px;
    margin-bottom: 32px;
    border-radius: 14px;
  }
  .footer-nav {
    gap: 11px;
  }
  h1, h2 {
    margin-bottom: 14px;
  }
  .feature-grid li, .service-highlights li, .usp-list li, .philosophy-list li, .article-list li, .step-by-step-timeline li {
    min-width: 0;
    padding: 16px 13px;
  }
}

/* Prevent overlapping and spacing between all cards */
.card, .testimonial-card, .feature-grid li, .service-highlights li, .usp-list li, .philosophy-list li, .article-list li, .step-by-step-timeline li {
  margin-bottom: 20px;
}

/* Visual micro-interactions on hover for icons/buttons */
button:active, a.cta:active, .mobile-menu-toggle:active {
  filter: brightness(0.94);
  outline: none;
}

/* ---------------------------------------
   GEOMETRIC ELEMENTS (Accent Shapes)
--------------------------------------- */
/* For modern_bold geometric accent style, example shape */
.geometric-accent {
  position: absolute;
  top: -30px;
  right: -38px;
  width: 100px;
  height: 100px;
  background: var(--color-secondary);
  opacity: 0.13;
  clip-path: polygon(0 60%, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: 26px 36px 80px 72px;
}

/* ---------------------------------------
   PRINT STYLES (Basic)
--------------------------------------- */
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-overlay {
    display: none !important;
  }
  main, .container {
    padding: 0 !important;
    background: #fff !important;
  }
  body {
    color: #000 !important;
  }
}
