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

:root {
  --primary-color: #1a365d;
  --secondary-color: #f7fafc;
  --accent-color: #f59e0b;
  --text-color: #2d3748;
  --bg-color: #f7fafc;
  --bg-secondary: #edf2f7;
  --light-color: #ffffff;
  --muted-color: #718096;
  --border-color: #e2e8f0;
}

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;
  color: var(--text-color);
}

h1 { font-size: calc(1.625rem + 2.4vw); }
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.25rem; }

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  opacity: 0.8;
}

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

.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;
}

.navbar {
  background-color: var(--light-color);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color);
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%),
              url('../pixi/xderp1.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.hero-overlay {
  background: rgba(26, 54, 93, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: calc(1.8rem + 2vw);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

.btn-action-1:hover {
  background-color: #d97706;
  border-color: #d97706;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light {
  color: white;
  border-color: white;
  background-color: transparent;
}

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

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

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

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
}

.bg-dark {
  background-color: #1a202c;
}

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

.text-muted {
  color: var(--muted-color) !important;
}

.text-action-1 {
  color: var(--accent-color) !important;
}

.text-center {
  text-align: center !important;
}

.text-start {
  text-align: left !important;
}

.text-end {
  text-align: right !important;
}

.display-5 {
  font-size: calc(1.525rem + 2.4vw);
  font-weight: 700;
  line-height: 1.15;
}

.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; }

.py-10 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.py-lg-20 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1.25rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mb-6 { margin-bottom: 1.75rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }
.mb-12 { margin-bottom: 3.5rem !important; }

.me-3 { margin-right: 0.75rem !important; }
.me-4 { margin-right: 1.25rem !important; }
.ms-auto { margin-left: auto !important; }

.p-6 { padding: 1.75rem !important; }
.p-12 { padding: 3.5rem !important; }
.ps-12 { padding-left: 3.5rem !important; }

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-2 {
  border-radius: 0.75rem !important;
}

.position-absolute {
  position: absolute !important;
}

.position-relative {
  position: relative !important;
}

.w-100 {
  width: 100% !important;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: 0.925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-color);
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
  outline: 0;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.3rem rgba(245, 158, 11, 0.2);
}

.form-label {
  margin-bottom: 0.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.125rem;
  margin-left: -2.5rem;
  vertical-align: top;
  background-color: white;
  border: 1px solid var(--border-color);
  appearance: none;
  border-radius: 0.25rem;
}

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

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

.contact-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.footer-section {
  background-color: var(--primary-color) !important;
}

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

.small {
  font-size: 0.875rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

@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%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.33333333%; }
}

@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%; }
  
  .mb-md-0 { margin-bottom: 0 !important; }
  .text-md-start { text-align: left !important; }
  .flex-md-row { flex-direction: row !important; }
}

@media (min-width: 992px) {
  .container { max-width: 980px; }
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .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-8 { flex: 0 0 auto; width: 66.66666667%; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .text-lg-start { text-align: left !important; }
  .text-lg-end { text-align: right !important; }
  .flex-lg-row { flex-direction: row !important; }
  .justify-content-lg-between { justify-content: space-between !important; }
  
  .navbar-toggler { display: none; }
  .navbar-nav { flex-direction: row; }
}

@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%; }
  
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.125rem; }
  .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%; }
}

@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
  }
  
  .navbar-toggler {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-text {
    font-size: 1.1rem;
  }
  
  .py-10 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}