:root {
    --primary-color: #00bcd4;
    --secondary-color: #1e3a5f;
    --text-dark: #2c3e50;
    --diaspora-bg: #cceefc;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background-color: var(--secondary-color) !important;
    padding: 1rem 2rem;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
    padding: 0.5rem 0.75rem;
}

.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(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.logo {
    height: 60px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn-primary-custom:hover {
    background-color: #00acc1;
    color: white;
    text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(rgba(30, 58, 95, 0.7), rgba(30, 58, 95, 0.7)),
        url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1200&h=600&fit=crop")
            center/cover;
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-get-started {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-view-services {
    background-color: transparent;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    margin-bottom: 1rem;
}

.user-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-badge img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.user-badge-1 {
    top: 20%;
    right: 10%;
}

.user-badge-2 {
    top: 50%;
    right: 15%;
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s;
    margin-bottom: 2rem;
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    background: #cceefc;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: rgb(231, 94, 15);
}

.feature-card h5 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== DIASPORA SECTION ===== */
.diaspora-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.diaspora-badge {
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.4rem;
    max-width: 369px;
    width: 100%;
    height: auto;
    min-height: 84px;
    gap: 15px;
    padding: 1rem 1.5rem;
    background: var(--diaspora-bg);
}

.diaspora-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ===== FOR EVERYONE SECTION ===== */
.for-everyone-section {
    padding: 4rem 0;
}

.role-card {
    border-left: 3px solid #ec7100;
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px #0000004d;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    margin-bottom: 2rem;
}

.role-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.2);
}

.role-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.role-icon i {
    font-size: 1.5rem;
    color: white;
}

.role-card h5 {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.role-card ul {
    list-style: none;
    padding: 0;
}

.role-card ul li {
    padding: 0.5rem 0;
    color: #666;
}

.role-card ul li i {
    color: #4caf50;
    margin-right: 0.5rem;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1200&h=400&fit=crop")
            center/cover;
    color: white;
    padding: 4rem 0;
}

.stats-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: #152257;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer .footer-heading {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: medium;
}

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

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        background-color: rgba(30, 58, 95, 0.98);
        padding: 1rem;
        border-radius: 10px;
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.75rem 1rem;
        border-radius: 5px;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(0, 188, 212, 0.1);
    }
    
    .btn-primary-custom {
        width: 100%;
        margin: 0.5rem 0;
        display: block;
    }
    
    .logo {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .hero-section {
        padding: 5rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-get-started,
    .btn-view-services {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        margin-right: 0;
    }

    .user-badge {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .diaspora-badge {
        max-width: 100%;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .role-card {
        padding: 1.5rem;
    }
    
    .diaspora-badge {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}