/* Brand Colors */
:root {
  --brand-dark-blue: #002A4D;
  --brand-medium-blue: #104B83;
  --brand-light-blue: #003F68;
  --brand-accent: #104B83; /* Changed from orange to brand blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-gray: #666666;
  --bg-light: #F4F5FF;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
}

/* Header Styles */
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.header-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header__top-full {
  background-color: rgba(0, 42, 77, 0.9); /* --brand-dark-blue with higher opacity */
  width: 100%;
}

.header__menu-full {
  background-color: var(--brand-medium-blue);
  width: 100%;
}

.header__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

/* Menu Styles */
.header__menu {
  background-color: var(--brand-medium-blue);
  padding: 0;
}

.menu__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__item {
  position: relative;
}

.menu__link {
  display: block;
  padding: 15px 20px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.2;
}

.menu__link:hover {
  background-color: var(--brand-dark-blue);
}

.menu__item_active .menu__link {
  background-color: var(--brand-dark-blue);
}

.menu__item_has-menu:hover .menu__submenu {
  display: block;
}

.menu__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--brand-medium-blue);
  min-width: 200px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 5px 0;
}

.menu__submenu .menu__item {
  width: 100%;
  text-align: left;
}

.menu__submenu .menu__link {
  padding: 12px 20px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  white-space: normal;
  line-height: 1.4;
}

.menu__submenu .menu__link:hover {
  background-color: var(--brand-dark-blue);
}

.menu__submenu .menu__item:last-child .menu__link {
  border-bottom: none;
}

/* Burger menu for mobile */
.burger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.burger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    transition: transform 0.3s;
    left: 0;
}

.burger span:first-child {
    top: 0;
}

.burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger span:last-child {
    bottom: 0;
}

.burger.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header__logo-wrap {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 50px;
}

.header__slogan {
  color: var(--text-light);
  margin-left: 15px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.header-phone {
  text-align: left;
}

.header-phone__phone {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  display: block;
}

.header-phone__subtitle {
  color: #ccc;
  font-size: 0.8rem;
}

.header-links {
  display: flex;
}

.header-links__column {
  display: flex;
  flex-direction: column;
}

.header-links__link {
  color: var(--text-light);
  text-decoration: none;
  margin: 5px 0;
  font-size: 0.9rem;
  @media(max-width:768px){
    margin: 0;
  }
}

.header-links__link:hover {
  color: var(--brand-accent);
}

.login-button {
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid var(--text-light);
  padding: 5px 15px;
  border-radius: 3px;
  @media(max-width:768px){
    margin-top: 9px;
  }
}

.login-button:hover {
  background-color: var(--brand-accent);
  border-color: var(--brand-accent);
}

.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 20px;
}

.main-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.screen-1__title-row {
  margin-bottom: 30px;
}

.screen-1__title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase
}

.screen-1__subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

.screen-1__search-wrap {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.screen-1__search {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    box-shadow: none;
    background: transparent;
    position: relative;
    color: var(--brand-dark-blue);
}

.screen-1__search::placeholder {
  color: var(--brand-light-blue);
}

.screen-1__search-button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  padding: 0 25px;
  background-color: var(--brand-accent);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.screen-1__search-button:hover {
  background-color: #0d3d6e;
}

.ajaxResults-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  margin-top: 5px;
}

.ajaxResults-list {
  max-height: 300px;
  overflow-y: auto;
}

.ajaxResults-row {
  display: flex;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid #eee;
}

.ajaxResults-row:last-child {
  border-bottom: none;
}

.ajaxResults-col {
  padding: 5px 10px;
}

.ajaxResults-col_brandTitle {
  flex: 1;
  font-weight: bold;
}

.ajaxResults-col_goodNumber {
  flex: 1;
  color: var(--brand-accent);
}

.ajaxResults-col_goodTitle {
  flex: 2;
}

.ajaxResults-footer {
  padding: 10px 15px;
  text-align: center;
  border-top: 1px solid #eee;
}

.ajaxResults-link2all {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
}

.hidden {
  display: none;
}

.btn {
  padding: 12px 30px;
  background-color: var(--brand-accent);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0d3d6e; /* Darker blue for hover */
}

/* Section Common Styles */
.section {
  padding: 80px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--brand-accent);
}

/* Services Section */
.services {
  background-color: white;
  padding: 80px 0;
  background: url(/upload/new-services-back.jpg);
  background-position: bottom;
}

.services-content {
  display: flex;
  gap: 40px;
}

.services-col1 {
  flex: 1;
}

.services-col2 {
  flex: 2;
}

.services-title {
  text-align: left;
  margin-bottom: 30px;
}

.services-title h2::after {
  left: 0;
  transform: none;
}

.title-link {
  color: var(--text-dark);
  text-decoration: none;
}

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

.services-text {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.services-column {
  display: flex;
}

.services-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
  width: 100%;
}

.services-card:hover {
  transform: translateY(-5px);
}

.services-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.services-picture-container {
  margin-bottom: 20px;
}

.services-picture {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-medium-blue);
  border-radius: 50%;
  margin: 0 auto;
}

.services-picture img {
  max-width: 50px;
  max-height: 50px;
}

/* Белые иконки для сервисов */
.services-picture img[src$="icon1.svg"],
.services-picture img[src$="icon6.svg"],
.services-picture img[src$="icon2.svg"],
.services-picture img[src$="icon3.svg"] {
  filter: brightness(0) invert(1);
}

.services-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  margin-top: auto;
}

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

.services-link-text {
  display: block;
  line-height: 1.4;
}

/* Cooperation Section (new version) */
.screen-2 {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.screen-2__title-row {
  text-align: center;
  margin-bottom: 50px;
}

.screen-2__title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.screen-2__text {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.screen-2__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.screen-2__card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}

.screen-2__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.screen-2__card-image {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
  position: relative;
}

.screen-2__card-image img {
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.screen-2__card-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.screen-2__card-advantages {
  list-style: none;
  text-align: left;
  margin: 25px 0;
  padding: 0;
}

.screen-2__card-advantage {
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.screen-2__card-advantage::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--brand-accent);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

/* Partners Section */
.partners {
  background-color: var(--bg-light);
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  height: 200px;
}

.partner-slide {
  min-width: 25%;
  padding: 20px;
  text-align: center;
}

.partner-logo {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.partner-logo img {
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.partner-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.carousel-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-btn.active {
  background-color: var(--brand-accent);
}

/* Clients Section */
.clients {
    background-color: white;
}

.clients-carousel {
    height: 200px;
}

.client-slide {
    min-width: 25%;
    padding: 20px;
    text-align: center;
}

.clients-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Advantages Section */
.advantages {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.advantages-header {
    text-align: center;
    margin-bottom: 50px;
}

.advantages-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.advantages-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--brand-accent);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.advantage-card {
    position: relative;
    height: 530px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.advantage-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 42, 77, 0.7);
    z-index: 2;
}

.advantage-card__title {
    position: relative;
    z-index: 3;
    color: white;
    font-size: 1.2srem;
    text-align: center;
    margin: 0;
    padding: 30px 20px 15px;
    text-transform: uppercase;
}

.advantage-card__text {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 15px 30px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card__text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* News & Promotions Section */
.news {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.news .container {
  max-width: 100%;
  padding: 0;
}

.news .section-title {
  margin-bottom: 40px;
  text-align: center;
}

.news .section-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  text-transform: uppercase;
}

.news .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--brand-accent);
}

.news-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* padding: 0 5%; */
  z-index: 1;
}

.news-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.news-slide {
  flex: 0 0 33.333%;
  padding: 0 15px;
  box-sizing: border-box;
  min-width: 0;
  position: relative;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-image {
  height: 200px;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-image-placeholder {
  display: none;
}

.news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  color: var(--brand-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.news-content p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
}

.news-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.carousel-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-btn.active {
  background-color: var(--brand-accent);
}

/* Mobile styles */
@media (max-width: 768px) {
  .news-slide {
    flex: 0 0 100%;
  }
  
  .news-card {
    margin: 0 10px;
  }
  
  .news-image {
    height: 220px;
  }
  
  .news-content {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .news-image {
    height: 180px;
  }
  
  .news-content h3 {
    font-size: 1.2rem;
  }
  
  .carousel-btn {
    width: 12px;
    height: 12px;
    margin: 0 3px;
  }
}

/* Footer */
footer {
  background-color: var(--brand-dark-blue);
  color: var(--text-light);
  padding: 50px 5% 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--brand-accent);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--brand-accent);
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 15px;
  color: var(--brand-accent);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
  line-height: 1.5;
}

.contact-info span {
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--brand-light-blue);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.3rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
  background-color: #1297ed;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--brand-light-blue);
  color: #aaa;
  font-size: 0.9rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 42, 77, 0.95);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.mobile-menu-container {
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mobile-logo-wrap {
    display: flex;
    align-items: center;
}

.mobile-logo-img {
    height: 50px;
}

.mobile-slogan {
    color: var(--text-light);
    margin-left: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.mobile-close-btn {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.mobile-close-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    transform-origin: center;
}

.mobile-close-btn span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-close-btn span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-content {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-phone {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mobile-phone__number {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.mobile-phone__subtitle {
    color: #ccc;
    font-size: 0.9rem;
}

.mobile-nav {
    flex-grow: 1;
    overflow-y: auto;
}

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

.mobile-menu-item {
    margin-bottom: 10px;
}

.mobile-menu-link {
    display: block;
    padding: 15px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-menu-link:hover {
    background-color: var(--brand-dark-blue);
}

.mobile-menu-item.has-submenu > .mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.mobile-menu-toggle.open {
    transform: rotate(45deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 20px;
    display: none;
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu-item {
    margin-bottom: 5px;
}

.mobile-submenu-link {
    display: block;
    padding: 10px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.mobile-submenu-link:hover {
    background-color: var(--brand-dark-blue);
    color: var(--text-light);
}

.mobile-contact-info {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mobile-address {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 1rem;
}

.mobile-address i {
    margin-right: 10px;
    color: var(--brand-accent);
}

/* Hide desktop menu on mobile */
@media (max-width: 768px) {
    .header__menu-full {
        display: none;
    }
    
    .burger {
        display: block;
    }
}

/* Show mobile menu on mobile */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

a.title-link {
    font-size: 40px;
    text-transform: uppercase;
}

.services-card:hover {
    background: white;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .menu__link {
    padding: 15px 15px;
    font-size: 0.9rem;
  }
  
  .menu__submenu .menu__link {
    padding: 12px 15px;
  }
  
  .menu__submenu {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
    .cooperation-content {
        flex-direction: column;
    }

    .main-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 5%;
    }

    .partner-slide {
        min-width: 50%;
    }
    
    .client-slide {
        min-width: 50%;
    }
    
    .header__top-row {
        flex-wrap: wrap;
        margin: 0;
        padding: 20px 0;
    }
    
    .header-phone {
        order: 3;
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
    
    .header__menu {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .screen-2__cards {
        grid-template-columns: 1fr;
    }
    
    .screen-2__title {
        font-size: 2rem;
    }
    
    .screen-2__text {
        font-size: 1rem;
    }
    
    .carousel {
        height: 180px;
    }
    
    .clients-carousel {
        height: 180px;
    }
    
    .partner-logo {
        height: 140px;
        padding: 15px;
    }
    
    /* Services Section */
    .services-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-title h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Advantages Section */
    .advantages {
        padding: 50px 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        height: 530px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .advantage-card__title {
        font-size: 1.5rem;
        padding: 20px 15px 10px;
    }
    
    .advantage-card__text p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* News Section */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header__top-row {
        padding: 15px 0;
    }
    
    .header__logo-img {
        height: 40px;
    }
    
    .header__slogan {
        font-size: 0.8rem;
        margin-left: 10px;
    }
    
    .header-phone__phone {
        font-size: 1.2rem;
    }
    
    .header-phone__subtitle {
        font-size: 0.7rem;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
    }
    
    .main-content p {
        font-size: 1rem;
    }
    
    .screen-1__title {
        font-size: 2rem;
    }
    
    .screen-1__subtitle {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .carousel {
        height: 160px;
    }
    
    .clients-carousel {
        height: 160px;
    }
    
    .partner-slide {
        min-width: 100%;
    }
    
    .client-slide {
        min-width: 100%;
    }
    
    .partner-logo {
        height: 120px;
        padding: 10px;
    }
    
    .advantage-card {
        height: 530px;
        max-width: 320px;
    }
    
    .advantage-card__title {
        font-size: 1.3rem;
    }
}

/* Login Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow: hidden;
}

.modal-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.modal-close-btn:hover {
    color: var(--text-dark);
}

.modal-content {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-accent);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--brand-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #0d3d6e;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.forgot-password,
.register-link {
    color: var(--brand-accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover,
.register-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .forgot-password,
    .register-link {
        text-align: center;
    }
}

/* Existing styles */
@media (max-width: 556px){
  .header-links.header__header-links{
    display:none;
  }
}

/* Show mobile menu on mobile */
@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

a.title-link {
    font-size: 40px;
    text-transform: uppercase;
}

.services-card:hover {
    background: white;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .menu__link {
    padding: 15px 15px;
    font-size: 0.9rem;
  }
  
  .menu__submenu .menu__link {
    padding: 12px 15px;
  }
  
  .menu__submenu {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
    .cooperation-content {
        flex-direction: column;
    }

    .main-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 5%;
    }

    .partner-slide {
        min-width: 50%;
    }
    
    .client-slide {
        min-width: 50%;
    }
    
    .header__top-row {
        flex-wrap: wrap;
        margin: 0;
        padding: 20px 0;
    }
    
    .header-phone {
        order: 3;
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
    
    .header__menu {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .screen-2__cards {
        grid-template-columns: 1fr;
    }
    
    .screen-2__title {
        font-size: 2rem;
    }
    
    .screen-2__text {
        font-size: 1rem;
    }
    
    .carousel {
        height: 180px;
    }
    
    .clients-carousel {
        height: 180px;
    }
    
    .partner-logo {
        height: 140px;
        padding: 15px;
    }
    
    /* Services Section */
    .services-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-title h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Advantages Section */
    .advantages {
        padding: 50px 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        height: 530px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .advantage-card__title {
        font-size: 1.5rem;
        padding: 20px 15px 10px;
    }
    
    .advantage-card__text p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* News Section */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header__top-row {
        padding: 15px 0;
    }
    
    .header__logo-img {
        height: 40px;
    }
    
    .header__slogan {
        font-size: 0.8rem;
        margin-left: 10px;
    }
    
    .header-phone__phone {
        font-size: 1.2rem;
    }
    
    .header-phone__subtitle {
        font-size: 0.7rem;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
    }
    
    .main-content p {
        font-size: 1rem;
    }
    
    .screen-1__title {
        font-size: 2rem;
    }
    
    .screen-1__subtitle {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .carousel {
        height: 160px;
    }
    
    .clients-carousel {
        height: 160px;
    }
    
    .partner-slide {
        min-width: 100%;
    }
    
    .client-slide {
        min-width: 100%;
    }
    
    .partner-logo {
        height: 120px;
        padding: 10px;
    }
    
    .advantage-card {
        height: 530px;
        max-width: 320px;
    }
    
    .advantage-card__title {
        font-size: 1.3rem;
    }
}
.social-links i {
    margin: 0;
}
.social-links a i {
    color: #fff;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    background-color: #fff;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--brand-accent);
    text-decoration: none;
    padding: 5px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-gray);
    padding: 5px;
}