/* style.css — Shimmering Torque Vibrant Energetic Flex (mobile-first) */

/* ---------------- 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #F5F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22313f;
  overflow-x: hidden;
  line-height: 1.65;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { display: block; max-width: 100%; height: auto; border: 0; }
ul, ol { list-style: none; }

/* ------------------- BRAND VARIABLES ------------------- */
:root {
  --clr-primary: #1A3557;
  --clr-secondary: #67AABD;
  --clr-accent: #F5F7FA;
  --clr-energetic-1: #FF0080;
  --clr-energetic-2: #34F3FF;
  --clr-energetic-3: #FBC913;
  --clr-energetic-4: #19FFE8;
  --clr-dark: #14223A;
  --clr-light: #fff;
  --clr-neutral: #F6F8FB;
  --clr-shadow: 0 4px 24px rgba(26,53,87,0.09), 0 2px 8px rgba(255,0,128,0.05);
  --border-radius: 16px;
  --transition: 0.25s cubic-bezier(0.45,0,0.55,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ------------------- TYPOGRAPHY ------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--clr-primary);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--clr-energetic-1);
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--clr-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clr-secondary);
  font-weight: 600;
}
p {
  color: var(--clr-dark);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--clr-dark);
}

/* ----------------- LAYOUT CONTAINERS ----------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  background: var(--clr-neutral);
  box-shadow: var(--clr-shadow);
}

/* ---------------- HEADER & NAVIGATION ----------------- */
header {
  padding: 0;
  background: linear-gradient(90deg, var(--clr-energetic-1) 0%, var(--clr-energetic-2) 100%);
  color: var(--clr-light);
  box-shadow: 0 6px 18px rgba(26,53,87,0.06);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 20px;
  position: relative;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: none;
}
.main-nav a {
  color: var(--clr-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(255,255,255,0.14);
  color: var(--clr-energetic-3);
}
.btn-primary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: .04em;
  background: var(--clr-energetic-1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 32px;
  border: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 18px rgba(255,0,128,0.12);
  cursor: pointer;
  margin-left: 0;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--clr-energetic-3);
  color: var(--clr-dark);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(251,201,19,0.18);
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--clr-light);
  cursor: pointer;
  transition: color .2s;
  padding: 8px 12px;
  z-index: 140;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--clr-energetic-2);
}

/* ---------------- MOBILE NAVIGATION ------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,53,87,0.97);
  transform: translateX(-110vw);
  transition: transform .38s cubic-bezier(0.6,0.01,0.5,1);
  z-index: 1800;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 20px 0 20px;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 6px 24px rgba(26,53,87,0.20);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color .18s;
  z-index: 1810;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--clr-energetic-3);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: var(--clr-energetic-2);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  background: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-energetic-1);
  color: #fff;
}

/* Show Main Nav on Desktop Only */
@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    margin-right: 24px;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/* -------------- HERO SECTIONS ------------- */
.hero {
  width: 100%;
  padding: 60px 0 44px 0;
  background: linear-gradient(120deg, var(--clr-energetic-3) 0%, #fff 90%);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 6px 30px rgba(26,53,87, 0.05);
  margin-bottom: 50px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  color: var(--clr-primary);
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 26px;
  color: var(--clr-dark);
}

/* -------------- FLEX LAYOUTS & GAPS ------------- */
.features, .testimonials, .about, .contact, .contact-details, .services, .awards {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-light);
  border-radius: var(--border-radius);
  box-shadow: var(--clr-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--clr-shadow);
  background: var(--clr-light);
  transition: transform .2s, box-shadow .2s;
}
.card:hover, .card:focus-within {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(255,0,128,0.14);
}

.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: 24px 30px 24px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(26,53,87,.07);
  margin-bottom: 28px;
  min-width: 220px;
  max-width: 500px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(253,58,200,0.08), 0 2px 8px rgba(102,170,189,0.07);
  transform: translateY(-4px) scale(1.03);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.11rem;
  color: var(--clr-primary);
  margin-bottom: 8px;
}
.testimonial-details {
  font-size: 1rem;
  color: var(--clr-secondary);
  font-family: var(--font-body);
}
.testimonial-details strong {
  color: var(--clr-energetic-1);
  font-weight: 800;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------ FEATURE LISTS / ICON CARDS -------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.feature-grid > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--clr-neutral);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px rgba(26,53,87,.06);
  padding: 24px 20px 20px 20px;
  min-width: 180px;
  flex: 1 1 280px;
  max-width: 330px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.feature-grid > li img {
  width: 44px; height: 44px; margin-bottom: 18px;
  filter: drop-shadow(0 1px 8px var(--clr-energetic-2));
}
.feature-grid > li h3 {
  color: var(--clr-energetic-2);
  margin-bottom: 8px;
}
.feature-grid > li p {
  color: var(--clr-dark);
  margin-bottom: 0;
}
.feature-grid > li:hover {
  box-shadow: 0 7px 32px rgba(52,243,255,0.10);
  transform: translateY(-3px) scale(1.03);
  background: #fffbe9;
}

/* ------------ CONTACT INFO -------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 22px 0;
}
.contact-info p {
  display: flex; align-items: center;
  font-size: 1.04rem;
  color: var(--clr-primary);
  gap: 10px;
  margin-bottom: 0;
}
.contact-info img {
  width: 22px; height: 22px;
  display: inline-block;
  margin-right: 8px;
}

/* ------------ AWARDS SECTION -------------- */
.awards {
  background: var(--clr-energetic-4);
  color: #fff;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.13rem;
  font-weight: 600;
  margin-bottom: 30px;
  padding: 12px 23px;
  box-shadow: 0 2px 10px rgba(25,255,232,0.13);
}
.awards img {
  width: 32px; height: 32px;
}

/* ------------ LISTS & OL/UL -------------- */
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0.3em;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--clr-energetic-2);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  margin-bottom: 2px;
}
ol li {
  counter-increment: item;
}
ol li::before {
  content: counter(item) ". ";
  color: var(--clr-energetic-3);
  font-weight: 700;
  margin-right: 10px;
  font-size: 1rem;
}

/* ---------- ABOUT / INFO SECTIONS ------------- */
.about .content-wrapper h2, .about .content-wrapper h3 {
  margin-top: 10px;
}
.about .content-wrapper ul {
  margin-bottom: 24px;
}

/* ------------ FOOTER -------------- */
footer {
  background: var(--clr-primary);
  color: var(--clr-light);
  margin-top: 80px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: 0 -2px 22px rgba(26,53,87,0.04);
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 20px 20px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--clr-energetic-2);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .18s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--clr-energetic-3);
  border-bottom: 2px solid var(--clr-energetic-3);
}
footer p {
  color: #e8f3ff;
  font-size: 0.99rem;
  font-weight: 400;
}

/* ------------ RESPONSIVE DESIGN -------------- */
@media (min-width: 768px) {
  .main-nav {
    display: flex !important;
  }
  .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .content-wrapper {
    flex-direction: column;
    width: 90%;
    max-width: 800px;
  }
  .hero .content-wrapper { align-items: flex-start; }
  .feature-grid { justify-content: flex-start; }
  .section, .about, .features, .testimonials, .contact, .services, .awards {
    padding: 60px 40px;
  }
}

@media (min-width: 992px) {
  .feature-grid {
    gap: 30px;
  }
  .container {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
  .hero {
    padding: 90px 0 60px 0;
  }
  .hero .content-wrapper {
    max-width: 800px;
  }
  .section, .about, .features, .testimonials, .contact {
    margin-bottom: 66px;
    padding: 70px 70px;
  }
}

/* TEXT-IMAGE SECTIONS */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* CARD FLEX COLUMNS ON DESKTOP */
@media (min-width: 1020px) {
  .feature-grid {
    flex-direction: row;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 600px;
  }
}

/* ----------- HOVER & MICRO-INTERACTIONS ------------- */
a, .btn-primary, .main-nav a, .footer-nav a, .feature-grid > li, .testimonial-card {
  transition: all var(--transition);
}

@media (hover: hover) {
  .btn-primary:hover, .btn-primary:focus {
    box-shadow: 0 16px 36px rgba(255,0,128,0.10);
    background: var(--clr-energetic-2);
    color: var(--clr-dark);
  }
  .feature-grid > li:hover, .feature-grid > li:focus {
    background: #fffbe9;
    transform: translateY(-2px) scale(1.03);
  }
  .testimonial-card:hover, .testimonial-card:focus-within {
    box-shadow: 0 10px 38px rgba(255,0,128,0.11), 0 4px 18px rgba(102,170,189,0.07);
    transform: scale(1.031);
    background: #f6eafd;
  }
}

/* -------------- COOKIE CONSENT BANNER -------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 -4px 32px rgba(26,53,87,0.13);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 18px 12px 18px 18px;
  min-height: 74px;
  font-size: 1rem;
  gap: 22px;
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  transition: opacity .28s, transform .42s cubic-bezier(0.39, 0.58, 0.57, 1);
}
.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-banner__text {
  color: var(--clr-primary);
  max-width: 500px;
  line-height: 1.4;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 26px;
  border: none;
  background: var(--clr-energetic-2);
  color: var(--clr-dark);
  font-size: 1rem;
  margin-left: 0;
  cursor: pointer;
  transition: background var(--transition);
  box-shadow: 0 2px 10px rgba(52,243,255,0.09);
}
.cookie-btn.accept {
  background: var(--clr-energetic-1);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--clr-energetic-3);
  color: var(--clr-dark);
}
.cookie-btn.settings {
  background: #e4eafe;
  color: var(--clr-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--clr-primary);
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,53,87,0.78);
  z-index: 3100;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
  animation: fadeIn .22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: 22px;
  padding: 36px 30px 30px 30px;
  min-width: 320px; max-width: 92vw;
  box-shadow: 0 8px 32px rgba(26,53,87,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: slideUp .38s;
}
@keyframes slideUp {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--clr-energetic-1);
  font-weight: 800;
  margin-bottom: 14px;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 22px; right: 32px;
  color: var(--clr-energetic-1);
  cursor: pointer;
}
.cookie-modal__category {
  margin-bottom: 22px;
  display: flex; align-items: center;
  gap: 14px;
}
.cookie-modal__category label {
  font-weight: 600;
  color: var(--clr-primary);
  font-family: var(--font-body);
  font-size: 1.08rem;
}

.cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: var(--clr-neutral);
  border: 2px solid var(--clr-energetic-3);
  appearance: none;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background .18s, border .18s;
}
.cookie-toggle:checked {
  background: var(--clr-energetic-2);
  border-color: var(--clr-energetic-1);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(26,53,87,0.09);
  transition: left .17s;
}
.cookie-toggle:checked::after {
  left: 19px;
}
.cookie-modal .cookie-btn {
  margin-top: 26px;
  align-self: flex-end;
}

/* ----------- UTILITIES & SPACING ------------ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* -------- ACCESSIBILITY ----------- */
:focus-visible {
  outline: 2px solid var(--clr-energetic-1);
  outline-offset: 2px;
}

/* --------- Z-INDEX STRATEGY --------- */
header { z-index: 100; }
.mobile-menu { z-index: 1800; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 3100; }

/* ----------- MISC DECORATIVE (NO GRID, NO COLS) ----------- */
/* ONLY ALLOW ABSOLUTE FOR DECORATIVE (e.g., .awards icon) */

/* -------------------------------------------- */
/* ----------- END OF CSS --------------------- */
