/* ================================================================
   KryptonTrans Europa - Playful Dynamic Style - style.css
   Implemented: Flexbox only layouts. Fully responsive. Mobile nav & cookie banner.
   Design: Playful, bright, energetic, fun fonts. No grid/columns.
   ================================================================= */

/* CSS RESET & BASE 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;
  box-sizing: border-box;
  font: inherit; vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F8FBFF;
  color: #192648;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg {
  display: inline-block; max-width: 100%; height: auto;
}
a { color: #70A380; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #32B1C7; text-decoration: underline; }
ul, ol { padding-left: 28px; }
strong { font-weight: 700; }

/* PLAYFUL DYNAMIC DESIGN COLORS */
:root {
  --primary: #192648;
  --secondary: #70A380;
  --accent: #F8FBFF;
  --highlight1: #FFD966;
  --highlight2: #EE4377;
  --highlight3: #32B1C7;
  --card-bg: #FFF;
  --shadow1: 0 4px 20px 2px rgba(122, 181, 215, 0.10), 0 1.5px 7px 0px rgba(60,41,42,0.05);
  --shadow2: 0 2px 8px 0 rgba(49, 146, 175, 0.06);
  --radius: 18px;
  --funfont: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
}

/* ======================== TYPOGRAPHY ============================ */
h1, h2, h3, h4 {
  font-family: var(--funfont);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.7rem;
  color: var(--highlight2);
  text-shadow: 0 2px 0 #FFD96633, 0 4px 24px #32B1C75c;
}
h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
h3 {
  font-size: 1.4rem;
  color: var(--secondary);
}
h4 {
  font-size: 1.15rem;
  color: var(--highlight2);
}

p, li, blockquote {
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  color: var(--primary);
  margin-bottom: 14px;
}
blockquote {
  background: var(--highlight1);
  padding: 24px 32px;
  border-radius: var(--radius);
  color: var(--primary);
  font-style: italic;
  box-shadow: var(--shadow2);
  margin-bottom: 18px;
  border-left: 6px solid var(--highlight2);
  font-size: 1.18rem;
}

ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
}

/* ======================== LAYOUT CONTAINERS ==================== */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  padding: 32px 24px 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.2s cubic-bezier(.3,1.1,.5,1), box-shadow 0.22s;
  z-index: 1;
}
.card:hover, .card:focus {
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
  box-shadow: 0 6px 24px 0 rgba(238,67,119,0.08), 0 4px 20px 0 rgba(49,177,199, 0.06);
}
.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: center;
  gap: 20px;
  background: #FFF8FB;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 20px 30px;
  margin-bottom: 22px;
  min-width: 225px;
  max-width: 460px;
  flex: 1 1 260px;
  border: 2.5px dashed var(--highlight2);
  transition: box-shadow 0.22s, border-color 0.22s;
}
.testimonial-card:focus, .testimonial-card:hover {
  border-color: var(--highlight3);
  box-shadow: 0 8px 28px -4px #32b1c733;
}
.testimonial-author {
  font-family: var(--funfont);
  color: var(--primary);
  font-weight: bold;
  font-size: 1.05rem;
  text-align: right;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 24px 20px;
  min-width: 180px;
  margin-bottom: 20px;
}

/* =================== PLAYFUL ELEMENTS & ANIMATIONS ============= */
@keyframes wiggle {
  0%{transform:rotate(-2deg)}
  15%{transform:rotate(2deg)}
  40%{transform:rotate(-2deg)}
  70%{transform:rotate(1deg)}
  85%{transform:rotate(-1deg)}
  100%{transform:rotate(0deg)}
}
@keyframes popIn {
  from{ opacity:0; transform:scale(0.9) translateY(32px); }
  to  { opacity:1; transform:scale(1) translateY(0); }
}
@keyframes slideInLeft {
  from {transform: translateX(-100vw);}
  to {transform: translateX(0);}
}
@keyframes slideInRight {
  from {transform: translateX(100vw);}
  to {transform: translateX(0);}
}
.hero-section {
  background: linear-gradient(90deg,#FFD966 0 7%, #F8FBFF 70% 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  animation: popIn .7s cubic-bezier(.2,.85,.5,1);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 80px 100px;
  box-shadow: var(--shadow1);
  margin-bottom: 34px;
}
.hero-section h1 {
  color: var(--highlight2);
  text-shadow: 0 4px 18px #FFD96644;
}
.hero-section p {
  color: var(--primary);
}

/* ===== BUTTONS & LINKS ===== */
.btn-primary {
  background: linear-gradient(98deg, #32B1C7 0%, #70A380 100%);
  color: #FFF;
  font-family: var(--funfont);
  font-weight: 820;
  font-size: 1.22rem;
  padding: 14px 36px;
  border: none;
  border-radius: 120px;
  box-shadow: 0 2px 12px -1px #32b1c733;
  margin-top: 14px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.20s, box-shadow 0.22s, transform 0.14s;
  letter-spacing: 0.02em;
  position: relative;
  outline: none;
  animation: popIn .7s cubic-bezier(.2,.85,.5,1);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(92deg, #EE4377 0%, #FFD966 100%);
  color: #192648;
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 7px 28px 0 #ee437744,0 4px 11px -2px #FFD96699;
  text-decoration: none;
}

.footer-nav a, .main-nav a, .mobile-nav a {
  padding: 7px 14px;
  font-family: var(--funfont);
  font-size: 1.07rem;
  border-radius: 19px;
  transition: background .16s, color .18s, transform .18s;
}
.footer-nav a:hover, .main-nav a:hover, .mobile-nav a:hover {
  background: #FFD966AA;
  color: var(--highlight2);
  transform: rotate(-2deg) scale(1.07);
}

/* ========== MAIN NAVIGATION (DESKTOP) ========== */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 #32b1c722,0 1px 0 #ffd96624;
  position: sticky;
  top: 0;
  width: 100vw;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0 12px 0;
  position: relative;
  justify-content: flex-start;
}
.main-nav img {
  height: 42px;
  margin-right: 28px;
  margin-left: 8px;
  animation: wiggle .9s .12s 1;
}
.main-nav .btn-primary {
  margin: 0 0 0 12px;
  box-shadow: 0 1.5px 8px #32b1c737;
  font-size: 1.04rem;
  padding: 10px 22px;
  letter-spacing: 0.01em;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  background: #FFD966;
  border: none;
  border-radius: 50%;
  font-size: 2.3rem;
  color: var(--highlight2);
  width: 48px; height: 48px; z-index: 25;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: box-shadow .18s;
  box-shadow: 0 2px 9px 0 #ffd96688;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  box-shadow: 0 6px 12px 0 #FFD966CC;
  background: #EE4377;
  color: #FFD966;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FFF8FB;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 89;
  transform: translateX(-110vw);
  transition: transform 0.39s cubic-bezier(.37,2,.44,.99);
  box-shadow: 0 6px 28px #32b1c744;
  padding-top: 26px;
  animation: slideInLeft .42s;
}
.mobile-menu.open {
  transform: translateX(0);
  animation: slideInLeft .38s;
}
.mobile-menu-close {
  background: #EE4377;
  color: #FFF;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 45px; height: 45px;
  position: absolute;
  right: 16px; top:18px;
  z-index: 98;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
  box-shadow: 0 1.5px 11px #32b1c744;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFD966;
  color: var(--highlight2);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 60px;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--funfont);
  padding: 15px 12px 15px 0;
  color: var(--primary);
  margin-bottom: 6px;
}
.mobile-nav a:last-child { margin-bottom: 0; }

/* ========== FOOTER ========== */
footer {
  background: #fff;
  margin-top: 44px;
  padding-top: 32px;
  padding-bottom: 20px;
  box-shadow: 0 -2px 18px 0 #32b1c711;
  border-top-left-radius: 32px;
  border-top-right-radius: 22px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0 12px 0;
  margin-bottom: 12px;
}
.footer-content img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--primary);
  margin-top: 10px;
}
.footer-contact img {
  width: 18px;
  margin-right: 7px;
  position: relative; top:4px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 0.93rem;
  color: #707990;
  padding-bottom: 15px;
}
.footer-legal a { color: #70A380; }

/* ========== FEATURE LISTS & USPs ========== */
.features-list,
.services-list,
.fleet-types,
.key-tech-features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 26px 0 12px 0;
  padding-left: 0;
}
.features-list li,
.services-list li,
.fleet-types li,
.key-tech-features li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 20px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 205px;
  max-width: 300px;
  margin-bottom: 20px;
  position: relative;
  transition: transform .16s, box-shadow .18s;
}
.features-list li:hover,
.services-list li:hover,
.fleet-types li:hover {
  transform: scale(1.035) rotate(-1deg);
  box-shadow: 0 8px 34px 0 #32b1c71c;
}
.features-list img,
.services-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
  animation: popIn .8s .17s;
}
.usp-highlights, .route-highlights {
  background: var(--highlight1);
  color: var(--primary);
  display: inline-block;
  font-family: var(--funfont);
  font-weight: 800;
  margin: 16px 0 0 0;
  padding: 15px 24px;
  border-radius: 18px;
  font-size: 1.07rem;
  box-shadow: 0 3px 13px #ee437720;
  animation: popIn .8s 0.3s;
}

/* AGGREGATE/STAR RATING */
.aggregate-rating, .star-rating-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 0 12px 0;
  font-size: 1.09rem;
  font-family: var(--funfont);
}
.aggregate-rating img, .star-rating-summary img {
  width: 26px; height: 26px;
  animation: wiggle .9s .24s 2;
}

/* CASE STUDIES & LIST BLOCKS */
.case-study {
  background: #F8FBFF;
  border-left: 7px solid var(--highlight3);
  padding: 18px 24px 14px 24px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow2);
  font-size: 1.08rem;
  transition: border-color 0.17s;
}
.case-study:hover {
  border-color: var(--highlight2);
}

.fleet-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.key-tech-features ul {
  margin-bottom: 0;
  gap: 18px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  width: 100vw;
  display: flex;
  justify-content: center;
  background: #FFD966;
  color: #192648;
  box-shadow: 0 -8px 44px #32b1c733;
  padding: 20px 36px 22px 36px;
  align-items: center;
  gap: 22px;
  animation: popIn .7s .2s;
  font-family: var(--funfont);
  font-size: 1.09rem;
}
.cookie-banner p {
  margin: 0 14px 0 0;
  flex: 1 1 300px;
}
.cookie-banner button {
  margin-left: 10px;
  padding: 10px 22px;
  background: #EE4377;
  color: #fff;
  border: none;
  border-radius: 19px;
  font-family: var(--funfont);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 11px #ee437733;
  transition: background 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFD966;
  color: var(--highlight2);
}
.cookie-banner .cookie-settings-btn {
  background: #32B1C7;
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #192648;
  color: #FFD966;
}
/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fffbe9;
  color: #192648;
  border-radius: 23px;
  box-shadow: 0 12px 48px #32B1C777;
  z-index: 1200;
  min-width: 340px;
  max-width: 93vw;
  padding: 30px 34px 30px 34px;
  animation: popIn .4s;
  display: flex; flex-direction: column;
  gap: 23px;
}
.cookie-modal.hide {
  display: none;
}
.cookie-modal h2 {
  font-size: 1.46rem;
  color: var(--highlight2);
  margin-bottom: 10px;
}
.cookie-modal ul {
  list-style: disc inside;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-family: var(--funfont);
  font-size: 1.05rem;
  margin-right: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 7px 0;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  appearance: none;
  background: #FFD966;
  border-radius: 19px;
  outline: none;
  transition: background 0.13s;
  position: relative;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #70A380;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .23s;
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(16px);
  background: #70E5C7;
}
.cookie-modal .modal-close-btn {
  background: #EE4377;
  color: #FFF;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  padding: 8px 18px;
  margin-top: 10px;
  cursor: pointer;
  align-self: flex-end;
  font-family: var(--funfont);
  box-shadow: 0 3px 11px #ee43773e;
  transition: background 0.14s;
}
.cookie-modal .modal-close-btn:hover {
  background: #FFD966;
  color: #EE4377;
}
.cookie-modal .cookie-acceptall-btn {
  background: #70A380;
  color: #FFF;
  padding: 8px 18px;
  margin-left: 10px;
}
.cookie-modal .cookie-acceptall-btn:hover {
  background: #192648;
  color: #FFD966;
}

/* ======================== MEDIA QUERIES (RESPONSIVE) ======================= */
@media (max-width: 1040px) {
  .container { max-width: 90vw; }
  .main-nav { flex-wrap: wrap; gap: 6px;}
}
@media (max-width: 900px) {
  .main-nav { gap: 6px; font-size:1rem; }
  .footer-nav { gap: 7px; }
}
@media (max-width: 800px) {
  .footer-content { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer-contact { margin-top: 5px; }
}
@media (max-width: 700px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .container { padding-left: 10px; padding-right: 10px; }
  .footer-content { gap:7px; }
  .card, .feature-item, .testimonial-card, .case-study {
    max-width: 98vw;
    padding-left: 5vw; padding-right: 5vw;
  }
  .content-wrapper { padding: 20px 5px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .content-grid, .features-list, .services-list, .fleet-types, .card-container {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-content { flex-direction: column; gap: 7px; }
  .footer-nav { flex-direction: column; gap: 7px; }
  .footer-contact { gap: 5px; }
  .hero-section { padding: 32px 0; border-radius: 0; }
}
@media (max-width: 540px) {
  .hero-section h1 { font-size: 1.3rem; }
  .hero-section p { font-size: 1rem; }
  .mobile-nav a { font-size: 1.02rem; }
  .btn-primary { padding: 10px 9vw; font-size: 1rem; }
  .testimonial-card, .case-study, .feature-item, .card {
    padding: 13px 6vw; font-size: 1rem;
  }
  .aggregate-rating, .star-rating-summary { font-size: 0.99rem; }
  .footer-content img { height: 31px; }
  .cookie-modal { min-width: unset; max-width: 99vw; padding: 8vw 2vw 8vw 4vw; font-size: 0.99rem; }
  .cookie-banner { padding: 10px 1vw 10px 2vw; font-size: 0.97rem; }
}

/* ===================== CUSTOM CLASSES FOR PAGES & EFFECTS =================== */
.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFD96633;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  gap: 16px;
  margin-top: 22px;
  animation: popIn .6s .18s;
}
.text-section {
  margin: 8px 0 14px 0;
}

/* =================== UI MICRO-INTERACTIONS =================== */
.btn-primary:active {
  transform: scale(.98); filter: brightness(.97);
}
.feature-item img, .features-list img, .services-list img {
  animation: wiggle 1.4s .02s alternate;
}

/* Ensure proper gap/margin between ALL elements */
.section, .content-wrapper {
  margin-bottom: 60px; padding-top: 32px; padding-bottom: 32px;
}
.card, .feature-item, .testimonial-card, .case-study {
  margin-bottom: 20px;
}
.card-container, .content-grid, .features-list, .services-list, .fleet-types {
  gap: 20px;
}

/* Tighten up if too much space on small phones */
@media (max-width: 400px) {
  .section, .content-wrapper { padding: 10px 2vw 10px 2vw; }
}

/* =================== ACCESSIBILITY & FOCUS =================== */
a:focus, .btn-primary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-banner button:focus, .cookie-modal .modal-close-btn:focus {
  outline: 2px solid #32B1C7;
  outline-offset: 1px;
  box-shadow: 0 0 0 3px #FFD96633;
}
.btn-primary:active {
  filter: brightness(0.97);
}

/* =================== TRANSITION GENERAL ======================= */
*, *:before, *:after {
  transition: box-shadow 0.18s, background 0.19s, color 0.15s, border 0.13s, transform 0.11s;
}
