/*
Theme Name: Gaus Welfare Foundation
Theme URI: https://gauswelfare.org
Author: Gaus Welfare Foundation
Author URI: https://gauswelfare.org
Description: A lightweight, secure, and Elementor-optimized WordPress theme crafted for Gaus Welfare Foundation (Hardoi, UP). Features full RTL support for Urdu alongside English and Hindi, hardened security headers, Customizer contact management, and SMTP-ready inquiry routing.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gwf-theme
Tags: one-column, custom-logo, custom-menu, translation-ready, rtl-language-support, block-styles
*/

/**
 * ==============================================================================
 * TABLE OF CONTENTS
 * ==============================================================================
 * 1. Global CSS Custom Properties (Theme Palette & Tokens)
 * 2. Box-Sizing & CSS Reset
 * 3. Typography & Multilingual Font Stacks (English, Hindi, Urdu)
 * 4. Elementor Blank Canvas Compatibility
 * 5. Accessibility & Screen Reader Utilities
 * 6. RTL (Right-to-Left) Text Rendering Engine
 * 7. Header & Footer Fallback Layouts
 * 8. Inquiry Form Component Styling & States
 * ==============================================================================
 */

/* --------------------------------------------------------------------------
 * 1. Global CSS Custom Properties (Theme Palette & Tokens)
 * -------------------------------------------------------------------------- */
:root {
    /* Primary NGO Brand Palette */
    --gwf-color-navy: #000080;         /* Deep Navy Blue */
    --gwf-color-forest: #228B22;       /* Forest Green */
    --gwf-color-gold: #DAA520;         /* Gold / Mustard */
    --gwf-color-cream: #F8F8FF;        /* Off-White / Cream */

    /* Extended Color Palette */
    --gwf-color-navy-dark: #00004d;
    --gwf-color-navy-light: #1a1a99;
    --gwf-color-forest-dark: #196919;
    --gwf-color-forest-light: #2eb82e;
    --gwf-color-gold-dark: #b8860b;
    --gwf-color-gold-light: #f3c247;
    
    /* Neutrals & Semantics */
    --gwf-color-text-main: #1f2937;
    --gwf-color-text-muted: #4b5563;
    --gwf-color-bg-body: #ffffff;
    --gwf-color-bg-alt: var(--gwf-color-cream);
    --gwf-color-border: #e5e7eb;
    --gwf-color-success: #15803d;
    --gwf-color-error: #b91c1c;

    /* Typography Stacks */
    --gwf-font-latin: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gwf-font-hindi: "Noto Sans Devanagari", "Mangal", "Lohit Devanagari", sans-serif;
    --gwf-font-urdu: "Noto Nastaliq Urdu", "Gulzar", "Jameel Noori Nastaleeq", "Amiri", "Tahoma", serif;
    --gwf-font-current: var(--gwf-font-latin);

    /* Spacing & Radii */
    --gwf-radius-sm: 4px;
    --gwf-radius-md: 8px;
    --gwf-radius-lg: 14px;
    --gwf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --gwf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --gwf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --gwf-transition: all 0.25s ease-in-out;
}

/* --------------------------------------------------------------------------
 * 2. Box-Sizing & CSS Reset
 * -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--gwf-font-current);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gwf-color-text-main);
    background-color: var(--gwf-color-bg-body);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gwf-color-navy);
    text-decoration: none;
    transition: var(--gwf-transition);
}

a:hover,
a:focus {
    color: var(--gwf-color-gold-dark);
}

/* --------------------------------------------------------------------------
 * 3. Typography & Multilingual Font Stacks
 * -------------------------------------------------------------------------- */
/* Hindi Language Support (Devanagari script) */
:lang(hi),
[lang="hi"],
.lang-hi {
    font-family: var(--gwf-font-hindi), var(--gwf-font-latin);
    line-height: 1.75;
}

/* Urdu Language Support (Arabic / Nastaliq script) */
:lang(ur),
[lang="ur"],
.lang-ur {
    font-family: var(--gwf-font-urdu), "Segoe UI", serif;
    line-height: 2.1;
    letter-spacing: 0;
}

/* --------------------------------------------------------------------------
 * 4. Elementor Blank Canvas Optimization
 * -------------------------------------------------------------------------- */
/* Remove default theme padding to give Elementor 100% full-width control */
.site-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure Elementor Flexbox & Grid containers span seamlessly */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed {
    max-width: 1200px;
}

/* Prevent unwanted theme margins when Elementor Header/Footer Builder is used */
.elementor-template-full-width .site-header,
.elementor-template-full-width .site-footer {
    display: none;
}

/* --------------------------------------------------------------------------
 * 5. Accessibility & Screen Reader Utilities
 * -------------------------------------------------------------------------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--gwf-color-cream);
    clip: auto !important;
    clip-path: none;
    color: var(--gwf-color-navy);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    inset-inline-start: 1rem;
    top: 1rem;
    margin: 0;
    padding: 1rem 1.5rem;
    text-decoration: none;
    width: auto;
    z-index: 100000;
    box-shadow: var(--gwf-shadow-lg);
    border: 2px solid var(--gwf-color-gold);
    border-radius: var(--gwf-radius-sm);
}

/* --------------------------------------------------------------------------
 * 6. RTL (Right-to-Left) Text Rendering Engine
 * -------------------------------------------------------------------------- */
/* WordPress automatically appends .rtl class to body when is_rtl() is true */
body.rtl,
[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: var(--gwf-font-urdu), "Tahoma", serif;
}

/* Ensure modern logical properties are respected */
body.rtl .gwf-align-start,
[dir="rtl"] .gwf-align-start {
    text-align: right;
}

body.rtl .gwf-align-end,
[dir="rtl"] .gwf-align-end {
    text-align: left;
}

/* Input alignments for RTL */
body.rtl input[type="text"],
body.rtl input[type="email"],
body.rtl input[type="tel"],
body.rtl textarea,
[dir="rtl"] input[type="text"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] textarea {
    text-align: right;
    direction: rtl;
}

/* RTL Form Labels & Floats */
body.rtl .gwf-form-group label,
[dir="rtl"] .gwf-form-group label {
    text-align: right;
}

/* --------------------------------------------------------------------------
 * 7. Header & Footer Fallback Layouts (When Elementor is not overriding)
 * -------------------------------------------------------------------------- */
.gwf-top-bar {
    background-color: var(--gwf-color-navy);
    color: var(--gwf-color-cream);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.gwf-top-bar a {
    color: var(--gwf-color-gold-light);
}

.gwf-top-bar a:hover {
    color: var(--gwf-color-cream);
    text-decoration: underline;
}

.gwf-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.gwf-top-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.gwf-contact-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gwf-contact-items li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.site-header-fallback {
    background-color: #ffffff;
    box-shadow: var(--gwf-shadow-sm);
    padding: 1rem 0;
    border-bottom: 2px solid var(--gwf-color-gold);
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gwf-color-navy);
}

.site-branding .site-description {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--gwf-color-forest);
    font-weight: 600;
}

/* Primary Header Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.gwf-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gwf-nav-menu li {
    margin: 0;
    padding: 0;
}

.gwf-nav-menu a {
    color: var(--gwf-color-navy);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--gwf-transition);
    position: relative;
    padding: 0.25rem 0;
}

.gwf-nav-menu a:hover,
.gwf-nav-menu a:focus {
    color: var(--gwf-color-gold-dark);
}

.gwf-nav-menu .menu-item-cta a,
.gwf-nav-btn {
    background-color: var(--gwf-color-forest);
    color: #ffffff !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: var(--gwf-radius-sm);
    font-weight: 700;
    box-shadow: var(--gwf-shadow-sm);
}

.gwf-nav-menu .menu-item-cta a:hover,
.gwf-nav-btn:hover {
    background-color: var(--gwf-color-forest-dark);
    transform: translateY(-1px);
    box-shadow: var(--gwf-shadow-md);
}

/* Mobile Hamburger Toggle */
.gwf-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.gwf-menu-toggle .gwf-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--gwf-color-navy);
    transition: var(--gwf-transition);
    border-radius: 2px;
}

.gwf-menu-toggle.is-active .gwf-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.gwf-menu-toggle.is-active .gwf-bar:nth-child(2) {
    opacity: 0;
}

.gwf-menu-toggle.is-active .gwf-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Footer Fallback */
.site-footer-fallback {
    background-color: var(--gwf-color-navy-dark);
    color: var(--gwf-color-cream);
    padding: 2.5rem 0 1.5rem;
    border-top: 4px solid var(--gwf-color-forest);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.gwf-footer-col h4 {
    color: var(--gwf-color-gold);
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gwf-color-forest);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.gwf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(248, 248, 255, 0.7);
}

/* --------------------------------------------------------------------------
 * 8. Inquiry Form Component Styling & States
 * -------------------------------------------------------------------------- */
.gwf-inquiry-card {
    background-color: var(--gwf-color-bg-alt);
    border: 1px solid var(--gwf-color-border);
    border-top: 4px solid var(--gwf-color-navy);
    border-radius: var(--gwf-radius-md);
    padding: 2rem;
    box-shadow: var(--gwf-shadow-md);
    max-width: 650px;
    margin: 2rem auto;
}

.gwf-inquiry-card h3 {
    margin-top: 0;
    color: var(--gwf-color-navy);
    font-size: 1.5rem;
    font-weight: 700;
}

.gwf-inquiry-card p.gwf-inquiry-subtitle {
    color: var(--gwf-color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.gwf-form-group {
    margin-bottom: 1.25rem;
}

.gwf-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gwf-color-text-main);
}

.gwf-form-group label .required {
    color: var(--gwf-color-error);
}

.gwf-form-control {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--gwf-color-border);
    border-radius: var(--gwf-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: var(--gwf-transition);
}

.gwf-form-control:focus {
    outline: none;
    border-color: var(--gwf-color-navy);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.15);
}

textarea.gwf-form-control {
    min-height: 120px;
    resize: vertical;
}

/* Honeypot field - invisible to human users, traps spam bots */
.gwf-hp-field {
    display: none !important;
    visibility: hidden !important;
}

.gwf-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.75rem;
    background-color: var(--gwf-color-forest);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--gwf-radius-sm);
    cursor: pointer;
    transition: var(--gwf-transition);
    box-shadow: var(--gwf-shadow-sm);
}

.gwf-btn-submit:hover,
.gwf-btn-submit:focus {
    background-color: var(--gwf-color-forest-dark);
    box-shadow: var(--gwf-shadow-md);
    transform: translateY(-1px);
}

.gwf-btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Form Response Notices */
.gwf-form-feedback {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--gwf-radius-sm);
    font-size: 0.9rem;
    display: none;
}

.gwf-form-feedback.is-visible {
    display: block;
}

.gwf-form-feedback.is-success {
    background-color: #ecfdf5;
    color: var(--gwf-color-success);
    border: 1px solid #a7f3d0;
}

.gwf-form-feedback.is-error {
    background-color: #fef2f2;
    color: var(--gwf-color-error);
    border: 1px solid #fecaca;
}

/* --------------------------------------------------------------------------
 * 9. Front-Page Landing Layout (Hero, Stats, About, Causes)
 * -------------------------------------------------------------------------- */
.gwf-hero-section {
    position: relative;
    background-color: var(--gwf-color-navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 5.5rem 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gwf-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.gwf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(218, 165, 32, 0.2);
    border: 1px solid var(--gwf-color-gold);
    color: var(--gwf-color-gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.gwf-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 1rem;
}

.gwf-hero-urdu-motto {
    font-family: var(--gwf-font-urdu), "Segoe UI", serif;
    font-size: 1.5rem;
    color: var(--gwf-color-gold-light);
    margin: 0 0 1.25rem;
    line-height: 2;
}

.gwf-hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: rgba(248, 248, 255, 0.95);
    max-width: 760px;
    margin: 0 auto 2.25rem;
}

.gwf-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.gwf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.85rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--gwf-radius-sm);
    text-decoration: none;
    transition: var(--gwf-transition);
}

.gwf-btn-gold {
    background-color: var(--gwf-color-gold);
    color: #000000;
}

.gwf-btn-gold:hover {
    background-color: var(--gwf-color-gold-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--gwf-shadow-md);
}

.gwf-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.gwf-btn-outline:hover {
    background-color: #ffffff;
    color: var(--gwf-color-navy);
    transform: translateY(-2px);
}

/* Stats Ribbon */
.gwf-stats-bar {
    background-color: var(--gwf-color-forest);
    color: #ffffff;
    padding: 2.25rem 1rem;
    box-shadow: var(--gwf-shadow-md);
}

.gwf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
    text-align: center;
}

.gwf-stat-number {
    display: block;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: var(--gwf-color-gold-light);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.gwf-stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* Section Basics */
.gwf-section {
    padding: 5rem 1rem;
}

.gwf-section-tag {
    display: inline-block;
    color: var(--gwf-color-forest);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.gwf-section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    color: var(--gwf-color-navy);
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.gwf-section-subtitle {
    font-size: 1.05rem;
    color: var(--gwf-color-text-muted);
    max-width: 650px;
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

/* About Section */
.gwf-about-section {
    background-color: #ffffff;
}

.gwf-about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
}

.gwf-check-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}

.gwf-check-list li {
    position: relative;
    padding-inline-start: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.gwf-check-list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--gwf-color-forest);
    font-weight: 900;
    font-size: 1.1rem;
}

.gwf-about-card {
    background-color: var(--gwf-color-cream);
    border: 1px solid var(--gwf-color-border);
    border-top: 4px solid var(--gwf-color-navy);
    border-radius: var(--gwf-radius-md);
    overflow: hidden;
    box-shadow: var(--gwf-shadow-sm);
}

.gwf-card-header {
    background-color: var(--gwf-color-navy);
    color: var(--gwf-color-cream);
    padding: 1.25rem 1.5rem;
}

.gwf-card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--gwf-color-gold-light);
}

.gwf-card-body {
    padding: 1.5rem;
}

.gwf-card-body p {
    margin-top: 0;
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
}

.gwf-card-body a {
    color: var(--gwf-color-navy);
    font-weight: 600;
}

/* Educational Initiatives Section */
.gwf-initiatives-section {
    background-color: var(--gwf-color-cream);
}

.gwf-initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gwf-initiative-card {
    background-color: #ffffff;
    border: 1px solid var(--gwf-color-border);
    border-top: 4px solid var(--gwf-color-forest);
    border-radius: var(--gwf-radius-md);
    padding: 2.25rem 2rem;
    box-shadow: var(--gwf-shadow-sm);
    transition: var(--gwf-transition);
    display: flex;
    flex-direction: column;
}

.gwf-initiative-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gwf-shadow-md);
    border-top-color: var(--gwf-color-navy);
}

.gwf-card-featured {
    border-top: 4px solid var(--gwf-color-gold);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.gwf-card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(34, 139, 34, 0.1);
    color: var(--gwf-color-forest);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.gwf-card-icon-box .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.gwf-card-featured .gwf-card-icon-box {
    background-color: rgba(218, 165, 32, 0.15);
    color: var(--gwf-color-gold-dark);
}

.gwf-initiative-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    color: var(--gwf-color-navy);
}

.gwf-initiative-card p {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--gwf-color-text-muted);
    line-height: 1.65;
    flex-grow: 1;
}

.gwf-initiative-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background-color: #f3f4f6;
    color: var(--gwf-color-text-muted);
}

/* Student & Mentor Portal Section */
.gwf-portal-section {
    background-color: #ffffff;
}

.gwf-portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.gwf-portal-box {
    background-color: var(--gwf-color-cream);
    border: 1px solid var(--gwf-color-border);
    border-radius: var(--gwf-radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.gwf-box-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--gwf-color-forest);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.gwf-portal-box h3 {
    margin: 0 0 0.75rem;
    font-size: 1.45rem;
    color: var(--gwf-color-navy);
}

.gwf-portal-box p {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--gwf-color-text-muted);
}

.gwf-portal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.gwf-portal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gwf-color-text-main);
}

.gwf-portal-list .dashicons {
    color: var(--gwf-color-forest);
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

/* Inquiry Section */
.gwf-inquiry-section {
    background-color: var(--gwf-color-cream);
}

/* Header link and card badge */
.gwf-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gwf-color-navy);
}

.gwf-card-badge {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background-color: rgba(34, 139, 34, 0.1);
    border: 1px solid var(--gwf-color-forest);
    border-radius: var(--gwf-radius-sm);
    color: var(--gwf-color-forest-dark);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .gwf-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gwf-portal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gwf-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: var(--gwf-shadow-lg);
        border-top: 3px solid var(--gwf-color-gold);
        padding: 1.5rem;
        display: none;
        z-index: 999;
    }

    .main-navigation.is-active {
        display: block;
    }

    .gwf-nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .gwf-nav-menu a {
        display: block;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid #f3f4f6;
    }

    .gwf-nav-menu .menu-item-cta a,
    .gwf-nav-btn {
        margin-top: 0.5rem;
        text-align: center;
    }

    .gwf-form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}


