/*
Theme Name: Herring & Hörner Herald Foundation
Theme URI: https://hh-herald.com
Author: HHHF
Author URI: https://hh-herald.com
Description: A sophisticated WordPress theme for the Herring & Hörner Herald Foundation featuring elegant typography, refined color palette, and professional layouts for heritage institutions.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hhhf
Tags: custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --navy-deep: #0f1628;
    --navy: #1a2240;
    --navy-light: #252f4f;
    --crimson: #b31b34;
    --crimson-dark: #8a1528;
    --gold: #c9a962;
    --gold-light: #d4bc7d;
    --cream: #f8f6f1;
    --cream-dark: #e8e4db;
    --text-dark: #1a1a1a;
    --text-light: #f0efe8;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', Georgia, serif;
    background-color: #f8f6f1;
    color: #1a1a1a;
    line-height: 1.7;
    font-size: 18px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

a {
    color: var(--crimson);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold);
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 98, 0.3);
}

.header-top {
    background: var(--crimson);
    height: 4px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 3rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-branding img {
    height: 60px;
    width: auto;
}

.site-title {
    color: var(--text-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0;
}

.site-title a {
    color: var(--text-light);
    text-decoration: none;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.main-navigation a:hover {
    color: var(--gold);
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: var(--gold);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
section.hero,
.hero {
    background: #0f1628 !important;
    background: linear-gradient(135deg, #0f1628 0%, #1a2240 50%, #252f4f 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden !important;
    padding-top: 80px;
    z-index: 1;
}

section.hero::before,
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(179, 27, 52, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 98, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero-diagonal {
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: #b31b34;
    background: linear-gradient(145deg, #b31b34 0%, #8a1528 100%);
    transform: skewX(-15deg);
    opacity: 0.9;
    z-index: 2;
}

.hero-diagonal-2 {
    position: absolute;
    top: 0;
    right: -5%;
    width: 35%;
    height: 100%;
    background: linear-gradient(145deg, rgba(179, 27, 52, 0.6) 0%, transparent 100%);
    transform: skewX(-15deg);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero h1 {
    font-size: 3.5rem;
    color: #f0efe8;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #c9a962;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(240, 239, 232, 0.85);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-locations {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(240, 239, 232, 0.7);
    letter-spacing: 0.1em;
}

.hero-locations span::after {
    content: '•';
    margin-left: 1rem;
    color: #c9a962;
}

.hero-locations span:last-child::after {
    display: none;
}

/* ==========================================================================
   Sections - General
   ========================================================================== */
.section {
    padding: 6rem 3rem;
    position: relative;
    z-index: 10;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-header .gold-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 1.5rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background: #f8f6f1;
    background-color: #f8f6f1 !important;
    position: relative;
    z-index: 100;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #444;
}

.about-image {
    background: var(--navy);
    padding: 3rem;
    border-radius: 4px;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: 10px;
    left: 10px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    z-index: -1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    color: var(--text-light);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background: var(--navy-deep);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23c9a962' stroke-width='0.3' stroke-opacity='0.1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.services .section-header h2 {
    color: var(--text-light);
}

.services .section-header p {
    color: rgba(240, 239, 232, 0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201, 169, 98, 0.2);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--crimson), transparent);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-5px);
    border-color: rgba(201, 169, 98, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
}

.service-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(240, 239, 232, 0.7);
    font-size: 0.95rem;
}

/* ==========================================================================
   Sustainability Section
   ========================================================================== */
.sustainability {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.sustainability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(76, 175, 80, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(201, 169, 98, 0.1) 0%, transparent 40%);
}

.sustainability .section-header h2 {
    color: var(--text-light);
}

.sustainability .section-header p {
    color: rgba(240, 239, 232, 0.7);
}

/* Sustainability Overview */
.sustainability-overview {
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
}

.sdg-achievement {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201, 169, 98, 0.2);
    padding: 3rem;
}

.sdg-logo {
    flex-shrink: 0;
}

.sdg-logo img {
    width: 140px;
    height: 140px;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.sdg-logo img:hover {
    opacity: 1;
}

.sdg-stats {
    flex: 1;
}

.sdg-percentage {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.percentage-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.percentage-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(240, 239, 232, 0.7);
}

.sdg-description {
    color: rgba(240, 239, 232, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 600px;
}

/* ESG Section */
.esg-section {
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
}

.esg-title {
    color: var(--gold);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    text-align: center;
}

.esg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.esg-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.esg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.esg-achieved::before {
    background: linear-gradient(90deg, transparent, #4caf50, transparent);
}

.esg-progress::before {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.esg-scope {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.esg-status {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    display: inline-block;
    border-radius: 2px;
}

.esg-achieved .esg-status {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
}

.esg-progress .esg-status {
    background: rgba(201, 169, 98, 0.2);
    color: var(--gold);
}

.esg-card p {
    color: rgba(240, 239, 232, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* SDG Focus Areas */
.sdg-focus {
    position: relative;
    z-index: 1;
}

.sdg-focus-title {
    color: var(--gold);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    text-align: center;
}

.sdg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.sdg-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.sdg-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.sdg-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.sdg-card h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.sdg-card p {
    color: rgba(240, 239, 232, 0.6);
    font-size: 0.85rem;
}

/* ==========================================================================
   Global Presence Section
   ========================================================================== */
.presence {
    background: var(--cream);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.office-card {
    background: white;
    border: 1px solid rgba(26, 34, 64, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.office-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--crimson);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.office-card:hover::after {
    transform: scaleX(1);
}

.office-card:hover {
    box-shadow: 0 10px 40px rgba(26, 34, 64, 0.1);
}

.office-card h4 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.office-card .region {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.office-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news {
    background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: white;
    border: 1px solid rgba(26, 34, 64, 0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 15px 50px rgba(26, 34, 64, 0.12);
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    background: var(--navy-light);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.news-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 22, 40, 0.8) 100%);
}

.news-date {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    color: var(--crimson);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card h3 a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
}

.news-card h3 a:hover {
    color: var(--crimson);
}

.news-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--crimson);
}

.news-link::after {
    content: ' →';
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team {
    background: var(--navy-deep);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23c9a962' stroke-width='0.3' stroke-opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
}

.team .section-header h2 {
    color: var(--text-light);
}

.team .section-header p {
    color: rgba(240, 239, 232, 0.7);
}

.team-category {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.team-category:last-child {
    margin-bottom: 0;
}

.team-category-title {
    color: var(--gold);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.3);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.team-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201, 169, 98, 0.15);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(201, 169, 98, 0.3);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--navy-light);
    margin: 0 auto 1.5rem;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.team-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.2) 0%, transparent 50%);
}

.team-card h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-title {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.team-region {
    color: rgba(240, 239, 232, 0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Team Modal
   ========================================================================== */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.team-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 22, 40, 0.95);
    backdrop-filter: blur(5px);
}

.team-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a2240 0%, #0f1628 100%);
    border: 1px solid rgba(201, 169, 98, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 3rem;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.3s;
}

.team-modal-close:hover {
    color: var(--crimson);
}

.team-modal-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.team-modal-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--navy-light);
    border: 3px solid var(--gold);
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.team-modal-info {
    flex: 1;
}

.team-modal-name {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.team-modal-title {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.team-modal-region {
    color: rgba(240, 239, 232, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-modal-bio {
    color: rgba(240, 239, 232, 0.85);
    font-size: 1rem;
    line-height: 1.8;
}

.team-modal-bio p {
    margin-bottom: 1rem;
}

.team-modal-bio p:last-child {
    margin-bottom: 0;
}

/* Modal responsive */
@media (max-width: 600px) {
    .team-modal-content {
        padding: 2rem;
    }
    
    .team-modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .team-modal-photo {
        width: 120px;
        height: 120px;
    }
    
    .team-modal-name {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    position: relative;
}

.contact .section-header h2 {
    color: var(--text-light);
}

.contact .section-header p {
    color: rgba(240, 239, 232, 0.7);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    color: var(--text-light);
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-detail span,
.contact-detail a {
    color: rgba(240, 239, 232, 0.85);
}

.contact-detail a:hover {
    color: var(--gold);
}

/* Contact Form 7 Styling */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201, 169, 98, 0.3);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(240, 239, 232, 0.4);
}

.contact-form textarea,
.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.btn,
.wpcf7-submit {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--crimson);
    color: var(--text-light);
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover,
.wpcf7-submit:hover {
    background: var(--crimson-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(201, 169, 98, 0.2);
    padding: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 50px;
}

.footer-text {
    color: rgba(240, 239, 232, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(240, 239, 232, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

/* Screen Reader Text */
.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(--cream);
    clip: auto !important;
    clip-path: none;
    color: var(--navy);
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--crimson);
    color: var(--text-light);
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid,
    .offices-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sdg-grid,
    .team-grid,
    .esg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sdg-achievement {
        flex-direction: column;
        text-align: center;
    }

    .sdg-percentage {
        justify-content: center;
    }

    .sdg-description {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 0.75rem 1.5rem;
    }

    .main-navigation ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .offices-grid,
    .sdg-grid,
    .news-grid,
    .team-grid,
    .esg-grid {
        grid-template-columns: 1fr;
    }

    .sdg-achievement {
        padding: 2rem;
    }

    .percentage-number {
        font-size: 3.5rem;
    }

    .sdg-logo img {
        width: 100px;
        height: 100px;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
