/* 
    http://meyerweb.com/eric/tools/css/reset/ 
    v2.0 | 20110126
    License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html {
  scroll-behavior: smooth;
}
body {
	line-height: 1;
    margin: 0;
    font-family: Open Sans, sans-serif;
    color: #333c4e;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
    color: inherit;
    text-decoration: none;
}

/* Globals */
:root {
    --color-primary: #284177;
    --color-primary-dark: #1f335c;
    --color-secondary: #006BBD;
    --color-tertiary:  #83CEEC;
    --color-quaternary: #EDE8E4;
    --font-regular: "Regular";
    --font-bold: "Bold";
}
.dash {
    content: "";
    height: 2px;
    background-image: url("data:image/svg+xml,%3csvg width='100%20' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='white' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    display: block;
    width: 100%;
    position: absolute;
    z-index: 3;
}

.dash-bottom {
    bottom: 4px;
}

.dash-top {
    top: 4px
}

strong {
    font-weight: 800;
}

/* Navigation */
.top_nav {
    background-color: var(--color-primary);
    position: relative;
    text-transform: uppercase;
    z-index: 3;
    display: flex;
}

.top_nav > ul {
    max-width: 1280px;
    margin: auto;
    color: white;
    position: relative;
    display: flex;
    align-content: center;
    justify-content: space-around;
    text-align: center;
    display: none;
}

.top_nav > ul > li {
    width: calc(100%/7);
    z-index: 2;
    transition: background-color 0.3s ease-in-out;
    position: relative;
}

.top_nav > ul > li:not(.logo) {
    z-index: 2;
}

.top_nav > ul > li:not(.logo):hover {
    background-color: var(--color-secondary);
}

.top_nav > ul > li > a {
    display: block;
    padding: 30px 0;
}

.top_nav .logo {
    z-index: 4;
}

.top_nav > ul img {
    width: 90px;
    position: absolute;
    top: 5px;
    transform: translate(-50%);
}

.top_nav .menu {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 40px);
    margin: 6px 20px;
    align-items: center;
    padding-bottom: 6px;
}

.top_nav .menu img {
    width: 50px;
}

header .des_menu,
header .mob_menu {
    display: none;
}

header .mob_act_btn {
    font-size: 22px;
    color: white;
    transition: color 0.3s ease-in-out;
}


header .mob_act_btn:hover {
    color: var(--color-secondary)
}

header .mob_menu {
    /* display: none; */
    z-index: 5;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    text-align: center;
    border-top: 1px solid var(--color-primary-dark);
    border-bottom: 5px solid var(--color-primary-dark);
}

header .mob_menu a {
    display: block;
    padding: 10px 0;
    border-bottom: solid 1px var(--color-primary-dark);
    font-size: 15px;
    transition: all 300ms;
    color: white;
}

header .mob_menu a:hover {
    background-color: var(--color-secondary);
}

header .top_nav .sub_menu {
    background-color: #1e325b;
    position: absolute;
    margin-top: 32px;
    transition: all 300ms;
}

header .top_nav .has_dropdown:hover .sub_menu {
    background: #FFFFFF;
    box-shadow: 0px 11px 20px rgb(0 0 0 / 10%);
    background-color: #284177;
    display: block;
    position: absolute;
    width: 100%;
}

header .top_nav .sub_menu li a {
    display: block;
    padding: 10px 0;
}


header .top_nav .sub_menu {
    background-color: #313131;
    display: none;
}

header .top_nav .sub_menu li:hover a{
    background-color: var(--color-secondary);
}

header .top_nav .has_dropdown.active .sub_menu {
    display: block;
}


@media only screen and (min-width: 1024px) {
    header nav.mob_menu.active,
    header .menu {
        display: none !important;
    }

    .top_nav > ul {
        display: flex;
        width: 100%;
    }
}

/* Slider */

.slider {
    background-image: url(../img/slider2.jpg);
    background-size: cover;
    height: calc(100vh - 71px);
    transition: background-image 1s ease-in-out; /* Transition effect */
}

.slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slider > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
    letter-spacing: 2px;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    z-index: 2;
    max-width: calc(100% - 40px);
}

.slider > div > h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.slider > div > p {
    font-size: 0.7rem;
    font-weight: 300;
    margin-top: 0;
}

.slider > div > a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 300;
    margin-top: 30px;
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.slider > div > a:hover {
    background-color: white;
    color: var(--color-primary);
}


@media only screen and (min-width: 768px) {

    .slider > div > h1 {
        font-size: 2.5rem;
    }

    .slider > div > p {
        font-size: 1.5rem;
    }

    .slider > div {
        max-width: 1280px;
    }
}

@media only screen and (min-width: 1024px) {
    .slider {
        height: calc(100vh - 85px);
    }
}

/* Services */
.services {
    box-shadow: 0px 0px 13px 4px #000000a3;
}

.services,
.personal_services {
    background-color: var(--color-primary);
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    z-index: 3;
}

.services h2,
.personal_services h2,
.contacts h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 100px;
}

.services .service_holder,
.personal_services ul {
    max-width: 1280px;
    margin: auto 20px;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
    justify-content: space-between;
}

.services .service_holder > li,
.personal_services li {
    width: calc(100% - 12px);
    text-align: center;
    padding: 20px;
    border: 1px solid white;
    background-color: white;
    border-radius: 5px;
    color: var(--color-primary);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    margin-bottom: 60px;
}

.services .service_holder > li div {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.services .service_holder > li div i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: white;
    line-height: 80px;
    font-size: 25px;
    position: absolute;
    top:-66px;
    left: calc(50% - 40px);
}

.services .service_holder > li ul {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 0;
    line-height: 1.5rem;
}

@media only screen and (min-width: 768px) {
    .services .service_holder > li,
    .personal_services li {
        width: calc(50% - 52px);
    }

    .services .service_holder > li:hover {
        transform: scale3d(1.05, 1.05, 1.05);
        box-shadow: 1px 1px 10px 2px #006bbd99;
    }
}

@media only screen and (min-width: 1024px) {
    .services .service_holder > li {
        width: calc(33% - 57px);
    }
}

@media only screen and (min-width: 1320px) {
    .services .service_holder {
        margin: auto;
    }
}


/* University */
.university {
    background-color: white;
    position: relative;
    z-index: 2;
}

.university h2{
    padding: 100px 0;
    text-align: center;
    color: var(--color-primary);
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    line-height: 2.5rem;
    max-width: 1280px;
    margin:auto;
}

/* Personal Services */
.personal_services {
    box-shadow: 0px 0px 13px 4px #000000a3;
}

.personal_services li {
    padding: 0;
    border: none;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
}

.personal_services li:hover span {
    transform: scale(1.5);
}

.personal_services li .text_holder {
    padding: 0 20px 80px 20px;
}

.personal_services li .img_holder {
    height: 200px;
    background-size: cover;
    margin-bottom: 20px;
}

.personal_services li .img_holder span {
    background-size: cover;
    display: block;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.personal_services li:first-child .img_holder span{
    background-image: url(../img/service1.png);
}
.personal_services li:nth-child(2) .img_holder span {
    background-image: url(../img/service2.png);
}
.personal_services li:nth-child(3) .img_holder span {
    background-image: url(../img/service3.png);
}

.personal_services li h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.personal_services li p {
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 0;
    line-height: 1.5rem;
}

.personal_services li a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 300;
    padding: 10px;
    margin-top: 25px;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: absolute;
    bottom: 20px;
    width: auto;
    transform: translate(-50%);
}

.personal_services li a:hover,
.contacts a:hover {
    background-color: var(--color-primary);
    color: white;
}

.personal_services li .img_holder{
    overflow: hidden;
}

@media only screen and (min-width: 768px) {
    .personal_services li {
        width: calc(50% - 10px);
    }

    .university h2{
        font-size: 2rem;
        line-height: 2.5rem;
    }
}

@media only screen and (min-width: 1024px) {
    .personal_services li {
        width: calc(33% - 11px);
    }
}

@media only screen and (min-width: 1320px) {
    .personal_services ul {
        margin: auto;
    }
}

/* Contacts */
.contacts {
    padding: 100px 20px;
}

.contacts h2 {
    text-align: center;
    color: var(--color-primary);
}

.contacts .holder {
    max-width: 1280px;
    margin: auto;
}

.contacts .text_holder {
    margin-bottom: 50px;
    margin: auto;
}

.contacts .text_holder h2 {
    font-size: 30px;
}

.contacts .text_holder h1 {
    font-size: 30px;
    margin: 10px 0 10px 40px;
}

.contacts .text_holder h1 span{
    color: var(--blue);
}

.contacts .text_holder p {
    margin-left: 40px;
}

.contacts .text_holder p strong:first-child {
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.contacts .form_holder .input_holder,
.contacts .form_holder .text_area_holder {
    position: relative;
    background-color: var(--color-primary);
    margin-bottom: 10px;
    border-radius: 5px;
}

.contacts .form_holder label{
    position: absolute;
    top: 16px;
    left: 26px;
    font-size: 20px;
    visibility: visible;
    cursor: text;
    color: white;
}

.contacts .form_holder .input_holder input,
.contacts .form_holder .text_area_holder textarea{
    border-radius: 5px;
    padding: 15px 23px;
    outline: none;
    width: calc(100% - 52px);
    font-size: 20px;
    resize: none;
    background-color: transparent;
    color: white;
    border: none;
}

.contacts .input_holder input:focus + label,
.contacts .input_holder input:not(:placeholder-shown) + label,
.contacts .text_area_holder textarea:focus + label,
.contacts .text_area_holder textarea:not(:placeholder-shown) + label {
    visibility: hidden;
    color: white;
}

.contacts .btn_holder {
    text-align: right;
}

.contacts .btn_holder a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 300;
    padding: 10px;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.form_holder {
    background-color: transparent;
    width: 100%;
    height: 385px;
    perspective: 1000px;
}

.form_holder .card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.form_holder.active .card {
    transform: rotateY(180deg);
}

.form_holder form, .form_holder .form_success {
    position: absolute;
    width: 100%;
    height: 385px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.form_holder form {
    color: black;
}

.form_holder .form_success {
    background-color: white;
    transform: rotateY(180deg);
    display: flex;
    border-radius: 5px;
    border: solid 3px var(--color-primary);
    align-items: center;
}

.form_holder .form_success .check_holder {
    border: solid 3px var(--color-primary);
    color: var(--color-primary);
    display: inline-block;
    margin: auto;
    text-align: center;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    font-size: 25px;
    margin-bottom: 25px;
}

.form_holder .form_success h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.form_holder .form_success p {
    font-size: 15px;
    line-height: 19px;
}

.form_holder .form_success > div {
    width: 55%;
    margin: auto;
    max-width: 220px;
}

.contacts .socials i{
    color: var(--color-primary);
    font-size: 1.5rem;
}

/* Footer */

footer {
    background-color: var(--color-primary);
    padding: 25px 0;
    position: relative;
    box-shadow: 0px 0px 13px 4px #000000a3;
}

footer .footer_holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: auto;
    color: white;
}

footer .social ul {
    display: flex;
    font-size: 25px;
    gap: 8px;
}

footer .social a {
    transition: all 300ms;
}

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


/* Text Page */
.text {
    padding: 100px 20px;
    max-width: 1280px;
    margin:auto;
    min-height: 63.5vh;
}

.text p,
.text li,
.tabs_page p{
    padding: 10px 0;
    line-height: 2rem;
    list-style: decimal;
}

.wpb_wrapper {
    line-height: 2rem;
}

.text h1,
.tabs_page h1{
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.text ul {
    list-style-type: disc;
}

.text h2 {
    font-size: 2.1rem;
    text-align: center;
    margin-bottom: 20px;
}

.text h3 {
    font-size: 1.8rem;
    text-align: left;
    margin: 20px 0;
}

.text .wpb_wrapper > ul > li{
    list-style: disc;
    font-size: 16px;
}

.text ul ul {
    margin-left: 15px;
}

.tabs_page {
    max-width: 1280px;
    margin: 50px auto;
}

.tabs_page aside {
    background-color: var(--color-primary);
    color: white;
    position: relative;
    margin-bottom: 50px;
    border-radius: 4px;
    overflow: hidden;
}

.tabs_page aside a {
    display: block;
    padding: 15px 15px;
    border-bottom: solid 1px white;
    transition: background-color 300ms;
}

.tabs_page aside li:first-child a {
    padding: 21px 15px 15px 15px;
}

.tabs_page aside li:last-child a {
    padding: 15px 15px 21px 15px;
}

.tabs_page aside a:hover,
.tabs_page aside li.active a{
    background-color: var(--color-secondary);
}

.tabs_page h1 {
    font-size: 2.5rem;
    font-fa
}

.tabs_page main {
    padding: 0 20px;
}

.tabs_page .tabs_holder {
    min-height: 72vh;
}

.tabs_page .tabs_holder > div {
    display: none;
}

.tabs_page .tabs_holder > div.active {
    display: block;
}

.tabs_page .dash {
    z-index: 1;
}

.tabs_page .warning {
    padding: 20px;
    border: solid 2px #ffc200;
    display: block;
    background-color: whitesmoke;
    border-radius: 4px;
}

.tabs_page .tabs_holder ul {
    font-weight: 800;
}

.tabs_page .tabs_holder li {
    margin-bottom: 5px;
    list-style: disc;
}

@media only screen and (min-width: 1024px) {
    .tabs_page > h1 {
        display: none;
    }

    .tabs_page main {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
        padding: 0;
    }

    .tabs_page aside {
        min-width: 260px;
    }
}