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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F0F4F8; 
    overflow-x: hidden;
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(to right, #F0F4F8 50%, #217DD6 50%);
    color: #333;
    padding: 20px 5.2%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Nav Bar Styles */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 60px;
    gap: 20px; 
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo {
    width: 100px;
    height: auto;
}
.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #0056b3;
}

.btn-nav {
    display: inline-flex;
    padding: 8px 24px;
    font-weight: 600;
    border-radius: 8px;
    background-color: #0056b3;
    color: white;
    border: 2px solid #0056b3;
    transition: all 0.3s ease;
    white-space: nowrap; 
    text-decoration: none;
}
.btn-nav:hover {
    background-color: #007BFF;
    border-color: #007BFF;
}
.btn-nav-icon {
    display: none;
    font-size: 1.2rem;
    color: white;
    background-color: #0056b3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    text-decoration: none;
}

/* Hover effect */
.btn-nav-icon:hover {
    background-color: #007BFF;
}

/* Hero Content */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1; 
}
.hero-text {
    flex: 1;
}
.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0056b3;
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-image {
    flex: 1;
    text-align: center;
}
.hero-image img {
    max-width: 112%; 
    height: auto;
}

/* CTA Buttons */
.btn {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    height: 58px; 
    padding: 10px 24px;
}

/* This is the parent container for the hero buttons */
.hero-store-buttons {
    display: flex;
    gap: 15px; 
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;              
}
.playstore-button {
    margin-top: 10px;
    height: 85px;  
    display: inline-block;
}
.playstore-button img {
    height: 100%;   
    width: auto;
}

.launch-button {
    display: inline-flex;           
    align-items: center;
    justify-content: center;
    height: 55px;                   
    padding: 0 30px;                
    background-color: #0056b3;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;            
}

.launch-button:hover {
    background-color: #007BFF;
    border-color: #007BFF;
}

.coming-soon-text {
    margin-top: 5px;
    margin-left: 15px;
    font-size: 2rem;
    color: #0056b3; 
    text-align: left;
    font-weight: 600;
}

/* FEATURES SECTION STYLES */
.features {
    padding: 80px 5%;
    background-color: #FFFFFF;
    text-align: center;
}
.features h2 {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}
.feature-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.feature-image {
    background-color: #047fdd;
    text-align: center;
}
.feature-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.feature-text {
    background-color: #fff;
    padding: 20px;
}
.feature-text h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}
.feature-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* FINAL CTA SECTION STYLES */
.final-cta {
    background-color: #0056b3;
    color: white;
    padding: 80px 5%;
    text-align: center;
}
.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    gap: 20px;                  /* space between buttons */
    justify-content: center;    /* center horizontally */
    align-items: center;
    flex-wrap: wrap;            /* stack on small screens */
    margin-top: 30px;
}

/* Play Store button (same as hero) */
.playstore-buttonf {
    height: 85px;
    display: inline-block;
}
.playstore-buttonf img {
    height: 100%;
    width: auto;
    display: block;
}

/* Launch Web App button */
.launch-buttonf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 0 30px;
    background-color: #fff;      /* contrast against blue background */
    color: #0056b3;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.launch-buttonf :hover {
    background-color: #f0f4f8;
    color: #0056b3;
    border-color: #f0f4f8;
}

/* FOOTER STYLES */
footer {
    background-color: #333;
    color: #ccc;
    text-align: center;
    padding: 20px 5%;
}
footer p {
    margin-top: 10px;
    margin-bottom: 10px;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.socials a {
    font-size: 2rem;
    color: white;
    margin: 0 15px;
    transition: color 0.3s ease;
}
.socials a:hover {
    color: #007BFF;
}
/* Launch Web App as subtle hyperlink */
.launch-link {
    font-weight: 600;
    color: #0056b3;
    text-decoration: underline;
    margin-left: 5px;
}
.launch-link:hover {
    color: #007BFF;
    text-decoration: none;
}

@media (max-width: 992px) {
    .hero {
        background: #F0F4F8; 
        min-height: auto;
        padding-bottom: 60px;
    }
    .hero-content {
        flex-direction: column; 
        text-align: center;
        margin-top: 40px;
    }
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-text p{
        max-width: 600px;
        margin-bottom: 30px;
    }
    .hero-image {
        margin-top: 40px;
    }
    .hero-image img {
        max-width: 100%; 
    }
    .hero-store-buttons {
        justify-content: center;
    }
    .coming-soon-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        gap: 15px; 
    }
    .logo {
        width: 60px; 
    }
    .logo-text {
        font-size: 1.5rem; 
    }
    .btn-nav {
        display: none;  /* hide full button */
    }
    .btn-nav-icon {
        display: flex; /* show icon instead */
    }
    
    .hero-text h1{
        font-size: 2.2rem; 
    }

    .hero-image {
        display: none;
    }
    .hero-store-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    .coming-soon-text {
        text-align: center;
        margin-top: 20px;
    }
}