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

body {
    font-family: Arial, sans-serif;
    color: #333; /* Default text color */
    line-height: 1.6;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight:300;
    font-style: normal;
}

/* Navigation Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Make sure it's above other content */
    background-color: #748477; /* Match your header's background color */
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    background-color: #748477; /* Primary color for the header */
}

#nav-links {
    list-style: none;
}

#nav-links li a {
    text-decoration: none;
    padding: 0.5em 1em;
    color: white; /* For contrast against the background */
}

/* Logo color */
#logo {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hamburger {
    display: none; /* Hide by default */
    cursor: pointer;
    background: none;
    border: none;
    color: white; /* Set the color to match your nav */
}

/* Mobile nav menu hidden by default */
.nav-links {
    display: none;
}


.app-preview {
    width: 840px; /* or any fixed width you prefer */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image */
}

.cta-button {
    text-decoration: none;
    background-color: #748477; /* Primary color for buttons */
    color: white;
    padding: 1em 2em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #5a6b5a; /* Darker shade for button hover */
}

#features, #hero, #about{
    min-height:100vh;
}

/* Features Section */
#features {
    padding: 2em 5%;
    background-color: #e9ecef; /* Light background for features area */
    text-align: center;
}


.feature-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;/* Centers the children vertically in the container */
    align-items: center;   /* Centers the children horizontally */
    min-height: 100vh; 
}


.feature-item {
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    width: 25%;
    padding: 1em;
    text-align: center; /* Center the text */
}

.feature-item i {
    color: #000; /* Use your app's primary color for the icon */
}

.feature-item img {
    max-width: 100px;
    margin: 0 auto;
    background-color: #000; /* Primary color for icon background */
    border-radius: 50%; /* Circular background for icons */
    padding: 1em;
}

.feature-item h3 {
    margin-top: 1em;
    color: #000; /* Primary color for subtitles */
}

.feature-item p {
    margin-top: 0.5em;
    text-align: center;
}


/* Hero Section Styles */

#hero {
    position: relative; /* Needed for the overlay positioning */
    text-align: center;
    padding: 4em 0;
    background:#181818;
   
}

/* Ensure text on top of the background is readable */
#hero h2, #hero p, #hero h1, #hero img {
    position: relative;
    z-index: 2;
}



/* Download Button Styling */
.cta-button {
    /* Your existing styles */
    position: relative; /* Ensure it's above the pseudo-element overlay */
    z-index: 2;
    /* Add more styles if needed */
}


/* About Section */
#about {
    padding: 2em 5%;
}

#about h2{
    text-align: center;
}

#about p{
    margin-top:1em;
}

/* Download Section */
#download {
    padding: 2em 5%;
    text-align: center;
}

#download h2{
    margin-bottom:1em;
}

/* Privacy Policy */
#privacy-policy {
    padding: 2em 5%;
}

#privacy-policy h2{
    text-align: center;
}

#privacy-policy p{
    margin-top:.5em;
}


/* Footer Styles */
footer {
    text-align: center;
    padding: 1em 0;
    background: #748477; /* Primary color for the footer */
    color: white;
}


/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .app-preview {
        width: 80%; /* Adjust the percentage as needed for mobile devices */
        height: auto; /* Maintain aspect ratio */
    }
}


/* Display the hamburger menu on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    /* When the nav-links are shown (toggled via JS), display it as a block */
    .nav-links.show {
        display: block;
        position: absolute;
        width: 100%;
        top: 100%;
        left: 0;
        background-color: #748477; /* Match the nav bar color */
    }
    
    .nav-links.show li {
        display: block;
        text-align: center;
    }
    
    .nav-links.show li a {
        display: block;
        padding: 0.5em;
    }
}

/* Larger screens display the nav inline */
@media (min-width: 769px) {
    .nav-links {
        display: flex;
    }
}

/* Responsive Styles for Features */
@media (max-width: 768px) {
    .feature-container {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 80%;
        margin-bottom: 2em;
    }
    
    .feature-item p, .feature-item h3 {
        text-align: center;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    #nav-links {
        flex-direction: column;
    }

    .cta-button {
        display: block;
        width: 80%;
        margin: 1em auto;
    }
    .feature-container {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 80%;
        margin-bottom: 2em;
    }
}
