html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* --- HERO --- */
.hero-simple {
  background-image: url("/images/hero-collage.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.hero-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-simple .container {
  position: relative;
  z-index: 2;
}

.hero-simple .btn-primary:hover {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* --- NAVBAR --- */
.navbar {
  padding: 12px 0;
}

.navbar-brand img {
  max-height: 100px;
  width: auto;
}

.navbar-brand span {
  font-size: 1.25rem;
}

.navbar-nav .nav-link {
  padding: 10px 16px;
}

/* --- SECTIONS --- */
.section {
  padding: 60px 0;
}

/* --- ABOUT --- */
#about {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  padding-top: 100px;
  padding-bottom: 100px;
}

#about h2 {
  font-size: 2.2rem;
}

#about .bi-check2-circle {
  font-size: 1.2rem;
}

/* --- CARDS --- */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 24px;
}

.card-body h5 {
  font-weight: 700;
  font-size: 1.25rem;
}

.card-body p {
  color: #555;
}

.card-body ul li {
  margin-bottom: 8px;
}

/* --- BUTTONS --- */
.btn {
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
}

.btn-primary {
  background-color: #004080;
  border-color: #004080;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #002c5a;
  border-color: #002c5a;
}

.btn-outline-primary {
  border-color: #004080;
  color: #004080;
}

.btn-outline-primary:hover {
  background-color: #004080;
  color: #fff;
}

.btn-outline-light {
  color: white;
  border-color: white;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: white;
  color: #212529;
}

.btn-success:hover {
  background-color: #218838 !important;
}

.btn-primary.rounded-circle:hover {
  background-color: #0056b3 !important;
}

/* --- CONTACTS --- */
#contacts h5 {
  font-weight: 600;
}

#contacts p {
  font-size: 15px;
  color: #333;
}

#contacts a {
  color: #004080;
  text-decoration: none;
}

#contacts a:hover {
  text-decoration: underline;
}

/* --- FOOTER --- */
.footer {
  background-color: #212529;
  color: white;
}

.footer .footer-link {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer .footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .bi {
  margin-right: 6px;
}


/* --- MESSENGERS --- */
.messenger-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.messenger {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.messenger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.messenger.whatsapp {
  background-color: #25D366;
}

.messenger.telegram {
  background-color: #0088cc;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .logo-navbar {
    height: 45px;
  }

  #about h2,
  #about p {
    text-align: center;
  }
}

@media (max-width: 400px) {
  .floating-messengers a {
    width: 48px;
    height: 48px;
  }

  .floating-messengers i {
    font-size: 20px;
  }
}
