* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    height: 98px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: #3b4f98;
    padding: 30px 250px;
    font-family: sans-serif;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.9;
}

nav h1 {
    font-size: 40px;
    font-weight: 900;
}

nav i {
    font-size: 22px;
}

div.twotags {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    list-style: none;
    font-weight: 600;
    margin-left: 268px;
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li:hover {
    cursor: pointer;
    color: #8d99c4;
}

.menu-icon{
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-icon span{
    width: 25px;
    height: 3px;
    background-color: white;
}

nav button {
    padding: 14px 41px;
    color: white;
    background-color: rgb(0, 0, 0, 0);
    border: solid 3px white;
    font-weight: 600;
}

nav button:hover {
    cursor: pointer;
    color: #40508c;
    background-color: white;
}

main {
    height: 650px;
    background-color: #6384ff;
    padding: 30px 250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-container {
    font-family: sans-serif;
}

.text-container .static-text {
    font-size: 60px;
    font-weight: 400;
    color: white;
}

.text-container .dynamic-text {
    margin-left: 10px;
    height: 90px;
    line-height: 90px;
    overflow: hidden;
}

.text-container .dynamic-text li {
    list-style: none;
    color: white;
    font-size: 60px;
    font-weight: 500;
    position: relative;
    top: 0;
    animation: slide 12s steps(4) infinite;
}

.text-container .dynamic-text li span {
    position: relative;
    margin: 5px 0;
    line-height: 90px;
}

.text-container .dynamic-text li span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    animation: tyeping 3s steps(10) infinite;
    background-color: #6384ff;
}

@keyframes slide {
    100% {
        top: -360px;
    }
}

@keyframes tyeping {

    40%,
    60% {
        left: calc(100%);
    }
}

section {
    padding: 30px 250px;
}

section h1 {
    font-family: sans-serif;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

section h1::after {
    content: "";
    display: block;
    margin: 0 auto;
    margin-top: 15px;
    width: 170px;
    height: 2px;
    background-color: #6384ff;
}

section h2 {
    color: #32325c;
    font-family: sans-serif;
}


section p {
    color: #7d7e7d;
    font-family: sans-serif;
}

section img {
    width: 115px;
    height: 112px;
}

div.dad {
    display: flex;
    gap: 25px;
    margin-top: 50px;
}

div.aa {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

div.aa img {
    margin: auto;
}

div.aa h2 {
    text-align: center;
}

div.bb {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

div.bb img {
    margin: 0 auto;
}

div.bb h2 {
    text-align: center
}

div.cc {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

div.cc img {
    margin: 0 auto;
}

div.cc h2 {
    text-align: center;
}

div.part-1 {
    padding: 30px 250px;
    margin-top: 230px;
    font-family: sans-serif;
    display: flex;
    gap: 30px;

}

div.father {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

div.part-1 h1 {
    font-size: 50px;
    font-weight: bold;
}

div.part-1 h1::after {
    content: "";
    display: flex;
    justify-content: left;
    margin-top: 15px;
    width: 170px;
    height: 2px;
    background-color: #6384ff;
}

div.part-1 p {
    color: #7d7e7d;
}

div.part-1 button {
    color: #6384ff;
    border: solid 2px #6384ff;
    width: 105px;
    height: 40px;
}

div.part-1 button:hover {
    cursor: pointer;
    color: white;
    background-color: #6384ff;
}

div.part-2 {
    padding: 30px 250px;
}

div.part-2 h1 {
    font-family: sans-serif;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

div.part-2 h1::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 170px;
    height: 2px;
    background-color: #6384ff;
    margin-top: 15px;
}

.all-images {
    width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.image-box {
    position: relative;
    width: 380px;
    height: 270px;
    overflow: hidden;
    cursor: pointer;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.part-2 .overlay::before {
    content: "";
    position: absolute;
    background-color: white;
    width: 100px;
    height: 2px;
    top: 40px;
    opacity: 0;
}

div.part-2 .image-box:hover .overlay::before {
    transform: translateY(40px);
    transition: all 1s;
    opacity: 1;
}

div.part-2 .overlay::after {
    content: "";
    position: absolute;
    background-color: white;
    width: 100px;
    height: 2px;
    bottom: 40px;
    opacity: 0;
}

div.part-2 .image-box:hover .overlay::after {
    transform: translateY(-40px);
    transition: all 1s;
    opacity: 1;
}

.image-box:hover .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.733);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

div.part-2 .overlay h4 {
    color: white;
    font-size: 25px;
    font-weight: 400;
}

div.part-2 .overlay p {
    color: #6384ff;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

div.part-3 {
    padding: 30px 250px;
}

div.part-3 h2 {
    text-align: center;
    font-size: 44px;
    font-weight: 700;
    line-height: 55px;
    padding-bottom: 22px;
}

div.part-3 h2::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 170px;
    height: 2px;
    background-color: #6384ff;
    margin-top: 15px;
}

div.part-3 .container {
    width: 1110px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

div.part-3 .card {
    width: 350px;
    cursor: pointer;
    text-align: center;
}

div.part-3 .card .box {
    height: 270px;
    position: relative;
    padding-top: 40px;
    text-align: center;
}

div.part-3 .card .ff {
    background-color: #fabc05;
}

div.part-3 .card:nth-of-type(1),
div.part-3 .card:nth-of-type(1) button {
    border: solid 2px #fabc05;
}

div.part-3 .card-1:hover .circle {
    background-color: #fabc05 !important;
}

div.part-3 .card-1:hover button {
    background-color: #fabc05;
}

div.part-3 .card .vv {
    background-color: #6384ff;
}

div.part-3 .card:nth-of-type(2),
div.part-3 .card:nth-of-type(2) button {
    border: solid 2px #6384ff;
}

div.part-3 .card-2:hover .circle {
    background-color: #6384ff !important;
}

div.part-3 .card-2:hover button {
    background-color: #6384ff;
}

div.part-3 .card .ss {
    background-color: #3baa70;
}

div.part-3 .card:nth-of-type(3),
div.part-3 .card:nth-of-type(3) button {
    border: solid 2px #3baa70;
}

div.part-3 .card-3:hover .circle {
    background-color: #3baa70 !important;
}

div.part-3 .card-3:hover button {
    background-color: #3baa70;
}

div.part-3 .card:hover button,
div.part-3 .card:hover .circle {
    color: white;
}

div.part-3 .card:nth-of-type(1) ul li i {
    color: #fabc05;
}

div.part-3 .card:nth-of-type(2) ul li i {
    color: #6384ff;
}

div.part-3 .card:nth-of-type(3) ul li i {
    color: #3baa70;
}

div.part-3 .card .box::before,
div.part-3 .card .box::after {
    content: "";
    position: absolute;
    background-color: white;
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

div.part-3 .card .box::before {
    left: 0;
    top: 180px;
}

div.part-3 .card .box::after {
    right: -30px;
    top: 140px;
}

div.part-3 .card .box h3 {
    font-size: 30px;
    font-weight: 600;
    color: white;
}

div.part-3 .card .box .circle {
    width: 140px;
    height: 140px;
    background-color: white;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    left: 50%;
    top: 40px;
    translate: -50%;
    outline: solid 8px #b2b2b2a2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

div.part-3 .card .box .circle b {
    font-size: 35px;
    font-weight: 600;
    line-height: 50px;
}

div.part-3 .card .box .circle small {
    font-size: 16px;
}

div.part-3 .card ul {
    position: relative;
    margin-top: 20px;
    list-style-type: none;
}

div.part-3 .card ul li {
    padding: 7px 0 7px 30px;
    font-weight: 600;
    display: flex;
    gap: 10px;
}

div.part-3 .card ul li i {
    font-size: 20px;
}

.fa-xmark {
    color: #707070 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-left: 32px !important;
}

div.part-3 .card button {
    font-size: 22px;
    font-weight: 700;
    color: rgb(112, 112, 112);
    background-color: transparent;
    padding: 10px 40px;
    margin-block: 40px 30px;
}

div.part-4 {
    padding: 30px 250px;
}

div.part-4 h1 {
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    font-family: sans-serif;
}

div.part-4 h1::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 170px;
    height: 2px;
    background-color: #6384ff;
    margin-top: 15px;
}

div.part-4 p {
    margin-top: 45px;
    font-family: sans-serif;
    font-size: 18px;
    text-align: center;
}

div.part-4 .all {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

div.part-4 .all .person {
    width: 350px;
}

div.part-4 .all img {
    width: 350px;
    height: 315px;
}

div.part-4 .all h3 {
    font-size: 30px;
    font-family: sans-serif;
    text-align: center;
    margin-top: 20px;
}

div.part-4 .all p {
    margin-bottom: 30px;
    font-family: sans-serif;
    font-size: 16px;
    color: #7d7e7d;
}

div.part-4 .all .person:hover {
    box-shadow: 0 0 5px 2px #cccccc;
}

div.part-4 .all .person:hover h3 {
    color: #6399ff;
}

div.part-5 {
    width: 1135px;
    overflow: hidden;
    margin: 160px auto;
}

.image-bar {
    display: flex;
    gap: 120px;
    animation: shift 6s ease-in-out infinite alternate;
}

.image-bar .ph-1 {
    width: 130px;
    height: 46px;
    object-fit: contain;
}

.image-bar .ph-2 {
    width: 180px;
    height: 40px;
    object-fit: contain;
}

.image-bar .ph-3 {
    width: 230px;
    height: 53px;
    object-fit: contain;
}

@keyframes shift {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-160px);
    }

    50% {
        transform: translateX(-490px);
    }

    75% {
        transform: translateX(-160px);
    }

    100% {
        transform: translateX(0);
    }
}

div.part-6 {
    padding: 30px 250px;
}

div.part-6 h1 {
    font-family: sans-serif;
    text-align: center;
    font-size: 45px;
}

div.part-6 h1::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 170px;
    height: 2px;
    background-color: #6384ff;
    margin-top: 15px;
}

div.group-clouds {
    display: flex;
    gap: 60px;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    text-align: center;
}

div.group-clouds h4 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 700;
    color: #6384ff;
    letter-spacing: 1.5px;
}

div.group-clouds span {
    font-size: 17px;
    font-weight: 600;
}

div.amar .orange {
    background-color: #fabc05;
}

div.auor .blue {
    background-color: #6384ff;
}

div.anihg .green {
    background-color: #3baa70;
}

.cloud-1 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    top: 90px;
    left: 75px;
    z-index: -5;
}

.cloud-2 {
    width: 330px;
    height: 190px;
    border-radius: 90px;
    position: relative;
}

.cloud-2 p {
    text-align: center;
    width: 220px;
    position: absolute;
    top: 20px;
    left: 60px;
    font-size: 18px;
    line-height: 2;
    color: white;
    font-family: sans-serif;
}

.cloud-1::after {
    content: "‘‘";
    font-size: 200px;
    color: white;
    position: relative;
    top: -15px;
    left: -8px;
}

.group-clouds .oo {
    height: 25px;
    display: inline-block;
    margin-block: 5px 15px;
    border: dashed 2px #6384ff;
    background-color: white;
}

.bar-dots {
    margin-top: 10px;
}

.bar-dots span {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 10px 3px;
    box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.bar-dots .active {
    background-color: #6c8cff;
}

div.part-7 {
    padding: 30px 250px;
    padding-top: 175px;
}

div.part-7 h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 55px;
    font-family: sans-serif;
}

div.part-7 h1::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 170px;
    height: 2px;
    background-color: #6384ff;
    margin-top: 15px;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}

form input {
    border: solid 2px #546182;
    border-radius: 4px;
    margin-bottom: 32px;
}

input::placeholder,
textarea::placeholder {
    color: #575459;
    font-size: 17px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"] {
    width: 350px;
    height: 65px;
    padding-left: 32px;
    margin-right: 30px;
}

textarea {
    width: 736px;
    height: 123px;
    border: solid 2px #546182;
    border-radius: 4px;
    margin-right: 29px;
    padding-left: 32px;
    padding-top: 20px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
    outline: none;
    border-color: #fabc05;
}

input[type="submit"] {
    width: 738px;
    height: 62px;
    margin-right: 29px;
    background-color: white;
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 40px;
    font-weight: 600;
    color: #6384ff;
    border: 2px solid #6384ff;
    border-radius: 4px;
    margin-top: 32px;
}

input[type="submit"]:hover {
    background-color: #6384ff;
    color: white;
    cursor: pointer;
}

.follow-icons {
    margin-top: 28px;
    text-align: center;
}

.follow-icons span {
    margin-right: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #6384ff;
    font-family: sans-serif;
}

.follow-icons i {
    font-size: 19px;
    font-weight: 700;
    color: #6384ff;
    margin-right: 10px;
}

div.part-8 {
    padding: 30px 250px;
    margin-top: 90px;
    background-color: #fcfcfc;
    font-family: sans-serif;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 130px;
}

.contact-info h3 {
    font-size: 30px;
    font-weight: 700;
    color: #1d1d1d;
}

.contact-info h4 {
    font-size: 18px;
    line-height: 35px;
    font-weight: 600;
    color: #2a2a2a;
}

.contact-info button {
    width: 150px;
    height: 66px;
    background-color: white;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #6384ff;
    border: 2px solid #6384ff;
    border-radius: 4px;
    padding: 3px 14px;
}

.contact-info button:hover {
    background-color: #6384ff;
    color: white;
    cursor: pointer;
}

footer {
    padding: 30px 250px;
    padding-top: 60px;
    padding-bottom: 32px;
    font-family: sans-serif;
}

footer .footer-cont {
    display: flex;
    justify-content: center;
    gap: 230px;
}

footer .footer-cont h3 {
    font-size: 16px;
    font-weight: 600;
}

footer .footer-cont i {
    font-size: 23px;
    margin-right: 16px;
    color: #2a2a2a;
}

footer .footer-cont i:hover {
    color: #6384ff;
    cursor: pointer;
}

.go-to-first {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #6384ff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 10px;
    bottom: 20px;
    z-index: 9;
    cursor: pointer;
}

.go-to-first i {
    font-size: 23px;
    color: white;
}

@media (min-width:841px) and (max-width:1024px) {
    nav {
        padding: 30px 30px;
        position: fixed;
    }

    nav ul {
        display: none;
    }
    .menu-icon {
        display: flex;
    }

    main {
        height: 500px;
        padding: 30px 30px;
        
    }
   .text-container .static-text{
        font-size: 30px;
    }
    .text-container .dynamic-text li{
        font-size: 30px;
    }
    main img{
        width: 340px;
        height: 245px;
        margin-top: 10px;
    }
    section{
        padding: 30px 30px;
    }
    div.dad{
        display: flex;
        flex-wrap: wrap;
    }
    div.aa{
        margin: 0 auto;
    }
    div.bb{
        margin: 0 auto;
    }
    div.cc{
        margin: 0 auto;
    }
    div.part-1{
        margin-top: 100px;
        padding: 30px 30px;
        display: flex;
        flex-direction: column;
    }
    div.part-1 img{
        width: 520px;
        height: 465px;
        margin: 0 auto;
    }
    div.part-2{
        padding: 30px 30px;
        margin-top: 100px;
    }
    .all-images{
        width: 100%;
        margin: 0 auto;
        margin-top: 30px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    div.part-3{
        padding: 30px 30px;
    }
    div.part-3 .container{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    div.part-3 .card{
        margin: 0 auto;
        margin-top: 25px;
    }
    div.part-4{
        padding: 30px 30px;
    }
    div.part-4 .all{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    div.part-5{
        width: 75%;
    }
    div.part-6{
        padding: 30px 30px;
    }
    div.group-clouds{
        display: flex;
        flex-direction: column;
    }
    .bar-dots{
        display: none;
    }
    div.part-7{
        padding: 30px 30px;
        padding-top: 100px;
    }
    div.part-8{
        padding: 30px 30px;
    }
    .contact-info{
        width: 74%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .contact-info button{
        margin-right: 80px;
    }
    footer{
        padding: 30px 30px;
    }
    footer .footer-cont{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
}