/*
Theme Name: Zahra Soft
Author: Zahra Soft
Description: Corporate WordPress theme for web development, software and SEO services. Includes editable starter pages and project enquiry tools.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: zahra-soft
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
    --navy: #0b1428;
    --deep: #101e37;
    --blue: #1746b8;
    --orange: #ff771b;
    --ink: #15223c;
    --slate: #475770;
    --muted: #c2cde2;
    --paper: #f4f7fb;
    --border: #d8e1ef;
    --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); font: 1rem/1.65 Inter, system-ui, sans-serif; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #e45d05; outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1220px); margin-inline: auto; }
.site-header, .site-footer { background: var(--navy); color: var(--white); }
.header-row { min-height: 85px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand, .custom-logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img, .custom-logo { max-width: 220px; }
.site-nav ul { display: flex; align-items: center; gap: 12px 25px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.site-nav a, .site-footer a { color: inherit; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover, .current-menu-item > a { color: var(--orange); }
.hero, .page-head { color: var(--white); background: linear-gradient(118deg, var(--navy), #122548); }
.hero { padding-block: clamp(56px, 8vw, 112px); }
.hero-grid, .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-image { width: 100%; height: auto; border-radius: 16px; border: 1px solid #354766; }
.page-head { padding-block: 52px 65px; }
.page-head h1 { max-width: 22ch; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--muted); }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.12; margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.8rem); }
h1 em { color: #adc2ff; font-style: normal; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.05rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.15em; }
.kicker { color: #aa4108; font-size: .75rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 1.1rem; }
.hero .kicker, .page-head .kicker { color: #ffa164; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 48ch; }
.actions { display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .66rem 1.05rem; border: 1px solid transparent; border-radius: 6px; background: var(--orange); color: var(--navy); cursor: pointer; font: inherit; font-weight: 750; text-decoration: none; }
.button:hover { background: #ff9952; text-decoration: none; }
.button-small { padding: .45rem .8rem; font-size: .88rem; }
.button-outline { background: var(--white); border-color: var(--border); color: var(--blue); }
.button-outline:hover { background: #eaf0fc; }
.secondary-link { color: var(--white); }
.text-link, .secondary-link { font-weight: 750; }
.section { padding-block: clamp(38px, 6vw, 86px); }
.light { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.card { min-width: 0; padding: 24px; border-radius: 12px; border: 1px solid var(--border); border-top: 3px solid var(--blue); background: var(--white); overflow-wrap: anywhere; }
.card h2 { font-size: 1.4rem; }
.card h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.card img { margin-bottom: 16px; border-radius: 6px; }
.card p, .split p { color: var(--slate); }
.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.service-list li { border-bottom: 1px solid var(--border); }
.service-list a { display: block; padding: .72em 0; font-weight: 700; text-decoration: none; }
.service-list a:hover { text-decoration: underline; }
.prose { max-width: 940px; overflow-wrap: anywhere; }
.prose > :is(h2,h3):not(:first-child) { margin-top: 1.35em; }
.prose li { margin-bottom: .4em; }
.prose li h2 { font-size: 1.55rem; }
.prose details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.prose summary { cursor: pointer; font-weight: 750; }
.prose details p { margin: .7rem 0 0; }
.prose figure { max-width: 100%; }
.prose iframe { max-width: 100%; }
.prose pre { overflow-x: auto; }
.prose blockquote { border-inline-start: 3px solid var(--orange); margin-inline: 0; padding-inline-start: 18px; }
.cta { background: #eaf0fd; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 37px; }
.cta-row h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.cta-row p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; padding-block: 42px; }
.footer-grid nav { display: grid; align-content: start; gap: .4em; }
.footer-grid p { color: var(--muted); margin-top: .45rem; }
.footer-brand { font-size: 1.4rem; font-weight: 800; }
.footer-bottom { border-top: 1px solid #354766; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; padding-block: 18px; font-size: .88rem; }
.enquiry { margin-top: 20px; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: clamp(16px, 4vw, 28px); }
.enquiry label { display: block; font-weight: 750; margin-bottom: 6px; }
input:not([type=checkbox], [type=radio]), select, textarea { max-width: 100%; background: var(--white); color: var(--ink); border: 1px solid #9baac0; border-radius: 6px; padding: .65em; font: inherit; }
.enquiry select, .enquiry textarea { display: block; width: 100%; margin-bottom: 15px; }
textarea { resize: vertical; }
.brief-result, .direct-contact { margin-top: 18px; }
.direct-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.brief-status:empty { display: none; }
.brief-status { margin: .75rem 0 0; }
.pagination, .post-navigation, .comments { margin-top: 28px; }
.screen-reader-text { clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.skip-link:focus { clip-path: none; width: auto; height: auto; z-index: 10; left: 10px; top: 10px; padding: .5em; background: var(--white); }
.alignleft { float: left; margin-inline-end: 1rem; }
.alignright { float: right; margin-inline-start: 1rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
@media (max-width: 850px) {
    .header-row { flex-wrap: wrap; gap: 12px; padding-block: 16px; }
    .site-nav { order: 3; width: 100%; }
    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-image { max-width: 600px; }
    .cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .wrap { width: calc(100% - 32px); }
    .brand img, .custom-logo { max-width: 155px; }
    .site-nav ul { column-gap: 15px; }
    .cta-row { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
