* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    background: black;
    display: flex;
    flex-direction: column;
}

.main-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cont {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .main-section {
        flex-direction: row;
        gap: 60px;
    }
    
    .main-section > .cont:first-child {
        flex-shrink: 0;
    }
    
    .main-section > .cont:last-child {
        align-items: flex-start;
    }
}

.ava {
    border-radius: 200px;
    width: 320px;
    height: 320px;
    border: 2px solid #9fa8da11;
    -webkit-box-shadow: 0px 0px 57px 45px rgba(159, 168, 218, 0.1);
    -moz-box-shadow: 0px 0px 57px 45px rgba(159, 168, 218, 0.1);
    box-shadow: 0px 0px 57px 45px rgba(159, 168, 218, 0.1);
}

.title {
    color: white;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: bold;
    margin-top: 10px;
}

.desc {
    color: #3F51B5;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
}

.quote {
    color: #9fa8da;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: normal;
    margin-top: 15px;
    text-align: center;
    max-width: 300px;
}

@media (min-width: 768px) {
    .title {
        font-size: 48px;
        text-align: left;
        margin-top: 0;
    }
    
    .desc {
        font-size: 36px;
    }
    
    .quote {
        font-size: 16px;
        text-align: left;
        margin-top: 20px;
        max-width: 400px;
    }
    
    .main-section .link {
        margin: 0;
    }
}

.link {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
    color: #3F51B5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3F51B5, #00ccff);
    transition: width 0.3s ease;
}

.link:hover::before {
    width: 100%;
}

.link:hover {
    color: #303F9F;
}

.contacts {
    color: white;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.contacts > p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts > a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts > a > span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px !important;
}

.contacts > a > p {
    font-size: 15px !important;
}

.contactTitle {
    margin-top: 15px;
}

.sectionTitle {
    color: white;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 22px;
    display: flex;
    justify-content: center;
}

.line {
    width: 200px;
    height: 1px;
    background: white;
    margin: 10px auto;
}

@media (max-width: 768px) {
    .line {
        width: 100%;
    }
}

.toast {
    position: fixed;
    top: 24px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #303F9F;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.contacts-section {
    padding: 30px 20px;
}

.contacts-container {
    max-width: 600px;
    margin: 0 auto;
}

