/* CSS RESET & BASIC 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,
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;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #f9f9f9;
  color: #181818;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #181818;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

:root {
  --color-bg: #fff;
  --color-bg-dark: #181818;
  --color-text: #232323;
  --color-text-light: #fff;
  --color-gray-100: #f9f9f9;
  --color-gray-200: #ededed;
  --color-gray-300: #dadada;
  --color-gray-400: #b9b9b9;
  --color-gray-600: #888888;
  --color-gray-900: #181818;
  --brand-primary: #1c1c1c; /* deep black instead of blue */
  --brand-accent: #ececec; /* subtle highlight for monochrome */
  --font-display: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --border-radius: 12px;
  --shadow-above: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 16px 0 rgba(37,37,37,0.11);
  --shadow-btn: 0 2px 10px rgba(0, 0, 0, 0.07);
  --transition-main: 0.22s cubic-bezier(.55, .08, .68, .53);
}

/* CONTAINER LAYOUTS & BASIC STRUCTURE */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section, .hero-section, .about-section, .services-section, .features-section, .testimonials-section, .contact-section, .legal-section, .thankyou-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: #101010;
  font-weight: 700;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4, h5 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
}
strong, b {
  font-weight: 700;
}

/* SECTION GAPS & FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  position: relative;
  min-width: 280px;
  padding: 24px 24px 20px 24px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(30,30,30,0.18);
  transform: translateY(-4px) scale(1.01);
  z-index: 1;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #f6f6f6;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 7px 0 rgba(0,0,0,0.06);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #232323;
  color: #232323;
  max-width: 650px;
}
.testimonial-card p {
  font-style: italic;
  color: #101010;
  font-family: var(--font-body);
}
.testimonial-card span {
  font-size: 1rem;
  color: #757575;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
}
.feature-grid li:hover {
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.14);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  filter: grayscale(1) brightness(0.3);
  margin-bottom: 6px;
}

/* BUTTONS */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #181818;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 32px;
  box-shadow: var(--shadow-btn);
  margin-top: 12px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
  text-decoration: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #000; 
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,0.14);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

button {
  font-family: var(--font-display);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
button:focus {
  outline: 2px solid #101010;
  outline-offset: 2px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1.5px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0; 
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  padding: 4px 12px;
  font-size: 1rem;
  color: #222;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #eaeaea;
  color: #000;
}
.main-nav .cta-primary {
  margin-top: 0;
  padding: 9px 22px;
  font-size: 1rem;
  background: #181818;
  color: #fff !important;
}
.main-nav .cta-primary:hover{
  background: #000;
}
.mobile-menu-toggle {
  display: inline-flex;
  background: #181818;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 2rem;
  line-height: 1;
  align-items: center;
  margin-left: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 30;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #000;
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 28, 28, 0.97);
  z-index: 101;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.73,.13,.13,.92);
}
.mobile-menu.open { /* add class .open with JS */
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  padding: 20px 30px 10px 15px;
  background: none;
  border: none;
  align-self: flex-start;
  cursor: pointer;
  z-index: 110;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #eaeaea;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 68px;
  margin-right: 40px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  font-size: 1.55rem;
  border-radius: 9px;
  padding: 9px 22px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #101010;
  color: #FFD56C;
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(105deg, #fff 65%, #1c1c1c 100%);
  color: #181818;
  box-shadow: 0 3px 14px -6px rgba(0,0,0,0.05);
  border-radius: 0px 0px 22px 22px;
  margin-bottom: 60px;
}
.hero-section h1 {
  color: #1c1c1c;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.hero-section p {
  color: #393939;
  font-size: 1.2rem;
  max-width: 550px;
  margin-bottom: 12px;
}
.hero-section .cta-primary {
  margin-top: 18px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 26px 0 22px 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #232323;
}
.contact-details img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.2);
}

/* THANK YOU SECTION */
.thankyou-section .thankyou-message {
  color: #181818;
  background: #ececec;
  border-left: 4px solid #232323;
  border-radius: 0 7px 7px 0;
  padding: 16px 16px;
  margin-bottom: 20px;
}

/* FOOTER */
footer {
  background: #191919;
  color: #f0f0f0;
  margin-top: 70px;
  padding-top: 22px;
  padding-bottom: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #bbb;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.footer-contact p {
  color: #ededed;
  font-size: 1rem;
  font-family: var(--font-body);
  line-height: 1.6;
}

/* LEGAL SECTIONS */
.legal-section h1, .legal-section h2 {
  color: #101010;
}
.legal-section h3, .legal-section h4 {
  color: #232323;
}
.legal-section p, .legal-section li {
  color: #232323;
  font-size: 1rem;
}
.legal-section ul {
  margin-left: 19px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* SPACING BETWEEN ALL ELEMENTS (CRITICAL RULE!) */
.section > *, .about-section > *, .features-section > *, .services-section > *, .contact-section > *, .legal-section > *, .thankyou-section > * {
  margin-bottom: 20px;
}
.section:last-child, .about-section:last-child, .features-section:last-child, .contact-section:last-child {
  margin-bottom: 0;
}

/* CARD RULES */
.card-container > .card, .feature-grid > li, .testimonial-card {
  margin-bottom: 20px !important;
}

/* ANIMATIONS */
.cta-primary, .main-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.feature-grid li, .card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.17s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-menu {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section, .hero-section, .about-section, .services-section, .features-section, .testimonials-section, .contact-section, .thankyou-section {
    padding: 26px 6px;
    margin-bottom: 36px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .feature-grid li {
    min-width: 90vw;
    max-width: 98vw;
    padding: 20px 12px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 14px 8px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 6px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1, h2, h3 {
    font-size: 1rem !important;
  }
  .hero-section p, .legal-section p, p {
    font-size: 0.95rem;
  }
  .cta-primary {
    font-size: 0.97rem;
    padding: 11px 17px;
  }
}

/* COOKIE BANNER (BOTTOM) */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #181818;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 20px 12px;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.18);
  z-index: 1001;
  transition: transform 0.27s cubic-bezier(.63,.05,.19,.97), opacity 0.17s;
  opacity: 1;
  transform: translateY(0%);
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-btn-row {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  padding: 8px 22px;
  border-radius: 7px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 2px;
  background: #f0f0f0;
  color: #232323;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 1px 5px rgba(0,0,0,0.09);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button.accept {
  background: #232323;
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #101010;
  color: #fff;
}
.cookie-banner button.reject {
  background: #f0f0f0;
  color: #1a1a1a;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #ededed;
  color: #8a8a8a;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 20px;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #232323;
  color: #ffd56c;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,30,30,0.78);
  z-index: 1003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #101010;
  border-radius: 18px;
  width: 96vw;
  max-width: 400px;
  padding: 38px 28px 30px 28px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1200;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cookie-modal-category label {
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-modal input[type="checkbox"], .cookie-modal input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-left: 14px;
}
.cookie-modal button {
  margin-top: 8px;
  padding: 10px 20px;
  background: #232323;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-modal button:hover {
  background: #000;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 17px;
  color: #181818;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* SCROLLBAR STYLING */
body::-webkit-scrollbar {
  width: 8px;
  background: #eaeaea;
}
body::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 8px;
}

/* MISC CLASSES (ALIGNMENTS ETC.) */
.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-section {
  margin: 12px 0;
}

/* Z-INDEX RULES */
.mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal {
  z-index: 1200 !important;
}

/* SELECTION COLOR */
::selection {
  color: #fff;
  background: #232323;
}

/* FORMS (if any) */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 9px 15px;
  border-radius: 7px;
  border: 1.4px solid #dadada;
  background: #fff;
  color: #232323;
  margin-bottom: 13px;
  width: 100%;
  outline: none;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus{
  border: 1.4px solid #232323;
}

/* Fix icon alignment for feature lists */
.features-section ul li, .services-section ul li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.features-section ul li img, .services-section ul li img {
  margin-right: 9px;
  margin-top: 2px;
}

/* Accessibility: Hide visually only (for skip links etc.) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* END OF STYLE.CSS */