/*
Theme Name: Atlas Development Zimbabwe
Theme URI: https://atlasdevelopment.co.zw
Author: Atlas Development Zimbabwe
Description: Official theme for Atlas Development Zimbabwe - Transforming Landscapes, Enhancing Lives
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: atlas-development
*/

/* ===========================
   CSS Custom Properties
=========================== */
:root {
    --navy: #0d1b3e;
    --navy-mid: #162240;
    --navy-light: #1e3660;
    --gold: #b8930c;
    --gold-dark: #9a7d0a;
    --gold-light: #d4aa3a;
    --white: #ffffff;
    --light-bg: #f8f8f8;
    --dark-bg: #111111;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 4px;
    --container: 1200px;
}

/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }

ul { list-style: none; }

/* ===========================
   Typography
=========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* ===========================
   Layout Utilities
=========================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-sm { padding: 50px 0; }

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

.section-charcoal {
    background: var(--dark-bg);
    color: var(--white);
}

.section-charcoal h1,
.section-charcoal h2,
.section-charcoal h3,
.section-charcoal h4 { color: var(--white); }

.section-light { background: var(--light-bg); }

.section-gold {
    background: var(--gold);
    color: var(--white);
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

/* ===========================
   Section Headings
=========================== */
.section-header {
    margin-bottom: 50px;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 16px 0 20px;
    border: none;
}

.section-divider.center { margin: 16px auto 20px; }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 620px;
}

.section-dark .section-subtitle,
.section-charcoal .section-subtitle {
    color: rgba(255,255,255,0.75);
}

/* ===========================
   Buttons
=========================== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,147,12,0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===========================
   Header & Navigation
=========================== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

#site-header.scrolled {
    background: rgba(13, 27, 62, 0.97);
    backdrop-filter: blur(10px);
}

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

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 200px;
    height: auto;
    display: block;
}

#primary-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

#primary-nav ul li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
    color: var(--gold);
    background: rgba(255,255,255,0.05);
}

#primary-nav ul li.menu-cta > a {
    background: var(--gold);
    color: var(--white);
    padding: 8px 22px;
    font-weight: 600;
}

#primary-nav ul li.menu-cta > a:hover {
    background: var(--gold-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===========================
   Hero Section
=========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
    padding-top: 75px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, var(--navy-light) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,147,12,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-accent-2 {
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,54,96,0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero h1 span {
    color: var(--gold);
    display: block;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    font-style: italic;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ===========================
   About Strip / Quick About
=========================== */
.about-strip {
    background: var(--gold);
    padding: 18px 0;
}

.about-strip p {
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
    text-align: center;
    letter-spacing: 0.3px;
}

/* ===========================
   Services Grid
=========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--gold);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--gold);
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Services page full layout */
.services-full .service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.services-full .service-item:last-child { border-bottom: none; }
.services-full .service-item:nth-child(even) .service-text { order: -1; }

/* ===========================
   Values Grid
=========================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    opacity: 0.3;
    margin-bottom: 8px;
}

.value-card h4 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   Team Section
=========================== */
.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.team-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.team-bullet {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 6px;
}

.team-item p {
    font-size: 0.92rem;
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   Portfolio / Our Work
=========================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: var(--navy);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,27,62,0.85) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===========================
   Contact Section
=========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.contact-detail h4 {
    color: var(--navy);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    color: var(--text);
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,147,12,0.12);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===========================
   About Page
=========================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-intro-text .section-divider { margin-bottom: 24px; }

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: var(--white);
    border-radius: 8px;
    padding: 36px 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
}

.vm-card .vm-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.vm-card h3 {
    color: var(--navy);
    margin-bottom: 16px;
}

.vm-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    margin: 0;
}

/* ===========================
   CTA Banner
=========================== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Clients / Commitment
=========================== */
.client-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.client-type-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.client-type-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.client-bullet {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 6px;
}

.client-type-item p { font-size: 0.9rem; color: var(--text); margin: 0; }

/* ===========================
   Footer
=========================== */
#site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-brand .logo-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-brand .logo-sub {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.6);
}

.footer-tagline {
    font-style: italic;
    color: var(--gold) !important;
    font-weight: 500;
    font-size: 0.85rem !important;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    margin-top: 8px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-icon {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-item p,
.footer-contact-item a {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.6;
}

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

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom a {
    color: var(--gold);
    font-size: 0.82rem;
}

/* ===========================
   Page Banner (inner pages)
=========================== */
.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 130px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner .breadcrumb {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-banner .breadcrumb a { color: var(--gold); }

.page-banner h1 { color: var(--white); margin-bottom: 12px; }

.page-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gold accent line under banner */
.banner-gold-line {
    height: 5px;
    background: var(--gold);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .vision-mission-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .services-full .service-item { grid-template-columns: 1fr; gap: 30px; }
    .services-full .service-item:nth-child(even) .service-text { order: 0; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }

    #primary-nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--navy);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 16px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    #primary-nav.open { display: block; }

    #primary-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 24px;
    }

    #primary-nav ul li a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    #primary-nav ul li:last-child a { border-bottom: none; }

    .nav-toggle { display: flex; }

    .hero { min-height: auto; padding: 120px 0 70px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-stats { gap: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-list { grid-template-columns: 1fr; }
    .client-types { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
}

/* ===========================
   WordPress Core Styles
=========================== */
.wp-block-image { margin: 0; }
.aligncenter { display: block; margin: 0 auto; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--gold);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.9rem;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── News & Updates ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.news-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.news-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(13,27,62,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(13,27,62,0.13);
}
.news-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-card-date { font-size: 0.78rem; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 8px; display: block; }
.news-card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0 0 10px; line-height: 1.4; }
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--gold); }
.news-card-excerpt { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.news-read-more { font-size: 0.85rem; font-weight: 700; color: var(--gold); text-decoration: none; letter-spacing: 0.3px; }
.news-read-more:hover { text-decoration: underline; }
.news-pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.news-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; border: 1px solid #ddd; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: background 0.2s, color 0.2s; }
.news-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-pagination .page-numbers:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.news-pagination .page-numbers.dots { border: none; width: auto; }
.btn-navy { background: var(--navy); color: #fff; padding: 12px 32px; border-radius: 4px; text-decoration: none; font-weight: 700; display: inline-block; transition: background 0.2s; }
.btn-navy:hover { background: var(--navy-light); }
