:root {
    /* Colors extracted from reference */
    --color-primary: #788b5d;
    /* Green */
    --color-primary-dark: #5e6d48;
    --color-secondary: #d4b165;
    /* Gold */
    --color-secondary-light: #e6c985;
    --color-text: #2c2c2c;
    --color-text-light: #666;
    --color-bg: #f9f9f7;
    /* Off-white, paper texture feel */
    --color-white: #ffffff;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    /* Closest to 'Samarkan' vibe for consistency */
    --font-body: 'Poppins', sans-serif;
    /* Geometric sans */

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--color-primary);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url('assets/bg-texture.png');
    background-size: cover;
    background-position: center;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust based on actual image ratio */
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--color-white);
    position: relative;
}

.nav-link::after {
    content: '';
    position: block;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: 0.3s;
    margin: auto;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Redesign (Glassmorphism + Grading) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background-image: url('assets/hero-new.png');
    /* New Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 5px solid var(--color-secondary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Matching Grading: Gradient from primary green to transparent to warm secondary */
    background: linear-gradient(135deg, rgba(120, 139, 93, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(212, 177, 101, 0.3) 100%);
    z-index: 1;
}

.hero-image-container {
    display: none;
    /* Hide old separate image container */
}

.hero-img {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--color-secondary);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 100%;
}

.btn-hero {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 18px 50px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.btn-hero:hover {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Philosophy Section */
.philosophy {
    background-color: var(--color-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #fff;
    border-color: var(--color-secondary);
}

.card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Redesigned Heading */
.section-header h2 {
    font-size: 3rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

/* Consultation Section */
.consultation-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    /* Centered content */
    text-align: center;
    /* Center text within */
}

.location-box {
    flex: 1;
    min-width: 300px;
}

.location-list {
    margin-top: 2rem;
}

.location-list li {
    margin-bottom: 2rem;
    padding-left: 0;
    /* Removed border-left to suit centered alignment */
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
    border-left: none;
}

.location-list strong {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.form-box {
    flex: 1;
    min-width: 300px;
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--color-secondary);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--color-primary);
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    background-image: url('assets/bg-texture.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 4rem 0 1rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    /* Constrain tagline width */
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
    /* filter removed to show original logo colors on green bg */
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 76px;
        /* Adjusted for header height */
        right: -100%;
        width: 100%;
        /* Full width for better mobile experience */
        height: calc(100vh - 76px);
        background: var(--color-bg);
        /* Match site background */
        padding: 2rem;
        transition: 0.4s;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        /* Center items */
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
        color: var(--color-text);
        /* Ensure contrast on off-white */
    }

    .hamburger {
        display: block;
    }

    .hamburger span {
        background: var(--color-white);
        /* Ensure contrast on texture header */
    }

    /* Hero Mobile Updates */
    .hero {
        padding: 100px 1rem 2rem;
        /* Adjust padding */
        min-height: auto;
        /* Allow auto height */
        height: 100vh;
    }

    .hero-content {
        padding: 2rem;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Smaller title on mobile */
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .consultation-wrapper {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        max-width: 100%;
        /* Full width on mobile */
    }
}