/* 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,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td, main, section, article, aside, nav, footer, header, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #f6f8fb;
  color: #141726;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* CUSTOM PROPERTIES & BRAND COLORS */
:root {
  --primary: #153a6b;
  --secondary: #ffc845;
  --accent: #f6f8fb;
  --electric-blue: #147cf7;
  --hot-pink: #f44181;
  --neon-green: #12ff90;
  --electric-purple: #8f34ea;
  --off-black: #141726;
  --white: #fff;
  --border-radius: 16px;
  --shadow: 0 4px 18px 0 rgba(21, 58, 107, 0.12);
  --shadow-hover: 0 8px 32px 0 rgba(21, 58, 107, 0.20);
}

/* FONTS (GOOGLE FONTS LINK IN HTML HEAD) */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--accent);
  color: var(--off-black);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--off-black);
}
.strong, strong { font-weight: 700; }

/* LAYOUT UTILS */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.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: 20px;
  padding: 20px 24px;
  background: var(--accent);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(21, 58, 107, 0.06);
  border: 2px solid var(--electric-blue);
  transition: border-color 0.2s;
}
.testimonial-card:hover {
  border-color: var(--hot-pink);
  box-shadow: var(--shadow-hover);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING & FLEXBOX */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .content-grid,
  .text-image-section {
    gap: 16px;
  }
  .section {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .footer-nav, .main-nav, .text-image-section {
    flex-direction: column !important;
    gap: 16px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .section,
  .section .container,
  .card {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}

/* MAIN NAVIGATION */
header {
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(21, 58, 107, 0.08);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding: 0 24px;
  height: 68px;
  min-height: 68px;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--white);
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.18s, color 0.22s;
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.main-nav img {
  max-height: 42px;
  margin-right: 12px;
  vertical-align: middle;
}
.cta-btn {
  background: var(--hot-pink);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 2px var(--hot-pink), var(--shadow);
  transition: background 0.18s, color 0.24s, box-shadow 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--electric-blue);
  color: var(--secondary) !important;
  box-shadow: 0 0 0 2px var(--electric-blue), var(--shadow-hover);
  transform: scale(1.07);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 14px;
  right: 18px;
  background: var(--electric-blue);
  border-radius: 8px;
  color: #fff;
  font-size: 2.1rem;
  padding: 8px 15px 10px 15px;
  cursor: pointer;
  z-index: 101;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
}
.mobile-menu-toggle:active {
  background: var(--hot-pink);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21, 58, 107, 0.98);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.66,.04,.36,1.01);
  z-index: 200;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 0 0;
  background: var(--hot-pink);
  color: var(--white);
  border-radius: 8px;
  font-size: 2rem;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 50px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  padding: 13px 0;
  border-bottom: 2px solid rgba(255,200,69,0.11);
  width: 100%;
  border-radius: 4px;
  transition: color 0.16s, background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(255,200,69,0.10);
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    top: 14px;
  }
}


/* HERO & SECTIONS (VIBRANT ENERGETIC) */
main > section:first-child,
main .section-hero,
main section[role="banner"] {
  background: linear-gradient(90deg, var(--electric-blue) 0%, var(--electric-purple) 100%);
  color: #fff;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  padding: 56px 0;
}
main > section:first-child h1, main > section:first-child h2, main > section:first-child h3, main > section:first-child p,
main .section-hero h1, main .section-hero h2, main .section-hero p {
  color: #fff;
}
main > section:first-child .cta-btn,
main .section-hero .cta-btn {
  background: var(--secondary);
  color: var(--primary) !important;
  box-shadow: 0 0 0 2px var(--secondary), var(--shadow);
}
main > section:first-child .cta-btn:hover {
  background: var(--hot-pink);
  color: #fff !important;
}
main .tagline {
  color: var(--hot-pink);
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 8px;
}
.text-section {
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px 20px;
  margin-bottom: 32px;
}
ul, ol {
  margin-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  line-height: 1.4;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 500;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }
ul li img, ol li img {
  height: 32px;
  width: 32px;
  display: inline-block;
  vertical-align: middle;
}
blockquote {
  background: var(--electric-blue);
  color: #fff;
  border-radius: 10px;
  padding: 18px 30px;
  font-size: 1.12rem;
  margin-bottom: 16px;
  font-style: italic;
}

/* CTA SECTION */
main section .cta-btn, main .cta-btn {
  margin: 8px 0;
  align-self: flex-start;
}
main section .cta-btn + p {
  margin-top: 14px;
  max-width: 430px;
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white);
  color: var(--off-black);
  border: 2.5px solid var(--electric-blue);
  box-shadow: 0 4px 24px rgba(21, 58, 107, 0.08);
  margin-bottom: 32px;
  font-size: 1rem;
}
.testimonial-card p {
  color: var(--off-black);
  font-size: 1.07rem;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-top: 6px;
}
@media (max-width: 700px) {
  section, .section, .content-wrapper, .testimonial-card, .text-section {
    padding: 16px 4px !important;
    margin-bottom: 28px !important;
  }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 16px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  padding: 7px 13px;
  transition: background 0.16s, color 0.13s;
  display: inline-block;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--electric-blue);
  background: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1rem;
  margin: 0;
}
.footer-contact img {
  width: 20px; height: 20px;
}
.footer-copy {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.69);
  text-align: left;
}
footer img[alt="Oratoria Viva"] {
  max-height: 42px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .footer-nav, .footer-contact {
    flex-direction: column !important;
    gap: 10px;
    width: 100%;
    align-items: flex-start;
  }
  footer .content-wrapper {
    gap: 24px;
  }
}

/* BUTTONS & INTERACTIVES */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-modal-close {
  cursor: pointer;
  user-select: none;
  outline: none;
}
button:focus, .cta-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 3px var(--neon-green);
  outline: none;
}

/* HYPERLINKS (GLOBAL) */
a {
  transition: color 0.19s, background 0.14s;
}
a:focus {
  outline: 2px dashed var(--hot-pink);
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 16px 18px 16px;
  box-shadow: 0 -2px 24px 0 rgba(21,58,107,0.22);
  font-size: 1rem;
  animation: slideup 0.46s cubic-bezier(.64,.03,.36,1.12);
}
@keyframes slideup {
  from {transform: translateY(90%); opacity:0;}
  to   {transform: translateY(0); opacity:1;}
}
.cookie-banner > .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 24px;
  padding: 8px 20px;
  border: none;
  font-size: 1rem;
  margin: 0;
  transition: background 0.19s, color 0.17s, box-shadow 0.16s;
  box-shadow: 0 2px 9px 0 rgba(21,58,107,0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--hot-pink);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--hot-pink);
  color: #fff;
}
.cookie-btn.reject:hover {
  background: var(--electric-blue);
  color: var(--secondary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-btn.settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1010;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(21,58,107,0.75);
  animation: fadein 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes fadein {
  from { opacity: 0 }
  to { opacity: 1 }
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 34px 22px 30px 32px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 6px 32px 2px rgba(21,58,107,0.18);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popupin 0.3s cubic-bezier(.66,.08,.32,.98);
}
@keyframes popupin {
  from { transform: scale(.7); opacity: 0; } 
  to {   transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 0; color: var(--primary);
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
  margin-right: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  background: var(--hot-pink);
  color: #fff;
  border-radius: 8px;
  font-size: 1.4rem;
  padding: 4px 11px 4px 11px;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover {
  background: var(--electric-blue);
}

/* FORMS (if present in the future) */
input, textarea, select {
  border: 2px solid var(--electric-blue);
  border-radius: 10px;
  padding: 10px 16px;
  width: 100%;
  transition: border 0.15s;
  margin-bottom: 18px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--hot-pink);
}

/* TABLES (in FAQs, Legal) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  box-shadow: 0 2px 12px rgba(21,58,107,0.05);
}
th, td {
  border-bottom: 1px solid var(--accent);
  padding: 13px 8px;
  text-align: left;
}
th {
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
}

/* SCROLLBAR COLORS (for desktop aesthetics) */
body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-thumb {
  background: var(--electric-blue);
  border-radius: 8px;
}
body::-webkit-scrollbar-track {
  background: var(--accent);
}

/* ANIMATIONS AND MICRO-INTERACTIONS */
.cta-btn, .card, .testimonial-card, .cookie-btn {
  transition: all 0.18s cubic-bezier(.62,.1,.64,.96);
}
.card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.025);
}
footer a, .footer-nav a {
  transition: color 0.13s, background 0.14s;
}

/* VISUAL HIERARCHY */
h1 {
  color: var(--electric-blue);
  font-weight: 900;
  letter-spacing: -0.02em;
}
h2 {
  color: var(--primary);
  font-weight: bold;
}
h3 {
  color: var(--electric-purple);
}

/* ENSURE NO ABSOLUTE POS FOR CONTENT CARDS */
/* only decorative or modal close buttons use absolute */

/* RESPONSIVE UTILITIES */
@media (max-width: 520px){
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.1rem; }
  .cta-btn { font-size: 0.97rem; padding: 8px 16px; }
  .cookie-modal { min-width: 94vw; padding: 15px; }
  .cookie-banner {font-size: 0.94rem;}
}

/* END: Oratoria Viva Vibrant Energetic CSS */
