/* =====================================================
   CSS RESET & BOX-SIZING (Normalize)
======================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #FAFBFD;
  color: #222F3E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   BRAND COLORS && TYPOGRAPHY
======================================================= */
:root {
  --primary: #205081;
  --secondary: #0C2238;
  --accent: #E6F0FB;
  --on-accent: #163257;
  --background: #FAFBFD;
  --white: #fff;
  --shadow: rgba(32, 80, 129, 0.08);
  --shadow-heavy: rgba(32, 80, 129, 0.16);
  --border: #D7E2F0;
}

body, input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #222F3E;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.18;
  color: var(--secondary);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}

/* Typography scale for responsive */
@media (min-width: 600px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

/* =====================================================
   LAYOUT: Container, Section, Content Wrapper
======================================================= */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  max-width: 1100px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================================================
   HEADER & NAVIGATION
======================================================= */
header {
  background: var(--white);
  box-shadow: 0 2px 8px var(--shadow);
  position: relative;
  z-index: 11;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px 16px;
}
header a > img {
  height: 38px;
  width: auto;
}
nav {
  display: flex;
  gap: 24px;
}
nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
nav a.cta-primary {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.2s, box-shadow 0.2s;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: var(--secondary);
  box-shadow: 0 4px 12px var(--shadow-heavy);
  color: var(--white);
}

/* ========== MOBILE NAV BUTTON ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--primary);
  padding: 0 6px;
  background: none;
  border: none;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--secondary);
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== MOBILE MENU SLIDING PANEL ========== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px var(--shadow-heavy);
  z-index: 2002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  align-self: flex-end;
  margin-bottom: 20px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  padding: 2px 5px;
  border-radius: 4px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: var(--primary);
  background: none;
  padding: 10px 8px;
  border-radius: 4px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav a.cta-primary {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 20px;
  margin-top: 12px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a.cta-primary:hover, .mobile-nav a.cta-primary:focus {
  background: var(--secondary);
}
@media (max-width:900px) {
 .mobile-menu {
    max-width: 370px;
 }
}
@media (max-width: 600px) {
  .mobile-menu {
    max-width: 100vw;
    padding: 28px 10vw 24px 10vw;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
  display: none;
}
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
  position: fixed;
  z-index: 2001;
  background: rgba(32, 80, 129, 0.16);
  inset: 0 0 0 0;
}

/* =====================================================
   HERO SECTION & CTA SECTION
======================================================= */
.hero-section {
  padding: 64px 0 48px 0;
  background: var(--accent);
  box-shadow: 0 3px 24px 0 var(--shadow);
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 600px;
  text-align: left;
}
.hero-section h1, .hero-section h2 {
  color: var(--secondary);
}
.hero-section p {
  font-size: 1.13rem;
  color: var(--on-accent);
}
.cta-section {
  padding: 36px 0 42px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 18px;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section .cta-primary {
  margin-top: 12px;
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  font-weight: 700;
  transition: background 0.185s, color 0.185s, border 0.185s;
}
.cta-section .cta-primary:hover, .cta-section .cta-primary:focus {
  background: rgba(255,255,255,0.95);
  color: var(--secondary);
}

/* =====================================================
   FEATURES GRID & CARDS
======================================================= */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 22px;
  min-width: 220px;
  box-shadow: 0 2px 14px var(--shadow);
  border: 1px solid var(--border);
  flex: 1 1 214px;
  transition: box-shadow 0.22s, border 0.22s, transform 0.17s;
}
.feature-item img {
  width: 34px;
  height: 34px;
}
.feature-item:hover {
  box-shadow: 0 4px 22px var(--shadow-heavy);
  border: 1.5px solid var(--primary);
  transform: translateY(-2px) scale(1.03);
}
.feature-item h3 {
  margin: 0 0 2px 0;
  color: var(--primary);
}

/* =====================================================
   SERVICES & SERVICE CARDS (Tečaji, Mentorstvo, Index)
======================================================= */
.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
  margin-top: 16px;
}
.service-card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 250px;
  min-width: 210px;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 2px 14px var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.22s, border 0.22s, transform 0.18s;
  gap: 10px;
  min-height: 245px;
}
.service-card h2, .service-card h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 8px;
}
.service-card .service-price {
  font-weight: 700;
  margin-top: 15px;
  color: var(--secondary);
  font-size: 1.15rem;
}
.service-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
  transition: color .19s;
}
.service-card a:hover, .service-card a:focus {
  color: var(--secondary);
}
.service-card:hover {
  box-shadow: 0 7px 26px var(--shadow-heavy);
  border: 1.5px solid var(--primary);
  transform: translateY(-2px) scale(1.025);
}

@media (max-width: 900px) {
  .features-grid, .service-cards, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card {
    min-width: 0;
    width: 100%;
  }
}

/* Certification info Tečaji */
.certification-info {
  background: var(--accent);
  color: var(--on-accent);
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin: 36px 0 0 0;
  box-shadow: 0 1.5px 12px var(--shadow);
}

/* =====================================================
   TESTIMONIAL SECTION
======================================================= */
.testimonials-list, .testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin: 22px 0 0 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 18px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--shadow);
  min-width: 240px;
  max-width: 380px;
  min-height: 175px;
  flex: 1 1 250px;
  position: relative;
  transition: box-shadow .21s, border .21s, transform .175s;
}
.testimonial-card .stars {
  color: #FFD700;
  font-size: 1.35rem;
  letter-spacing: 2px;
  margin-bottom: -7px;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-card p {
  color: var(--secondary);
  font-style: italic;
  font-size: 1.04rem;
  margin-bottom: 4px;
}
.testimonial-author {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px var(--shadow-heavy);
  border: 1.5px solid var(--primary);
  transform: translateY(-2px) scale(1.022);
}

@media (max-width:900px) {
  .testimonials-list, .testimonials-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: unset;
    min-width: 0;
    width: 100%;
  }
}

/* ======================
   FOOTER
=======================*/
footer {
  background: var(--secondary);
  color: var(--accent);
  padding: 0 0 0 0;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px 24px;
  padding: 44px 0 32px 0;
}
.footer-logo img {
  height: 44px;
}
.footer-contact {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 3px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 270px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a, .footer-legal a {
  color: var(--accent);
  font-size: 0.99rem;
  transition: color 0.15s;
  padding: 3px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-nav a:focus, .footer-legal a:focus {
  color: var(--white);
  text-decoration: underline;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    padding: 34px 0 20px;
    align-items: stretch;
  }
  .footer-logo {
    margin-bottom: 8px;
  }
}

/* ======================
   CARDS, GRIDS, TEXT-IMAGE, OTHERS
=======================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border 0.19s, transform 0.14s;
}
.card:hover, .card:focus {
  border: 1.5px solid var(--primary);
  box-shadow: 0 5px 18px var(--shadow-heavy);
  transform: scale(1.015) translateY(-2px);
}

.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Notice boxes, certification info, section info */
.notice {
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.03rem;
  padding: 17px 18px;
  border-radius: 8px;
  margin-top: 24px;
  box-shadow: 0 1px 10px var(--shadow);
}

/* ======================
   BUTTONS & CTAs
=======================*/
.cta-primary, .cta-secondary {
  display: inline-block;
  padding: 10px 28px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border-radius: 24px;
  box-shadow: 0 2px 8px var(--shadow);
  border: 2px solid var(--primary);
  transition: background 0.21s, color 0.21s, border 0.19s, box-shadow 0.21s, transform 0.13s;
  margin-top: 6px;
  cursor: pointer;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus,
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
  transform: translateY(-1px) scale(1.029);
  box-shadow: 0 5px 18px var(--shadow-heavy);
}
.cta-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--primary);
  color: var(--white);
}

/* ======================
   TABLES, LISTS (normalize)
=======================*/
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
  margin: 16px 0;
}
th, td {
  border: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
}
th {
  background: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
}
ol, ul {
  list-style: disc inside;
  margin-bottom: 18px;
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* ======================
   MODALS/BANNERS
=======================*/
.cookie-consent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1rem;
  border-top: 1px solid var(--border);
  z-index: 3000;
  padding: 18px 26px;
  box-shadow: 0 -2px 24px var(--shadow);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  transform: translateY(100%);
}
.cookie-consent-banner.visible {
  transform: translateY(0);
}
.cookie-banner-text {
  max-width: 78vw;
  color: var(--on-accent);
  font-size: 1.03rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--white);
  transition: background .21s, color .21s;
}
.cookie-consent-banner button.cookie-reject {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-consent-banner button.cookie-settings {
  background: var(--secondary);
  color: var(--white);
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-consent-banner button.cookie-reject:hover, .cookie-consent-banner button.cookie-reject:focus {
  color: var(--white);
  background: var(--primary);
}

/* =========== Cookie Modal (Overlay & Panel) =========== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(32,80,129,0.14);
  z-index: 4000;
}
.cookie-modal-overlay.visible {
  display: block;
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  min-width: 290px;
  max-width: 94vw;
  background: var(--white);
  box-shadow: 0 10px 40px var(--shadow-heavy);
  border-radius: 18px;
  z-index: 4100;
  padding: 34px 28px 22px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.66,0,.32,1), transform .23s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  margin-bottom: 17px;
  color: var(--primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.cookie-category-label {
  flex: 1;
  color: var(--secondary);
  font-weight: 500;
}
.cookie-category-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
}
.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: var(--accent);
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-category-toggle input:checked + .cookie-category-slider {
  background-color: var(--primary);
}
.cookie-category-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 5px;
  bottom: 4px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 1.5px 6px var(--shadow);
  transition: transform .22s;
}
.cookie-category-toggle input:checked + .cookie-category-slider:before {
  transform: translateX(18px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .modal-actions button {
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  border: none;
  transition: background .21s, color .21s;
}
.cookie-modal .modal-actions button.cookie-reject {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-modal .modal-actions button.cookie-reject:hover, .cookie-modal .modal-actions button.cookie-reject:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: var(--secondary);
  color: var(--white);
}

@media (max-width:650px) {
  .cookie-modal {
    padding: 21px 8vw 18px 8vw;
    min-width: unset;
  }
}


/* ======================
   MISCELLANEOUS
=======================*/
a {
  transition: color .16s, text-decoration .17s;
}
a:hover, a:focus {
  color: var(--primary);
  text-decoration: underline;
}

::selection {
  background: #B1D5F7;
}

hr {
  border: none;
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
}

input, textarea, select {
  border: 1.5px solid var(--border);
  padding: 10px;
  border-radius: 7px;
  background: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--primary);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 6px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
}

/* ======================
   RESPONSIVE TWEAKS
=======================*/
@media (max-width:700px) {
  .container {
    padding: 0 3vw;
  }
  body, p {
    font-size: 0.95rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .section {
    padding: 28px 3vw;
    margin-bottom: 36px;
  }
  .hero-section {
    padding: 50px 0 30px;
  }
  .cta-section {
    padding: 26px 0 26px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* ======================
   PRINT FRIENDLY
=======================*/
@media print {
  header, nav, footer, .cookie-consent-banner, .mobile-menu {
    display: none !important;
  }
  body {
    background: #fff;
  }
}

/* END OF STYLE SHEET */
