@font-face {
    font-family: "OpenSans-Regular";
    src: url("/assets/fonts/OpenSans-Regular.ttf");
}

@font-face {
    font-family: "OpenSans-SemiBold";
    src: url("/assets/fonts/OpenSans-SemiBold.ttf");
}

:root {
    --fontRegular: OpenSans-Regular;
    --fontSemiBold: OpenSans-SemiBold;
    --color: #003366;
}

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

h1, h2, h3 {
    font-family: var(--fontSemiBold);
}

p,a,h4,h5,h6,label,span {
    font-family: var(--fontRegular);
    line-height: 30px;
}

a {
    text-decoration: none;
}

.mt-5 {
    margin-top: 50px;
}
.mt-4 {
    margin-top: 40px;
}
.mt-3 {
    margin-top: 30px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-1 {
    margin-top: 10px;
}

.mb-5 {
    margin-bottom: 50px;
}
.mb-4 {
    margin-bottom: 40px;
}
.mb-3 {
    margin-bottom: 30px;
}
.mb-2 {
    margin-bottom: 20px;
}
.mb-1 {
    margin-bottom: 10px;
}

.fs-18 {
    font-size: 18px;
}
.fs-24 {
    font-size: 24px;
}
.fs-32 {
    font-size: 32px;
}
.fs-36 {
    font-size: 36px;
}

main {
    min-height: calc(100vh - 300px);
}

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

.text-center {
    text-align: center;
}

.standart-title {
    text-align: center;
    font-size: 40px;
    letter-spacing: 3px;
}

.atom img {
    width: 50px;
    animation: zoomAtom 10s infinite;
    margin: 0 auto;
    display: flex;
}

@keyframes zoomAtom {
    0%{transform: rotate(360deg)}
}

/* Header */
.top-header {
    background-color: var(--color);
    text-align: center;
    padding: 10px;
    color: white;
}
.main-header {
    background-color: #f6f6f6;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.navbar ul li {
    list-style: none;
}
.navbar ul li a {
    margin: 0 10px;
    font-size: 18px;
    color: black;
}
/* End Header */

/* Footer */
footer {
    background-color: var(--color);
    height: 300px;
}

.footer-logo img {
    margin: 0 auto;
    padding-top: 20px;
    display: block;
    width: 150px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
}

.footer-content a {
    color: white;
}
/* End Footer */

/* home Page */
.row-home {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

.home-about-block-info a {
    padding: 15px 25px;
    color: white;
    background-color: var(--color);
    transition: .3s;
}

.home-about-block-info a:hover {
    background-color: #135bb0;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.home-about-block {
    margin: 0 auto;
    position: relative;
}

.home-about-block img {
    border-radius: 20px;
    width: 80%;
    margin: 0 auto;
    display: block;
}

.home-about-block::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 100%;
    background-color: var(--color);
    right: 25px;
    top: -25px;
    z-index: -1;
    border-radius: 20px;
}

.home-contact-block {
    background-color: #f6f6f6;
    height: 100%;
    margin-top: 100px;
    padding: 30px;
}

.social-icon {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.certificate-image {
    width: 50%;
    margin: 0 auto;
    display: block;
}
/* End home Page */

/* Payment Page */
.form-group {
    margin-bottom: 20px;
}

.form-group {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    height: 50px;
    border: 2px solid #ddd;
    padding: 10px;
    font-size: 18px;
}

.payment-button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.step-next-button {
    display: block;
    padding: 15px 25px;
    color: white;
    background-color: var(--color);
    transition: .3s;
    border: none;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 15px;
    font-family: var(--fontRegular);
    font-size: 18px;
}

.step-next-button:hover {
    background-color: #135bb0;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.step-prev-button {
    display: block;
    padding: 15px 25px;
    color: white;
    background-color: #c72b2b;
    transition: .3s;
    border: none;
    cursor: pointer;
    margin-right: auto;
    margin-bottom: 15px;
    font-family: var(--fontRegular);
    font-size: 18px;
}

.step-prev-button:hover {
    background-color: #135bb0;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.stepTwo {
    display: none;
}

.step-two-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.stepThree {
    display: none;
}

.row-payment {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pay_now_btn {
    display: block;
    padding: 15px 25px;
    color: white;
    background-color: var(--color);
    transition: .3s;
    border: none;
    cursor: pointer;
    margin: 15px auto;
    font-family: var(--fontRegular);
    width: 100%;
    font-size: 18px;
}

.pay_now_btn:hover {
    background-color: #135bb0;
    border-radius: 10px;
}

.step-size {
    width: 50%;
    margin: 0 auto;
}

.steps {
    margin-bottom: 10px;
    position: relative;
    height: 25px;
}

.steps > div {
    position: absolute;
    top: 0;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    height: 25px;
    padding: 0 5px;;
    display: inline-block;
    width: 80px;
    text-align: center;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

.steps > div > span {
    line-height: 25px;
    height: 25px;
    margin: 0;
    color: #777;
    font-size: .9rem;
    font-weight: 300;
}

.steps > div > .liner {
    position: absolute;
    height: 2px;
    width: 0%;
    left: 0;
    top: 50%;
    margin-top: -1px;
    background: #999;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

.step-one {
    left: 0;
}

.step-two {
    left: 50%;
}

.step-three {
    left: 100%;
}

.line {
    width: 100%;
    height: 7px;
    background: #000000;
    position: relative;
    border-radius: 10px;
    overflow: visible;
    margin-bottom: 50px;
}

/*.line .dot-move {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 0%;*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    -webkit-transform: translate(-50%, -50%);*/
/*    -ms-transform: translate(-50%, -50%);*/
/*    transform: translate(-50%, -50%);*/
/*    background: #000000;*/
/*    border-radius: 50%;*/
/*    -webkit-transition: .3s all ease;*/
/*    transition: .3s all ease;*/
/*}*/

.line .dot {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    left: 0;
    background: #000000;
    border-radius: 50%;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    -webkit-transform: translate(-50%, -50%) scale(.5);
    -ms-transform: translate(-50%, -50%) scale(.5);
    transform: translate(-50%, -50%) scale(.5);
}

.line .dot.zero {
    left: 0%;
    /*background: #bbb;*/
    position: relative;
}
.line .dot.zero::before {
    content: '1';
    position: absolute;
    left: 15px;
    top: 0px;
    font-size: 36px;
    color: white;
}

.line .dot.center {
    left: 50%;
    background: #000000
}

.line .dot.center::before {
    content: '2';
    position: absolute;
    left: 16px;
    top: 4px;
    font-size: 36px;
    color: white;
}

.line .dot.full {
    left: 100%;
    background: #000000;
}

.line .dot.full::before {
    content: '3';
    position: absolute;
    left: 16px;
    top: 4px;
    font-size: 36px;
    color: white;
}

/* End Payment Page */

/* Media Queries */
@media (max-width: 768px) {
    .row-home {
        flex-direction: column-reverse;
        display: flex;
    }

    .home-about-block {
        margin-bottom: 20px;
    }

    .step-size {
        width: 80%;
    }
}

@media (max-width: 568px) {
    .social-icon {
        gap: 15px;
        flex-flow: column;
        margin-bottom: 10px;
    }

    .certificate-image {
        width: 100%;
    }

    .footer-content {
        gap: 15px;
        flex-flow: column;
        margin-bottom: 10px;
    }

    .step-two-grid {
        grid-template-columns: 1fr;
    }
}
/* End Media Queries */


