/**
* Template Name: Legal Sochi
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/* Стили для двустрочного topbar только на мобильных устройствах */
@media (max-width: 767px) {
  #topbar .contact-info {
    display: block !important;
  }
  
  #topbar .contact-info i {
    display: flex !important;
    margin-bottom: 5px !important;
  }
  
  #topbar .contact-info i a,
  #topbar .contact-info i span {
    white-space: nowrap !important;
  }
  
  /* Увеличьте высоту topbar для вмещения двух строк на мобильных */
  #topbar {
    height: auto !important;
    padding: 8px 0 !important;
  }
}

body {
  font-family: "Montserrat", sans-serif;
  color: #444;
  background-color: #f9f9f9;
}

a {
  color: #0563bb;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: #0e8aff;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

p {
  line-height: 1.8;
}

.section-bg {
  background-color: #f7fbfe;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #0563bb;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #0e8aff;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #0c325e;
  font-size: 14px;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  height: 40px;
}

#topbar .contact-info i {
  font-style: normal;
  color: #0e8aff;
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color: #0e8aff;
}

#topbar .social-links a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
  font-size: 16px;
}

/*#topbar .social-links a:hover {
  color: #0e8aff;
}*/

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 24px;
  margin: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#header .logo div a,
#header .logo div a:hover {
  color: #0c325e;
  text-decoration: none;
}

#header .logo img {
  max-height: 40px;
}

.scrolled-offset {
  margin-top: 70px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 14px;
  font-weight: 500;
  color: #2c4964;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #0563bb;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #2c4964;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #0563bb;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: auto;
  min-height: 80vh;
  padding: 80px 0;
  background: linear-gradient(rgba(12, 50, 94, 0.85), rgba(12, 50, 94, 0.85)), url("../img/hero-bg.jpg") center center;
  background-size: cover;
  position: relative;
}

#hero h1 {
  margin: 0 0 20px 0;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

#hero p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

#hero .hero-btn {
  margin-top: 30px;
}

#hero .btn-get-started {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #0563bb;
  margin-right: 15px;
}

#hero .btn-get-started:hover {
  background: #0e8aff;
}

#hero .btn-call {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #fff;
}

#hero .btn-call:hover {
  color: #0563bb;
  background: #fff;
}

#hero .hero-img {
  display: flex;
  justify-content: center;
}

#hero .hero-img img {
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  max-height: 400px;
}

@media (max-width: 991px) {
  #hero {
    text-align: center;
    padding: 60px 0;
  }
  #hero .hero-img {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
  }
  #hero .hero-img img {
    max-width: 80%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #0c325e;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #0563bb;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.services-list li i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 18px;
  color: #0563bb;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 24px;
  color: #0c325e;
  margin-bottom: 20px;
}

.about .approach-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
}

.about .approach-list li {
  margin-bottom: 15px;
}

.about img {
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.about ul i {
  font-size: 18px;
  color: #0563bb;
  position: absolute;
  left: 0;
  top: 2px;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features img {
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Business
--------------------------------------------------------------*/
.business {
  padding: 60px 0;
}

.business img {
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us {
  padding: 60px 0;
}

.why-us .why-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.why-us .why-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.why-us .why-list i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 18px;
  color: #0563bb;
}

/*--------------------------------------------------------------
# Process
--------------------------------------------------------------*/
.process {
  padding: 60px 0;
}

.process-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 0;
}

.process-list li {
  font-size: 18px;
  font-weight: 500;
  color: #0c325e;
  margin-bottom: 15px;
  padding: 15px;
  background: #f7fbfe;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.process-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

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

.advantages-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
  color: #0c325e;
}

.advantages-list li i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 18px;
  color: #0563bb;
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq {
  padding: 60px 0;
}

.faq .faq-item {
  margin-bottom: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.faq .faq-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0c325e;
}

.faq .faq-item p {
  margin: 0;
  font-size: 16px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.contact .info i {
  font-size: 24px;
  color: #0563bb;
  float: left;
  width: 44px;
  height: 44px;
  background: #f1f7fd;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #0c325e;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 16px;
}

.contact .info .phone {
  margin-top: 40px;
}

.contact .info .phone:hover i {
  background: #0563bb;
  color: #fff;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #f8f9fa;
  padding: 0 0 30px 0;
  color: #444;
  font-size: 14px;
}

#footer .footer-top {
  background: #0c325e;
  padding: 60px 0 30px 0;
  color: #fff;
}

#footer .footer-top h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  background: #0563bb;
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #0e8aff;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.9);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #0e8aff;
  text-decoration: none;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 24px;
  }
  
  .about .content h3 {
    font-size: 22px;
  }
  
  .contact .info h4 {
    font-size: 18px;
  }
  
  .faq .faq-item h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  #footer .footer-top {
    padding: 40px 0 20px 0;
  }
  
  .about img {
    margin-bottom: 30px;
  }
  
  .contact .info {
    margin-bottom: 30px;
  }
}