/*
Theme Name: Nasim — Akiela Malik
Theme URI: http://localhost/nhportfolio/
Description: Child theme of Nasim for Akiela Malik. Sienna/brass/espresso palette, display typography, parallax hero, contact top bar, split page headers and reveal-on-hover project cards.
Author: Akiela Malik
Template: nasim
Version: 3.0.0
Text Domain: nasim-akiela
*/

/* =====================================================================
   PALETTE — read off Akiela's photographs: the vivid orange blouse,
   brass wall sconces, brown leather, deep palm green, cream wall.
   ===================================================================== */
:root {
    --ak-bg:        #FBF6EF;
    --ak-surface:   #FFFFFF;
    --ak-sand:      #F5EADC;
    --ak-sand-2:    #EBD9C0;
    --ak-line:      #E4D2B8;
    --ak-line-soft: #F0E4D2;

    --ak-espresso:  #1B120C;
    --ak-deep:      #2A1D16;
    --ak-text:      #1B120C;
    --ak-muted:     #574739;
    --ak-faint:     #8A7765;

    --ak-sienna:    #C2470F;
    --ak-sienna-dk: #99350A;
    --ak-brass:     #C08A2E;
    --ak-palm:      #2F4A3C;

    --ak-grad:      linear-gradient(115deg, #C2470F 0%, #D4691C 45%, #C08A2E 100%);

    --ak-shadow:    0 1px 2px rgba(27,18,12,.05), 0 10px 30px rgba(27,18,12,.08);
    --ak-shadow-lg: 0 2px 8px rgba(27,18,12,.07), 0 30px 64px rgba(27,18,12,.18);
    --ak-ease:      cubic-bezier(.2,.7,.3,1);

    --ak-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --ak-sans:    'Inter', 'Poppins', -apple-system, 'Segoe UI', sans-serif;
}

/* =====================================================================
   TYPE
   ===================================================================== */
body,
body p, body li, body td, body input, body textarea, body select, body button {
    font-family: var(--ak-sans);
}
body {
    background-color: var(--ak-bg);
    color: var(--ak-muted);
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.main-title h2, .breadcrumb-header .title-header h1 {
    font-family: var(--ak-display);
    color: var(--ak-text);
    font-weight: 700;
    letter-spacing: -.015em;
    text-transform: none;
}
p { color: var(--ak-muted); }
strong, b { color: var(--ak-text); font-weight: 600; }
a { color: var(--ak-sienna); text-decoration: none; transition: color .25s var(--ak-ease); }
a:hover, a:focus { color: var(--ak-sienna-dk); }
::selection { background: var(--ak-sienna); color: #fff; }

.loading { background: var(--ak-bg); }
.sk-cube:before { background-color: var(--ak-sienna) !important; }

.ak-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ak-sienna);
    margin-bottom: 12px;
}

/* =====================================================================
   TOP BAR — email, WhatsApp and socials above the nav
   ===================================================================== */
.ak-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1002;
    background: var(--ak-espresso);
    color: rgba(248,240,228,.72);
    font-size: 13px;
    line-height: 1;
    padding: 10px 0;
    transition: transform .35s var(--ak-ease), opacity .35s var(--ak-ease);
}
.ak-topbar.ak-topbar-hidden { transform: translateY(-100%); opacity: 0; }
.ak-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ak-topbar-note {
    margin: 0;
    color: rgba(248,240,228,.66);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ak-topbar-note i { color: var(--ak-brass); margin-right: 8px; }
.ak-topbar-links { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.ak-topbar-links a {
    color: rgba(248,240,228,.82);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ak-topbar-links a:hover { color: var(--ak-brass); }
.ak-topbar-links i { color: var(--ak-brass); font-size: 14px; }
.ak-topbar-links .ak-social a {
    width: 28px; height: 28px;
    border: 1px solid rgba(248,240,228,.22);
    border-radius: 50%;
    justify-content: center;
    transition: all .28s var(--ak-ease);
}
.ak-topbar-links .ak-social a:hover { background: var(--ak-brass); border-color: var(--ak-brass); }
.ak-topbar-links .ak-social a:hover i { color: var(--ak-espresso); }

@media (max-width: 767px) {
    .ak-topbar { font-size: 12px; padding: 8px 0; }
    .ak-topbar-note { display: none; }
    .ak-topbar .container { justify-content: center; }
    .ak-topbar-links { gap: 16px; }
    .ak-topbar-links a span { display: none; }
    .ak-topbar-links i { font-size: 15px; }
}

/* =====================================================================
   NAVBAR — sits under the top bar and slides up with it
   ===================================================================== */
.navbar {
    top: 39px;
    background: rgba(251, 246, 239, .88);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(228, 210, 184, .7);
    padding: 15px 0;
    transition: top .35s var(--ak-ease), background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.navbar.ak-stuck {
    top: 0;
    background: rgba(251, 246, 239, .98);
    box-shadow: 0 6px 26px rgba(27,18,12,.10);
    padding: 10px 0;
}
@media (max-width: 767px) { .navbar { top: 33px; } }

.navbar .navbar-brand {
    font-family: var(--ak-display);
    color: var(--ak-text) !important;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -.02em;
}
.navbar .navbar-brand .brand-after { background: var(--ak-sienna); }
.navbar-nav > li > a {
    color: var(--ak-text) !important;
    font-family: var(--ak-sans);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
}
.navbar-nav > li > a:after {
    content: '';
    position: absolute;
    left: 15px; right: 15px; bottom: 2px;
    height: 2px;
    background: var(--ak-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .32s var(--ak-ease);
}
.navbar-nav > li > a:hover:after,
.navbar-nav > li.current-menu-item > a:after,
.navbar-nav > li.current_page_item > a:after { transform: scaleX(1); }
.navbar-nav > li > a:hover,
.navbar-nav > li.current-menu-item > a { color: var(--ak-sienna) !important; }
.navbar-nav .sub-menu, .navbar-nav .dropdown-menu {
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    box-shadow: var(--ak-shadow);
}
.menu-toggle .bar { background: var(--ak-text); }

/* =====================================================================
   BUTTONS — gradient fill, plus a ghost variant for secondary actions
   ===================================================================== */
.main-btn, input[type="submit"], .wpcf7-submit,
.elementor-button, .elementor-button-link {
    position: relative;
    display: inline-block;
    background: var(--ak-grad) !important;
    background-size: 200% 100% !important;
    border: 0 !important;
    color: #fff !important;
    font-family: var(--ak-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 16px 36px;
    box-shadow: 0 8px 22px rgba(194,71,15,.24);
    transition: background-position .5s var(--ak-ease), box-shadow .3s ease, transform .3s var(--ak-ease);
}
.main-btn:hover, input[type="submit"]:hover, .wpcf7-submit:hover,
.elementor-button:hover, .elementor-button-link:hover {
    background-position: 100% 0 !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(194,71,15,.32);
}
.main-btn.ak-ghost {
    background: transparent !important;
    border: 1px solid var(--ak-text) !important;
    color: var(--ak-text) !important;
    box-shadow: none;
    margin-left: 12px;
}
.main-btn.ak-ghost:hover {
    background: var(--ak-text) !important;
    color: var(--ak-bg) !important;
    box-shadow: 0 14px 30px rgba(27,18,12,.22);
}
@media (max-width: 575px) {
    .main-btn { padding: 14px 24px; font-size: 12px; }
    .main-btn.ak-ghost { margin-left: 0; margin-top: 12px; }
}

/* =====================================================================
   HERO — the banner is pinned, so every band below scrolls over it.
   NB: WordPress also puts .home on <body>, so this is scoped to the
   section element throughout.
   ===================================================================== */
section.home {
    height: 84vh !important;
    min-height: 540px;
    max-height: 900px;
    background-attachment: fixed !important;
    background-position: right center !important;
    background-size: cover !important;
    position: relative;
    z-index: 0;
}
section.home .display-table { height: 100%; }
section.home .display-table-cell { height: 84vh !important; max-height: 900px; }
section.home > .elementor-container { min-height: 0 !important; justify-content: flex-start; }

/* A far lighter scrim than before — the photograph carries the frame, with
   just enough lift on the left for the headline to sit cleanly. */
section.home > .elementor-background-overlay {
    background-color: transparent !important;
    background-image: linear-gradient(102deg,
        rgba(251,246,239,.93) 0%,
        rgba(251,246,239,.84) 26%,
        rgba(251,246,239,.40) 46%,
        rgba(251,246,239,.05) 62%,
        rgba(251,246,239,0)   100%) !important;
    opacity: 1 !important;
}
/* warm floor so the plate never reads as flat white */
section.home:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(120% 90% at 6% 84%, rgba(194,71,15,.20) 0%, rgba(194,71,15,0) 58%),
        radial-gradient(90% 80% at 0% 0%,   rgba(192,138,46,.16) 0%, rgba(192,138,46,0) 60%);
}
section.home:after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    z-index: 2;
    background: var(--ak-grad);
}
section.home > .elementor-container,
section.home .container { position: relative; z-index: 3; }

section.home .intro { max-width: 690px; }
section.home .intro h1 {
    color: var(--ak-text);
    font-family: var(--ak-display);
    font-size: 64px;
    line-height: 1.04;
    margin: 0 0 18px;
    letter-spacing: -.032em;
}
section.home .intro h1 em {
    font-style: normal;
    background: var(--ak-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
section.home .intro .ak-hero-roles {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ak-sienna);
    margin: 0 0 18px;
}
section.home .intro .ak-hero-roles span + span:before {
    content: '/';
    color: var(--ak-line);
    padding: 0 12px;
}
section.home .intro .ak-hero-sub {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ak-muted);
    max-width: 530px;
    margin: 0 0 32px;
}
section.home .my-btn { display: flex; flex-wrap: wrap; align-items: center; }

section.home .ak-scroll {
    position: absolute;
    left: 3px; bottom: 34px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .32em;
    color: var(--ak-faint);
    text-transform: uppercase;
}
section.home .ak-scroll:before {
    content: '';
    width: 34px; height: 1px;
    background: var(--ak-brass);
    animation: ak-cue 2.2s ease-in-out infinite;
}
@keyframes ak-cue { 0%,100% { transform: translateX(0); opacity: .4; } 50% { transform: translateX(10px); opacity: 1; } }

@media (max-width: 991px) {
    section.home {
        height: 88vh !important;
        max-height: none;
        background-attachment: scroll !important;   /* fixed backgrounds stutter on mobile */
        background-position: 62% bottom !important;
        background-size: auto 70% !important;
    }
    section.home .display-table-cell { height: 88vh !important; max-height: none; vertical-align: top; }
    section.home > .elementor-background-overlay {
        background-image: linear-gradient(180deg,
            rgba(251,246,239,1)   0%,
            rgba(251,246,239,.97) 28%,
            rgba(251,246,239,.42) 48%,
            rgba(251,246,239,0)   74%) !important;
    }
    section.home .intro { max-width: 100%; padding-top: 116px; }
    section.home .intro h1 { font-size: 38px; }
    section.home .intro .ak-hero-sub { font-size: 15px; margin-bottom: 24px; }
    section.home .ak-scroll { display: none; }
}

/* =====================================================================
   VERTICAL RHYTHM — every band paints its own ground so it scrolls over
   the pinned hero cleanly
   ===================================================================== */
.about-me, .skills, .services, .resume,
.portfolio, .facts, .testimonials, .blog, .contact {
    padding-top: 84px;
    padding-bottom: 16px;
    position: relative;
    z-index: 1;
}
.about-me   { background: var(--ak-bg); }
.services   { background: var(--ak-sand); border-top: 1px solid var(--ak-line); border-bottom: 1px solid var(--ak-line); }
.portfolio  { background: var(--ak-bg); }
.contact    { background: var(--ak-bg); }
.footer     { background: var(--ak-sand); border-top: 1px solid var(--ak-line); padding: 48px 0 38px; position: relative; z-index: 1; }
.pt-90 { padding-top: 48px; }
.main-title { margin-bottom: 42px; }
.wrapper.custom-wrapper { padding-bottom: 0; background: var(--ak-bg); position: relative; z-index: 1; }
.elementor-section.elementor-section-boxed > .elementor-container { padding: 0; }

@media (max-width: 991px) {
    .about-me, .skills, .services, .resume,
    .portfolio, .facts, .testimonials, .blog, .contact { padding-top: 56px; }
    .main-title { margin-bottom: 30px; }
    body { font-size: 15px; }
}

/* =====================================================================
   SECTION TITLES
   ===================================================================== */
.main-title h2 {
    color: var(--ak-text);
    font-size: 38px;
    letter-spacing: -.028em;
    transition: letter-spacing .4s var(--ak-ease);
}
.main-title:hover h2 { letter-spacing: -.018em; }
.main-title h2:before { background: var(--ak-line) !important; }
.main-title h2:after  { background: var(--ak-grad) !important; height: 6px !important; border-radius: 3px; }
.main-title span {
    font-family: var(--ak-sans);
    color: var(--ak-brass);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
}
@media (max-width: 767px) { .main-title h2 { font-size: 28px; } }

/* =====================================================================
   PAGE HEADER — title left, breadcrumb right, over a banner
   ===================================================================== */
.breadcrumb-header {
    position: relative;
    padding: 178px 0 62px;
    background-color: var(--ak-espresso);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-bottom: 0;
    overflow: hidden;
    text-align: left;
}
.breadcrumb-header:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(27,18,12,.90) 0%, rgba(27,18,12,.70) 48%, rgba(90,45,16,.52) 100%);
}
.breadcrumb-header:after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--ak-grad);
}
/* The parent's markup leaves whitespace between the title and the crumbs, and
   the theme's white-space rule turns those runs into real flex items. Auto
   margins pin the two blocks to the edges regardless of how many phantom
   items the flex line ends up with. */
.breadcrumb-header .container {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    flex-wrap: wrap;
    white-space: normal;
}
.breadcrumb-header .container > * { flex: 0 0 auto; }
.breadcrumb-header .title-header {
    text-align: left;
    float: none;
    margin: 0 auto 0 0 !important;
}
.breadcrumb-header ul.list-unstyled { margin: 0 0 0 auto !important; }
.breadcrumb-header .title-header h1 {
    color: #FBF6EF;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -.032em;
    margin: 0;
}
.breadcrumb-header .title-header h1:after {
    content: '';
    display: block;
    width: 64px; height: 4px;
    border-radius: 2px;
    background: var(--ak-grad);
    margin-top: 18px;
}
.breadcrumb-header ul {
    margin: 0;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(248,240,228,.07);
    border: 1px solid rgba(248,240,228,.16);
    border-radius: 3px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.breadcrumb-header ul li {
    color: rgba(248,240,228,.68);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
.breadcrumb-header ul li a { color: var(--ak-brass); }
.breadcrumb-header ul li a:hover { color: #FBF6EF; }
.breadcrumb-header ul li:after { color: rgba(248,240,228,.35) !important; }

@media (max-width: 767px) {
    .breadcrumb-header { padding: 126px 0 40px; background-attachment: scroll; }
    .breadcrumb-header .container { align-items: flex-start; }
    .breadcrumb-header .title-header h1 { font-size: 32px; }
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-me .about-image { position: relative; }
.about-me .about-image img {
    position: relative;
    z-index: 1;
    border-radius: 3px;
    box-shadow: var(--ak-shadow-lg);
    transition: transform .6s var(--ak-ease);
}
.about-me .about-image:hover img { transform: translateY(-6px); }
.about-me .about-image:before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 24px; right: -24px; bottom: -24px; left: 24px;
    border: 2px solid var(--ak-brass);
    border-radius: 3px;
    transition: all .6s var(--ak-ease);
}
.about-me .about-image:hover:before { top: 16px; right: -16px; bottom: -16px; left: 16px; }
.about-info h3 {
    font-family: var(--ak-display);
    color: var(--ak-text);
    font-size: 26px;
    line-height: 1.42;
    margin: 0 0 18px;
    letter-spacing: -.022em;
}
.about-info p { margin-bottom: 15px; }
.personal-info {
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-left: 4px solid var(--ak-sienna);
    border-radius: 3px;
    padding: 24px 26px 10px;
    margin-top: 28px;
    box-shadow: var(--ak-shadow);
}
.personal-info p {
    color: var(--ak-faint);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1.5;
}
.personal-info p span {
    display: block;
    color: var(--ak-text);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    margin-top: 2px;
}
.personal-info .info-bg { display: none; }

/* =====================================================================
   VALUE CARDS
   ===================================================================== */
.service {
    position: relative;
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 3px;
    padding: 36px 28px 32px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: box-shadow .4s var(--ak-ease), transform .4s var(--ak-ease), border-color .4s ease;
}
.service:before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 4px;
    background: var(--ak-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ak-ease);
}
.service:after {
    content: '';
    position: absolute;
    right: -60px; bottom: -60px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: var(--ak-grad);
    opacity: 0;
    transform: scale(.4);
    transition: opacity .5s ease, transform .6s var(--ak-ease);
}
.service:hover { box-shadow: var(--ak-shadow-lg); transform: translateY(-8px); border-color: var(--ak-sand-2); }
.service:hover:before { transform: scaleX(1); }
.service:hover:after { opacity: .09; transform: scale(1); }
.service .service-icon i {
    color: var(--ak-sienna);
    transition: transform .45s var(--ak-ease), color .3s ease;
}
.service:hover .service-icon i { transform: scale(1.2) rotate(-8deg); color: var(--ak-brass); }
.service h4 {
    font-family: var(--ak-display);
    color: var(--ak-text);
    font-size: 20px;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}
.service p { font-size: 14.5px; line-height: 1.7; margin-bottom: 0; position: relative; z-index: 1; }

/* =====================================================================
   IMPACT COUNTERS — the dark band
   ===================================================================== */
.facts {
    background: var(--ak-espresso) !important;
    border: 0;
    padding-top: 72px;
    padding-bottom: 52px;
    position: relative;
    overflow: hidden;
}
.facts:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 120% at 85% 10%, rgba(194,71,15,.26) 0%, rgba(194,71,15,0) 60%);
}
.facts .container { position: relative; z-index: 1; }
.facts .main-title h2 { color: #F8F0E4; }
.facts .main-title h2:before { background: rgba(248,240,228,.24) !important; }
.fact-item { background: transparent; padding: 10px 0 26px; transition: transform .4s var(--ak-ease); }
.fact-item:hover { transform: translateY(-6px); }
.fact-item .fact-number {
    font-family: var(--ak-display);
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -.035em;
    color: var(--ak-brass);
}
.fact-item h4 {
    color: rgba(248,240,228,.70);
    font-family: var(--ak-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-top: 8px;
}

/* =====================================================================
   GALLERY TILES (nasim-portfolio widget)
   ===================================================================== */
.portfolio-content .item {
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    transition: box-shadow .45s var(--ak-ease), transform .45s var(--ak-ease);
}
.portfolio-content .item img { transition: transform .8s var(--ak-ease); }
.portfolio-content .item:hover { box-shadow: var(--ak-shadow-lg); transform: translateY(-6px); }
.portfolio-content .item:hover img { transform: scale(1.08); }
.portfolio-content .item .overlay { background: linear-gradient(180deg, rgba(27,18,12,.25), rgba(27,18,12,.78)); }
.portfolio-content .item .overlay .item-title h4 { font-family: var(--ak-display); color: #fff; font-size: 21px; }
.portfolio-content .item .overlay .icon-img i { color: var(--ak-brass); }

/* =====================================================================
   SCROLL REVEAL — only armed once JS has flagged the document
   ===================================================================== */
.ak-js .ak-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ak-ease), transform .7s var(--ak-ease);
    will-change: opacity, transform;
}
.ak-js .ak-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ak-js .ak-reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   PROJECT CARDS — reveal on hover
   ===================================================================== */
.ak-projects-bg {
    position: relative;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
}
.ak-proj-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.ak-proj-item { width: 50%; padding: 0 15px; margin-bottom: 36px; }
.ak-proj-item.is-hidden { display: none; }
@media (max-width: 767px) { .ak-proj-item { width: 100%; } }

.ak-proj {
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .45s var(--ak-ease), transform .45s var(--ak-ease), border-color .45s ease;
}
.ak-proj:hover { box-shadow: var(--ak-shadow-lg); transform: translateY(-8px); border-color: var(--ak-sand-2); }

.ak-proj-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ak-espresso);
}
.ak-proj-media img { width: 100%; display: block; transition: transform .9s var(--ak-ease); }
.ak-proj:hover .ak-proj-media img { transform: scale(1.08); }

.ak-proj-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(180deg, rgba(27,18,12,.30) 0%, rgba(27,18,12,.82) 100%);
    opacity: 0;
    transition: opacity .45s ease;
}
.ak-proj:hover .ak-proj-overlay { opacity: 1; }
.ak-proj-icon {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--ak-grad);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    transform: translateY(18px) scale(.7);
    opacity: 0;
    transition: all .5s var(--ak-ease) .05s;
    box-shadow: 0 12px 30px rgba(194,71,15,.4);
}
.ak-proj:hover .ak-proj-icon { transform: translateY(0) scale(1); opacity: 1; }
.ak-proj-reveal {
    color: #F8F0E4;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    transform: translateY(16px);
    opacity: 0;
    transition: all .5s var(--ak-ease) .14s;
}
.ak-proj:hover .ak-proj-reveal { transform: translateY(0); opacity: 1; }

.ak-proj-year {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    background: rgba(27,18,12,.72);
    color: var(--ak-brass);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    padding: 6px 12px;
    border-radius: 2px;
}
.ak-proj-body { padding: 26px 26px 28px; }
.ak-proj-body h3 {
    font-family: var(--ak-display);
    font-size: 26px;
    letter-spacing: -.026em;
    margin: 0 0 10px;
}
.ak-proj-body h3 a { color: var(--ak-text); }
.ak-proj:hover .ak-proj-body h3 a { color: var(--ak-sienna); }
.ak-proj-body p { font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.ak-proj-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ak-sienna);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.ak-proj-cta i { transition: transform .4s var(--ak-ease); }
.ak-proj:hover .ak-proj-cta i { transform: translateX(7px); }

/* filter chips */
.ak-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 42px; }
.ak-filter a {
    display: inline-block;
    padding: 9px 22px;
    border: 1px solid var(--ak-line);
    border-radius: 40px;
    background: var(--ak-surface);
    color: var(--ak-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: all .3s var(--ak-ease);
}
.ak-filter a:hover { border-color: var(--ak-sienna); color: var(--ak-sienna); transform: translateY(-2px); }
.ak-filter a.is-active {
    background: var(--ak-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(194,71,15,.24);
}

/* =====================================================================
   ART GALLERY
   ===================================================================== */
.ak-art-grid .elementor-column { margin-bottom: 30px; }
.ak-art-piece figure.elementor-image-box-img {
    width: 100% !important;
    margin: 0 0 16px !important;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid var(--ak-line);
    position: relative;
}
.ak-art-piece figure.elementor-image-box-img img {
    width: 100%; display: block;
    transition: transform .9s var(--ak-ease);
}
.ak-art-piece:hover figure.elementor-image-box-img img { transform: scale(1.07) rotate(-.8deg); }
.ak-art-piece .elementor-image-box-content { text-align: left; }
.ak-art-piece .elementor-image-box-title {
    font-family: var(--ak-display);
    font-size: 19px;
    text-transform: none;
    margin-bottom: 2px;
    transition: color .3s ease;
}
.ak-art-piece:hover .elementor-image-box-title { color: var(--ak-sienna); }
.ak-art-piece .elementor-image-box-description {
    text-transform: none;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--ak-faint);
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact .contact-form,
.comment-respond .comment-form,
.blog .comments .comment-respond .comment-form {
    background-image: none !important;
    background-color: transparent !important;
}
.contact-box {
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 3px;
    padding: 30px 26px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow .4s var(--ak-ease), transform .4s var(--ak-ease);
}
.contact-box:before {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 4px; width: 100%;
    background: var(--ak-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ak-ease);
}
.contact-box:hover { box-shadow: var(--ak-shadow-lg); transform: translateY(-6px); }
.contact-box:hover:before { transform: scaleX(1); }
.contact-box .icon-box i { color: var(--ak-sienna); transition: transform .4s var(--ak-ease); }
.contact-box:hover .icon-box i { transform: scale(1.16); }
.contact-box .name-box h4 { font-family: var(--ak-display); color: var(--ak-text); font-size: 19px; }
.contact-box .content-box p { margin-bottom: 0; font-size: 15px; }
.contact-box .number-box span { color: var(--ak-line); }

.form-control, input[type="text"], input[type="email"], textarea {
    background: var(--ak-surface) !important;
    border: 1px solid var(--ak-line) !important;
    color: var(--ak-text) !important;
    font-family: var(--ak-sans) !important;
    font-size: 15px !important;
    border-radius: 3px;
    box-shadow: none !important;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.form-control:focus, input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: var(--ak-sienna) !important;
    box-shadow: 0 0 0 3px rgba(194,71,15,.10) !important;
}
::-webkit-input-placeholder { color: var(--ak-faint) !important; }
::placeholder { color: var(--ak-faint) !important; }
.wpcf7 form .wpcf7-response-output { border-color: var(--ak-brass); color: var(--ak-text); border-radius: 3px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer .logo { font-family: var(--ak-display); color: var(--ak-text); font-size: 28px; font-weight: 700; }
.footer .logo span { background: var(--ak-sienna); }
.footer-social-icons li a {
    color: var(--ak-muted);
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    transition: all .32s var(--ak-ease);
}
.footer-social-icons li a:hover {
    color: #fff;
    background: var(--ak-sienna);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(194,71,15,.28);
}
.footer .copyright p { color: var(--ak-faint); font-size: 13px; }

.scroll-top {
    background: var(--ak-sienna);
    color: #fff;
    border: 0;
    box-shadow: 0 10px 26px rgba(194,71,15,.3);
    transition: transform .3s var(--ak-ease), background .3s ease;
}
.scroll-top:hover { color: #fff; background: var(--ak-sienna-dk); transform: translateY(-4px); }

/* =====================================================================
   FLOATING WHATSAPP
   ===================================================================== */
.ak-wa-float {
    position: fixed;
    right: 26px; bottom: 96px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 56px;
    padding: 0 17px;
    border-radius: 32px;
    background: #25D366;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(37,211,102,.36);
    transition: gap .35s var(--ak-ease), transform .3s var(--ak-ease), box-shadow .3s ease;
}
.ak-wa-float i { font-size: 26px; }
.ak-wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ak-ease); }
.ak-wa-float:hover { gap: 10px; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37,211,102,.46); }
.ak-wa-float:hover span { max-width: 90px; }
@media (max-width: 767px) { .ak-wa-float { right: 16px; bottom: 82px; height: 50px; padding: 0 14px; } }

/* =====================================================================
   AKIELA BITS
   ===================================================================== */
.navbar-nav li.ak-donate > a {
    color: #fff !important;
    background: var(--ak-grad);
    background-size: 200% 100%;
    border-radius: 3px;
    padding: 10px 22px !important;
    margin-left: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(194,71,15,.26);
    transition: background-position .5s var(--ak-ease), transform .3s var(--ak-ease);
}
.navbar-nav li.ak-donate > a:after { display: none; }
.navbar-nav li.ak-donate > a:hover { background-position: 100% 0; color: #fff !important; transform: translateY(-2px); }
@media (max-width: 991px) { .navbar-nav li.ak-donate > a { display: inline-block; margin: 10px 0 0; } }

.ak-lead { font-size: 17px; line-height: 1.85; max-width: 780px; margin: 0 auto 14px; color: var(--ak-muted); }
.ak-note { font-size: 13.5px; color: var(--ak-faint); font-style: italic; }
.ak-sub  { font-family: var(--ak-display); color: var(--ak-text); font-size: 27px; margin: 0 0 16px; letter-spacing: -.022em; }

blockquote.ak-pull {
    font-family: var(--ak-display);
    border: 0;
    font-size: 32px;
    line-height: 1.4;
    font-style: normal;
    font-weight: 600;
    color: var(--ak-text);
    letter-spacing: -.028em;
    max-width: 860px;
    margin: 0 auto 24px;
    padding: 0;
    text-align: center;
}
blockquote.ak-pull:before {
    content: '';
    display: block;
    width: 56px; height: 4px;
    border-radius: 2px;
    background: var(--ak-grad);
    margin: 0 auto 26px;
}
.ak-quote { background: var(--ak-sand); border-top: 1px solid var(--ak-line); padding-bottom: 78px !important; }

/* Partner marks — full strength, no fade */
.ak-partners { background: var(--ak-surface); border-top: 1px solid var(--ak-line); padding-bottom: 68px !important; }
.ak-partners-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ak-faint);
    margin-bottom: 28px;
}
ul.ak-logo-strip {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 18px 46px;
}
ul.ak-logo-strip li { padding: 6px 2px; }
ul.ak-logo-strip img { height: 58px; width: auto; opacity: 1; transition: transform .35s var(--ak-ease); }
ul.ak-logo-strip li:hover img { transform: translateY(-4px) scale(1.04); }
@media (max-width: 767px) {
    ul.ak-logo-strip { gap: 14px 24px; }
    ul.ak-logo-strip img { height: 44px; }
}

/* Donation — the closing statement, in espresso */
.ak-donation {
    background: var(--ak-espresso) !important;
    border: 0;
    padding-top: 76px !important;
    padding-bottom: 82px !important;
    position: relative;
    overflow: hidden;
}
.ak-donation:before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(70% 120% at 15% 100%, rgba(192,138,46,.24) 0%, rgba(192,138,46,0) 62%);
}
.ak-donation .container { position: relative; z-index: 1; }
.ak-donation .main-title h2 { color: #F8F0E4; }
.ak-donation .main-title h2:before { background: rgba(248,240,228,.24) !important; }
.ak-donation .main-title span { color: var(--ak-brass); }
.ak-donation p, .ak-donation .ak-lead { color: rgba(248,240,228,.80); }
.ak-donation strong, .ak-donation a { color: var(--ak-brass); }

.personal-info p, .personal-info p span { text-transform: none !important; }

@media (min-width: 992px) {
    .about-me .row > .col-md-5 { float: right; }
    .about-me .row > .col-md-7 { float: left; }
}

/* =====================================================================
   v4 — ColorPress-style section headings, tighter rhythm, hero slider
   ===================================================================== */

/* ---- Portrait: the parent dims every about-image to 55% for its dark
   demo. Akiela's photographs should show their own colour. ------------- */
.about-me .about-image img,
.about-me .about-image img:hover { opacity: 1 !important; }
.about-me .about-image { background: none !important; padding: 0 !important; box-shadow: none !important; }

/* ---- Section headings ------------------------------------------------
   ColorPress lays these out as: small numeral, title with an accented
   closing word, then a line-and-diamond ornament. The theme gives us one
   flat <h2>, so the numeral and the ornament are positioned around it and
   the title itself stays inline. */
.main-title {
    text-align: center;
    margin-bottom: 26px;
}
.main-title h2 {
    display: block;
    position: relative;
    font-size: 36px;
    line-height: 1.14;
    margin: 0;
    padding: 26px 0 26px;
}
.main-title h2:before,
.main-title h2:after { display: none !important; }

/* the numeral becomes an eyebrow above the title */
.main-title h2 > span:not(.holder):not(.ak-accent-word) {
    position: absolute;
    top: 0; left: 50%; right: auto; bottom: auto;
    transform: translateX(-50%);
    display: block;
    font-family: var(--ak-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ak-sienna);
    margin: 0;
    white-space: nowrap;
}
/* the holder becomes the ornament beneath it */
.main-title h2 .holder {
    display: block !important;
    position: absolute;
    left: 50%; bottom: 6px;
    transform: translateX(-50%);
    width: 86px; height: 1px;
    background: var(--ak-line);
    margin: 0;
}
.main-title h2 .holder:before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 8px; height: 8px;
    background: var(--ak-sienna);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform .5s var(--ak-ease);
    z-index: 1;
}
.main-title h2 .holder:after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 32px; height: 1px;
    background: var(--ak-sienna);
    transform: translate(-50%, -50%);
}
.main-title:hover h2 .holder:before { transform: translate(-50%,-50%) rotate(225deg); }

/* the closing word picks up the accent, ColorPress-style.
   The parent absolutely-positions every span inside .main-title, so this
   has to be put back into the text flow explicitly. */
.main-title h2 .ak-accent-word {
    position: static !important;
    display: inline !important;
    color: var(--ak-sienna);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: none;
    right: auto; bottom: auto; top: auto; left: auto;
    transform: none;
    margin: 0;
    white-space: normal;
}

/* the lead paragraph sits straight under the ornament */
.ak-lead { margin-bottom: 10px; }
.elementor-widget-nasim-main-title { margin-bottom: 0 !important; }
.elementor-widget-nasim-main-title + .elementor-widget-text-editor { margin-top: -4px; }

@media (max-width: 767px) { .main-title h2 { font-size: 27px; } }

/* ---- Tighter rhythm --------------------------------------------------- */
.about-me, .skills, .services, .resume,
.portfolio, .facts, .testimonials, .blog, .contact {
    padding-top: 62px;
    padding-bottom: 10px;
}
.facts       { padding-top: 56px; padding-bottom: 34px; }
.ak-donation { padding-top: 58px !important; padding-bottom: 60px !important; }
.ak-quote    { padding-bottom: 58px !important; }
.ak-partners { padding-bottom: 46px !important; }
.footer      { padding: 38px 0 30px; }
.pt-90       { padding-top: 34px; }
.breadcrumb-header { padding: 158px 0 48px; }
.about-info h3 { font-size: 24px; margin-bottom: 14px; }
.about-info p  { margin-bottom: 12px; }
.personal-info { padding: 20px 22px 6px; margin-top: 22px; }
.personal-info p { margin-bottom: 11px; }
.service       { padding: 28px 24px 26px; margin-bottom: 24px; }
.contact-box   { padding: 24px 22px; margin-bottom: 22px; }
.ak-proj-body  { padding: 22px 24px 24px; }
.ak-proj-item  { margin-bottom: 28px; }
.ak-art-grid .elementor-column { margin-bottom: 24px; }
blockquote.ak-pull { margin-bottom: 18px; font-size: 29px; }
blockquote.ak-pull:before { margin-bottom: 20px; }

@media (max-width: 991px) {
    .about-me, .skills, .services, .resume,
    .portfolio, .facts, .testimonials, .blog, .contact { padding-top: 44px; }
    .breadcrumb-header { padding: 118px 0 34px; }
    .main-title { margin-bottom: 22px; }
}

/* ---- Partner logos: the organisations' own marks ---------------------- */
ul.ak-logo-strip { gap: 14px 52px; }
ul.ak-logo-strip li { padding: 4px 2px; }
ul.ak-logo-strip a { display: block; line-height: 0; }
ul.ak-logo-strip img {
    height: 46px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    opacity: .82;
    transition: opacity .3s ease, transform .35s var(--ak-ease);
}
ul.ak-logo-strip a:hover img { opacity: 1; transform: translateY(-4px); }
ul.ak-logo-strip img.ak-logo-tall { height: 62px; }
@media (max-width: 767px) {
    ul.ak-logo-strip { gap: 12px 28px; }
    ul.ak-logo-strip img { height: 34px; }
    ul.ak-logo-strip img.ak-logo-tall { height: 46px; }
}

/* ---- Hero slider ------------------------------------------------------ */
.ak-slides { position: relative; }
.ak-slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(22px);
    transition: opacity .8s var(--ak-ease), transform .8s var(--ak-ease), visibility 0s .8s;
    pointer-events: none;
}
.ak-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .8s var(--ak-ease), transform .8s var(--ak-ease);
    pointer-events: auto;
}
/* stagger the lines within a slide */
.ak-slide .ak-hero-roles,
.ak-slide h1,
.ak-slide .ak-hero-sub {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s var(--ak-ease), transform .7s var(--ak-ease);
}
.ak-slide.is-active .ak-hero-roles { opacity: 1; transform: none; transition-delay: .10s; }
.ak-slide.is-active h1             { opacity: 1; transform: none; transition-delay: .22s; }
.ak-slide.is-active .ak-hero-sub   { opacity: 1; transform: none; transition-delay: .34s; }

.ak-slide-dots { display: flex; gap: 9px; margin-top: 26px; }
.ak-slide-dots button {
    width: 26px; height: 3px;
    border: 0; padding: 0;
    border-radius: 2px;
    background: var(--ak-line);
    cursor: pointer;
    transition: background .3s ease, width .3s var(--ak-ease);
}
.ak-slide-dots button.is-active { background: var(--ak-sienna); width: 44px; }
@media (prefers-reduced-motion: reduce) {
    .ak-slide, .ak-slide * { transition: none !important; }
}
@media (max-width: 991px) { .ak-slide-dots { margin-top: 18px; } }

/* ---- Chat launcher ---------------------------------------------------- */
.ak-chat-btn {
    background: none; border: 0; padding: 0;
    color: rgba(248,240,228,.82);
    display: inline-flex; align-items: center; gap: 8px;
    font: inherit; cursor: pointer;
}
.ak-chat-btn:hover { color: var(--ak-brass); }
.ak-chat-btn i { color: var(--ak-brass); font-size: 14px; }

.ak-chat-panel {
    position: fixed;
    right: 26px; bottom: 164px;
    z-index: 1003;
    width: 296px;
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 8px;
    box-shadow: var(--ak-shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.98);
    transform-origin: bottom right;
    transition: all .32s var(--ak-ease);
}
.ak-chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.ak-chat-head { background: var(--ak-espresso); color: #F8F0E4; padding: 15px 18px; }
.ak-chat-head strong { display: block; font-family: var(--ak-display); font-size: 17px; color: #F8F0E4; }
.ak-chat-head span { font-size: 12px; color: rgba(248,240,228,.66); }
.ak-chat-body { padding: 14px 16px 16px; }
.ak-chat-body p { font-size: 13.5px; line-height: 1.6; margin: 0 0 12px; }
.ak-chat-opt {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px;
    border: 1px solid var(--ak-line);
    border-radius: 5px;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ak-text);
    transition: all .26s var(--ak-ease);
}
.ak-chat-opt i {
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px; flex: 0 0 auto;
}
.ak-chat-opt.wa i   { background: #25D366; }
.ak-chat-opt.mail i { background: var(--ak-sienna); }
.ak-chat-opt.form i { background: var(--ak-brass); }
.ak-chat-opt:hover { border-color: var(--ak-sienna); transform: translateX(3px); color: var(--ak-sienna); }
@media (max-width: 767px) { .ak-chat-panel { right: 12px; left: 12px; width: auto; bottom: 146px; } }

/* ---- Footer credit ---------------------------------------------------- */
.ak-credit {
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--ak-faint);
    letter-spacing: .04em;
}
.ak-credit a { color: var(--ak-muted); border-bottom: 1px solid var(--ak-line); }
.ak-credit a:hover { color: var(--ak-sienna); border-bottom-color: var(--ak-sienna); }

/* The NHS mark is only supplied as an 88x36 bitmap; render it at its native
   height so it stays crisp next to the vector marks. */
ul.ak-logo-strip img[src$="org-nhs.png"] { height: 34px; }
@media (max-width: 767px) { ul.ak-logo-strip img[src$="org-nhs.png"] { height: 26px; } }

/* =====================================================================
   v5 — numerals out, tighter rhythm, logo carousel, art cards,
        footer transition, legible breadcrumbs
   ===================================================================== */

/* ---- Section headings: drop the 01./02. numerals -------------------- */
.main-title h2 > span:not(.holder):not(.ak-accent-word) { display: none !important; }
.main-title { margin-bottom: 20px; }
.main-title h2 { padding: 0 0 24px; font-size: 34px; }
.main-title h2 .holder { bottom: 2px; }
@media (max-width: 767px) { .main-title h2 { font-size: 26px; padding-bottom: 20px; } }

/* ---- Tighter still --------------------------------------------------- */
.about-me, .skills, .services, .resume,
.portfolio, .facts, .testimonials, .blog, .contact {
    padding-top: 52px;
    padding-bottom: 6px;
}
.facts       { padding-top: 48px; padding-bottom: 28px; }
.ak-donation { padding-top: 48px !important; padding-bottom: 52px !important; }
.ak-quote    { padding-bottom: 48px !important; }
.ak-partners { padding-top: 46px !important; padding-bottom: 40px !important; }
.pt-90       { padding-top: 10px; }
.ak-lead     { margin-bottom: 6px; }
.elementor-widget-nasim-main-title + .elementor-widget-text-editor { margin-top: 0; }

/* the first band on an inner page sits close under the title banner */
.elementor > .elementor-top-section:first-child { padding-top: 40px; }
.wrapper.custom-wrapper { padding-top: 0; }

@media (max-width: 991px) {
    .about-me, .skills, .services, .resume,
    .portfolio, .facts, .testimonials, .blog, .contact { padding-top: 38px; }
    .elementor > .elementor-top-section:first-child { padding-top: 30px; }
    .main-title { margin-bottom: 16px; }
}

/* =====================================================================
   PAGE TITLE BANNER — brighter, tighter, everything legible
   ===================================================================== */
.breadcrumb-header { padding: 148px 0 42px; }
.breadcrumb-header:before {
    background: linear-gradient(95deg, rgba(27,18,12,.93) 0%, rgba(27,18,12,.78) 46%, rgba(120,52,16,.62) 100%);
}
.breadcrumb-header .title-header h1 { font-size: 48px; color: #FDF9F3; }
.breadcrumb-header .title-header h1:after { margin-top: 14px; height: 4px; width: 58px; }

/* the crumb trail: the parent paints the last item espresso, which is
   invisible on this ground — everything here is forced light. */
.breadcrumb-header ul {
    padding: 9px 20px;
    background: rgba(248,240,228,.10);
    border-color: rgba(248,240,228,.20);
}
.breadcrumb-header ul li,
.breadcrumb-header ul li:last-child,
.breadcrumb-header ul li span {
    color: rgba(253,249,243,.86) !important;
    font-size: 12px;
    font-weight: 500;
}
.breadcrumb-header ul li a,
.breadcrumb-header ul li a:hover,
.breadcrumb-header ul li a:focus { color: #E8B15C !important; }
.breadcrumb-header ul li:after { color: rgba(253,249,243,.45) !important; }

@media (max-width: 767px) {
    .breadcrumb-header { padding: 112px 0 30px; }
    .breadcrumb-header .title-header h1 { font-size: 30px; }
}

/* =====================================================================
   PARTNER LOGOS — a card each, on a carousel
   ===================================================================== */
.ak-partners {
    background: var(--ak-sand);
    border-top: 1px solid var(--ak-line);
    border-bottom: 1px solid var(--ak-line);
    position: relative;
    overflow: hidden;
}
.ak-partners:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 120% at 50% 0%, rgba(194,71,15,.06) 0%, rgba(194,71,15,0) 62%);
}
.ak-partners .container { position: relative; z-index: 1; }
.ak-partners-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ak-faint);
    margin-bottom: 6px;
}
.ak-partners-title {
    font-family: var(--ak-display);
    font-size: 27px;
    color: var(--ak-text);
    letter-spacing: -.022em;
    margin: 0 0 26px;
}
.ak-partners-title span { color: var(--ak-sienna); }

.ak-logo-carousel { margin: 0 -10px; }
.ak-logo-card {
    margin: 4px 10px 10px;
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 6px;
    padding: 22px 16px 18px;
    text-align: center;
    transition: box-shadow .4s var(--ak-ease), transform .4s var(--ak-ease), border-color .4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.ak-logo-card:before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 3px; width: 100%;
    background: var(--ak-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ak-ease);
}
.ak-logo-card:hover { box-shadow: var(--ak-shadow); transform: translateY(-6px); border-color: var(--ak-sand-2); }
.ak-logo-card:hover:before { transform: scaleX(1); }
.ak-logo-card a { display: block; }
.ak-logo-figure {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.ak-logo-card img {
    max-height: 56px;
    max-width: 92%;
    width: auto;
    object-fit: contain;
    opacity: .88;
    transition: opacity .3s ease, transform .4s var(--ak-ease);
}
.ak-logo-card:hover img { opacity: 1; transform: scale(1.05); }
.ak-logo-card img[src$="org-nhs.png"] { max-height: 36px; }
.ak-logo-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .04em;
    color: var(--ak-muted);
    transition: color .3s ease;
}
.ak-logo-card:hover .ak-logo-name { color: var(--ak-sienna); }

/* owl chrome, restyled */
.ak-logo-carousel .owl-dots { text-align: center; margin-top: 14px; }
.ak-logo-carousel .owl-dot span {
    width: 22px !important; height: 3px !important;
    border-radius: 2px !important;
    background: var(--ak-line) !important;
    margin: 0 4px !important;
    transition: all .3s var(--ak-ease);
}
.ak-logo-carousel .owl-dot.active span { background: var(--ak-sienna) !important; width: 36px !important; }
.ak-logo-carousel .owl-nav { display: none; }
/* fallback grid before owl initialises, so nothing flashes stacked */
.ak-logo-carousel:not(.owl-loaded) { display: flex; flex-wrap: wrap; justify-content: center; }
.ak-logo-carousel:not(.owl-loaded) .ak-logo-card { width: calc(25% - 20px); }
@media (max-width: 991px) { .ak-logo-carousel:not(.owl-loaded) .ak-logo-card { width: calc(50% - 20px); } }

/* =====================================================================
   ART CARDS — same treatment as the project cards
   ===================================================================== */
.ak-art-row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.ak-art-item { width: 33.3333%; padding: 0 12px; margin-bottom: 24px; }
@media (max-width: 991px) { .ak-art-item { width: 50%; } }
@media (max-width: 575px) { .ak-art-item { width: 100%; } }

.ak-art {
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .45s var(--ak-ease), transform .45s var(--ak-ease), border-color .45s ease;
}
.ak-art:hover { box-shadow: var(--ak-shadow-lg); transform: translateY(-7px); border-color: var(--ak-sand-2); }
.ak-art-media { position: relative; display: block; overflow: hidden; background: var(--ak-espresso); }
.ak-art-media img { width: 100%; display: block; transition: transform .9s var(--ak-ease); }
.ak-art:hover .ak-art-media img { transform: scale(1.07); }
.ak-art-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(27,18,12,.28) 0%, rgba(27,18,12,.80) 100%);
    opacity: 0;
    transition: opacity .45s ease;
}
.ak-art:hover .ak-art-overlay { opacity: 1; }
.ak-art-icon {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--ak-grad);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    transform: translateY(16px) scale(.7);
    opacity: 0;
    transition: all .5s var(--ak-ease) .05s;
    box-shadow: 0 12px 28px rgba(194,71,15,.38);
}
.ak-art:hover .ak-art-icon { transform: none; opacity: 1; }
.ak-art-reveal {
    color: #F8F0E4;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    transform: translateY(14px);
    opacity: 0;
    transition: all .5s var(--ak-ease) .14s;
}
.ak-art:hover .ak-art-reveal { transform: none; opacity: 1; }
.ak-art-year {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    background: rgba(27,18,12,.72);
    color: var(--ak-brass);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    padding: 5px 10px;
    border-radius: 2px;
}
.ak-art-body { padding: 18px 20px 20px; }
.ak-art-body h3 {
    font-family: var(--ak-display);
    font-size: 20px;
    letter-spacing: -.022em;
    margin: 0 0 4px;
    color: var(--ak-text);
    transition: color .3s ease;
}
.ak-art:hover .ak-art-body h3 { color: var(--ak-sienna); }
.ak-art-body p {
    margin: 0;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ak-faint);
}

/* =====================================================================
   FOOTER — a small designed transition instead of a hard edge
   ===================================================================== */
.ak-footer-rule {
    position: relative;
    height: 54px;
    background: var(--ak-bg);
}
.ak-footer-rule:before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, 82%);
    height: 1px;
    background: linear-gradient(90deg,
        rgba(228,210,184,0) 0%, var(--ak-line) 22%, var(--ak-line) 78%, rgba(228,210,184,0) 100%);
}
.ak-footer-rule:after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 9px; height: 9px;
    background: var(--ak-grad);
    box-shadow: 0 0 0 7px var(--ak-bg);
}

.footer, footer.footer {
    position: relative;
    background: var(--ak-sand);
    border-top: 0;
    padding: 40px 0 32px;
}
.footer:before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--ak-grad);
    opacity: .85;
}
.footer:after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 130% at 50% 0%, rgba(194,71,15,.07) 0%, rgba(194,71,15,0) 60%);
    pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.ak-credit { margin-top: 10px; }

/* =====================================================================
   FOOTER SOCIALS — brand tint on hover, driven by the --brand variable
   ===================================================================== */
.footer-social-icons.ak-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
}
.footer-social-icons.ak-social-row li { margin: 0; padding: 0; float: none; }
.footer-social-icons.ak-social-row .ak-soc {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    color: var(--ak-muted);
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transition: color .28s var(--ak-ease), border-color .28s ease,
                transform .32s var(--ak-ease), box-shadow .32s ease;
}
.footer-social-icons.ak-social-row .ak-soc:before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand, var(--ak-sienna));
    transform: scale(0);
    border-radius: 50%;
    transition: transform .36s var(--ak-ease);
}
.footer-social-icons.ak-social-row .ak-soc i { position: relative; z-index: 1; }
.footer-social-icons.ak-social-row .ak-soc:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(27,18,12,.18);
}
.footer-social-icons.ak-social-row .ak-soc:hover:before { transform: scale(1); }
.footer-social-icons.ak-social-row .ak-soc:focus-visible { outline: 2px solid var(--ak-sienna); outline-offset: 3px; }

@media (max-width: 575px) {
    .footer-social-icons.ak-social-row { gap: 8px; }
    .footer-social-icons.ak-social-row .ak-soc { width: 38px; height: 38px; font-size: 15px; }
}
