/* --- GLOBAL RESET & FONTS --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { line-height: 1.6; color: #333; background-color: #fff; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- THEME COLORS --- */
:root {
    --primary: #27ae60; /* Eco Green */
    --secondary: #f39c12; /* Solar Orange */
    --dark: #2c3e50; /* Trust Blue */
    --light: #f9f9f9;
}

/* --- LAYOUT UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; color: var(--dark); margin-bottom: 10px; text-transform: uppercase; font-weight: 800; }
.section-subtitle { color: var(--primary); font-weight: 600; margin-bottom: 50px; display: block; }
.btn { padding: 12px 30px; border-radius: 5px; font-weight: bold; cursor: pointer; border: none; font-size: 1rem; display: inline-block; }
.btn-primary { background: var(--secondary); color: white; }
.btn-primary:hover { background: #e67e22; transform: translateY(-2px); }
.btn-outline { border: 2px solid white; color: white; margin-left: 10px; }
.btn-outline:hover { background: white; color: var(--dark); }

/* Logo Image Settings */
.logo img {
    max-height: 60px; /* Aa height tamara header mujab adjust kari shako */
    width: auto;      /* Aspect ratio jalvai raheshe */
    display: block;
}

/* Mobile ma logo thodo nano rakhva mate */
@media (max-width: 768px) {
    .logo img {
        max-height: 50px;
    }
}

/* --- HEADER & NAVIGATION --- */
header { background: white; box-shadow: 0 4px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo h1 { font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.logo span { color: var(--primary); }

nav ul { display: flex; align-items: center; gap: 30px; }
nav a { font-weight: 600; color: var(--dark); font-size: 1.05rem; }
nav a:hover, nav a.active { color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1611365892117-00ac5ef43c90?q=80&w=1920');
    background-size: cover; background-position: center; height: 85vh;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 1.3rem; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* --- CARDS (SERVICES & FEATURES) --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; padding: 40px 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; text-align: center; border-bottom: 4px solid transparent; }
.card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--secondary); }
.card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; color: var(--dark); }

/* --- PAGE HEADER (FOR INNER PAGES) --- */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276');
    background-size: cover; background-position: center; padding: 100px 0; color: white; text-align: center;
}

/* --- FORMS --- */
.form-box { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }
.btn-submit { width: 100%; background: var(--primary); color: white; padding: 15px; border: none; border-radius: 5px; font-size: 1.1rem; font-weight: bold; cursor: pointer; }
.btn-submit:hover { background: #219150; }

/* --- FOOTER --- */
footer { background: var(--dark); color: white; padding-top: 60px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3 { color: var(--secondary); margin-bottom: 20px; font-size: 1.3rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }
.copyright { text-align: center; padding: 20px 0; font-size: 0.9rem; opacity: 0.8; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .header-wrapper { height: 70px; }
    .hero h1 { font-size: 2.2rem; }
    .mobile-toggle { display: block; }
    nav ul {
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background: white; flex-direction: column; justify-content: center; transition: 0.3s;
    }
    nav ul.active { left: 0; }
    .btn-outline { margin: 10px 0 0 0; display: block; border-color: var(--secondary); color: var(--secondary); }
}