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

:root {
  --primary-color: #1e3a5f;
  --secondary-color: #4a90a4;
  --accent-color: #f4a261;
  --text-color: #2c3e50;
  --bg-color: #f8fafb;
  --bg-secondary: #e8ecef;
  --dark-color: #1a252f;
  --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.725rem + 4.5vw); }
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 {
  text-decoration: none;
  color: var(--primary-color);
  display: inline-block;
  transition: all .3s ease;
}

a:hover {
  color: var(--secondary-color);
  opacity: .8;
}

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

button {
  cursor: pointer;
}

input, button, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.display-2 { font-size: calc(1.825rem + 5.7vw); 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.575rem + 3vw); 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.475rem + 1.8vw); font-weight: 600; line-height: 1.15; }

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

.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-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-lg-6 { flex: 0 0 auto; width: 50%; }
.col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-md-6 { flex: 0 0 auto; width: 50%; }
.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%; }
.col-sm-6 { flex: 0 0 auto; width: 50%; }
.col-sm-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-xl-3 { flex: 0 0 auto; width: 25%; }
.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-xxl-3 { flex: 0 0 auto; width: 25%; }
.col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
.col-xxl-6 { flex: 0 0 auto; width: 50%; }

.form-label {
  margin-bottom: .75rem;
  display: inline-block;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.4;
  background-color: var(--light-color);
  border: 2px solid var(--bg-secondary);
  border-radius: .75rem;
  transition: all .3s ease;
}

.form-control:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 95, 0.25);
}

.form-select {
  display: block;
  width: 100%;
  padding: 1rem 3.75rem 1rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.4;
  background-color: var(--light-color);
  border: 2px solid var(--bg-secondary);
  border-radius: .75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.form-select:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 95, 0.25);
}

.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: var(--light-color);
  border: 2px solid var(--bg-secondary);
  appearance: none;
  border-radius: .375rem;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-label {
  cursor: pointer;
}

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

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .9rem;
}

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

.btn-action-1:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.btn-outline-light {
  color: var(--light-color);
  border-color: var(--light-color);
  background-color: transparent;
}

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

.btn-outline-dark {
  color: var(--text-color);
  border-color: var(--text-color);
  background-color: transparent;
}

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

.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  background-color: transparent;
  border: none;
  padding: 0;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background-color: rgba(248, 250, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-secondary);
}

.navbar-brand {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  margin-right: 2rem;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-item {
  margin-left: 2rem;
}

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

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

.navbar-toggler {
  display: none;
  padding: .375rem .875rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .375rem;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(30, 58, 95, 0.8), rgba(74, 144, 164, 0.7)), url('../gfx/iappe1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light-color);
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(244, 162, 97, 0.1));
  z-index: 1;
}

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

.hero-buttons .btn {
  margin-bottom: 1rem;
}

.min-vh-75 {
  min-height: 75vh;
}

.service-item {
  transition: transform .3s ease;
  padding: 1.5rem;
  border-radius: .75rem;
  background: transparent;
}

.service-item:hover {
  transform: translateY(-5px);
  background: var(--light-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-size: 1.5rem;
}

.advantage-card {
  transition: transform .3s ease, box-shadow .3s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.methodology-icon {
  font-size: 4rem;
  color: var(--accent-color);
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.list-bullet {
  width: 8px;
  height: 8px;
}

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

.contact-form {
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

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

.cookie-banner a {
  color: var(--accent-color);
}

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

.footer-links li {
  margin-bottom: .5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color .3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.bg-bg-2 { background-color: var(--bg-secondary); }
.bg-bg-3 { background-color: var(--bg-color); }
.bg-dark { background-color: var(--dark-color) !important; }
.text-action-1 { color: var(--primary-color); }
.text-white { color: var(--light-color) !important; }
.text-light { color: rgba(255,255,255,0.8); }
.text-muted { color: #6c757d; }

.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.flex-column { flex-direction: column !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; }
.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; }
.list-unstyled { list-style: none; padding-left: 0; }
.rounded { border-radius: .375rem !important; }
.rounded-2 { border-radius: .75rem !important; }
.rounded-circle { border-radius: 50% !important; }
.overflow-hidden { overflow: hidden !important; }
.opacity-75 { opacity: .75 !important; }
.opacity-90 { opacity: .9 !important; }

.py-3 { padding-top: .875rem !important; padding-bottom: .875rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-8 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.py-10 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.py-11 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-lg-21 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
.p-6 { padding: 1.75rem !important; }
.p-7 { padding: 2rem !important; }
.p-8 { padding: 2.25rem !important; }
.p-16 { padding: 4rem !important; }
.ps-13 { padding-left: 3.5rem !important; }
.pe-4 { padding-right: 1.25rem !important; }
.ms-auto { margin-left: auto !important; }
.me-3 { margin-right: .875rem !important; }
.me-4 { margin-right: 1.25rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: .875rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mb-6 { margin-bottom: 1.75rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }
.mb-9 { margin-bottom: 2.5rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mt-6 { margin-top: 1.75rem !important; }
.mt-7 { margin-top: 2rem !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; }
.fw-bold { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

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

@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }
  
  .navbar-collapse {
    display: none;
  }
  
  .navbar-nav {
    flex-direction: column;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin: .5rem 0;
  }
  
  .hero-section {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  .col-md-4, .col-md-6, .col-md-8, .col-md-9, .col-md-10 {
    width: 100%;
  }
  
  .col-lg-4, .col-lg-6, .col-lg-8 {
    width: 100%;
  }
  
  .mb-lg-0 { margin-bottom: 2rem !important; }
  .mb-md-0 { margin-bottom: 2rem !important; }
}

@media (max-width: 575px) {
  .container {
    padding-left: .75rem;
    padding-right: .75rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .display-5 {
    font-size: 2rem !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%;       }
}
