﻿:root {
  --main-color: #2A5D8A;
  --secondary-color: #E6B325;
  --bg-color: #F5F5F5;
  --secondary-bg-color: #FFFFFF;
  --accent-color: #C4C4C4;
  --text-color: #2A2A2A;

  --font-text: "Roboto", sans-serif;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-color);
  font-family: var(--font-text);
  line-height: 1.2;
  background-color: var(--bg-color);
}

h1 {
  margin: 0;
  padding: 0;
}

h2 {
  margin: 0;
  padding: 0;
}

h3 {
  margin: 0;
  padding: 0;
}

h4 {
  margin: 0;
  padding: 0;
}

h5 {
  margin: 0;
  padding: 0;
}

h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
  cursor: pointer;
}

input {
  font-family: inherit;
  font-size: inherit;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 2px solid var(--accent-color);
  box-shadow: 0 2px 20px rgba(42, 93, 138, 0.1);
  background: var(--secondary-bg-color);
  transition: all 0.3s ease;
}

.header__content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}


.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo__icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}

.logo__icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.logo:hover .logo__icon::before {
  left: 100%;
}

.logo__icon i {
  z-index: 1;
  color: white;
  font-size: 20px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  color: var(--main-color);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.logo__suffix {
  margin-top: 2px;
  color: var(--secondary-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 2px;
}


.header__nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  position: relative;
  padding: 8px 0;
  color: var(--main-color);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--secondary-color);
  transform: translateY(-1px);
}

.nav__link:hover::before {
  width: 100%;
}

.contact-btn {
  position: relative;
  border-radius: 6px;
  padding: 12px 24px !important;
  overflow: hidden;
  color: white !important;
  background: var(--main-color);
  transition: all 0.3s ease;
}

.contact-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 0;
  background: var(--secondary-color);
  transition: height 0.3s ease;
}

.contact-btn:hover {
  box-shadow: 0 4px 15px rgba(42, 93, 138, 0.3);
  transform: translateY(-2px);
}

.contact-btn:hover::before {
  height: 100%;
}


.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.header__burger:hover {
  transform: scale(1.1);
}

.burger__line {
  width: 25px;
  height: 2px;
  background: var(--main-color);
  transition: all 0.3s ease;
  transform-origin: center;
}

.header__burger.active .burger__line:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.header__burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.header__burger.active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}


.footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  color: white;
  background: var(--main-color);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--main-color), var(--secondary-color));
}

.footer__content {
  padding: 60px 0 20px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__tagline {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.5;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.social__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.social__link:hover {
  box-shadow: 0 5px 20px rgba(230, 179, 37, 0.3);
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.social__link i {
  color: white;
  font-size: 18px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__title {
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  position: relative;
  padding-left: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer__link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer__link:hover {
  padding-left: 20px;
  color: white;
}

.footer__link:hover::before {
  width: 12px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.contact__item i {
  min-width: 16px;
  margin-top: 2px;
  color: var(--secondary-color);
  font-size: 16px;
}

.contact__item a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__legal p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer__legal-links {
  display: flex;
  gap: 30px;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer__legal-link:hover {
  color: var(--secondary-color);
}




@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .nav__list {
    gap: 25px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}


@media (max-width: 768px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: -100vh;
    left: 0;
    z-index: 999;
    width: 100%;
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: var(--secondary-bg-color);
    transition: top 0.3s ease;
  }

  .header__nav.active {
    top: 8%;
  }

  .nav__list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
  }

  .nav__item {
    text-align: center;
  }

  .nav__link {
    display: block;
    padding: 15px 0;
    font-size: 16px;
  }

  .contact-btn {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
  }

  .logo__name {
    font-size: 18px;
  }

  .logo__suffix {
    font-size: 12px;
  }

  .footer__content {
    padding: 40px 0 20px;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__legal {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer__legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header__content {
    padding: 12px 0;
  }

  .logo__icon {
    width: 35px;
    height: 35px;
  }

  .logo__icon i {
    font-size: 16px;
  }

  .nav__list {
    padding: 20px 15px;
  }

  .footer__social {
    justify-content: center;
  }

  .social__link {
    width: 40px;
    height: 40px;
  }
}

.footer__logo .logo__name {
  color: var(--bg-color);
}

.footer__logo .logo__text {
  text-align: left;
}

@media (max-width: 768px) {

  .footer__logo .logo,
  .contact__item {
    justify-content: center;
    text-align: center;
  }

  .footer__tagline {
    margin: 0 auto;
  }
}

/* ===== JAVASCRIPT ANIMATION CLASSES ===== */

/* Header scroll effects */
.header {
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 30px rgba(42, 93, 138, 0.15);
  backdrop-filter: blur(10px);
}

.header.header--hidden {
  transform: translateY(-100%);
}

.header.header--visible {
  transform: translateY(0);
}

/* Menu open state */
body.menu-open {
  overflow: hidden;
}

/* Logo animations */
.logo__icon {
  transition: transform 0.4s ease;
}

.logo__icon--hover {
  transform: rotate(180deg) scale(1.1);
}

/* Footer animations */
.footer-element--hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-element--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Social links hover */
.social__link {
  transition: transform 0.3s ease;
}

.social__link--hover {
  transform: translateY(-5px) rotate(5deg);
}

/* Contact button ripple effect */
.contact-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* Testimonials slider animations */
.testimonial-card {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonials-carousel {
  position: relative;
  min-height: 300px;
}

.nav-button {
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-button:hover {
  transform: scale(1.1);
  background-color: rgba(42, 93, 138, 0.1);
}

.indicator {
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator:hover {
  transform: scale(1.2);
}

.indicator.active {
  background-color: #2a5d8a;
}

/* Body padding for fixed header */
.body--with-header-padding {
  padding-top: var(--header-height, 80px);
}