/* 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,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: #FAFAFA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
/* BODY & GLOBAL FONTS */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #232323;
  background-color: #F5F5F5;
  min-height: 100vh;
}

/* BRAND FONTS (LOAD IN HTML) */
:root {
  --primary: #1651A2;
  --secondary: #2F2F2F;
  --accent: #E7A637;
  --bg-light: #FAFAFA;
  --bg-dark: #181924;
  --card-bg: #fff;
  --footer-bg: #1b2230;
  --border-radius: 18px;
  --box-shadow: 0 6px 24px rgba(28,28,28,0.11);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(30,35,55,0.06);
  z-index: 1001;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header a img {
  height: 42px !important;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 0;
  transition: color 0.18s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
  position: absolute;
  left: 0; bottom: -2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}

.primary-btn {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #E7A637 85%, #ffe5b0 100%);
  border-radius: var(--border-radius);
  padding: 12px 32px;
  margin-left: 8px;
  box-shadow: 0 3px 10px rgba(231,166,55,0.08);
  border: none;
  transition: background 0.3s, box-shadow 0.23s, color 0.23s;
  display: inline-block;
  position: relative;
}
.primary-btn:hover, .primary-btn:focus {
  background: linear-gradient(90deg, #f2cc7b 60%, #E7A637 100%);
  color: #232323;
  box-shadow: 0 8px 26px rgba(231,166,55,0.18);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  background: transparent;
  border: none;
  z-index: 1002;
  padding: 10px 14px;
  margin-left: 14px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e5e5e5;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,32,40,0.95);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.56,-0.05,.41,1.06);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  padding: 13px 22px 22px 24px;
  margin-top: 8px;
  margin-right: 4vw;
  font-size: 2.3rem;
  color: #fff;
  background: none;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(231,166,55,0.13);
}
.mobile-nav {
  width: 100%;
  margin-top: 15vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 0 10vw;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  width: 100%;
  padding: 12px 4px;
  border-radius: 12px;
  transition: background 0.2s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(231,166,55,0.15);
  color: var(--accent);
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    min-height: 55px;
    gap: 10px;
  }
  .mobile-nav {
    font-size: 18px;
    padding: 0 7vw;
  }
}

/* MAIN SECTIONS & TYPOGRAPHY */
h1, .hero-section h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.16;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
@media (min-width: 900px) {
  h1, .hero-section h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.24rem; }
}
p,li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #232323;
  margin-bottom: 18px;
  line-height: 1.7;
}
strong { font-weight: 700; color: var(--secondary); }

.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
@media (max-width: 992px) {
  .section, section { padding: 32px 0; margin-bottom: 38px; }
}
@media (max-width: 768px) {
  .section, section { padding: 24px 0; margin-bottom: 24px; }
}
.accent-bg {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px -2px rgba(30,38,54,0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* HERO & CTA */
.hero-section {
  background: #fff;
  border-bottom: 2px solid #ececec;
  padding-top: 56px;
  padding-bottom: 48px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta-section h2 {
  color: var(--primary);
  margin-bottom: 10px;
}
.cta-section p {
  color: var(--secondary);
}

/* FLEX LAYOUTS (MANDATORY) */
.card-container, .card-grid, .feature-grid, .content-grid, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card,.feature-item,.testimonial-card,.faq-item {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  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: 12px;
  background: #fff;
  color: #232323;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px rgba(22,81,162,0.06);
  padding: 20px 26px 20px 26px;
  margin-bottom: 22px;
  max-width: 640px;
  border-left: 5px solid var(--accent);
  transition: box-shadow 0.18s, border 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px -8px rgba(22,81,162,0.12);
  border-left: 5px solid var(--primary);
}
.testimonial-author {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 280px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(30,81,162,0.05);
  padding: 26px 24px 26px 24px;
  min-width: 220px;
  max-width: 380px;
  border-top: 3px solid var(--accent);
  transition: box-shadow 0.16s, border-top 0.19s;
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-item:hover {
  box-shadow: 0 10px 36px -6px rgba(22,81,162,0.10);
  border-top: 3px solid var(--primary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CHECKLIST, TIPS, SERVICES */
.checklist, .steps-list, .tips-list, .services-list, .contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
  padding-left: 0;
}
.checklist li, .steps-list li, .tips-list li, .services-list li {
  position: relative;
  padding-left: 36px;
  font-size: 1.05rem;
  color: var(--secondary);
}
.checklist .checkmark {
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #f4edde;
  border: 2px solid var(--accent);
  display: inline-block;
}
.checklist .checkmark:after {
  content: '';
  display: block;
  position: absolute;
  left: 6px; top: 5px;
  width: 6px; height: 10px;
  border: solid var(--accent);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* FAQ ITEMS */
.faq-section .faq-item {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(22,81,162,0.060);
  padding: 24px 22px;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
  transition: box-shadow 0.19s, border-color 0.21s;
}
.faq-section .faq-item:hover {
  border-left: 4px solid var(--accent);
  box-shadow: 0 6px 30px -8px rgba(231,166,55,0.17);
}
.faq-section h3 {
  margin-bottom: 4px;
  color: var(--primary);
}

/* BLOG POST LIST */
.blog-post-list {
  flex-direction: column;
  gap: 22px;
}
.blog-post-list li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(22,81,162,0.047);
  padding: 18px 22px;
  font-size: 1.06rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  transition: box-shadow 0.15s;
}
.blog-post-list a {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-display);
  margin-right: 8px;
  transition: color 0.18s;
}
.blog-post-list a:hover, .blog-post-list a:focus {
  color: var(--accent);
}
.post-meta {
  color: #747678;
  font-size: 0.97rem;
  font-family: var(--font-body);
}

/* CONTACT DETAILS SECTION */
.contact-details-list {
  gap: 16px;
}
.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0 12px 0;
  color: var(--secondary);
}
.contact-details-list img {
  width: 23px;
  height: 23px;
}

.text-section {
  margin-top: 24px;
}

/* POLICY PAGES TEXT */
.policy-section .text-section {
  background: #fff;
  box-shadow: 0 3px 14px rgba(30,81,162,0.055);
  border-radius: var(--border-radius);
  padding: 30px 24px;
  margin-top: 22px;
}
.policy-section ul li {
  padding-left: 28px;
  margin-bottom: 13px;
  color: var(--secondary);
  position: relative;
}
.policy-section ul li:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  position: absolute;
  left: 0; top: 7px;
}
.policy-section a {
  color: var(--primary);
  text-decoration: underline;
}
.policy-section a:hover, .policy-section a:focus {
  color: var(--accent);
}

/* CONFIRMATION SECTION */
.confirmation-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.confirmation-section h1 { color: var(--primary); }

/* FOOTER STYLES */
footer {
  background: var(--footer-bg);
  color: #f4f4f4;
  padding: 0 0 16px 0;
  font-size: 0.97rem;
  box-shadow: 0 -2px 10px rgba(30,38,54,0.09);
  margin-top: 32px;
  position: relative;
}
footer p {
  color: white;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 38px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 700;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 12px rgba(231,166,55,0.08);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.footer-nav a {
  color: #f7e4bb;
  transition: color 0.19s;
  font-family: var(--font-body);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #cccccc;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.98em;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
}
.footer-copy {
  color: #9c9278;
  font-size: 0.95em;
  letter-spacing: 0.01em;
  margin-top: 18px;
  width: 100%;
  text-align: right;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    padding-top: 22px;
  }
  .footer-copy {
    text-align: left;
    margin-top: 10px;
  }
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff7ed;
  color: var(--secondary);
  box-shadow: 0 -4px 30px rgba(26,23,1,0.08);
  padding: 22px 22px 22px 27px;
  z-index: 1301;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1.04rem;
  border-top: 2px solid var(--accent);
  animation: fadeInUp 0.7s cubic-bezier(.59,.32,.33,.94);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(60px); }
  80% { opacity: 1; transform: translateY(-8px);}
  100% { opacity: 1; transform: translateY(0);}
}
.cookie-banner p {
  flex: 1 1 250px;
  margin: 0;
}
.cookie-btns {
  display: flex;
  gap: 13px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 22px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: #f7e0b1;
  color: var(--secondary);
  font-weight: 600;
  transition: background .18s, color .18s, border .19s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffe5b0;
  color: var(--primary);
}
.cookie-btn.reject {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffd576;
  color: var(--secondary);
}
.cookie-settings-btn {
  background: #fff;
  border: 2px solid #dbd1bc;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25, 25, 23, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  animation: fadeIn 0.28s linear;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 50px rgba(22,81,162,0.11);
  padding: 38px 32px 32px 32px;
  width: 97vw;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: fadeInUp 0.5s cubic-bezier(.54,.02,.43,.97);
}
.cookie-modal h4 {
  font-size: 1.2em;
  font-family: var(--font-display);
  margin-bottom: 6px;
  color: var(--primary);
}
.cookie-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 14px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-option label {
  font-size: 1.04em;
  font-family: var(--font-body);
  color: var(--secondary);
}
.cookie-switch {
  width: 40px;
  height: 22px;
  background: #d7c8aa;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.cookie-switch-input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s;
  box-shadow: 0 2px 6px rgba(22,81,162,0.07);
}
.cookie-switch-input:checked + .cookie-switch-slider {
  left: 20px;
  background: var(--accent);
}
.cookie-switch-input:checked ~ .cookie-switch {
  background: var(--accent);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}

/* --- MEDIA QUERIES: LAYOUTS & RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .card-container, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
  .blog-post-list {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-brand img { width: 36px; height: 36px; }
}
@media (max-width: 768px) {
  .hero-section, .cta-section {
    padding-top: 33px;
    padding-bottom: 27px;
  }
  .content-wrapper,
  .footer-brand,
  .footer-nav,
  .footer-contact {
    align-items: flex-start !important;
    flex-direction: column;
  }
  .content-grid,
  .card-container,
  .card-grid,
  .feature-grid,
  .testimonial-card-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-brand { font-size: 1.05rem; gap: 6px; }
  .footer-copy {
    text-align: left;
    margin-top: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    text-align: left;
    align-items: flex-start;
    font-size: 1rem;
    padding: 20px 10px 20px 13px;
  }
  .cookie-modal {
    padding: 22px 10px 20px 14px;
    max-width: 97vw;
  }
}

/* UTILITY CLASSES */
.accent {
  color: var(--accent) !important;
}
.text-center {
  text-align: center !important;
}
.mt-0 { margin-top: 0!important; }
.mt-8 { margin-top:8px!important; }
.mt-16 { margin-top:16px!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-12 { margin-bottom:12px!important; }
.mb-20 { margin-bottom:20px!important; }

/* MICR0-ANIMATIONS */
.primary-btn, .cookie-btn, .feature-item, .testimonial-card, .faq-item, .blog-post-list li {
  transition: box-shadow 0.16s, background 0.18s, color 0.18s, border 0.17s;
}
.primary-btn:active {
  transform: scale(0.97);
  background: var(--accent);
  color: #fff;
}

/* HIGH CONTRAST FOR TESTIMONIAL CARDS */
.testimonial-card p, .testimonial-card .testimonial-author {
  color: #232323 !important;
  background: inherit;
}

/* A11y: Focus Styles */
a:focus, button:focus, .primary-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--primary);
}

/* Hide overflow from mobile menu animation */
body.menu-open {
  overflow: hidden;
}
