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

html {
    scroll-behavior: smooth;
  }
  section {
    scroll-margin-top: 100px; /* adjust based on your header height */
  }    

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;
    color: white;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Centers menu */
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.9); /* Slight transparency */
    z-index: 1000;
}

.logo {
    width: 120px;
    height: 40px;
    background-image: url('images/nefi_logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    font-size: 1.5rem;
    font-weight: 600;
    background-image: url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 150px 20px;
}

.azul {

    color: #0077ff;
}

/* About */
.about {
    background: #151515; /* Dark background */
    text-align: center;
    padding: 80px 20px;
}

.about h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0077ff; /* Blue title */
    margin-bottom: 15px;
}

.about p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: #0077ff;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.3s ease-in-out;
}

.cta-button:hover {
    background: #009dff;
}


.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto;
}



.benefits {
    background: #262626; /* Dark background */
    text-align: center;
    padding: 80px 20px;
}

.benefits h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #0077ff; /* Blue title */
    margin-bottom: 40px;
}

.benefits h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0077ff; /* Blue title */
    margin-bottom: 40px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 10px;
}

/* Placeholder for SVGs */
.eco-friendly {
    background-image: url('images/eco-friendly.svg');
}

.professional {
    background-image: url('images/professional.svg');
}

.instant-connectivity {
    background-image: url('images/instant-connectivity.svg');
}

.always-up-to-date {
    background-image: url('images/always-up-to-date.svg');
}

.benefit p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 10px auto;
    line-height: 1.6;
}


.pricing-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.plan {
    background: #222;
    padding: 20px;
    width: 200px;
    text-align: center;
}

.pricing-image {
    width: 100%;
    height: 100px;
    background: red;
    margin: 10px 0;
}

footer {
    text-align: center;
    padding: 20px;
    background: #000;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 35px;
    height: 60px;
    padding: 10px;
    background: #0077ff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 30px; /* Oval shape */
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        background: black;
        position: fixed;
        top: 0;
        right: -100%; /* Initially hidden off-screen */
        width: 250px;
        height: 100vh;
        padding-top: 60px;
        transition: right 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0; /* Slide in when active */
    }

    .nav-links li {
        text-align: center;
        margin: 20px 0;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: white;
        position: absolute;
        top: 15px;
        right: 20px;
    }
}

/* Steps with paralax */
.how-it-works {
    background: #151515; /* Dark background */
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #0077ff;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position: relative;
}

/* Parallax Images */
.parallax-image {
    width: 389px;
    height: 299px;

    background-size: contain; /* Ensures the whole image fits inside */
    background-position: center; /* Keeps the image centered */
    background-repeat: no-repeat;
   /* border-radius: 50%; */
    position: absolute;
    transition: transform 0.3s ease-out;
    z-index: 1; /* Keeps them behind text */
}

/* Left Image */
.step-image-left {
    background-image: url('images/placeholder-left.png'); /* Replace with actual image */
    left: -400px; /* Position outside the main content */
    top: 20%;
}

/* Right Image */
.step-image-right {
    background-image: url('images/placeholder-right.png'); /* Replace with actual image */
    right: -400px; /* Position outside the main content */
    bottom: 20%;
}

/* Step Content */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2; /* Keeps text above the images */
}

.step-content h3 {
    font-size: 4rem;
    font-weight: 400;
    color: #0077ff;
}

.step-content p {
    font-size: 1.2rem;
    color: white;
}

/* Parallax Effect */
@media (prefers-reduced-motion: no-preference) {
    .parallax-image {
        will-change: transform;
    }

    .how-it-works {
        perspective: 1000px;
    }
}

/* Responsive Layout */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
    }

    .parallax-image {
        width: 389px;
        height: 299px;
    }

    .step-image-left {
        left: -90px; /* Adjust for smaller screens */
    }

    .step-image-right {
        right: -90px;
    }
}

/* Precios */
.pricing-plans {
    background: #1a1a1a; /* Dark background */
    text-align: center;
    padding: 100px 20px;
}

.pricing-plans h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #0077ff;
    margin-bottom: 20px;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: white;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-box {
    background: #121212;
    border: 2px solid #0077ff;
    padding: 30px;
    width: 300px;
    text-align: left;
    border-radius: 10px;
}

.pricing-box h3 {
    font-size: 1.8rem;
    color: #0077ff;
    margin-bottom: 10px;
}

.plan-name {
    font-weight: bold;
    color: white;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.pricing-box li {
    font-size: 1rem;
    color: white;
    margin-bottom: 5px;
}

.highlight {
    color: #0077ff;
    font-weight: bold;
}

.downlight {
    font-size: 12px;
    color: #a0a0a0;
}

/* Arrow Connector */
.arrow {
    width: 50px;
    height: 30px;
    background-image: url('images/arrow.svg'); /* Replace with actual arrow icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Profile Previews (Placeholders) */
.profile-preview {
    width: 250px;
    height: 450px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 2px solid #0077ff;
}

/* Replace with actual images */
.basic-preview {
    background-image: url('images/nefidesignsample.png');
}

.custom-preview {
    background-image: url('images/yourdesignsample.png');
}

/* Responsive Layout */
@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
    }

    .arrow {
        display: none;
    }
}


/* Custom Icon Styling */
.custom-list li::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('images/check.svg'); /* Replace with actual SVG icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
}

/*email button*/
.email-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #0077ff;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.email-button:hover {
    background-color: #00b3ff;
}