/* ==========================================================================
   1. GLOBAL VARIABLES & SHARED STRUCTURES (Inherited from core theme)
   ========================================================================== */
:root {
    --forest-green: #2d8659;
    --champagne: #e0a84e;
    --dark-green: #1e5a3d;
    --light-green: #3fa572;
    --cream: #fdfbf7;
    --charcoal: #2a2a2a;
    --muted-gray: #555555;
    --light-gray-bg: #f8f9fa;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--charcoal);
    background-color: #ffffff;
    overflow-x: hidden;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.1) 0%, rgba(63, 165, 114, 0.1) 100%);
    border-radius: 50px;
}

.section-badge-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    color: var(--forest-green);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.section-divider {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--champagne) 0%, #ebb860 100%);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* ==========================================================================
   2. MODERN NAVIGATION COMPONENT
   ========================================================================== */
.modern-navbar {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0;
}

.modern-navbar .logo-link { display: flex; align-items: center; }
.modern-navbar .logo-img { height: 45px; width: auto; }

.modern-navbar .nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.modern-navbar .nav-link-modern {
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.modern-navbar .nav-link-modern:hover,
.modern-navbar .nav-link-modern.active { color: var(--forest-green); }

.modern-navbar .nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--forest-green) 0%, var(--light-green) 100%);
    transition: width 0.3s ease;
}

.modern-navbar .nav-link-modern:hover::after,
.modern-navbar .nav-link-modern.active::after { width: 100%; }

.modern-navbar .dropdown-toggle-modern { display: flex; align-items: center; gap: 0.4rem; }
.modern-navbar .dropdown-arrow { font-size: 0.75rem; transition: transform 0.3s ease; }
.modern-navbar .dropdown-wrapper { position: relative; }

.modern-navbar .dropdown-menu-modern {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 134, 89, 0.1);
}

.modern-navbar .dropdown-wrapper:hover .dropdown-menu-modern {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-navbar .dropdown-item-modern {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--charcoal);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.modern-navbar .dropdown-item-modern:hover {
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.08) 0%, rgba(63, 165, 114, 0.08) 100%);
    color: var(--forest-green);
    transform: translateX(5px);
}

.modern-navbar .ebanking-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--light-green) 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.25);
    font-size: 0.9rem;
}

.modern-navbar .ebanking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.35);
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--charcoal);
    cursor: pointer;
}

/* ==========================================================================
   3. HERO DISPLAY WRAPPER
   ========================================================================== */
.page-hero {
    background: linear-gradient(165deg, var(--dark-green) 0%, var(--forest-green) 35%, #2a6f4f 100%);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
}

.page-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 90, 61, 0.82) 0%, rgba(45, 134, 89, 0.75) 50%, rgba(42, 111, 79, 0.80) 100%);
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(224, 168, 78, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.page-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.1) 35px, rgba(255, 255, 255, 0.1) 70px);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-title {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* ==========================================================================
   4. CONTACT SPECIFIC STYLES
   ========================================================================== */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-gray-bg) 0%, #ffffff 100%);
    position: relative;
}

.contact-intro-text {
    font-size: 1.1rem;
    color: var(--muted-gray);
    line-height: 1.8;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.1) 0%, rgba(63, 165, 114, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-green);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .icon-box {
    background: var(--forest-green);
    color: #ffffff;
    transform: translateY(-3px);
}

.info-content h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.info-content p, 
.info-content a {
    color: var(--muted-gray);
    margin: 0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--forest-green);
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(45, 134, 89, 0.08);
    border: 1px solid rgba(45, 134, 89, 0.05);
}

.form-title {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--muted-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.custom-input {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 1.25rem;
    font-size: 1rem;
    color: var(--charcoal);
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: var(--light-green);
    box-shadow: 0 0 0 4px rgba(63, 165, 114, 0.1);
    outline: none;
}

.custom-input::placeholder {
    color: #a0aec0;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--light-green) 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 24px rgba(45, 134, 89, 0.3);
    transition: all 0.3s ease;
    font-size: 1.05rem;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 134, 89, 0.4);
    color: #ffffff;
}

/* ==========================================================================
   5. SEMANTIC FOOTER SYSTEM
   ========================================================================== */
.footer-section {
    background: linear-gradient(to bottom, #1a1a1a 0%, #0d0d0d 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-size: cover;
}

.footer-container {
    position: relative;
    z-index: 2;
    padding: 5rem 0 2rem;
}

.footer-logo-box { margin-bottom: 1.5rem; }
.footer-logo { height: 50px; width: auto; filter: brightness(0) invert(1); }

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-heading {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--champagne) 0%, #ebb860 100%);
    border-radius: 10px;
}

.footer-links-list, 
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li { margin-bottom: 0.75rem; }

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list a:hover { color: var(--champagne); padding-left: 5px; }

.footer-contact-list li { margin-bottom: 1rem; display: flex; gap: 0.75rem; }
.contact-icon { color: var(--champagne); font-size: 1.2rem; margin-top: 0.2rem; }
.contact-text { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; line-height: 1.6; }
.contact-text.text-link { text-decoration: none; transition: color 0.3s ease; }
.contact-text.text-link:hover { color: var(--champagne); }

.footer-copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.text-muted-custom { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

/* ==========================================================================
   6. MEDIA QUERIES (RESPONSIVENESS RENDER)
   ========================================================================== */
@media (max-width: 991px) {
    .modern-navbar .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
    }

    .modern-navbar .nav-menu.active { display: flex; }
    .modern-navbar .nav-menu li { width: 100%; padding: 0.75rem 0; border-bottom: 1px solid #f0f0f0; }
    .modern-navbar .nav-menu li:last-child { border-bottom: none; }

    .modern-navbar .dropdown-menu-modern {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0.5rem;
        background: #f8f9fa;
        display: none;
        padding-left: 1rem;
    }
    
    .modern-navbar .dropdown-wrapper.open .dropdown-menu-modern { display: block; }
    .modern-navbar .dropdown-wrapper.open .dropdown-arrow { transform: rotate(180deg); }
    .mobile-menu-toggle { display: block; }
    
    .modern-navbar .ebanking-btn {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .page-hero { padding: 6rem 0 4rem; }
}