@import "./reset.css";
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

body{
    color: #000;
    font-family: "Raleway", sans-serif;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
}
.clear-fix{
    clear: both;
    margin-bottom: 40px;
}
.clear-both{
    clear: both;
}
.center-content{
    text-align: center;
}
.table{
	border: 1px solid #eee;
	table-layout: fixed;
	width: 100%;
	margin-bottom: 20px;
}
.table caption{
	font-size:140%;
	font-weight:600;
	padding:20px 0;
}
.table th {
	font-weight: bold;
	padding: 5px;
	background: #efefef;
	border: 1px solid #dddddd;
}
.table td{
	padding: 5px 10px;
	border: 1px solid #eee;
	text-align: center;
}
.table tbody tr:nth-child(odd){
	background: #fff;
}
.table tbody tr:nth-child(even){
	background: #F7F7F7;
}
.container{
    max-width: 1230px;
    padding: 0 30px;
    margin: 0 auto;
}
.title-1{
    font-size: 34px;
    font-weight: 600;
    padding: 30px;
}
.title-2{
    font-size: 24px;
    font-weight: 600;
    padding: 30px 0px;
}
.btn{
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 18px;
    color: #FFF;
    background-color: #00a0e3;
    border-color: 1px solid #00a0e3;
    text-align: center;
    transition: background-color 0.2s ease-in, top;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}
.btn:hover, .btn:focus{
    color: #0085bc;
    background-color: #FFF;
}
.btn:active{
    position: relative;
    top: 1px;
}
.index-title{
    margin: 40px 0;
    text-align: center;
}

/* Header */
.header{
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-wrapper{
    padding: 26px 0px;
    background-color: #2f2f2f;
    border-bottom: 2px solid #dadada;
}
.header-top{
    padding: 10px;
    background: #373737;
    border-bottom: 1px solid #0085bc;
}
.header-tel{
    color: #FFF;
    float: right;
    margin-right: 20px;
    font-size: 110%;
}
.header-viber{
    color: #FFF;
    font-size: 80%;
    background-color: #8c60c3;
    border-radius: 15px;
    border: 1px solid #FFF;
    padding: 5px 10px;
    float: right;
}
.header-viber:hover{
    color: #8c60c3;
    background-color: #FFF;
    border: 1px solid #8c60c3;
}
.header-tel:hover{
    color: #0085bc;
}
.header-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    width: 220px;
}
.logo img{
    width: 100%;
    display: block;
}

/* Nav */
.nav-list{
    display: flex;
    column-gap: 50px;
    font-weight: 500;
    font-size: 16px;
}
.nav-link{
    color: #FFF;
}
.nav-button{
    display: none;
}
.nav-link:hover{
    color: #00a1e6;
}

/* Velcom Wrapper */
.welcom-wrapper{
    background-color: #f1f1f1;
    background-image: url('../img/welcom_bg.jpg'); 
    background-position: top center;
    background-repeat: no-repeat;  
}
.welcom-row{
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}
.welcom-content{
    max-width: 540px;
    margin-top: 144px;
    margin-bottom: 184px;
}
.welcom-heading{
    font-weight: 600;
    font-size: 44px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px #ececec;
}
.welcom-button{
    color: #FFF;
    font-weight: 500;
    text-transform: uppercase;
    padding: 20px;
    background-color: #00a1e6;
    border-radius: 30px;
    margin-top: 20px;
    max-width: 200px;
    text-align: center;
    transition: background-color 0.2s ease-in, top;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}
.welcom-button:hover{
    color: #00315c;
    background-color: #FFF;
}

/* Services */
.services{
    padding: 90px 0px;
    background-color: #373737;
}
.services-row{
    display: flex;
    column-gap: 50px;
    row-gap: 60px;
    flex-wrap: wrap;
}
.services-card{
    margin-bottom: 30px;
    text-align: center;
    flex: 1 1 0;
    min-width: 250px;
}
.services-card-img{
    max-width: 100px;
    margin-bottom: 30px;
}
.services-card-img img{
    display: block;
    width: 100%;
    margin: 0 auto;
}
.services-card-title{
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}
.services-card-title a:hover, a:focus{
    color:#FFF;
}
.services-card p{
    font-size: 14px;
    line-height: 2;
}

/* Portfolio */
.portfolio-welcom{
    padding: 0px;
    background-color: #ececec;
}
.portfolio-welcom-row{
    display: flex;
    column-gap: 0px;
    row-gap: 0px;
    flex-wrap: wrap;
}
.portfolio-welcom-card{
    flex: 1 1 0;
    min-width: 460px;
}
.portfolio-welcom-pic{
    background-image: url('../img/portfolio_pic.jpg'); 
    background-position: top center;
    background-repeat: no-repeat;
    height: 100%;
}
.portfolio-welcom-info{
    padding: 50px;
}
.portfolio-welcom-title{
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
}
.portfolio-welcom-text{
    border-left: 2px solid #00a1e6;
    padding-left: 20px;
    margin-bottom: 50px;
}
.portfolio-welcom-button{
    max-width: 300px;
    font-weight: 400;
    font-size: 17px;
    color: #FFF;
    text-align: center;
    padding: 10px;
    border: 1px solid #00a1e6;
    background-color: #0085bc;
    border-radius: 20px;
    cursor: pointer; /* Меняем курсор при наведении */
    transition: 0.2s;
    margin-top: auto;  /* Прижимаем кнопку к низу карточки */
    transition: background-color 0.2s ease-in, top;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}
.portfolio-welcom-button:hover{
    border: 1px solid #0085bc;
    background-color: #FFF;
    color: #0085bc;
}


/* bread crumbs */
.bread-crumbs-content{
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    font-weight: 600;
}
.bread-crumbs-content a{
    color: #000;
    font-weight: 400;
    text-decoration: underline;
}

/* Contacts */
.contacts{
    padding: 90px 0 20px 0;
    text-align: center;
}.contacts-content{
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}
.contacts-content p span{
    font-size: 13px;
}
.contacts-content p + p{
    margin-top: 1em;
}
.contacts-content a{
    font-size: 120%;
    font-weight: 600;
    color: #000;
}
.contacts-content a:hover{
    color: #00a1e6;
}
.contacts-button{
    margin-bottom: 20px;
}
.contacts-social{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 60px;
    margin-bottom: 10px;
}
.contacts-social img{
    display: block;
    width: 50px;
}
.contacts-note{
    font-size: 12px;
    color: #828282;
    margin-bottom: 40px;
}
.contacts-address{
    margin-bottom: 20px;
    font-weight: 600;
}
/* Footer */
.footer-contacts{
    padding: 90px 0 20px 0;
    text-align: center;
}
.footer-row{
    display: flex;
    column-gap: 50px;
    row-gap: 60px;
    flex-wrap: wrap;
}
.footer-card{
    margin-bottom: 30px;
    text-align: center;
    flex: 1 1 0;
    min-width: 280px;
    align-items: center;
}
.footer-logo{
    width: 100%;
    margin-bottom: 30px;
}
.footer-logo img{
    max-width: 240px;
    display: block;
    margin: 0 auto;
}
.footer-menu-point{
    padding: 5px;
}
.footer-menu-point a{
    font-weight: 600;
    color: #000;
}
.footer-menu-point a:hover{
    color:#00a1e6;
}
.footer-bottom-line{
    padding: 20px;
    color: #FFF;
    background-color: #2f2f2f;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}

/* text */
.text-content{
    margin: 40px auto;
    text-align: justify;
}
.text-content ul{
    margin: 20px 0;
}
.text-content ul li{
    list-style: disc;
    margin: 5px 15px;
}
.text-content p+p{
    margin-top: 30px;
}

/* Search form */
.search_box{
    text-align: center;
    margin-top: 40px;
}
.search-form{
    border: 1px solid #ececec;
    display: inline-flex;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #FFF;
    margin: 0 auto;
}
.search-form__txt{
    border: none;
    width: 200px;
    outline: none;
    font-size: 14px;
    padding-right: 10px;
    background-color: transparent;
}
.search-form__btn{
    border: none;
    background-color: transparent;
}
.search-form__img{
    display: flex;
    align-items: center;
    align-content: center;
    background-color: transparent;
    cursor: pointer;
    width: 20px;
}
.search-form__img img{
    width: 100%;
}