/* ===========================================================
   RadiaTone Consulting – "geometric_structured" Style CSS
   Design by professional web dev, for use with pages above
   NO CSS Grid. Only Flexbox for layout. Mobile-first.
   =========================================================== */

/* === CSS RESET === */
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.5;
  background: #f8fafc;
  color: #1A3972;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3972;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 16px;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}
h4 {
  font-size: 1.25rem;
  line-height: 1.3;
}

p, ul, li, a, span, label, strong {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #213659;
  font-weight: 400;
}
strong {
  font-weight: 700;
}

ul, ol {
  margin: 0 0 24px 24px;
  padding: 0;
  list-style: disc inside;
}
li {
  margin-bottom: 8px;
  line-height: 1.7;
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}

/* === GENERAL CONTAINER LAYOUT === */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding:0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features-grid, .values-grid, .analytics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .features-grid, .values-grid, .analytics-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* === MAIN SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(26,57,114,0.09);
  position: relative;
}
section:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  section {
    margin-bottom: 40px;
    padding: 28px 6px;
  }
}

/* === HEADER === */
header {
  width: 100%;
  background: #1A3972;
  box-shadow: 0 1px 8px 0 rgba(26,57,114,0.08);
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img[alt="RadiaTone Consulting"] {
  max-width: 180px;
  height: auto;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 4px 0;
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
  letter-spacing: 1px;
}
header nav a:hover, header nav a:focus {
  color: #F5A623;
  outline: none;
}
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #F5A623;
  color: #1A3972;
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px 0 rgba(245,166,35,.15);
  margin-left: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.14s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A3972;
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(26,57,114,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: #F5A623;
  color: #1A3972;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s;
  z-index: 1035;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #F5A623;
  background: #2d437a;
  color: #fff;
}

@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .btn-primary { margin-left: 0; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,57,114,0.97);
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.45s cubic-bezier(.48,.06,.59,.91);
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #F5A623;
  border: none;
  font-size: 2rem;
  margin: 24px 30px 0 0;
  cursor: pointer;
  padding: 4px;
  z-index: 2100;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: 2px solid #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 35px;
  gap: 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  padding:16px 0;
  border-radius: 6px;
  letter-spacing: 1.5px;
  width: 90vw;
  text-align: center;
  transition: background 0.25s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5A623;
  color: #1A3972;
  outline: none;
}

/* === MAIN LAYOUT STRUCTURE === */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: 16px; background: #fff; box-shadow: 0 2px 12px 0 rgba(26,57,114,0.06); padding: 28px 24px; display: flex; flex-direction: column; min-width:280px; max-width:370px; }
.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: #f8faff; border-radius: 16px; box-shadow: 0 2px 10px rgba(26,57,114,0.07); margin-bottom: 20px; min-width: 280px; max-width: 420px; flex: 1 1 350px; border-left: 7px solid #F5A623; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 600px) {
  .container { padding: 0 4vw; }
  .section { padding: 28px 6px; }
}

/* === CARDS & BLOCKS === */
.feature-block, .value-block, .service-block, .analytics-block {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px 0 rgba(26,57,114,0.09);
  padding: 26px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 220px;
  flex:1 1 220px;
  border: 2.5px solid #f4f7fa;
  margin-bottom: 20px;
  transition:box-shadow 0.17s, border-color 0.17s, transform 0.13s;
}
.feature-block img, .analytics-block img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-block:hover, .value-block:hover, .service-block:hover, .analytics-block:hover {
  box-shadow: 0 6px 30px 0 rgba(26,57,114,0.15);
  border-color: #F5A623;
  transform: translateY(-2px) scale(1.03);
}

/* === TESTIMONIALS === */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card p {
  color: #1A3972;
  font-weight: 400;
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.testimonial-card span,
.testimonial-card strong {
  color: #213659;
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 920px) {
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
}

/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  border-left: 3.5px solid #1A3972;
  background: #f7faff;
  border-radius: 11px;
  padding: 16px 20px;
  box-shadow: 0 1px 8px 0 rgba(44,72,122,0.04);
}

/* === FOOTER === */
footer {
  background: #1A3972;
  color: #fff;
  padding: 32px 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  max-width: 1100px;
  justify-content: space-between;
  padding-bottom: 22px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}
footer nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.18s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.5px;
}
footer nav a:hover {
  color: #F5A623;
}

footer .contact-details {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #e8eaf2;
  line-height: 1.8;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 240px;
}
footer .contact-details a {
  color: #F5A623;
  text-decoration: underline;
  transition: color 0.17s;
}
footer .contact-details a:hover {
  color: #fff;
}
footer .contact-details img {
  vertical-align: middle;
  margin-right: 8px;
  width: 50px;
}
.footer-branding {
  text-align: right;
  width: 100%;
  margin-top: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #aab5c5;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap:22px; align-items: flex-start;}
  .footer-branding {text-align: left;}
}

/* === TEXT IMAGE SECTION === */
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
@media (max-width: 768px) { .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* === VISUAL ELEMENTS === */
hr {
  border: none;
  border-top: 2px solid #ececec;
  margin: 32px 0;
}
img {
  max-width:100%;
  display: block;
}

/* === CARD SPACING RULES === */
.card, .feature-block, .service-block, .value-block, .analytics-block, .testimonial-card, .faq-item {
  margin-bottom: 20px;
}

/* === ANIMATION === */
.btn-primary, .card, .feature-block, .value-block, .service-block, .analytics-block {
  transition: box-shadow .18s, background .18s, border-color .18s, color .18s, transform .14s;
}

/* === MICROINTERACTIONS === */
a, button {
  transition: color 0.18s, background 0.15s, border 0.13s, box-shadow 0.15s;
}
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 3700;
  background: #fff;
  border-top: 3px solid #F5A623;
  box-shadow: 0 -4px 24px 0 rgba(26,57,114,0.17);
  padding: 18px 20px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size:1rem;
  transition: transform 0.37s cubic-bezier(.3,.76,.41,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  color: #1A3972;
  margin-bottom: 0;
  flex: 1 1 200px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  cursor: pointer;
  font-weight: 600;
  transition:background .17s, color .14s;
  margin-bottom: 0;
}
.cookie-banner .accept {
  background: #F5A623;
  color: #1A3972;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #1A3972;
  color: #fff;
}
.cookie-banner .reject {
  background: #f1f2f6;
  color: #1A3972;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #1A3972;
  color: #F5A623;
}
.cookie-banner .settings {
  background: #fff;
  color: #1A3972;
  border: 1.5px solid #1A3972;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F5A623;
  color: #fff;
  border-color: #F5A623;
}

@media(max-width:768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 4vw;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
    flex-wrap: wrap;
  }
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,57,114,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 50px rgba(26,57,114,0.22);
  max-width: 460px;
  width: 95vw;
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #1A3972;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: cookieIn 0.5s cubic-bezier(.29,.9,.31,1) 1;
  position: relative;
}
@keyframes cookieIn {
  from { transform:scale(0.86) translateY(80px); opacity:0; }
  to { transform:none; opacity:1; }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #1A3972;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 24px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f6fa;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 500;
  color: #1A3972;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #f5f6fa;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #1A3972;
  transition: background 0.2s, border 0.17s;
  display: inline-block;
}
.cookie-toggle[data-enabled="true"] {
  background: #F5A623;
  border: 1.5px solid #F5A623;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.24s, background 0.17s;
  box-shadow: 0 2px 4px rgba(26,57,114,0.10);
}
.cookie-toggle[data-enabled="true"] span {
  left: 19px;
  background: #fff8ef;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  background: #F5A623;
  color: #1A3972;
  transition: background 0.18s, color 0.14s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #1A3972;
  color: #fff;
  outline: 0;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 16px; top: 16px; background: none; color: #1A3972; border: none; font-size: 1.5rem; cursor: pointer;}
.cookie-modal .close-modal-btn:hover, .cookie-modal .close-modal-btn:focus{ color:#F5A623; outline: 2px solid #F5A623; }

@media (max-width: 600px) {
  .cookie-modal { padding: 19px 7vw; }
}

/* === ACCESSIBILITY === */
:focus-visible { outline: 2px solid #F5A623; outline-offset: 1.5px; }

/* === SCROLLBAR STYLING for geometric look === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #f2f0ee; border-radius:6px; }
::-webkit-scrollbar-track { background: #fff; }

/* === GEOMETRIC ANGULAR FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');
/* (If server font hosting: add fallback; above works if hosted via Google Fonts) */

/* === MISCELLANEOUS === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}

/* === RESPONSIVENESS === */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 13px;
    padding-bottom: 6px;
  }
  .btn-primary {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-bottom: 12px;
  }
}

@media (max-width: 340px) {
  .cookie-banner { font-size:0.95rem; }
  .cookie-banner .cookie-actions button { font-size:0.93rem;padding:8px 16px;}
}

/* === PRINT SUPPORT === */
@media print { 
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  section, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; padding: 0 !important; }
}
