
:root { 
    --accent: #198754; 
    --bg: #f4f7f9; 
    --text: #2c3e50; 
    --gray-light: #4a5568; 
}

body { 
    background-color: var(--bg); 
    font-family: 'Segoe UI', Tahoma, sans-serif; 
    color: var(--text); 
    line-height: 1.6; 
    margin: 0; 
    padding: 15px; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}


.top-navbar {
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    display: flex;
    align-items: center;
    z-index: 9999;
    border-bottom-left-radius: 17px;  
    border-bottom-right-radius: 17px;
    border-bottom: 2px solid var(--accent) !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container {
    width: 100%;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
    height: 100%;
}

.nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-right {
    flex: 1;
}


.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: clamp(9px, 2.2vw, 14px);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}


.container { 
    max-width: 950px; 
    margin: 120px auto 40px auto; 
    padding: 0 10px; 
    flex: 1;
}

.article-card { 
    background: white; 
    padding: 40px; 
    border-radius: 25px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); 
    border-top: 6px solid var(--accent);
    margin-bottom: 30px;
}

h1 {
    font-family: 'Poppins', 'Tajawal', sans-serif;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 600;
    margin-bottom: 20px;
}

h2 {
    color: var(--accent);
    margin-top: 30px;
}


.cta-btn { 
    display: inline-block; 
    background-color: var(--accent); 
    color: white !important; 
    padding: 18px 40px; 
    border-radius: 15px; 
    text-decoration: none !important; 
    font-weight: bold; 
    font-size: 18px;
    margin-top: 30px; 
    transition: 0.3s ease; 
    box-shadow: 0 4px 15px rgba(21, 115, 71, 0.2);
}

.cta-btn:hover { 
    background-color: #218838; 
    transform: translateY(-3px); 
}

.btn-wrapper {
    text-align: center;
    width: 100%;
}


.blog-footer {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 0 30px 0;
    border-top: 1px solid #edf2f7;
    margin-top: 60px;
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 8vw, 100px);
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
    font-size: 14px;
}

.links-list a:hover {
    color: var(--accent);
}


.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}


@media (min-width: 601px) {
    .nav-links {
        display: flex !important;
    }
}

.nav-container {
    justify-content: center !important; 
}

.menu-icon {
    display: none; 
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon span {
    width: 30px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}



@media (max-width: 600px) {
    .menu-icon {
        display: flex; 
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 65px; 
        left: 50%;
        transform: translateX(-50%);
        background: white;
        width: column;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 1px solid #eee;
        z-index: 10000;
        gap: 30px;
		
    }


    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        font-size: 14px !important;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f1f1f1;
        padding-bottom: 6px;
        color: #2d3748 !important;
    }
}

    .container {
        margin-top: 85px !important; 
        padding: 0 !important; 
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; 
    }
	



.footer-nav {
    display: flex;
    flex-direction: row; 
    justify-content: center; 
    align-items: flex-start; 
    gap: 80px; 
    margin-bottom: 50px;
    width: 100%;
    flex-wrap: wrap; 
}


.nav-col {
    display: flex;
    flex-direction: column;
    text-align: center;
    min-width: 150px;
}


.nav-title {
    color: #127448; 
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}


.links-list a {
    display: block; 
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.links-list a:hover {
    color: #127448;
    text-decoration: underline;
}


@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column; 
        align-items: center;
        gap: 40px;
    }
}



