/*
Theme Name: Al-khidmah Pro Custom
Author: Sabbir Ahmad
Description: Professional wordpress theme.
Version: 1.2
*/

:root {
    --primary-green: #1a5e3a; /* Deep Green */
    --accent-gold: #fbc02d;   /* Accent Gold */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-main: #333333;
    --text-hero: #ffffff;
}

body {
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif; /* Hind Siliguri Font */
    background-color: var(--light-bg);
    color: var(--text-main);
    margin: 0;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation Fix */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background: #f1f3f5;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.top-inner { display: flex; justify-content: space-between; }
.top-left .active-lang { color: var(--primary-green); font-weight: bold; }
.top-right a { text-decoration: none; color: #666; margin-left: 20px; }

.header-main { padding: 15px 0; }
.main-inner { display: flex; justify-content: space-between; align-items: center; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.main-nav ul li a:hover { color: var(--accent-gold); }

.donate-btn-top {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.donate-btn-top:hover { background: #144d2f; }

/* Hero Section Fix */
.hero-section {
    position: relative;
    background-color: var(--primary-green);
    color: var(--text-hero);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0l15 15-15 15-15-15z" stroke="rgba(255,255,255,0.08)" fill="none" stroke-width="1"/></svg>');
    background-repeat: repeat;
    opacity: 0.5;
}

/* Project Cards Fix */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }