:root {
    --primary: #002147; /* Navy Blue */
    --secondary: #2E8B57; /* Green */
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: var(--light); 
    color: #333;
    line-height: 1.6;
}

/* --- Navigation --- */
nav { 
    background: var(--primary); 
    padding: 15px 5%; 
    display: flex; 
    flex-direction: column; /* Mobile first */
    align-items: center; 
    border-bottom: 4px solid var(--secondary); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo { 
    color: var(--white); 
    font-size: 20px; 
    font-weight: 800; 
    text-transform: uppercase; 
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-align: center;
}

nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a { 
    color: var(--white); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 14px;
    padding: 5px 10px;
    transition: 0.3s;
}

nav ul li a:hover { color: var(--secondary); }

/* --- Hero Section --- */
.hero {
    background: url('https://dostabad.online/uploads/village.png');
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    color: white;
    text-align: center;
}

.hero h1 { font-size: 28px; margin-bottom: 15px; }
.hero p { font-size: 16px; opacity: 0.9; }

/* --- Layout Container --- */
.container { 
    width: 90%;
    max-width: 1100px; 
    margin: 20px auto; 
    padding: 20px; 
    background: var(--white); 
    border-radius: 12px; 
    box-shadow: var(--shadow); 
}

/* --- Project Cards (Mobile Optimized) --- */
.project-card { 
    border: none;
    padding: 20px; 
    margin-bottom: 25px; 
    border-radius: 12px; 
    background: #fff; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary);
}

.images-grid { 
    display: flex; 
    flex-direction: column; /* Mobile: Stack images */
    gap: 20px; 
    margin-top: 15px; 
}

.img-box { width: 100%; position: relative; }
.img-box img { 
    width: 100%; 
    height: auto; 
    max-height: 250px;
    object-fit: cover; 
    border-radius: 8px; 
    border: 1px solid #ddd; 
}

.badge { 
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary); 
    color: white; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* --- Forms --- */
input, textarea { 
    width: 100%; 
    padding: 12px; 
    margin: 8px 0 20px 0; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-size: 16px; /* Preventing iOS auto-zoom */
}

.btn { 
    background: var(--secondary); 
    color: var(--white); 
    padding: 14px 20px; 
    border: none; 
    cursor: pointer; 
    text-decoration: none; 
    display: block; 
    text-align: center;
    border-radius: 8px; 
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

/* --- Desktop Adjustments --- */
@media (min-width: 768px) {
    nav { flex-direction: row; justify-content: space-between; padding: 15px 8%; }
    nav .logo { margin-bottom: 0; font-size: 24px; }
    nav ul { gap: 30px; }
    
    .hero { padding: 90px 20px; }
    .hero h1 { font-size: 15px; }
    
    .images-grid { flex-direction: row; } /* Images side-by-side on desktop */
    
    .btn { display: inline-block; width: auto; }
}

   .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: auto;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
}
