﻿* {
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #f59e0b;
  --accent-color: #ec4899;
  --text-color: #1e293b;
  --bg-color: #f8fafc;
  --bg-secondary: #e2e8f0;
  --dark-color: #0f172a;
  --light-color: #ffffff;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: calc(1.675rem + 4.2vw); }
h2 { font-size: calc(1.425rem + 1.1vw); }
h3 { font-size: calc(1.375rem + .8vw); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.125rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  color: var(--primary-color);
}

a:hover {
  opacity: .8;
  transform: translateY(-2px);
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.display-1 { font-size: calc(1.825rem + 5.7vw); font-weight: 700; line-height: 1.1; }
.display-2 { font-size: calc(1.75rem + 5.1vw); font-weight: 700; line-height: 1.1; }
.display-3 { font-size: calc(1.675rem + 4.2vw); font-weight: 600; line-height: 1.15; }
.display-4 { font-size: calc(1.6rem + 3.6vw); font-weight: 600; line-height: 1.15; }
.display-5 { font-size: calc(1.525rem + 2.4vw); font-weight: 600; line-height: 1.15; }
.display-6 { font-size: calc(1.45rem + 1.8vw); font-weight: 600; line-height: 1.15; }

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-3 { flex: 0 0 auto; width: 25%; }

.navbar {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  min-height: 80px;
}

.navbar > .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  padding: 0;
  margin-right: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  margin-left: auto;
}

.nav-item {
  margin-left: 0.5rem;
}

.nav-link {
  display: block;
  padding: .75rem 1.25rem;
  color: var(--text-color);
  font-weight: 500;
  transition: all .3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.navbar-toggler {
  display: none;
}

.navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}

@media (min-width: 577px) {
  .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }
  
  .nav-item {
    margin-left: 0.5rem;
    border-bottom: none;
  }
  
  .nav-link {
    padding: .75rem 1.25rem;
    white-space: nowrap;
  }
}

.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  border-radius: .75rem;
  transition: all .3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-primary,
.btn-action-1 {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover,
.btn-action-1:hover {
  background-color: #4f46e5;
  border-color: #4f46e5;
  color: white;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.btn-accent:hover {
  background-color: #db2777;
  border-color: #db2777;
  color: white;
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: white;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--text-color);
  border-color: white;
}

.btn-light {
  background-color: white;
  border-color: white;
  color: var(--text-color);
}

.btn-light:hover {
  background-color: var(--bg-secondary);
  border-color: var(--bg-secondary);
  color: var(--text-color);
}

.btn-lg {
  padding: 1.125rem 2rem;
  font-size: 1.125rem;
  border-radius: .875rem;
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .875rem;
  border-radius: .5rem;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  background-color: white;
  border: 2px solid #e2e8f0;
  border-radius: .75rem;
  transition: all .3s ease;
}

.form-control:focus, .form-select:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.3rem rgba(99, 102, 241, 0.15);
}

.form-label {
  margin-bottom: .75rem;
  display: inline-block;
  font-weight: 500;
  color: var(--text-color);
}

.form-check {
  display: block;
  min-height: 1.75rem;
  padding-left: 2.5rem;
  margin-bottom: 0;
}

.form-check-input {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0;
  margin-left: -2.5rem;
  vertical-align: top;
  background-color: white;
  border: 2px solid #e2e8f0;
  border-radius: .375rem;
  appearance: none;
  transition: all .3s ease;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  cursor: pointer;
  font-size: .95rem;
}

textarea.form-control {
  resize: vertical;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  background-image: url('../graf/ss8kf4.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(236, 72, 153, 0.7) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.bg-bg-2 {
  background-color: var(--bg-secondary);
}

.bg-bg-3 {
  background-color: var(--bg-color);
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.bg-accent {
  background-color: var(--accent-color);
}

.text-accent {
  color: var(--accent-color);
}

.text-primary {
  color: var(--primary-color);
}

.text-white {
  color: white !important;
}

.text-light {
  color: #f8f9fa !important;
}

.text-muted {
  color: #6c757d !important;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  font-size: 1.5rem;
  color: white;
}

.expert-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  transition: all .3s ease;
}

.expert-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.shadow-sm {
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all .3s ease;
  cursor: pointer;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: white;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner .btn-outline-light {
  border-color: rgba(255,255,255,0.3);
  background-color: transparent;
}

.cookie-banner .btn-light {
  background-color: white;
  color: var(--dark-color);
  border-color: white;
}

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }

.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }

.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-decoration-none { text-decoration: none !important; }

.rounded { border-radius: .5rem !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-2 { border-radius: .75rem !important; }

.opacity-90 { opacity: 0.9 !important; }
.opacity-75 { opacity: 0.75 !important; }

.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-light { font-weight: 300 !important; }

.fs-1 { font-size: 1.625rem !important; }
.fs-2 { font-size: 1.4375rem !important; }
.fs-3 { font-size: 1.3125rem !important; }
.fs-4 { font-size: 1.1875rem !important; }

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.gap-3 { gap: 1rem !important; }

.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }
.mb-6 { margin-bottom: 2.5rem !important; }
.mb-7 { margin-bottom: 3rem !important; }
.mb-8 { margin-bottom: 3.5rem !important; }
.mb-9 { margin-bottom: 4rem !important; }
.mb-16 { margin-bottom: 6rem !important; }

.mt-3 { margin-top: 1rem !important; }
.mt-7 { margin-top: 3rem !important; }
.mt-9 { margin-top: 4rem !important; }
.my-6 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }

.p-7 { padding: 3rem !important; }
.p-9 { padding: 4rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
.py-11 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.py-lg-21 { padding-top: 7rem !important; padding-bottom: 7rem !important; }
.px-5 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-7 { padding-left: 3rem !important; padding-right: 3rem !important; }
.ps-13 { padding-left: 5rem !important; }

.border-secondary { border-color: #6c757d !important; }

.small { font-size: .875rem; }

@media (min-width: 576px) {
  .container { max-width: 560px; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 768px) {
  .container { max-width: 740px; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  
  .flex-md-row { flex-direction: row !important; }
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
  .mt-md-0 { margin-top: 0 !important; }
}

@media (min-width: 992px) {
  .container { max-width: 980px; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
  
  .text-lg-start { text-align: left !important; }
  .text-lg-end { text-align: right !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .py-lg-21 { padding-top: 7rem !important; padding-bottom: 7rem !important; }
}

@media (min-width: 1200px) {
  .container { max-width: 1160px; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
  
  h1 { font-size: 4.75rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.875rem; }
  .display-3 { font-size: 4.75rem; }
  .display-4 { font-size: 3.5rem; }
  .display-5 { font-size: 3.25rem; }
}

@media (min-width: 1400px) {
  .container { max-width: 1340px; }
  .col-xxl-3 { flex: 0 0 auto; width: 25%; }
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.33333333%; }
}

@media (max-width: 576px) {
  .navbar-brand { 
    font-size: 1.25rem !important; 
  }
  
  .navbar-nav {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: none;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .nav-item {
    margin: 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  }
  
  .nav-link {
    padding: 1rem 1.5rem;
    text-align: center;
  }
  
  .navbar-toggler {
    display: block;
    padding: .375rem .875rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: .5rem;
    color: var(--primary-color);
    cursor: pointer;
  }
  
  .display-3 { font-size: calc(1.3rem + 3.8vw) !important; }
  .display-4 { font-size: calc(1.25rem + 3.2vw) !important; }
  .display-5 { font-size: calc(1.2rem + 2.8vw) !important; }
  .py-11 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .px-7 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
}

@media (min-width: 992px) {
  .col-lg-1  { flex: 0 0 auto; width: 8.333333%;  }
  .col-lg-2  { flex: 0 0 auto; width: 16.666667%; }
  .col-lg-3  { flex: 0 0 auto; width: 25%;        }
  .col-lg-4  { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-5  { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6  { flex: 0 0 auto; width: 50%;        }
  .col-lg-7  { flex: 0 0 auto; width: 58.333333%; }
  .col-lg-8  { flex: 0 0 auto; width: 66.666667%; }
  .col-lg-9  { flex: 0 0 auto; width: 75%;        }
  .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%;       }
}
