/* Global Styles */
:root {
    --primary-color: #00e676;
    --secondary-color: #f8f3ed;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --black: #000;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    height: 50px;
    width: 50px;
    position: relative;
}

.logo-icon {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
    border-radius: 50%;
    overflow: hidden;
    /* Ensures image stays within rounded border */
    position: relative;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image fills the circle properly */
    display: block;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.hero-image-container img {
    max-width: 100%;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--light-text);
}

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

.app-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background-color: #00c853;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
}

.app-btn i {
    margin-right: 8px;
}

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

.feature-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.leaderboard-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phone-mockup-img {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.phone-mockup-img img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.feature-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--light-text);
}

.contact-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.phone-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.phone-slide {
    position: relative;
}

.phone-row {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.phone-mockup-screen {
    flex: 0 0 auto;
    width: 280px;
    height: auto;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-mockup-screen.active {
    transform: scale(1.05);
}

.phone-mockup-screen img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 30px;
    display: block;
}

.collapsing-transition {
    transition: height 0.35s ease;
}

.navbar-toggler {
    border: none !important; /* Removes the border */
    outline: none !important; /* Optional: removes the focus outline */
    box-shadow: none !important; /* Optional: removes Bootstrap's focus ring */
    padding: 0.25rem 0.5rem; /* Adjust as needed */
    background-color: transparent; /* Optional: ensure it's transparent */
}


.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 20px 0;
}

.carousel-prev,
.carousel-next {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-prev:disabled,
.carousel-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.steps-row {
    margin-top: 50px;
}

.step-col {
    margin-bottom: 30px;
}

.step-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-text {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--light-text);
}

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

.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.accordion-button {
    background-color: transparent;
    color: var(--text-color);
    font-weight: 600;
    padding: 20px 0;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300e676'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 0 20px 0;
    color: var(--light-text);
}

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

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00c853;
    text-decoration: underline;
}

.footer-contact {
    color: var(--light-text);
    font-size: 1.1rem;
}

.copyright {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-image-container {
        margin-bottom: 40px;
    }

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

    .features-section {
        text-align: center;
    }

    .feature-image-container {
        margin-bottom: 40px;
    }

    .phone-mockup-screen {
        width: 260px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .app-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .app-btn {
        width: 80%;
    }

    .footer {
        text-align: center;
    }

    .footer-links {
        margin-bottom: 30px;
    }

    .phone-mockup-screen {
        width: 220px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step-text {
        font-size: 0.9rem;
    }

    .phone-mockup-screen {
        width: 200px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 1.2rem;
        padding: 8px 12px;
    }
}