/* Variables & Reset */
:root {
    --primary-color: #42B7FF;
    --secondary-color: #2e80b3;
    --text-color: #000000;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --gray: #666666;
    --light-gray: #DDDDDD;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@font-face {
    font-family: proxima-soft;
    font-style: normal;
    font-weight: 400;
    src: url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l) format("woff2"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l) format("woff"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l) format("opentype")
}

@font-face {
    font-family: proxima-soft;
    font-style: italic;
    font-weight: 400;
    src: url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-1) format("woff2"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-1) format("woff"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-1) format("opentype")
}

@font-face {
    font-family: proxima-soft;
    font-style: normal;
    font-weight: 700;
    src: url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-2) format("woff2"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-2) format("woff"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-2) format("opentype")
}

@font-face {
    font-family: proxima-soft;
    font-style: italic;
    font-weight: 700;
    src: url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-3) format("woff2"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-3) format("woff"),url(https://14500231.fs1.hubspotusercontent-na1.net/hubfs/14500231/HappyNest_April2021/fonts/l-3) format("opentype")
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: proxima-soft,sans-serif;

}

p {
    margin-bottom: 15px;
    font-size: 24px;
    font-family: proxima-soft;
    font-weight: 400;
}

/* Navigation Base Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 64px;
    filter: brightness(0) invert(1); /* Make logo white */
    transition: all 0.3s ease;
}

nav.scrolled .logo img {
    filter: none; /* Return to original colors when scrolled */
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

nav.scrolled .nav-links a {
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

nav.scrolled .dropdown-trigger {
    color: var(--text-color);
}

.dropdown-trigger i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 180px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-color) !important;
    padding: 10px 20px;
    display: block;
    font-weight: normal !important;
    text-align: center;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: var(--light-bg);
    color: var(--primary-color) !important;
}

/* Mobile Menu Button */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

nav.scrolled .mobile-menu span {
    background: var(--text-color);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        color: var(--text-color);
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-trigger {
        color: var(--text-color);
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 10px 0;
        margin-top: 10px;
        background: var(--light-bg);
        transform: unset  !important;
        width: 100%;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        text-align: left;
        padding: 10px 20px;
    }

    /* Mobile Menu Animation */
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;

    .container {
        text-align: left;
        margin: unset;
        padding-left: 64px;
    }
}



.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    text-align: left;
}

.hero-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}


/* Service Section Styles */
.service-section {
    background: var(--light-bg);
    overflow: hidden;
    padding: 96px 0px;
}

.service-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.2;
    font-weight: 600;
}

.service-text p {
    line-height: 2;
    color: var(--gray);
    margin-bottom: 30px;
}

.service-image {
    flex: 1;
    max-width: 100%;
    height: auto;

}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: translateY(-10px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .service-section {
        padding: 60px 0;
    }

    .service-content {
        gap: 30px;
    }

    .service-text h2 {
        font-size: 2rem;
    }

    .service-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
        text-align: center;
    }

    .service-text {
        max-width: 100%;
        order: 1;
    }

    .service-image {
        max-width: 100%;
        order: 2;
    }

    .service-text h2 {
        font-size: 1.8rem;
    }
}



/* FAQ Section Styles */
.faq-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 0 30px 20px;
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
    font-size: 16px;
}

/* Active States */
.faq-item.active .faq-question {
    background: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--white);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--white);
}

.faq-item.active .faq-answer {
    height: auto;
    opacity: 1;
}

/* Hover States */
.faq-item:not(.active) .faq-question:hover {
    background: rgba(66, 183, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-image: url('img/bg-2.png') !important;
    background-position: left center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.work-step {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 50px;
 
}



.work-step.reverse {
    flex-direction: row-reverse;


}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.step-image {
    flex: 1;
    padding: 8px;
    text-align: center;
}

.step-image img {
   
    border-radius: 20px;
    max-width: 100%;
    height: auto;

}

/* download app */
.download-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.download-section img {
    max-height: 600px;
    margin: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    /* Work Steps */
    .work-step {
        flex-direction: column;
        text-align: center;
    }

    .work-step.reverse {
        flex-direction: column;
    }

    .step-image {
        margin-bottom: 30px;
        text-align: center;
    }

}




/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* Print Styles */
@media print {
    nav, .video-background, .cta-button {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }
}



/* Updated How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

/* Updated App Section */
.app-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-text {
    flex: 1;
}

.app-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.app-image {
    flex: 1;
}



/* Responsive Design Updates */
@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }

    .app-content {
        flex-direction: column;
        text-align: center;
    }
}


.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 183, 255, 0.3);
    gap: 10px;
    border: 2px solid transparent;
}

.download-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 183, 255, 0.4);
}

.btn-text {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.download-btn:hover .btn-icon {
    transform: translateY(2px);
}

/* For mobile devices */
@media (max-width: 768px) {
    .download-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

.app-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.app-badge {
    display: inline-block;
    transition: all 0.3s ease;
    max-width: 180px;
}

.app-badge img {
    width: 100%;
    height: auto;
    display: block;
}

.app-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* For tablets */
@media (max-width: 991px) {
    .app-badge {
        max-width: 160px;
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    .app-buttons {
        gap: 15px;
    }
    
    .app-badge {
        max-width: 140px;
    }
}

/* For small mobile devices */
@media (max-width: 480px) {
    .app-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .app-badge {
        max-width: 160px;
    }
}

.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 40px;
    align-items: center;

}

/* Left Column - Logo and App Buttons */
.footer-left {
    flex: 1;
}

.footer-logo img {
    height: 96px;
    filter: brightness(0) invert(1);

}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.app-badge {
    display: inline-block;
    max-width: 140px;
    transition: all 0.3s ease;
}

.app-badge img {
    width: 100%;
    height: auto;
    display: block;
}

.app-badge:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Links Column */
.footer-links {
    flex: 1;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    position: relative;
}

.footer-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.footer-links a:hover:after {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left {
        text-align: center;
    }

    .app-buttons {
        justify-content: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-links a:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-badge {
        max-width: 160px;
    }
}