/* 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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #FFF8F2;
  color: #2A2936;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  padding-left: 1.5em;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #25A4DA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A2339;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* BRAND COLORS */
:root {
  --primary: #1A2339;
  --secondary: #25A4DA;
  --accent: #F8FAFB;
  --warm1: #FFE5CB;
  --warm2: #FFD3B6;
  --warn: #FFF3E1;
  --soft-orange: #FFA270;
  --cta: #FF9132;
  --error: #DC4531;
  --shadow: 0 4px 24px rgba(44,32,14,0.06), 0 1.5px 4px rgba(225,148,80,0.09);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, address {
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.tag, .tags-filter span, .tags-filter button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* CONTAINER & STRUCTURE */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: #FFF;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 40px 30px;
  margin-bottom: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* NAVIGATION */
header {
  background: #FFF;
  box-shadow: 0 2px 18px rgba(230, 177, 130, 0.09);
  border-bottom: 1px solid #FAE7D7;
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 76px;
}
header img[alt="Radiant Current"] {
  max-width: 172px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 24px;
  color: var(--primary);
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--warm1);
  color: var(--secondary);
}

.cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: bold;
  color: #FFF;
  background: linear-gradient(90deg, #FFB56F 30%, #FF9132 100%);
  padding: 11px 36px;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(255, 145, 50, 0.10);
  transition: transform 0.15s, box-shadow 0.20s, background 0.2s;
  display: inline-block;
  border: none;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFA76B, #FF9800);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(255, 145, 50, 0.13);
}

/* BURGER MENU (Mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--cta);
  color: #FFF;
  font-size: 2rem;
  border-radius: 24px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.17s;
  border: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFB56F;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,244,229,0.98);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.64, .04, .35, 1.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  width: 100vw;
  min-width: 0;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--cta);
  color: #FFF;
  font-size: 2.3rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 18px;
  right: 24px;
  border: none;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFA270;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 96px;
  gap: 16px;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.28rem;
  color: var(--primary);
  padding: 14px 16px;
  border-radius: 25px;
  width: 100%;
  transition: background 0.2s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--warm2);
  color: var(--secondary);
}

@media (max-width: 1020px) {
  header .container { gap: 10px; }
  .main-nav { gap: 12px; }
  .cta-btn { margin-left: 3px; padding-left: 24px; padding-right: 24px;}
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; }
  .main-nav { display: none !important; }
  .cta-btn { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
    margin-right: 14px;
    z-index: 200;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* SECTIONS & MAIN LAYOUT SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 36px rgba(255,145,50,0.13);
  transform: translateY(-2px) scale(1.017);
}
.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: #FFF8F2;
  border-radius: 17px;
  box-shadow: 0 2px 12px rgba(255,145,50,0.07), 0 1.5px 4px rgba(225,148,80,0.06);
  margin-bottom: 20px;
  margin-top: 10px;
  flex: 1 0 285px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 22px rgba(255,145,50,0.12);
}
.testimonial-card p {
  color: #2A2936;
  font-size: 1.05em;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 600;
  font-size: 1em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES GRID */
.features-grid, .services-list, .articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 28px;
  margin-bottom: 16px;
}
.features-grid > div, .services-list > div, .article-card {
  background: #FFFFFC;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 360px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.features-grid > div:hover, .services-list > div:hover, .article-card:hover {
  box-shadow: 0 6px 30px rgba(255, 214, 114, 0.15);
  transform: translateY(-3px) scale(1.018);
}
.features-grid img, .services-list img, .articles-list img {
  margin-bottom: 14px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #FFF6E5;
  padding: 4px;
}
.features-grid h3, .services-list h3, .articles-list h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

/* ARTICLES CARDS */
.article-card {
  border-left: 7px solid #FFB56F;
  border-radius: 15px;
  margin-bottom: 20px;
}
.article-card .tag {
  display: inline-block;
  font-size: 0.91em;
  background: var(--warm2);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 9px;
}
.articles-list {
  flex-wrap: wrap;
  gap: 24px;
}

/* FILTER TAGS */
.tags-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.tags-filter button {
  background: #FFF3E1;
  border-radius: 13px;
  padding: 6px 18px;
  color: var(--primary);
  border: none;
  font-size: 1em;
  margin: 0 2px;
  transition: background 0.16s, color 0.16s;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.tags-filter button:hover, .tags-filter button:focus {
  background: #FFD8B6;
  color: var(--secondary);
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #FFF;
  box-shadow: var(--shadow);
  border-radius: 13px;
  overflow-x: auto;
}
thead {
  background: #FFE3C4;
}
th, td {
  padding: 13px 14px;
  text-align: left;
  font-size: 1em;
}
th {
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
tbody tr:nth-child(even) {
  background: #FFF7F1;
}
tbody tr:hover {
  background: #FFF1E1;
}

/* ADDRESS & CONTACTS */
address, .contact-details span, .footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  margin-bottom: 11px;
  color: #523C1C;
}
.footer-contact img, .contact-details img {
  width: 21px; height: 21px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

/* SUCCESS INFO */
.success-info {
  background: #E9FFD7;
  border-left: 6px solid #B8DE81;
  border-radius: 13px;
  padding: 20px 30px;
  color: #214D05;
  margin: 18px 0;
}
.success-info ul {
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: #FEF5E8;
  padding: 32px 0 12px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
footer nav.footer-nav {
  display: flex;
  gap: 16px;
  margin: 10px 0;
}
footer .footer-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1em;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  background: var(--warm2);
  color: var(--secondary);
}
footer .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  justify-content: center;
}
footer img[alt="Radiant Current"], footer img[alt="logo"], footer img[alt="logo-mark"] {
  max-width: 70px;
  margin: 0 auto 12px auto;
}
footer p {
  margin: 0;
  color: #9C8055;
  font-size: 0.97em;
  text-align: center;
  margin-top: 5px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #FFF2DF;
  box-shadow: 0 -2px 22px rgba(255, 145, 50, 0.10);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  justify-content: center;
  padding: 20px 18px 12px 18px;
  border-top: 2px solid #FFE1B0;
}
.cookie-banner p {
  margin: 0;
  color: var(--primary);
  font-size: 1em;
  flex: 1 1 250px;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--cta);
  color: #FFF;
  border-radius: 18px;
  padding: 8px 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1em;
  margin-right: 8px;
  transition: background 0.18s, box-shadow 0.17s;
  border: none;
  box-shadow: var(--shadow);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #FFB56F;
}
.cookie-settings-btn {
  background: #FFD3B6;
  color: var(--primary);
  box-shadow: none;
}
.cookie-settings-btn:focus, .cookie-settings-btn:hover {
  background: #FFE3C4;
  color: var(--secondary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,26,16,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s cubic-bezier(.77,0,.18,1.03);
}
@keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: #FFF8F2;
  border-radius: 22px;
  box-shadow: 0 8px 38px rgba(44,32,14,0.17);
  padding: 36px 40px 26px 36px;
  max-width: 410px;
  width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideUp 0.35s cubic-bezier(.54,.01,.19,.93);
}
@keyframes slideUp {
  0% { transform: translateY(60px); opacity:0; }
  100% { transform:translateY(0); opacity:1; }
}
.cookie-modal h3 {
  margin-bottom: 5px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  margin-bottom: 9px;
}
.cookie-category input[type="checkbox"] {
  width: 30px; height: 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 20px;
  background: var(--cta);
  color: #FFF;
  border-radius: 12px;
  font-size: 1.35rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #FFA270;
}
.cookie-modal label {
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
}

/* FORM ELEMENTS (if any) */
input[type="text"], input[type="email"], input[type="password"], textarea {
  background: #FFF8F2;
  border: 1.5px solid #FFD3B6;
  color: var(--primary);
  border-radius: 8px;
  padding: 11px 16px;
  width: 100%;
  margin-bottom: 10px;
  font-size: 1em;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--cta);
}

/* RESPONSIVE DESIGN (MOBILE FIRST) */
@media (max-width: 800px) {
  .container, .content-wrapper { padding-left: 6px; padding-right: 6px; }
  .content-wrapper { padding: 24px 10px; margin-bottom: 18px; border-radius: 17px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .main-nav, .footer-nav { font-size: 1em; gap: 8px; }
  .container { padding-left: 1vw; padding-right: 1vw; }
  .section { padding: 24px 6px; margin-bottom: 34px; }
  .card, .testimonial-card, .features-grid > div, .services-list > div, .article-card {
    min-width: 82vw;
    max-width: 99vw;
    padding: 18px 6vw;
    border-radius: 14px;
  }
  .features-grid, .services-list, .articles-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 11px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 22px 6vw 16px 6vw;
    max-width: 96vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.99em;
    padding: 12px 6px;
  }
  .footer-contact, .content-wrapper, .card, .testimonial-card {
    font-size: 0.97em;
  }
  footer .container {
    gap: 7px;
  }
}

/* MICRO-INTERACTIONS */
.card, .testimonial-card, .article-card, .features-grid > div, .services-list > div {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .testimonial-card:hover, .article-card:hover, .features-grid > div:hover, .services-list > div:hover {
  box-shadow: 0 8px 34px rgba(255, 145, 50, 0.16);
  transform: translateY(-2px) scale(1.014);
}
a, button, .cta-btn, .cookie-btn, .tags-filter button, .cookie-settings-btn, .mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.16s, color 0.18s, transform 0.14s;
}

/* OVERLAY & Z LAYERS */
.mobile-menu, .cookie-modal-overlay, .cookie-banner {
  z-index: 2000;
}
header { z-index: 120; position: sticky; top: 0; }
main { min-height: 55vh; }

/* FOCUS STATES */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .tags-filter button:focus, .cookie-settings-btn:focus {
  outline: 2.5px solid #FFD3B6;
  outline-offset: 2px;
}

/* UTILITY CLASSES (SPACING) */
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.p-10 { padding: 10px; }

/* VISUAL HIERARCHY */
hr {
  border: none;
  border-top: 1.5px solid #FFD3B6;
  margin: 22px 0;
}

/* HIDE visually but accessible */
.sr-only {
  position: absolute;
  left: -99999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ENSURE ADEQUATE SPACING between all elements */
.section, .content-wrapper, .card-container, .card, .testimonial-card, .features-grid, .services-list, .articles-list, .tags-filter, .footer-contact, .content-grid, .text-image-section {
  margin-bottom: 20px;
}
/* Prevent accidental overlap (content always spaced) */
.card + .card, .testimonial-card + .testimonial-card, .features-grid > div + div, .services-list > div + div, .article-card + .article-card {
  margin-top: 20px;
}

/* END OF CSS */
