@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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


:root {
    --primary-color: #2ecc71;
    --secondary-color: #8BC34A;
    --header-color: #b1b1b1;
    --f-card-bg: #262626;
    --f-card-bg-hover: #383838;
    --hover-color: #6EBE45;
    --button-color: #6EBE45;
    --button-text-color: #fff;
    --button-hover-color: #4E962E;
    --link-color: #008000;
    --link-hover-color: #4CAF50;
    --card-object-bg: #8BC34A;
    --font-color: #FFFFFF;
    --dark-color: #18181B;
    --background-color: #151515;
    --line-height: 1.6;
    --light-color: #fff;
    --gray-color: #ccc;
    --gray-dark-color: #27272a;
    --gray-light-color: #323232;
    --blur-color: #1d4ed8;
    --shadow-color: #000;
    --shadow-light-color: #fff;
    --shadow-dark-color: #000;
    --shadow-hover-color: #1e40af;
    --shadow-hover-light-color: #1e40af;
    --shadow-hover-dark-color: #1e40af;
    --shadow-hover-color: #1e40af;
    --shadow-hover-light-color: #1e40af;
    --shadow-hover-dark-color: #1e40af;
    --font-family: 'Poppins', sans-serif;
    --border-before: 1px solid transparent;
    --hover-border: 1px solid #ccc;
    --h-header: 1000px;

}

img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
}

/* link {
    scroll-padding-top: -100px;
} */


nav {
    max-width: 1200px;
    margin: auto;
    padding: 0.7rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 1000;
    background-color: var(--background-color);
}

/* #navbar {
    position: sticky;
    top: 0px;
} */


.nav-logo {
    max-width: 4rem;
}

.nav-links {
    z-index: 1000;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
    cursor: pointer;
    pointer-events: visible;
    height: min-content;
}

.mobile {
    display: none;
    cursor: pointer;
    pointer-events: visible;
    height: 3rem;
    color: var(--font-color);
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 500;
    width: max-content;
    /* padding: 10px 20px; */
    margin: 8px 2px;
    z-index: 1000;
}

.link a {
    position: relative;
    cursor: pointer;
    color: var(--font-color);
}

/* .link a::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
} */

/* .link a:hover::after {
    width: 70%;
} */

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    color: var(--button-text-color);
    background-color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 3rem 1rem;
}


header {
    height: 100vh;
    height: auto;
    position: relative;
    min-height: fit-content;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h4 {
    margin-bottom: 1rem;
    color: var(--header-color);
    font-size: 1rem;
    font-weight: 600;
}

header .content h1 {
    color: var(--font-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 650;
    line-height: 3rem;
}

header .content h1 span {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--font-color);
}

header .content p {
    margin-bottom: 2rem;
    color: var(--header-color);
}

header .image {
    position: relative;
    z-index: 100;
}

#phoneSS {
    z-index: 10;
    width: 75vw;
    max-width: 480px;
    background-image: url('/assets/images/3.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    padding-left: 3px;
    padding-bottom: 2px;
    animation: changeImage 12s alternate;
    /* animation-direction: alternate; */
    animation-iteration-count: 3 !important;
}

@keyframes changeImage {
    0% {
        background-image: url('/assets/images/2.png');
    }

    25% {
        background-image: url('/assets/images/3.png');
    }

    50% {
        background-image: url('/assets/images/3.png');
    }

    75% {
        background-image: url('/assets/images/2.png');
    }

    100% {
        background-image: url('/assets/images/11.png');
    }
}



header .image::before {
    content: "N";
    position: absolute;
    top: 10%;
    left: 0;
    transform: translateX(-50%);
    font-size: 40rem;
    font-weight: 620;
    line-height: 20rem;
    color: var(--primary-color);
    opacity: 0.05;
    z-index: -100;
}




header .image img {
    width: 35vw;
    max-width: 300px;
    margin: auto;
    z-index: 100;
}




section .header {
    margin-bottom: 1rem;
    color: var(--font-color);
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.features {
    scroll-margin-top: 10em;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.features .card {
    background-color: var(--f-card-bg);
    padding: 1rem;
    border: var(--border-before);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.features .card:hover {
    background-color: var(--f-card-bg-hover);
    border-color: var(--font-color);
}

.features .card span {
    display: inline-block;
    background-color: var(--card-object-bg);
    padding: 8px 10px;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--font-color);
    border-radius: 8px;
}

.features .card h4 {
    margin-bottom: 0.5rem;
    color: var(--font-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.features .card p {
    color: var(--header-color);
    margin-bottom: 1rem;
}

.features .card a {
    color: var(--font-color);
    transition: all 0.3s ease;
}

.features .card a:hover {
    color: var(--link-hover-color);
}

.sub-header {
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: var(--header-color);
}

.pricing {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing .card {
    padding: 3rem 2rem;
    background-color: var(--f-card-bg);
    display: flex;
    flex-direction: column;
    border: var(--border-before);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.pricing .card:hover {
    background-color: var(--f-card-bg-hover);
    border-color: var(--font-color);
}

.pricing .card .content {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing .card h4 {
    margin-bottom: 1rem;
    color: var(--font-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.pricing .card h3 {
    color: var(--font-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 2px dashed var(--font-color);
}

.pricing .card p {
    color: var(--font-color);
    margin-bottom: 0.75rem;
}

.pricing .card p i {
    color: var(--header-color);
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.pricing .card button {
    color: var(--font-color);
    background-color: transparent;
    border: 1px solid var(--font-color);
}

.pricing .card button:hover {
    background-color: var(--button-color);
    border-color: var(--button-text-color);
    color: var(--button-text-color);
}

footer {
    margin: auto;
    /* padding: 2rem 1rem; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    height: 210px;
    /* min-height: fit-content; */
    /* gap: 2rem; */
}

/* footer .column .logo {
    max-width: 100px;
    margin-bottom: 0rem;
} */

footer .column p {
    color: var(--header-color);
    margin-bottom: 1rem;
}

footer .column .socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .column .socials a {
    color: var(--header-color);
    border: 1px solid var(--header-color);
    padding: 5px 10px;
    font-size: 1.25rem;
    border-radius: 100%;
    transition: all 0.3s ease;
}

footer .column .socials a:hover {
    color: var(--font-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color)
}

footer .column h4 {
    color: var(--font-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

footer .column>a {
    display: block;
    color: var(--header-color);
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
}

footer .column>a:hover {
    color: var(--button-color)
}

.copyright {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    color: var(--font-color);
    font-size: 0.8rem;
    text-align: center;
}



.contact-card {
    background-color: var(--f-card-bg);
    padding: 15px 25px;
    border-radius: 20px;
    margin: 0% !important;
}

.contact-card .card-subtitle {
    color: var(--white);
    font-weight: 600;
}

.contact .section-title {
    text-align: left;
    margin-block-end: 30px;
}

.contact-form {
    margin-block-end: 30px;
}

.h3 {
    color: var(--font-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-input {
    background-color: var(--button-text-color);
    color: var(--background-color);
    border-radius: 15px;
    padding: 15px 25px;
    margin-block-end: 15px;
}

.contact-input::placeholder {
    color: inherit;
}

textarea.contact-input {
    resize: vertical;
    min-height: 100px;
    height: 180px;
    max-height: 300px;
}

.btn-submit {
    background-color: var(--button-color);
    color: var(--white);
    width: 100%;
    padding: 10px;
    border-radius: 15px;
    transition: var(--transition-1);
}

.btn-submit:is(:hover, :focus) {
    background-color: var(--button-hover-color);
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item:not(:last-child) {
    margin-block-end: 20px;
}

.contact-icon {
    background-color: var(--glaucous);
    font-size: 2.4rem;
    padding: 20px;
    border-radius: 50%;
}

.contact-item-title {
    color: var(--white);
    font-family: var(--ff-barlow);
    font-size: var(--fs-4);
    font-weight: var(--fw-600);
}

.contact-item-link {
    transition: var(--transition-1);
}

.contact-item-link:not(address):is(:hover, :focus) {
    color: var(--white);
}

button,
input,
textarea {
    background: none;
    border: none;
    font: inherit;
}

button {
    cursor: pointer;
}

input,
textarea {
    width: 100%;
}

address {
    font-style: normal;
}

.loader {
    display: none;
    margin: auto;
    padding-top: 25px;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.loading {
    border: 5px solid #ccc;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border-top-color: var(--orange-soda);
    border-left-color: var(--orange-soda);
    animation: spin 1s infinite ease-in;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    width: 100%;
    /* Set a default minimum width */
    right: 0%;
    margin: -50px 0 0 -50px;
    justify-content: center;
    background-color: #333;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    bottom: 30px;
    /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@media (min-width: 700px) {

    #navbar {
        position: sticky;
        top: 0px;
    }

    .nav-links {
        display: flex;
    }

    .mobile {
        display: none;
    }

    .contact-card {
        padding: 30px;
    }

    .contact .wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px 15px;
    }

    .contact-form {
        margin-block-end: 0;
    }

    .contact-item {
        gap: 25px;
    }

    .contact-icon {
        padding: 30px;
    }
}

@media (width < 900px) {
    .nav-links {
        display: none;
    }

    .mobile {
        display: flex;
    }

    header {
        grid-template-columns: repeat(1, 1fr);
    }

    header .image {
        grid-area: 1/1/2/2;
    }

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

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

    /* footer {
        grid-template-columns: 1fr 200px;
    } */
}

@media (width < 600px) {
    header .image::before {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile {
        display: flex;
    }




    header .image::before {
        font-size: 35rem;
    }


    .features {
        grid-template-columns: repeat(1, 1fr);
    }

    .pricing {
        grid-template-columns: repeat(1, 1fr);
    }

    /* 
    footer {
        grid-template-columns: 1fr 150px;
    } */
}



.accordion {
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    max-width: 991px;
    min-width: 320px;
    margin: auto;
    padding: 0 30px;
}

.accordion-item {
    margin-top: 16px;
    border: var(--border-before);
    border-radius: 10px;
    color: var(--font-color);
    background: var(--f-card-bg);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.accordion-item .accordion-item-title {
    position: relative;
    margin: 0;
    display: flex;
    width: 100%;
    font-size: var(--font-size);
    cursor: pointer;
    font-weight: 500;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 14px 20px;
    box-sizing: border-box;
    align-items: center;
}

.accordion-item .accordion-item-desc {
    display: none;
    font-size: var(--font-size);
    line-height: var(--line-height);
    font-weight: 300;
    color: var(--font-color);
    border-top: 0.5px solid var(--f-card-bg-hover);
    padding: 10px 20px 20px;
    box-sizing: border-box;
}

.accordion-item input[type="checkbox"] {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
}

.accordion-item input[type="checkbox"]:checked~.accordion-item-desc {
    display: block;
}

.accordion-item input[type="checkbox"]:checked~.accordion-item-title .icon:after {
    content: "-";
    font-size: 20px;
}

.accordion-item input[type="checkbox"]~.accordion-item-title .icon:after {
    content: "+";
    font-size: 20px;
}

.accordion-item:first-child {
    margin-top: 0;
}

.accordion-item .icon {
    margin-left: 14px;
}

@media screen and (max-width: 767px) {
    .accordion {
        padding: 0 16px;
    }

    .accordion h1 {
        font-size: 22px;
    }
}

#card {
    z-index: -10;
    width: 55vw;
    top: 35px;
    max-width: 350px;
    position: relative;
    animation: myfirst 12s alternate;
    animation-direction: alternate;
    animation-iteration-count: 4;
}

#policy {
    font-size: 1em;
}

@keyframes myfirst {
    0% {
        left: 0px;
        top: 0px;
    }

    25% {
        left: 0px;
        top: 70px;
    }

    50% {
        left: 0px;
        top: 70px;
    }

    75% {
        left: 0px;
        top: 40px;
    }

    100% {
        left: 0px;
        top: 0px;
    }
}