@font-face {
    font-family: 'Magistral-Medium';
    src: url("../fonts/Magistral-Medium.woff") format('woff');
}
@font-face {
    font-family: 'Magistral-Book';
    src: url("../fonts/Magistral-Book.woff") format('woff');
}
@font-face {
    font-family: 'Magistral-Light';
    src: url("../fonts/Magistral-Light.woff") format('woff');
}
@font-face {
    font-family: 'Magistral-Bold';
    src: url("../fonts/Magistral-Bold.woff");
}
body {
    font-family: 'Magistral', sans-serif;
    line-height: 1.6;
}
header {
    padding: 0;
}
.navbar-nav {
    padding-right: 20px;
}
.intro_block {
    background: url('/static/apps/core/img/background.png')  no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.main-section {
    color: white;
    position: relative;
    height: 600px;
}
.main-section .card {
    border: none;
}
.intro-box {
    padding-top: 50px;
}
.intro_inner {
    float: left;
    width: 53%;
}
.intro_title {
    font-family: 'Magistral-Bold';
    font-weight: 700;
    color: #000;
    line-height: 58.4px;
}
.intro_subtitle {
    font-family: 'Magistral-Book';
    font-size: 1.3rem;
    color: #000;
}
.intro_button_subtitle {
    font-family: 'Magistral-Book';
    font-size: 1.3rem;
    color: #000;
}
.consultation_form {
    margin-left: 56%;
}
.steps-section h2,
.news-section h2 {
    font-size: 36px;
    font-weight: bold;
}
.fixed-card {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}
.card-title {
    margin-bottom: 10px;
}
.card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}
.text-muted {
    font-size: 0.9rem;
.steps-section h3 {
    font-size: 36px;
    color: #000;
}
}
.nav-item .button-item {
    padding-left: 30px;
}
.navbar-light .navbar-nav .nav-link {
    color: #000;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #e00;
}
.navbar-brand img {
    height: 50px;
}
.btn-outline-primary {
    cursor: pointer;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    color: black;
    border:2px solid transparent;
    border-radius:10px;
    border-right-color:rgb(135, 13, 0);
    border-left-color:rgb(11, 5, 5);
    background:
      linear-gradient(to left,
        rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
        rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
      linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    background-repeat:no-repeat;
    margin: 0 20px;
}
.btn-outline-primary:hover {
    opacity: 0.5;
    color: white;
    background:
    linear-gradient(to left,
        rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
        rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
      linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
}
.btn-danger {
    background-color: #e00;
    border: none;
}
.less-btn {
    display: none;
}
.form-container {
    background-color: rgba(143, 143, 143, 0.6);
    border-radius: 10px;
    padding: 20px 30px;
    text-align: center;
    color: white;
}
.form-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.form-container p {
    font-size: 14px;
    margin-bottom: 20px;
}
form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.form-left,
.form-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 48%;
}
input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    background-color: #eee;
    color: #333;
}
textarea {
    resize: none;
    height: 100%;
}
.form-feedback-textarea {
    height: 75%;
}
.checkbox-row,
.urgent-checkbox {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: white;
    width: 100%;
}
.checkbox-row label,
.urgent-checkbox label {
    display: flex;
    align-items: center;
    gap: 5px;
}
.checkbox-row label {
    align-items: flex-start;
}
.directtion-items {
    flex-direction: column;
}
.checkbox-row span {
    display: block;
    margin-bottom: 2px;
}
.checkbox-row a {
    display: block;
    color: #ddd;
    text-decoration: underline;
}
.custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background-color: #ddd;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
}
.custom-checkbox:checked {
    background-color: red;
    position: relative;
}
.custom-checkbox:checked::before {
    content: "✔";
    position: absolute;
    font-size: 20px;
    color: white;
    left: 2px;
    top: -2px;
}
.urgent {
    font-weight: bold;
    color: white;
}
.bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.contact-icons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
}
.contact-icons .icons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.contact-icons .icons img {
    width: 24px;
    height: 24px;
}
.active {
    color: green;
    filter: sepia(92%) hue-rotate(294deg) saturate(2000%);
}
.submit-btn {
    padding: 10px;
    background: linear-gradient(to top, #000, #F00);
    opacity: 0.7;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.submit-btn:hover {
    background: linear-gradient(to top, #371515, #8c2424);
}
.quote-section {
    position: relative;
    background-color: #fff;
    padding: 50px 50px 50px 50px;
    text-align: center;
    margin-top: 50px ;
}
.quote-section::before {
    content: "“";
    position: absolute;
    top: 90%;
    left: 20%;
    transform: translate(-50%, -50%);
    font-size: 600px;
    color: rgba(185, 16, 16, 0.05);
    z-index: 0;
}
.quote-text {
    font-family: "Magistral-Medium";
    position: relative;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    color: #333;
    width: 100%;
    padding-top: 40px;
}
.quote-author {
    position: static;
    bottom: 30px;
    right: 10px;
    font-size: 14px;
    color: #333;
    text-align: right;
    margin-top: 40px;
}
.advantages-section {
	width: 100%;
    background: url('/static/apps/core/img/Advantages.jpg') no-repeat center center/cover fixed;
	padding: 50px 20px;
	box-sizing: border-box;
	text-align: center;
	color: #000;
    z-index: -1;
}
.advantages-section h2 {
	font-size: 30px;
	margin-bottom: 50px;
	font-weight: bold;
}
.advantages-container {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	gap: 20px;
}
.advantage {
	text-align: center;
	color: #000;
}
.advantage-number {
    font-family: 'Magistral-Bold';
	font-size: 7rem;
	font-weight: bold;
	position: relative;
	margin-bottom: -25px;
    z-index: 0;
}
.advantage-number span {
	position: absolute;
	top: 50%;
	font-size: 30px;
	transform: translateY(-50%);
}
.advantage-text {
	font-size: 16px;
	max-width: 200px;
	margin: 0 auto;
}
.advantage-number::before {
	content: "";
	position: absolute;
	width: 90px;
	height: 75px;
	background: linear-gradient(to top, #FFF, red);
	z-index:-1;
	border-radius: 5px;
}
.stages-section {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}
.stages-section h2 {
    font-size: 50px;
    font-weight: bold;
    padding-top: 25px;
}
.stages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}
.stage::before{
    content: "";
    position: absolute;
    width: 50%;
    height: 80%;
    background: rgba(0, 0, 0, 0.2);
    z-index:-1;
    border-radius: 5px;
}
.stage {
    padding: 20px;
    width: 400px;
    border-radius: 10px;
    position: relative;
    text-align: left;
    transition: margin-top 0.3s ease;
    box-sizing: border-box;
}
.stage-number {
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 100px;
    font-weight: bold;
    background: linear-gradient(to top, #000, #F00);
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -8px;
    left: 30px;
}
.stage-title {
    font-family: 'Magistral-Medium';
    margin-top: 70px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
}
.stage-text{
    position: static;
    padding-left: 72px;
}
.stage-description {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}
.message {
    background-color: rgba(72, 187, 120, 0.15);
    border: 1px solid rgba(72, 187, 120, 0.5);
    color: #264e37;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition:
        opacity 0.6s ease-in-out,
        transform 0.6s ease-in-out,
        max-height 0.12s ease-in-out,
        margin 0.6s ease-in-out,
        padding 0.20s ease-in-out;
    max-height: 120px;
    max-width: 90%;
    margin-bottom: 10px;
}
.message.hidden {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    margin: 0;
    padding: 0;
}
.site-footer {
    background-color: #333;
    color: #ccc;
    padding: 20px 0;
    font-size: 14px;
    background-image: url('/static/apps/core/img/contacts/map.png');
}
.footer-top {
    text-align: left;
    padding-bottom: 20px;
    background-size: cover;
    background-position: center;
    padding: 20px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.contact-item a {
    color: white;
    text-decoration: none;
}
.contact-item i {
    color: #e53935;
    font-size: 24px;
    margin-right: 15px;
}
.contact-item p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}
.footer-middle {
    background-color: rgb(34, 34, 34, 0.6);
    padding: 20px 0;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1250px;
    margin: 0 auto;
}
.footer-column {
    margin: 10px;
}
.footer-column h3 {
    color: #fff;
    margin-bottom: 10px;
}
.footer-column a {
    color: white;
    text-decoration: none;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin: 5px 0;
}
.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column ul li a:hover {
    color: #e53935;
}
.footer-bottom {
    background-color:rgb(34, 34, 34, 0.6);
    text-align: center;
    padding: 10px 0;
    color: #777;
}
.social-media a {
    color: #ccc;
    margin: 0 10px;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}
.social-media a:hover {
    color: #e53935;
}
@media screen and (min-width: 1201px) {
    .less-btn {
        display: none;
    }
}
@media screen and (max-width: 1200px) {
    .less-btn {
    display: flex;
    cursor: pointer;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    color: black;
    border:2px solid transparent;
    border-radius:10px;
    border-right-color:rgb(135, 13, 0);
    border-left-color:rgb(11, 5, 5);
    background:
      linear-gradient(to left,
        rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
        rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
      linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    background-repeat:no-repeat;
    }
    .less-btn:hover {
        opacity: 0.5;
        color: white;
        background:
        linear-gradient(to left,
            rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
            rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
          linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    }
   .navbar .btn-outline-primary {
        display: none;
    }
}
@media screen and (max-width: 999px) {
    .main-section {
        height: 1200px;
    }
    .intro_inner {
        float: none;
        width: auto;
        margin-bottom: 10px;
    }
    .consultation_form {
        margin-left: auto;
    }
}
@media screen and (max-width: 700px) {
    .advantages-container {
        flex-direction: column;
        align-items: center;
    }
}
@media (min-width: 992px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 1010px;
  }
}
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1190px;
  } 
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1250px;
  }
}
/* @media (min-width: 548px){
    #form-left-index {
        width: auto;
    }
    #form-right-index {
        width: auto;
    }
} */

.nav-link {
  font-size: 15px;
}
.navbar-brand img {
  height: 65px;
}

/* .amo-button {
    display: block;
} */

@media (max-width: 690px){
    .amo-button-holder {
        display: none !important;
    }
}

.footer-nav{
    justify-content: center;
}
@media screen and (max-width: 1250px){
    .footer-column {
        flex: 1 1 30%;
    }
}

@media screen and (max-width: 550px){
    .footer-column {
        flex: 1 1 50%;
    }
}