/* ConseinVet Akademie – Modern Gradient CSS Theme
   Brand: #243B5E (primary), #F5F7FB (secondary), #FF9C1A (accent)
   Fonts: Montserrat & Roboto
   Style: Modern, innovative, gradient-inspired, NO CSS Grid, mobile-first
*/

/********** CSS RESET & BASELINE **********/
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, 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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
footer p {
  color: white;
}
body { line-height: 1.4; background: #F5F7FB; color: #243B5E; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/********** FONT IMPORT **********/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700,900&family=Roboto:wght@400;500;700&display=swap');

/********** ROOT VARIABLES FOR BRAND COLORS **********/
:root {
  --primary: #243B5E;
  --primary-rgb: 36,59,94;
  --secondary: #F5F7FB;
  --accent: #FF9C1A;
  --accent-contrast: #fff;
  --gradient1: #4064AC;
  --gradient2: #FF9C1A;
  --gradient3: #54D6FF;
}

/********** GLOBAL TYPOGRAPHY **********/
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: linear-gradient(135deg, #F5F7FB 0%, #EAF0FA 100%);
  color: var(--primary);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 24px; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.1rem; line-height: 1.4; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}

p, li, a, span {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}

.subheadline {
  font-size: 1.2rem;
  color: #4064AC;
  font-weight: 500;
  margin-bottom: 28px;
}

strong { font-weight: 700; }

/********** LAYOUT CONTAINER SYSTEM **********/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/********** FLEXBOX LAYOUT PATTERNS (MANDATORY) **********/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(var(--primary-rgb), 0.08);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: transform 0.18s, box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 12px 42px rgba(var(--primary-rgb), 0.16);
  transform: translateY(-4px) scale(1.018);
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(var(--primary-rgb), 0.07);
  border-left: 6px solid var(--gradient1);
  max-width: 450px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(var(--primary-rgb), 0.13);
  border-left-color: var(--accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/********** HERO SECTION **********/
.hero {
  padding: 60px 0 40px 0;
  background: linear-gradient(100deg, #F5F7FB 40%, #FFEEDA 99%);
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  background: linear-gradient(90deg, #4064AC, #FF9C1A 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 8px;
}

/********** NAVIGATION **********/
header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0; z-index: 30;
  box-shadow: 0 2px 16px rgba(var(--primary-rgb), 0.07);
  display: flex;
  align-items: center;
  padding: 0 0;
}
header > a {
  display: block;
  margin: 12px 0 12px 22px;
  height: 52px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
  margin-right: 22px;
}
.main-nav a {
  padding: 9px 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  border-radius: 999px;
  transition: color 0.19s, background 0.19s, box-shadow 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--gradient1);
  color: #fff;
}
.primary-cta {
  background: linear-gradient(100deg, #4064AC, #FF9C1A 150%);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 999px;
  margin-left: 12px;
  box-shadow: 0 1px 10px rgba(36,59,94,0.10);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
.primary-cta:hover, .primary-cta:focus {
  background: linear-gradient(100deg, #243B5E 40%, #FF9C1A 110%);
  color: #fff !important;
  box-shadow: 0 3px 18px rgba(255,156,26,0.11);
}
.secondary-cta {
  background: none;
  color: var(--gradient1);
  border: 2px solid var(--gradient1);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 999px;
  margin-top: 24px;
  display: inline-block;
  transition: color 0.19s, border 0.19s, background 0.18s;
}
.secondary-cta:hover {
  background: var(--gradient1);
  color: #fff;
  border-color: var(--gradient1);
}

/********** MOBILE NAVIGATION **********/
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  margin-left: 16px;
  cursor: pointer;
  z-index: 71;
  padding: 4px 20px 4px 14px;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--accent); }
.mobile-menu {
  position: fixed;
  z-index: 70;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,59,94,0.95);
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform 0.33s cubic-bezier(.72,.11,.29,.99);
  transform: translateX(-100vw);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 26px 26px 0 0;
  cursor: pointer;
  z-index: 72;
  transition: color 0.17s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 48px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.23rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: background 0.14s, color 0.14s;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: var(--gradient1);
}

/********** NAVIGATION RESPONSIVE BEHAVIOR **********/
@media (max-width: 1150px) {
  .main-nav { gap: 10px; }
  header > a { margin-left: 10px; }
}
@media (max-width: 880px) {
  .main-nav { gap: 2px; }
  .primary-cta { margin-left: 2px; padding: 8px 18px; }
  header > a { margin-left: 6px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header { justify-content: space-between; padding: 0; }
  header > a { margin: 12px 0 12px 6px; }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/********** CARDS, LISTS, FEATURE GRIDS **********/
.feature-grid, .usp-grid, .latest-articles-grid, .value-list, .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 24px;
  padding: 0;
}
.feature-grid li, .usp-grid li, .latest-articles-grid li, .course-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(var(--primary-rgb),0.07);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.17s, border-color 0.17s, transform 0.13s;
  border-left: 5px solid var(--gradient1);
  position: relative;
}
.feature-grid li:hover,.usp-grid li:hover,.latest-articles-grid li:hover, .course-list li:hover {
  box-shadow: 0 6px 24px rgba(var(--primary-rgb),0.12);
  border-left: 5px solid var(--accent);
  transform: translateY(-3px) scale(1.015);
}
.value-list li,
.text-section ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: #4064AC;
  font-weight: 500;
}
.value-list li:before,
.text-section ul li:before {
  content: '•';
  color: var(--accent);
  font-size: 1.2em;
  position: absolute;
  left: 8px;
  top: 0;
  font-weight: bold;
}

.category-tag {
  background: var(--gradient3);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 7px;
  padding: 5px 13px;
  align-self: flex-end;
  margin-top: 8px;
}

/********** PRICING **********/
.price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.16rem;
  margin-top: 9px;
}

/********** TESTIMONIALS **********/
.testimonials {
  background: linear-gradient(80deg, #F5F7FB 85%, #FFEEDE 100%);
  padding: 44px 0;
}
.testimonials .content-wrapper {
  gap: 28px;
  align-items: flex-start;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #243B5E;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: #4064AC;
  font-weight: 500;
}
.testimonial-meta strong {
  color: var(--primary);
  font-size: 1.01em;
  font-weight: 700;
}
.testimonial-card span {
  color: var(--accent);
  font-size: 1.1em;
  letter-spacing: 1px;
}

/********** BUTTONS GENERAL **********/
button, .primary-cta, .secondary-cta, .mobile-nav a {
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.15s, box-shadow 0.15s;
}
button:focus, .primary-cta:focus, .secondary-cta:focus {
  outline: 2px solid var(--accent);
}

/********** TEXT SECTION **********/
.text-section {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 1px 10px rgba(var(--primary-rgb),0.04);
  font-size: 1.04rem;
}
.text-section h3 {
  margin-bottom: 9px;
  font-size: 1.13rem;
  color: var(--gradient1);
  font-weight: 700;
}

/********** FOOTER **********/
footer {
  width: 100%;
  background: #243B5E;
  color: #fff;
  padding: 34px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 3px 13px;
  border-radius: 7px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.contact-details {
  text-align: center;
  color: #fff;
  font-size: 0.99rem;
  margin-top: 0;
}
.contact-details a {
  color: #FF9C1A;
}

/********** SPACING & RESPONSIVE **********/
@media (max-width: 980px) {
  .container { max-width: 98vw; }
  .feature-grid,.usp-grid,.latest-articles-grid,.course-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section, .hero { padding: 28px 0 32px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; margin-bottom: 14px; }
  .feature-grid, .usp-grid, .latest-articles-grid, .course-list {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card { max-width: 99vw; }
  .container { padding: 0 6px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .card-container, .content-grid { flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
  .footer-nav { gap: 9px; }
  .text-section, .feature-grid li, .usp-grid li, .course-list li, .latest-articles-grid li {
    padding: 16px 9px;
    font-size: 0.98rem;
  }
}

/********** COOKIE CONSENT BANNER **********/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1001;
  background: #fff7ef;
  color: #243B5E;
  box-shadow: 0 -2px 18px rgba(64,100,172,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 36px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: cookiePopin 0.88s cubic-bezier(.78,.18,.19,.9);
}
@keyframes cookiePopin {
  0% { transform: translateY(100%); opacity: 0; }
  56% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 22px;
  border: none;
  box-shadow: 0 1px 8px rgba(36,59,94,0.04);
}
.cookie-banner .accept-btn {
  background: linear-gradient(90deg, #4064AC, #FF9C1A 145%);
  color: #fff;
  transition: background 0.12s, box-shadow 0.15s;
}
.cookie-banner .accept-btn:hover {
  background: linear-gradient(90deg, #243B5E, #FFB642 100%);
}
.cookie-banner .reject-btn {
  background: #fff;
  border: 2px solid var(--gradient1);
  color: var(--gradient1);
}
.cookie-banner .reject-btn:hover {
  background: var(--gradient1);
  color: #fff;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: #243B5E;
  border: none;
  text-decoration: underline;
}
.cookie-banner .settings-btn:hover {
  color: var(--accent);
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px 7vw; }
}
/********** COOKIE MODAL **********/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  z-index: 1100;
  background: rgba(36,59,94,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s cubic-bezier(.58,.22,.29,.8);
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 380px;
  width: 92vw;
  box-shadow: 0 4px 32px rgba(36,59,94,0.27);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  z-index: 1120;
  position: relative;
}
.cookie-modal h2 {
  color: var(--gradient1);
  font-size: 1.23rem;
  margin: 0 0 11px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F0EEE8;
  gap: 10px;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-cat-label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-cat-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  height: 26px;
}
.cookie-cat-toggle input[type="checkbox"] {
  width: 0; height: 0; opacity: 0; position: absolute;
}
.cookie-cat-slider {
  display: inline-block;
  width: 44px; height: 26px;
  background: #c8d6ee;
  border-radius: 32px;
  position: relative;
  transition: background 0.14s;
}
.cookie-cat-toggle input[type="checkbox"]:checked + .cookie-cat-slider {
  background: var(--gradient3);
}
.cookie-cat-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.14s;
}
.cookie-cat-toggle input[type="checkbox"]:checked + .cookie-cat-slider:before {
  left: 21px;
}
.cookie-cat-desc {
  font-size: 0.96rem;
  color: #4064AC;
  margin-left: 2px;
}
.cookie-modal .modal-btn-row {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .modal-btn-row button {
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: #fff;
  border: none;
  transition: background 0.12s;
}
.cookie-modal .modal-btn-row button.cookie-modal-cancel {
  background: #f8faff;
  color: var(--gradient1);
  border: 1px solid #c8d6ee;
}
.cookie-modal .modal-btn-row button.cookie-modal-cancel:hover {
  background: #fff;
  border: 1px solid var(--gradient1);
}

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

/********** MICRO-INTERACTIONS **********/
a, button, .primary-cta, .secondary-cta, .mobile-nav a {
  transition: background 0.18s, color 0.17s, box-shadow 0.19s, border 0.11s;
}

/********** UTILITY CLASSES **********/
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }

/********** PRINT **********/
@media print { header, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; } }

/********** END CONSEINVET CSS **********/