* {
    margin: 0;
    padding: 0;
}

:root {
    --gold-color: #229FE6;
    --ccc-color: #ccc;
    --light-blue-color: #229FE6;
    --light-blue-color: #229FE6;
    --light-blue-color-1: #225FE6;
    --white-color: white;
    --blue-color: #229FE6;
}

section {
    padding: 40px 40px;
    position: relative;
}

.other-sect {
    padding-top: 105px;
}

@media (max-width:960px) {
    section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.tag {
    color: var(--light-blue-color);
}

.tag.sect {
    text-align: center;
    font-size: 20px;
}

.title-underline {
    height: 2px;
    width: 100px;
    background-color: #ccc;
    position: absolute;
    left: 50%;
    top: 140px;
    transform: translate(-50%, -50%);
}

/*-------Nav------*/
nav {
    background: linear-gradient(60deg, var(--white-color) 18%, var(--gold-color) 19%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    border-bottom: 4px solid var(--light-blue-color);
    z-index: 999;
    padding: 5px 20px;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all ease-in-out 1s;
    top: 40px;
}

nav.active {
    top: 0;
}

nav .logo {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 150px;
    text-align: center;
    text-decoration: none;
    color: var(--blue-color);
}

nav .logo img {
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

nav .logo:hover {
    color: var(--blue-color);
}

.contact-nav {
    background-color: var(--light-blue-color-1);
    color: white;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}

.contact-nav i {
    margin-right: 10px;
    color: white;
}

nav .list {
    display: flex;
    gap: 20px;
}

nav .list li {
    list-style: none;
}

nav .list li a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 700;
}

nav .list li a i {
    font-size: 15px;
    font-weight: 550;
}

nav .cart {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

nav .cart a {
    text-decoration: none;
    font-weight: 700;
}

nav .btn-login {
    background-color: var(--blue-color);
    color: white;
    padding: 10px 30px;
    top: 20px;
    border-radius: 50px;
    transition: all ease-in-out 0.5s;
    display: block;
    border:1px solid var(--light-blue-color-1)
}

nav .btn-login:hover {
    background-color: var(--light-blue-color);
    color: var(--white-color);
}


nav .hover {
    position: relative;
}

nav .hover-container {
    display: none;
    position: absolute;
    background-color: white;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    left: -20px;
    width: 180px;
    top: 25px;
    border-radius: 10px;
}

nav .hover-container.active {
    display: block;
}

@media (max-width:1200px) {
    nav {
        background: linear-gradient(60deg, var(--white-color) 20%, var(--gold-color) 21%);
    }
}

@media (max-width:960px) {
    nav {
        background: linear-gradient(60deg, var(--white-color) 26%, var(--gold-color) 27%);
    }
}

@media (max-width:840px) {
    nav {
        background: linear-gradient(60deg, var(--white-color) 30%, var(--gold-color) 31%);
    }

    .contact-nav h6 span {
        font-size: 13px;
    }
}

@media (min-width:0px) and (max-width:740px) {
    nav .logo {
        margin-left: -40px;
    }

    nav .logo h6 {
        font-size: 15px;
    }

    nav .logo img {
        width: 30px;
        height: 30px;
    }

    nav {
        background: linear-gradient(60deg, var(--white-color) 33%, var(--gold-color) 34%);
    }

    .contact-nav span {
        display: none;
    }
}



@media (max-width:1100px) {

    nav .list {
        display: block;
        position: fixed;
        right: -100%;
        width: 60%;
        background-color: var(--gold-color);
        top: 0px;
        height: 100%;
        z-index: 99999;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
        transition: right ease-in-out 0.5s;
    }

    nav .list li {
        margin-top: 20px;
    }

    nav .list.active {
        right: 0;
    }

    nav .list.login-list {
        display: none;
        right: 60px;
    }

    nav .toggle {
        display: block;
        cursor: pointer;
        margin-top: 0px;
        z-index: 999999;
        background-color: black;
        padding-top:5px;
        padding-left:5px;
        padding-right:5px;
        border-radius: 5px;
    }

    nav .toggle .bar {
        width: 25px;
        height: 3px;
        background-color: white;
        margin-bottom: 5px;
        display: block;
    }

    nav .toggle.active :nth-child(1) {
        transform: rotate(-45deg) translate(-7px, 5px);
        background-color:gold;
    }

    nav .toggle.active :nth-child(2) {
        opacity: 0;
    }

      nav .toggle.active :nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
        background-color:gold;
    }

    .contact-nav h6 {
        text-align: center;
    }

    .logo span {
        display: none;
    }

    .cart {
        position: absolute;
        right: 10px;
    }

    .btn-login span {
        display: none;
    }

    nav .btn-login {
        padding: 5px 15px;
    }

    nav .cart {
        gap: 10px;
    }
}

/*-------Nav------*/

/*-------Hero------*/

.hero {
    min-height: calc(100vh - 40px);
    padding-top: 180px;
    background-color: #f5efef;
    display: flex;
    background: linear-gradient(to right, rgba(68, 67, 67, 0.7) 20%, rgba(126, 105, 105, 0.9) 80%), url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero .discount {
    color: var(--light-blue-color);
    font-size: 50px;
    font-weight: bold;
}

@media (max-width:960px){
    .hero .discount{
            font-size: 30px;
            margin-top:-50PX;
    }
}

.hero .home-text {
    margin-top: 20px;
    font-size: 25px;
    font-weight: 300;
    color: var(--white-color);
    margin-bottom: 80px;
}

.hero .home-text span {
    color: goldenrod;
}

.hero .learn-more {
    background-color: var(--light-blue-color);
    color: var(--white-color);
    padding: 10px 80px;
    border-radius: 50px;
    text-decoration: none;
}

.hero aside {
    width: 100%;
}

@keyframes hero_img {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        margin-right: 0;
        transform: scale(1.0);
    }
}

.right-img-cont {
    padding: 5px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.8) 50%), url('../img/right (2).jpg');
    background-size: cover;
    background-position: center;
    width: 80%;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--light-blue-color);
    padding: 40px 20px;
    margin: 40px auto;
    transition: scale ease-in-out 1s;
    cursor: pointer;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.right-img-cont:hover {
    scale: 1.1;
}

.right-comn-text {
    color: var(--light-blue-color);
    font-size: 80px;
    text-align: center;
}

.hero aside.rigt-column img {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.hero aside.left-column {
    padding-bottom: 40px;
}

@keyframes home-content {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero .learn-more {
    animation: home-content 3s;
}

.hero .home-text {
    animation: home-content 3s;
}

@media (max-width:960px) {
    .hero {
        flex-wrap: wrap;
    }

    .hero .home-text {
        font-size: 50px;
    }
}

/*-------Hero------*/

/*-------Services------*/

.before-services {
    margin-top: 40px;
    margin-bottom: 30px;
}

.services .web-services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@keyframes web-service {
    0% {
        opacity: 0;
        scale: 0;
        background-color: black;
        border: 10px solid rgb(0, 0, 146);
        transform: rotate(-20deg);
    }

    25% {
        scale: 0.25;
    }

    50% {
        scale: 0.50;
        transform: rotate(20deg);
    }

    75% {
        scale: 0.75;
    }

    100% {
        opacity: 1;
        scale: 1;
        background-color: rgb(255, 255, 255);
        transform: rotate(0deg);
    }
}

.web-service {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    color: white;
    background-color: rgb(255, 255, 255);
    border: 0px solid rgb(5, 5, 92);
    position: relative;
    padding: 0 15px;
    margin-bottom: 40px;
    z-index: 0;
    transition: all ease-in-out 00.5s;
    animation: web-service 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
    border-radius: 20px;
    overflow: hidden;
}


.web-service:hover {
    transform: scale(1.04);
    z-index: 1;
}

.web-title {
    font-size: 20px;
}

.web-service .web-body .web-price {
    margin-top: 70px;
    height: 300px;
    overflow: hidden;
}

.web-price img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.web-header {
    text-align: center;
    width: 100%;
    padding: 5px 20px;
    background-color: var(--gold-color);
    position: absolute;
    top: 0;
    left: 0;
}

.web-footer {
    width: 100%;
    padding: 5px 5px;
    padding-top: 15px;
    background-color: rgb(255, 255, 255);
    display: flex;
    gap: 5px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.web-footer button {
    padding: 5px 20px;
    width: 100%;
    border: none;
    border-radius: 2px;
    background-color: rgb(76, 76, 207);
    color: white;
}

.web-body {
    color: rgb(5, 5, 92);
}

.web-body .service-list {
    list-style: none;
    margin-top: 20px;
}

.web-body h1 {
    margin: 40px 0;
}

.web-footer {
    position: absolute;
    bottom: 0;
}

.web-footer button:hover {
    background-color: rgb(133, 133, 255);
    color: white;
}

@media (min-width:750px) and (max-width:1000px) {
    .services .web-services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .web-service {
        margin-bottom: 10px;
    }

    .web-service .web-footer button span {
        display: none;
    }
}

@media (min-width:0) and (max-width:740px) {
    .services .web-services-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .web-service {
        margin-bottom: 10px;
    }

    .web-service .web-footer button span {
        display: none;
    }

    .hero .home-text {
        font-size: 23px;
    }

    .right-img-cont {
        width: 100%;
    }

    .right-img-cont:hover {
        scale: 1;
    }
}

@media (max-width:1200px) {
    .web-service .web-footer button span {
        display: none;
    }
}

/*-------Services------*/

/*-------About Us------*/

.about-us {
    background-color: #fcfafa;
}

.about-us-container {
    width: 100%;
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: hidden;
    perspective: 1000px;
}

@keyframes spin {
    from {
        transform-style: preserve-3d;
        transform: rotateY(0deg);
    }

    to {
        transform-style: preserve-3d;
        transform: rotateY(180deg);
    }
}

.card-about {
    width: 100%;
    background-color: white;
    transition: all ease-in-out 0.6s;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.card-about .back {
    transform: rotateY(180deg);
}

.card-about .front,
.card-about .back {
    backface-visibility: hidden;
    width: 100%;
    padding: 40px 20px;
        border-radius: 15px;
}

.card-about .front {
    background-color: var(--light-blue-color);
    color: white;
    height: 100%;

}

.card-about .back {
    position: absolute;
    top: 0;
    height: 100%;
}

.card-about .back img {
    width: 100%;
    height: 100%;
}



.card-about .icon {
    margin: 0 auto;
    width: fit-content;
    background-color: var(--white-color);
    border-radius: 5px;
}

.card-about .icon i {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    transform: translate(-10px, -10px);
    background-color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: white;
}

.about-title {
    text-align: center;
    margin: 30px 0;
}

@media (min-width: 0px) and (max-width:740px) {
    .about-us-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .right-comn-text {
        font-size: 50px;
    }
}

@media (min-width:741px) and (max-width:1200px) {
    .about-us-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*-------About Us------*/


/*-------Contact Us------*/

.contact-container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.contct-item {
    padding: 20px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    width: 98%;
}

@media (max-width:740px) {
    .contct-item {
        font-size: 12px;
    }
}

.contct-item i {
    font-size: 30px;
    padding: 20px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
}

.contct-item p a {
    text-decoration: none;
    color: black;
}

.contct-item.last-contact {
    display: grid;
}

.icons-inn {
    display: flex;
    gap: 10px;
}

.contct-item.last-contact a {
    text-decoration: none;
}

.contct-item.last-contact a i {
    padding: 5px;
    background-color: #ccc;
    font-size: 20px;
    margin-top: -30px;
    width: fit-content;
}

.contact-us-form {
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 20px;
}

.contact-us-form h1 {
    text-align: center;
}

.contact-us-form input {
    width: 100%;
    outline: none;
    border: none;
    background-color: #ccc;
    border-radius: 50px;
}

.contact-us-form textarea {
    width: 100%;
    height: 400px;
    border-radius: 5px;
    border: none;
    background-color: #ccc;
    outline: none;
}

.top-inputs {
    width: 100%;
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.iiin {
    width: 100%;
}

.input-mother {
    margin-bottom: 20px;
    background-color: #ccc;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

.input-mother:focus-within {
    border: 2px solid rgb(135, 119, 223);
    box-shadow: 0 0 0 2px #51a7e8;
}

@media (min-width:0px) and (max-width:740px) {
    .contact-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .contct-item.last-contact a i {
        margin-top: -20px;
    }

    .top-inputs {
        flex-wrap: wrap;
    }

    .right-inputs {
        margin-top: -30px;
    }

    .contact-us-form {
        padding: 10px;
    }
}

@media (min-width:741px) and (max-width:1300px) {
    .contact-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*-------Contact Us------*/

/*-------Footer------*/
.footer {
    background-color: var(--blue-color);
    color: #ccc;
    padding-bottom: 5px;
}

.footer-items {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer .footer-container {
    width: 98%;
}

.ql li {
    margin-bottom: 10px;
}

.contact-me ul li {
    list-style: none;
    margin-bottom: 10px;
}

.contact-me li,
.contact-me a {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bottom-footer {
    margin-top: 30px;
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    gap: 10%;
    color: #949494;
}

.bottom-footer p {
    font-size: 12px;
    text-align: center;
    color: #fff;
}

.footer a {
    text-decoration: none;
    color: #ccc;
}

@media (max-width:1300px) {
    .bottom-footer {
        flex-wrap: wrap;
    }

    .footer-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:0) and (max-width:960px) {
    .footer-items {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*-------Footer------*/