/* styles.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

/* Header Styles */
header {
    background-color: #252B42;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
}

/* Navigation */
nav {
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #1da2ff;
}

/* Burger Menu Icon - Hidden on Desktop */
.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon img {
    width: 30px;
    height: 30px;
}

/* Hero Section */
.hero {
    background: #252B42;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 35px;
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
}

.btn-primary {
    background-color: #1da2ff;
    color: #fff;

    /*border: 1px solid;
    border-color: #1da2ff;
    color: #1da2ff;*/

    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 1.4s ease-out forwards;
    opacity: 0;
}

.btn-primary:hover {
    background-color: #47b3ff;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 60px 0;
}

.about,
.our-apps,
.contact,
.terms {
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}

section p {
    max-width: 800px;
    margin: 0 auto;
    /* Centers the paragraph */
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    /* Ensures text inside <p> remains left-aligned */
}

/* Our Apps Section */
.our-apps {
    background-color: #ffffff;
    padding: 60px 0;
}

.our-apps h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #2c3e50;
    font-family: 'Open Sans', sans-serif;
}

.our-apps p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555555;
}

/* App Row - Added for Consistent Max Width */
.app-row {
    max-width: 800px;
    /* Set the maximum width */
    margin: 0 auto 40px auto;
    /* Center the row and add bottom margin */
    padding: 0 20px;
    /* Optional: Add horizontal padding for spacing */
}

/* App Item */
.app-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    max-width: 800px;
    /* Added max-width */
    margin: 0 auto 40px auto;
    /* Center the app-item */
}

.app-item p {
    text-align: left;
}

.app-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* App Logo */
.app-logo {
    flex: 0 0 240px;
    /* Changed from 100px to 240px for Desktop */
    /* Fixed width for logo */
    margin-right: 20px;
}

.app-logo img {
    width: 240px;
    /* Changed from 100% to 240px for Desktop */
    height: auto;
    border-radius: 8px;
}



.app-details {
    text-align: left;
    flex: 1;
    /* font-size: 1rem; */
    /*line-height: 1.6; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Changed from flex-end to flex-start to align left on desktop */
}

.app-details .btn-download {
    align-self: flex-end;
    /* Aligns the button to the right within .app-details */
}

.app-details h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-family: 'Open Sans', sans-serif;
}

.app-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 15px;
    text-align: left;
    /* Ensures text remains left-aligned */
}

/* Download Button */
.btn-download {
    display: inline-block;
    /*background-color: #1abc9c;*/
    /*background-color: #1da2ff;*/
    background-color: #01875f;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-download:hover {
    background-color: #16a085;
    transform: translateY(-2px);
}

/* Contact Section - Modified */
.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-width: 800px;
    /* Added max-width */
    margin-left: auto;
    margin-right: auto;
    /* Center the contact-details */
}

.contact-item {
    display: flex;
    align-items: center;
    /* Removed max-width: 300px; */
    max-width: none;
    /* Remove the limit */
    flex: 1 1 45%;
    /* Allows two items per row with some flexibility */
    padding: 10px;
    /* Optional: Add padding for better spacing */
}

.contact-item img {
    width: 30px;
    height: 30px;
    /* Ensure icons have consistent height */
    margin-right: 15px;
    /*filter: invert(39%) sepia(58%) saturate(2653%) hue-rotate(161deg) brightness(98%) contrast(104%);*/
}

.contact-item p {
    font-size: 1rem;
    /* Removed any conflicting text-align properties */
}

.contact-item a {
    color: #1da2ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1da2ff;
}

/* Footer Styles */
footer {
    background-color: #252B42;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 0.9rem;
}

/* Terms Section */
.terms p,
.terms h3 {
    max-width: 800px;
    margin: 10px auto;
}

.terms h3 {
    margin-top: 20px;
    color: #34495e;
    font-family: 'Open Sans', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Styles */
@media (max-width: 768px) {

    header .container {
        flex-direction: row;
    }

    /* Show Burger Menu on Mobile */
    .menu-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Hide Navigation Links by Default on Mobile */
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        /* Adjust based on header height */
        right: 0;
        background-color: #595F75;
        width: 200px;
        display: none;
        border-radius: 0 0 0 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.1rem;
    }

    /* Show Navigation Links when Active */
    .nav-links.active {
        display: flex;
    }

    /* Hero Section Adjustments */
    .hero {
        padding: 60px 20px;
        /* Reduce padding for smaller screens */
    }

    .hero-content h2 {
        font-size: 2rem;
        /* Smaller headline on mobile */
    }

    .hero-content p {
        font-size: 1.1rem;
        /* Smaller paragraph on mobile */
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        /* Adjust button padding */
        font-size: 0.9rem;
        /* Smaller button text */
    }

    /* Stack buttons vertically on mobile */
    .hero-content a.btn-primary,
    .hero-content a.btn-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .hero-content a.btn-secondary {
        margin-left: 0;
        /* Remove left margin since buttons are stacked */
    }

    /* Hide the SVG shape on mobile to save space */
    .decorative-shape {
        display: none;
    }

    /* Adjust App Links on Mobile */
    .app-links {
        flex-direction: column;
        align-items: center;
    }

    .app-links a img {
        width: 180px;
    }

    /* Adjust Contact Details on Mobile */
    .contact-details {
        flex-direction: column;
        align-items: center;
        /* Center align items */
        max-width: 800px;
        /* Maintain max-width */
    }

    .contact-item {
        flex: 1 1 100%;
        width: 100%;
    }

    /* Responsive App Row and App Item */
    .app-row {
        max-width: 100%;
        /* Allow full width on mobile */
        padding: 0 10px;
        /* Reduce horizontal padding */
        margin-bottom: 30px;
        /* Adjust bottom margin */
    }

    .app-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        /* Center-align text within details */
        margin: 0 auto 30px auto;
        /* Adjust margin for better spacing */
    }

    /* App Logo - Mobile Adjustments */
    .app-logo {
        flex: 0 0 120px;
        /* Reduced width on Mobile */
        margin-right: 0;
        /* Remove right margin */
        margin-bottom: 15px;
        /* Add bottom margin for spacing */
    }

    .app-logo img {
        width: 120px;
        /* Smaller size on Mobile */
        height: auto;
    }

    /* App Details - Mobile Adjustments */
    .app-details {
        align-items: center;
        /* Center-align details */
    }

    .app-details h3 {
        font-size: 1.5rem;
        /* Smaller heading on Mobile */
        margin-bottom: 10px;
    }

    .app-details p {
        font-size: 0.95rem;
        /* Slightly smaller font size */
        line-height: 1.6;
        text-align: center;
        /* Center-align text on Mobile */
    }

    /* Download Button - Mobile Adjustments */
    .btn-download {
        padding: 8px 16px;
        /* Smaller padding on Mobile */
        font-size: 0.9rem;
        /* Smaller font size */
    }

    /* Adjust App Row Max Width on Mobile if Needed */
    .app-row {
        max-width: 100%;
        /* Allow full width on mobile */
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply Animations to Hero Content */
.hero-content h2 {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-content p {
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
}

.btn-primary {
    animation: fadeInUp 1.4s ease-out forwards;
    opacity: 0;
}