/* https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v23/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v23/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v23/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v23/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v23/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --my-color: #1F35FF;
}

/* -----------------------------------------------------------Header/Navigation-----------------------------------------------------------*/

.color-picker {
    position: absolute;
    top: 0;
    right: 20px;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
}

input[type="color"] {
    position: relative;
    width: 40;
    height: 40;
    max-width: 40px;
    max-height: 40px;
    min-width: 40px;
    min-height: 40px;
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid white;
    background-color: var(--my-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    transition: transform 0.3s ease;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    /* Removes the inner box */
}

input[type="color"]:hover {
    transform: scale(1.1);
    /* border: 0px solid var(--my-color); */
    font-weight: 700;
    box-shadow: 0 0 40px var(--my-color);
}

nav {
    width: 100vw;
    height: 10vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #131417;
    box-shadow: 0px 0px 10px black;
    will-change: transform;
    z-index: 10;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 40px 20px !important;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo img {
    vertical-align: middle;
    width: 3.5rem;
}

.logo {
    color: white;
    font-size: 2.5rem;
    font-weight: 500;
}

.logo span {
    color: var(--my-color);
    font-weight: 500;
    /*text-shadow: 0 0 10px #8f6955;*/
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav ul li a::after {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--my-color);
    transition: 0.3s linear;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--my-color);
}

nav .fa-regular.fa-circle-xmark,
.fa-solid.fa-bars {
    display: none;
}

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

#contact {
    padding-top: 50px;
    background-image: url('/images/backgrounds/Background-4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 90vh;
    padding: 60px 0;
    padding-top: 100px;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(31, 53, 255, 0.05));
    backdrop-filter: blur(1px);
    z-index: 1;
}

#contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--my-color), transparent);
    animation: contactGlow 4s ease-in-out infinite alternate;
    z-index: 2;
}

@keyframes contactGlow {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

#contact .container {
    position: relative;
    z-index: 2;
}

#contact .sub-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ffffff, var(--my-color), #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: contactTitleShimmer 5s ease-in-out infinite;
    position: relative;
    margin-bottom: 30px;
}

@keyframes contactTitleShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.contact-left {
    margin-top: 50px;
    flex-basis: 35%;
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(31, 53, 255, 0.05));
    border: 1px solid rgba(31, 53, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(31, 53, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--my-color), transparent);
    border-radius: 25px 25px 0 0;
    animation: contactLeftGlow 3s ease-in-out infinite alternate;
}

@keyframes contactLeftGlow {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.contact-right {
    margin-top: 50px;
    flex-basis: 60%;
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(31, 53, 255, 0.05));
    border: 1px solid rgba(31, 53, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(31, 53, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--my-color), transparent);
    border-radius: 25px 25px 0 0;
    animation: contactRightGlow 3s ease-in-out infinite alternate;
}

@keyframes contactRightGlow {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.contact {
    margin: 20px 0;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(31, 53, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact:hover {
    border-color: rgba(31, 53, 255, 0.3);
    box-shadow: 0 5px 15px rgba(31, 53, 255, 0.1);
}

.contact a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.6rem;
    font-weight: 500;
}

.contact i {
    margin-right: 15px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.email a {
    color: #007BFF;
}

.email:hover a {
    color: #0056b3;
}

.email:hover i {
    transform: scale(1.1);
}

.whatsapp a {
    color: #25D366;
}

.whatsapp:hover a {
    color: #128C7E;
}

.whatsapp:hover i {
    transform: scale(1.1);
}

.social-icons {
    margin-top: 30px;
    padding: 20px 0;
}

.social-icons a {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-icons i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.2rem;
    height: 3.2rem;
    background: transparent;
    border: 2px solid var(--my-color);
    border-radius: 50%;
    color: var(--my-color);
    margin: 8px;
    margin-top: 20px;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(31, 53, 255, 0.2);
}

.social-icons i:hover {
    transform: scale(1.2);
    color: #ffffff;
    background-color: var(--my-color);
    border-color: var(--my-color);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 20px var(--my-color);
}

.btn {
    display: block;
    margin: 50px auto 0;
    width: fit-content;
    border: 2px solid var(--my-color);
    padding: 18px 60px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(31, 53, 255, 0.1));
    backdrop-filter: blur(10px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(31, 53, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--my-color), transparent);
    border-radius: 15px 15px 0 0;
    animation: btnGlow 3s ease-in-out infinite alternate;
}

@keyframes btnGlow {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(31, 53, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.btn:hover::after {
    animation: btnShimmer 0.8s ease-in-out;
}

@keyframes btnShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.btn.btn2 {
    display: inline-block;
    background: var(--my-color);
    border: none;
    transition: 0.3s;
    margin: 20px auto;
    margin-bottom: 50px;
}

.btn.btn2:hover {

    background: linear-gradient(135deg, rgba(31, 53, 255, 0.3), rgba(31, 53, 255, 0.2));
    transform: translateY(-3px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(31, 53, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-right form {
    width: 100%;
    position: relative;
}

form input,
form textarea {
    width: 100%;
    border: 2px solid rgba(31, 53, 255, 0.2);
    outline: none;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(31, 53, 255, 0.05));
    backdrop-filter: blur(5px);
    padding: 18px 20px;
    margin: 15px 0;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
}

form input::placeholder,
form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

form input:focus,
form textarea:focus {
    border-color: var(--my-color);
    box-shadow:
        0 8px 25px rgba(31, 53, 255, 0.2),
        0 0 20px rgba(31, 53, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(31, 53, 255, 0.1));
    transform: translateY(-2px);
}

form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Poppins', sans-serif;
}

form .btn2 {
    padding: 18px 60px;
    font-size: 1.3rem;
    margin-top: 20px;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--my-color), rgba(31, 53, 255, 0.8));
}

#msg {
    color: #61b752;
    margin-top: 15px;
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    background: rgba(97, 183, 82, 0.1);
    border: 1px solid rgba(97, 183, 82, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#msg.show {
    opacity: 1;
    transform: translateY(0);
}

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

.copyright {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    max-height: 65px;
    background: #262626;
    font-weight: 300;
    font-size: 1rem;
}

/* -----------------------------------------------------------Mobile Responsive-----------------------------------------------------------*/

@media (max-width: 1000px) {
    .color-picker {
        top: 80px;
        right: 0;
    }

    #contact {
        background-image: url('/images/backgrounds/Background-Mobile-3.webp');
        background-attachment: scroll;
    }

    input[type="color"] {
        right: 1.5vw;
        bottom: .5vh;
    }

    nav .logo {
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 2.5rem;
    }

    .logo img {
        vertical-align: middle;
        width: 3rem;
    }

    nav {
        height: 10vh;
        z-index: 10;
    }

    nav ul {
        background: var(--my-color);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: 0.4s;
    }

    nav ul a {
        font-size: 2rem !important;
    }

    nav ul li a::after {
        background-color: white;
    }

    nav ul li a:hover {
        color: white;
    }

    nav ul li {
        display: block;
        margin: 30px;
    }

    nav .fa-regular.fa-circle-xmark,
    .fa-solid.fa-bars {
        display: block;
        font-size: 2.5rem;
    }

    nav .fa-solid.fa-bars {
        position: absolute;
        font-size: 2.5rem;
        top: 25px;
        right: 20px;
        cursor: pointer;
    }

    nav ul .fa-regular.fa-circle-xmark {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    /* -----------------------------------------------------------Contact Mobile-----------------------------------------------------------*/
    #contact .sub-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
        padding: 20px;
        margin-top: 30px;
    }

    .contact-left {
        margin-bottom: 20px;
    }

    .contact-right {
        margin-top: 20px;
    }

    .contact {
        margin: 15px 0;
        padding: 12px 18px;
    }

    .contact a {
        font-size: 2.4rem;
    }

    .contact i {
        font-size: 2.6rem;
        margin-right: 12px;
    }

    .social-icons i {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 2.5rem;
        margin: 6px;
        border-width: 3px;
    }

    .btn.btn2 {
        font-size: 1.8rem;
        padding: 20px 50px;
    }

    form input,
    form textarea {
        font-size: 1.6rem;
        padding: 20px;
    }

    .copyright p {
        font-size: 1rem !important;
    }
}

@media only screen and (max-width: 820px) {
    #contact {
        background-image: url('/images/backgrounds/Background-Mobile-3.webp');
        background-attachment: scroll;
    }

    input[type="color"] {
        right: 2vw;
        bottom: 3vh;
    }

    nav {
        height: 8vh;
        z-index: 10;
    }

    nav .logo {
        position: absolute;
        top: 5px;
        left: 10px;
        font-size: 2rem;
    }

    .logo img {
        vertical-align: middle;
        width: 2.5rem;
    }

    nav ul {
        background: var(--my-color);
        position: fixed;
        top: 0;
        right: -200px;
        width: 150px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: 0.4s;
    }

    nav ul a {
        font-size: 1.2rem !important;
    }

    nav ul li a::after {
        background-color: white;
    }

    nav ul li a:hover {
        color: white;
    }

    nav ul li {
        display: block;
        margin: 15px;
    }

    nav .fa-regular.fa-circle-xmark,
    .fa-solid.fa-bars {
        display: block;
        font-size: 1.5rem;
    }

    nav .fa-solid.fa-bars {
        position: absolute;
        font-size: 2rem;
        top: 13px;
        right: 15px;
        cursor: pointer;
    }

    nav ul .fa-regular.fa-circle-xmark {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    /* -----------------------------------------------------------Contact Mobile Small-----------------------------------------------------------*/
    #contact .sub-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
        padding: 15px;
        margin-top: 20px;
    }

    .contact-left {
        margin-bottom: 15px;
    }

    .contact-right {
        margin-top: 15px;
    }

    .contact {
        margin: 12px 0;
        padding: 10px 15px;
    }

    .contact a {
        font-size: 1rem;
    }

    .contact i {
        font-size: 1.4rem;
        margin-right: 10px;
    }

    .social-icons i {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.3rem;
        margin: 4px;
        border-width: 2px;
    }

    .btn.btn2 {
        font-size: 1.1rem;
        padding: 15px 35px;
    }

    .btn {
        font-size: 1.2rem;
    }

    form input,
    form textarea {
        font-size: 1.1rem;
        padding: 15px;
    }

    .copyright p {
        font-size: .8rem !important;
    }
}