:root {
    --primary-blue: #1e3c72;
    --secondary-blue: #2a5298;
    --accent-blue: #3a6fd8;
    --header-blue: #1a3361;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 70px;
}

/* Header Styles */
.navbar {
    background-color: var(--header-blue) !important;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: white !important;
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.navbar-brand img {
    height: 32px;
    margin-right: 10px;
}

.navbar-nav {
    flex-direction: row;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 8px 15px !important;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

/* Download Button */
.download-btn {
    background: white;
    color: var(--header-blue);
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: auto;
}

.download-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    order: 2;
    /* Positions toggler after navbar-brand */
    margin-left: auto;
    /* Pushes toggler to the right */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 60px 0 40px;
    margin-top: -70px;
    padding-top: 130px;
}

.hero-container {
    display: flex;
    flex-direction: column;
}

.hero-content {
    text-align: center;
}

.hero-heading {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-heading span {
    display: block;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding: 0 15px;
}


.app-badges {
    display: inline-block;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.app-badge {
    color: #333;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    width: 200px;
    justify-content: center;
}


.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    margin-top: 30px;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.welcome-section {
    background-color: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    max-width: 100%;
    width: 98%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s;
}

.feature-card:hover .feature-img {
    transform: scale(1.1);
}


.benefit-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-number {
    min-width: 40px;
    text-align: center;
}

.down-middle-img img {
    border-radius: 20px;
    width: 80%;
    margin-top: 80px;
}

.blog-section {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.blog-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #eee;
    margin: 0 10px;
    overflow: hidden;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-image {
    height: 180px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    background: rgba(42, 82, 152, 0.1);
    color: #2a5298;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px;
    position: relative;
    z-index: 1;
}

.blog-content h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.news-summary {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more {
    color: #2a5298;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: #1a3361;
    text-decoration: underline;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Slider Navigation */
.slider-arrow {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a5298;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: #2a5298;
    color: white;
}


.footer-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.app-badge {
    display: inline-block;
    margin-right: 20px;
}

.app-badge:last-child {
    margin-right: 0;
}

.app-badge h5 {
    color: rgba(255,255,255,0.9);
}

.footer-image img {
    transition: transform 0.3s;
}

.footer-image img:hover {
    transform: scale(1.03);
}

.legal-links a:hover {
    opacity: 1 !important;
    text-decoration: underline !important;
}


@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-blue);
        padding: 15px;
        z-index: 1000;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-btn {
        margin: 15px 0 0;
        width: 100%;
        justify-content: center;
    }

    /* Ensure navbar items don't show on mobile when collapsed */
    .navbar-collapse:not(.show) {
        display: none;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-number {
        font-size: 1.8rem;
    }


    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    .blog-image {
        height: 160px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
}


/* Desktop View */
@media (min-width: 992px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

    .hero-image {
        flex: 1;
        margin-top: 0;
        text-align: right;
    }

    .hero-heading {
        font-size: 2.8rem;
        text-align: left;
    }

    .hero-text {
        text-align: left;
        padding: 0;
        font-size: 1.2rem;
    }


    .app-badges {
        flex-direction: row;
        justify-content: flex-start;
    }

    .app-badge {
        padding: 10px 12px;
        min-width: 140px;
        font-size: 0.9rem;
    }

    .trust-badges {
        justify-content: flex-start;
    }

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

    /* Reset toggler positioning for desktop */
    .navbar-toggler {
        order: initial;
        margin-left: initial;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .blog-image {
        height: 160px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }

    .app-badge img {
        height: 45px !important;
    }
    
    .footer-image img {
        max-height: 300px !important;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .feature-icon {
        max-width: 100%;
        width: 98%;
    }

    .feature-card {
        text-align: left;
        padding: 20px 15px;
    }

    .feature-card h4 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .benefit-item {
        padding: 15px;
    }

    .benefit-number {
        font-size: 1.5rem;
        min-width: 30px;
    }

    .blog-card {
        margin: 0 5px;
    }

    .section-header {
        text-align: center !important;
    }

    .blog-slider {
        margin: 0 -5px;
    }
    
    .blog-card {
        margin: 0 5px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .app-badge {
        display: block;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .app-badge:last-child {
        margin-bottom: 0;
    }
    
    .legal-links {
        text-align: center;
        margin: 15px 0;
    }
    
    .legal-links a {
        display: block;
        margin: 10px 0 !important;
    }
    
    .footer-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .down-middle-img img {
        width: 95% !important;
    }

    .feature-icon {
        max-width: 100%;
        width: 98%;
    }

    .blog-image {
        height: 140px;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    .news-summary {
        font-size: 0.9rem;
    }

    .footer-image img {
        max-height: 250px !important;
    }
    
    .footer-content h2 {
        font-size: 1.6rem;
    }
}