/*
Theme Name: KhamarHub Theme
Description: KhamarHub Custom Child Theme
Author: KhamarHub
Template: astra
Version: 1.0.0
Text Domain: khamarhub-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: #f9f9f9;
    color: #1a1a1a;
    font-size: 17px;
    line-height: 1.7;
}

a {
    color: #2e7d32;
    text-decoration: none;
}

a:hover {
    color: #1b5e20;
}

/* HEADER */
.site-header {
    background: #ffffff;
    border-bottom: 3px solid #2e7d32;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.main-navigation a {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    padding: 8px 14px;
}

.main-navigation a:hover {
    color: #2e7d32;
}

/* HERO SECTION */
.kh-hero {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: white;
    padding: 50px 20px;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    text-align: center;
}

.kh-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.kh-hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.kh-btn {
    display: inline-block;
    background: #ffffff;
    color: #2e7d32;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
}

/* CARDS */
.kh-section {
    padding: 40px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.kh-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 20px;
    border-left: 4px solid #2e7d32;
    padding-left: 12px;
}

.kh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.kh-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border-top: 3px solid #2e7d32;
    transition: transform 0.2s;
}

.kh-card:hover {
    transform: translateY(-3px);
}

.kh-card-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.kh-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.kh-card p {
    font-size: 14px;
    color: #555;
}

/* MOBILE BOTTOM NAV */
.kh-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 2px solid #2e7d32;
    z-index: 999;
    padding: 8px 0;
}

.kh-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #555;
    flex: 1;
}

.kh-bottom-nav a span.icon {
    font-size: 22px;
}

.kh-bottom-nav a.active {
    color: #2e7d32;
}

/* FOOTER */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 30px 16px 80px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .kh-bottom-nav {
        display: flex;
    }

    .kh-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kh-hero h1 {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .kh-grid {
        grid-template-columns: 1fr;
    }
}