/*
    font-family: 'Poppins', sans-serif;
*/

@font-face {
    font-family: 'Poppins';
    src: url('../assets/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


:root {
    --primary-color: #2D7DF8;
    --secondary-color: #24F1CF;
    --dark-bg: #121212;
    --light-bg: #1E1E1E;
    --text-color: #FFFFFF;
    --text-muted-color: #A0A0A0;
    --icon-color-1: #FFD700; /* gold */
    --icon-color-2: #3DDC84; /* green */
    --icon-color-3: #A0A0A0; /* grey */
    --icon-color-4: #2D7DF8; /* blue */
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--light-bg);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400; /* Changed from 700 to 400 for regular weight */
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.navbar nav ul {
    list-style: none;
    display: flex;
}

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.navbar nav ul li a:hover {
    color: var(--primary-color);
}

.navbar nav ul li a i {
    font-size: 1.2rem;
}

.nav-social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    height: 24px; /* Control the size of the new icons */
    width: 24px;
    vertical-align: middle; /* Align icons nicely with text links */
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #192242 100%);
}

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

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted-color);
    margin-bottom: 30px;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary img {
    height: 50px;
}

.download-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.btn-disabled {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(5px); /* Frosted glass effect */
    color: rgba(255, 255, 255, 0.7); /* Adjusted for better harmony */
    padding: 10px 22px;
    border-radius: 8px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light border to enhance the glass effect */
    cursor: not-allowed;
    pointer-events: none; /* Makes it un-interactable */
    gap: 10px; /* Adds space between icon and text */
}

.btn-disabled i {
    font-size: 1.5rem;
    color: #3DDC84; /* Android Green */
}

.hero-image {
    max-width: 40%; /* Reduced size slightly */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 80vh; /* Added max-height to prevent vertical overflow */
    object-fit: contain; /* Ensures the image scales within its container */
    display: block;
    animation: float 4s ease-in-out infinite;
    border-radius: 15px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    background-color: var(--dark-bg);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners for screenshots */
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Added a subtle shadow */
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item:nth-child(1) .icon {
    color: var(--icon-color-1);
}
.feature-item:nth-child(2) .icon {
    color: var(--icon-color-2);
}
.feature-item:nth-child(3) .icon {
    color: var(--icon-color-3);
}
.feature-item:nth-child(4) .icon {
    color: var(--icon-color-4);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.step {
    max-width: 30%;
}

.step-number {
    font-size: 3rem; /* Increased font size for emojis */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px; /* Adjusted line-height */
    border-radius: 50%;
    display: inline-block;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.faq-item {
    background-color: var(--dark-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}


/* CTA Section */
.cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.cta p, .cta li {
    color: var(--text-color);
}

.cta a {
    color: var(--secondary-color);
    font-weight: 500;
}

.cta ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.cta li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 10px;
}

.cta li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.cta .application-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

/* Footer */
.footer {
    background-color: var(--light-bg);
    padding: 20px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted-color);
}

.social-links a {
    color: var(--text-muted-color);
    text-decoration: none;
    margin-left: 20px;
}

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

/* Scroll Animation */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        justify-content: space-between;
    }
    
    .navbar nav {
        display: none;
    }

    .nav-social-links {
        margin-right: 20px;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--dark-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1001;
    }

    .nav-links li {
        opacity: 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2rem; /* Further reduce font size for mobile */
        word-break: break-word; /* Ensure long words wrap */
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .hero-image {
        max-width: 100%;
    }

    .hero-image {
        margin-top: 40px;
        max-width: 350px; /* Constrain image size on mobile */
        margin-left: auto;  /* Center the container */
        margin-right: auto; /* Center the container */
    }

    .download-container {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

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

    .step {
        max-width: 80%;
        margin-bottom: 40px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        margin-top: 10px;
    }

    .social-links a {
        margin: 0 10px;
    }
}
.hamburger {
    display: none;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* How It Works - Stations Page Timeline */
.how-it-works-stations .steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.how-it-works-stations .steps::after {
    content: '';
    position: absolute;
    width: 76%;
    top: 42px; /* Vertically center with the step-number */
    left: 12%;
    height: 2px;
    background-color: var(--light-bg);
    z-index: 0;
}

.how-it-works-stations .step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px; /* So text doesn't overlap line ends if it wraps */
    max-width: 30%; /* From original .step style */
}

.how-it-works-stations .step-number {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2.5rem;
    font-weight: 600;
    border: 3px solid var(--primary-color);
    background-color: var(--dark-bg);
}

.how-it-works-stations .step h3 {
    margin-top: 20px; /* Space between number and title */
}
