/* Core base styles shared across pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #f9f8f6;
    color: #3b3b3b;
    line-height: 1.6;

}

/* Design tokens */
:root {
    --bg: #f9f8f6;
    --muted: #777777;
    --text: #3b3b3b;
    --accent: #5a6f4c;
    --accent-2: #8b6f3d;
    --card: #ffffff;
    --glass: rgba(243, 245, 239, 0.8);
    --radius: 16px;
    --container-max: 1140px;
}

/* Page container to center content */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Make images responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reusable button styles */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(90, 111, 76, 0.08);
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    box-shadow: 0 12px 30px rgba(90, 111, 76, 0.22);
}

/* About hero specific */
.about-hero {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(90, 111, 76, 0.03), transparent 50%);
    text-align: center;
}

/* Values and team grids */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.values-grid h3 {
    color: var(--accent);
    margin-bottom: 8px;
}

.team-section {
    padding: 50px 0;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    align-items: start;
}

.team-member {
    text-align: center;
    padding: 18px;
    background: #fbfbfb;
    border-radius: 12px;
}

.team-member img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.team-member h4 {
    margin-bottom: 6px;
    color: var(--accent-2);
}

.team-member p {
    font-size: 14px;
    color: var(--muted);
}

/* Small responsive tweak for hero and spacing */
@media (max-width:768px) {
    .about-hero {
        padding: 48px 0;
    }

    .team-member img {
        height: 160px;
    }
}

/* HEADER */
.header {
    width: 100%;
    background: #ffffff;
    transition: all 0.3s ease;
    z-index: 999;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

.logo {
    font-family: "Samarkan", cursive;
    font-size: 20px;
    color: #8b6f3d;
}

.tagline {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin-top: 4px;
}

/* BRAND WITH LOGO */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 140px;
    height: auto;
}

/* TEXT */
.logo-text {
    font-family: "Samarkan", cursive;
    font-size: 26px;
    color: #8b6f3d;
    line-height: 1;
}

.tagline {
    font-size: 13px;
    color: #777;
}

/* MOBILE ADJUSTMENT */
@media (max-width: 768px) {
    .nav-logo {
        width: 65px;
    }

    .logo-text {
        font-size: 22px;
    }
}


/* FIXED NAVBAR ON TOP (always visible) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding-top: env(safe-area-inset-top, 0px);
}

/* Add top padding so content isn't hidden under navbar */
body {
    padding-top: 90px;
    padding-top: calc(90px + env(safe-area-inset-top, 0px));
    /* adjust if navbar height changes */
}

/* Reduce top padding on smaller viewports so header doesn't take too much space */
@media (max-width: 1024px) {
    body {
        padding-top: 76px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 64px;
        padding-top: calc(64px + env(safe-area-inset-top, 0px));
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 56px;
        padding-top: calc(56px + env(safe-area-inset-top, 0px));
    }
}

/* Navbar inner container stays same */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8%;
}

/* Menu basics */
.nav-menu a {
    text-decoration: none;
    color: #5a6f4c;
    font-size: 15px;
    font-weight: 500;
}

.nav-menu a.active {
    color: #2e5b2d;
    font-weight: 700;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5a6f4c, #8b6f3d);
    bottom: -8px;
    border-radius: 4px;
}

/* Desktop menu */
@media (min-width: 1025px) {
    .nav-menu {
        display: flex;
        gap: 26px;
    }

    .hamburger {
        display: none;
    }
}

/* Mobile / Tablet */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger span {
        width: 26px;
        height: 3px;
        background: #5a6f4c;
        border-radius: 2px;
        transition: 0.3s;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}



/* MOBILE NAVBAR FIX */
@media (max-width: 768px) {

    .nav-container {
        padding: 10px 16px;
        align-items: center;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-logo {
        width: 42px;
        height: auto;
    }

    .logo-text {
        font-size: 18px;
        line-height: 1.1;
    }

    .tagline {
        font-size: 12px;
        margin-top: 2px;
    }

    .hamburger {
        margin-left: auto;
    }
}



/* FULL WIDTH HERO */
.hero {
    min-height: calc(100vh - 90px);
    background:
        radial-gradient(circle at top left, rgba(90, 111, 76, 0.08), transparent 40%),
        radial-gradient(circle at bottom right, rgba(139, 111, 61, 0.08), transparent 45%),
        #f3f5ef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12%;
}


/* HERO CONTENT */
.hero-content {
    max-width: 900px;
    text-align: center;
}

/* HEADING */
.hero-content h2 {
    font-size: 48px;
    color: #5a6f4c;
    margin-bottom: 22px;
}

/* TEXT */
.hero-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #3b3b3b;
    max-width: 760px;
    margin: 0 auto 40px;
}

.hero-content h2 {
    font-size: 52px;
    font-weight: 600;
    color: #5a6f4c;
    margin-bottom: 26px;
    letter-spacing: 0.5px;
}

/* Make all headings bold for clearer hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* HERO BADGES */
.hero-badges {
    margin-top: 35px;
    display: flex;
    gap: 24px;
    justify-content: center;
    font-size: 14px;
    color: #5a6f4c;
    opacity: 0.85;
}

/* PRIMARY BUTTON */
.hero .btn.primary {
    background: linear-gradient(135deg, #5a6f4c, #6f855c);
    color: #ffffff;
    padding: 16px 44px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 12px 30px rgba(90, 111, 76, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero .btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(90, 111, 76, 0.45);
}


@media (max-width: 768px) {
    .hero {
        padding: 0 20px;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
    }
}

/* FOOTER */
.site-footer {
    background: #eef5e6;
    color: #233226;
    padding: 60px 0 20px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.site-footer .footer-logo {
    width: 68px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.site-footer h5 {
    margin-bottom: 14px;
    color: #24311f;
}

.site-footer .muted {
    color: #5d6a55;
    margin-bottom: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 12px;
    color: #2f3b2b;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-brand .footer-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(26, 38, 20, 0.06);
    color: #6a7d56;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
}

.footer-bottom hr {
    border: none;
    border-top: 1px solid rgba(35, 50, 38, 0.08);
    margin-bottom: 12px;
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .container hr {
    width: 100%;
}

.footer-bottom .copyright {
    text-align: left;
    color: #5d6a55;
    padding-bottom: 20px;
}

.footer-bottom .designed-by {
    text-align: right;
    color: #5d6a55;
    font-size: 0.85em;
    padding-bottom: 20px;
}

@media (max-width: 900px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .icon-circle {
        width: 42px;
        height: 42px;
    }
}