/* --- 1. FONTS & ROOT VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;700&family=Playfair+Display:italic,wght@400;700&display=swap');

:root {
    --primary-green: #2D5A27;
    --soft-green: #F4F9F4; /* Also used for #f8faf9 */
    --dark-text: #1A1A1A;
    --muted-text: #666666;
    --border-color: #dee2e6;
}

/* --- 2. GLOBAL RESET --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.tracking-widest {
    letter-spacing: 0.3rem;
    font-size: 0.8rem;
}

/* --- 3. BENTO GRID & SERVICES --- */
.bento-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
}

.bento-img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--soft-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 4. PILLARS & TEAM GRID (Shared Styles) --- */
.pillar-box, .team-box {
    transition: all 0.4s ease;
    position: relative;
    background-color: #fff;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.pillar-box:hover {
    background-color: #fcfdfc;
}

.team-box:hover {
    background-color: var(--primary-green);
}

/* Invert colors on team hover */
.team-box:hover h4, 
.team-box:hover .text-muted,
.team-box:hover .text-success {
    color: #ffffff !important;
}

.initials {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--soft-green);
    color: var(--primary-green);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.team-box:hover .initials {
    background-color: rgba(255,255,255,0.2);
    color: #ffffff;
    transform: rotate(10deg);
}

/* Animated Underline Effect */
.pillar-box::after, .team-box::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 3px;
    background-color: var(--primary-green);
    transition: width 0.4s ease;
}

.team-box:hover::after { background-color: #fff; }
.pillar-box:hover::after, .team-box:hover::after { width: 100%; }

/* Grid Helper Classes */
.g-0.border-top { border-top: 1px solid var(--border-color) !important; }
.g-0.border-start { border-left: 1px solid var(--border-color) !important; }

/* --- MINIMALIST FORM STYLES --- */

/* Input Styling: Removing the boxes */
.form-underline {
    width: 100%;
    padding: 1.5rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
    appearance: none; /* Removes default arrow on select */
}

.form-underline:focus {
    border-bottom: 1px solid var(--primary-green);
}

/* Adjust Placeholder color */
.form-underline::placeholder {
    color: #999;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
}

/* Custom Minimal Button */
.btn-minimal {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
    position: relative;
}

.btn-minimal::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.btn-minimal:hover {
    color: var(--primary-green);
}

.btn-minimal:hover::after {
    width: 100%;
}

/* Spacing utility for the form */
.pb-5.border-bottom {
    border-color: #f0f0f0 !important;
}
.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--soft-green);
    border-radius: 50%;
    display: flex;
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
}

.icon-circle i {
    line-height: 0; /* Prevents the icon font-descent from offsetting the center */
}

/* Footer & Utility Polishing */
.hover-success:hover {
    color: var(--primary-green) !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.border-light-subtle {
    border-color: #eee !important;
}

/* Newsletter Input Focus */
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-green);
}

/* --- 5. HERO & ANIMATIONS --- */
.vh-100 { height: 100vh; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text-box { animation: fadeInUp 1s ease-out; }

/* --- 6. UTILITIES & RESPONSIVE --- */
.bg-soft-green { background-color: #f8faf9 !important; }

@media (max-width: 991.98px) {
    .vh-100 { height: auto; }
    .bento-card img { height: 250px; }
}