:root {
    --clr-bg: #ffffff;
    --clr-bg-soft: #f5f5f7;
    --clr-text: #1d1d1f;
    --clr-text-soft: #6e6e73;
    --clr-primary: #000000;
    --clr-accent: #0071e3;
    --clr-accent-2: #1d1d1f;
    --clr-border: #e5e5ea;
    --radius-2: 12px;
    --radius-3: 18px;
    --shadow-1: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-2: 0 16px 60px rgba(0, 0, 0, 0.08);
}

/* Apple-like buttons */
.btn-apple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 700;
    line-height: 1;
    border: none;
    background: var(--clr-accent);
    color: #fff;
    transition: transform .15s ease, background-color .2s ease;
}

.btn-apple:hover {
    transform: translateY(-1px);
    background: #0077ed;
}

.btn-apple:active {
    transform: translateY(0);
}

.btn-ghost {
    border: 1px solid var(--clr-border);
    padding: 12px 18px;
    font-weight: 700;
    border-radius: 980px;
    color: var(--clr-text);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    border-color: var(--clr-text);
    background: rgba(0, 0, 0, 0.05);
}

/* Hero (Replica of Reeni Demo 06 - Light) */
.hero {
    padding: 64px 0;
    background: linear-gradient(180deg, #fff, var(--clr-bg-soft));
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    /* Allow stacking of pseudo element */
    position: relative;
    overflow: hidden;
}

/* --------------------------------------------------
   Hero Background Overlay (faint abstract design)
   -------------------------------------------------- */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Visible yet subtle abstract gradients */
    background:
        radial-gradient(110% 90% at 10% 20%, rgba(0, 113, 227, 0.12) 0%, rgba(0, 113, 227, 0) 60%), /* top-left blue glow */
        radial-gradient(120% 100% at 90% 30%, rgba(34, 197, 94, 0.10) 0%, rgba(34, 197, 94, 0) 65%), /* top-right green glow */
        radial-gradient(80% 70% at 50% 90%, rgba(30, 64, 175, 0.08) 0%, rgba(30, 64, 175, 0) 70%);   /* bottom center navy glow */
    pointer-events: none; /* Ensure underlying content is clickable */
    z-index: -1; /* Place behind hero content */
}
/* Dark-mode adjustment: increase glow intensity for visibility */
[data-bs-theme="dark"] .hero::before {
    background:
        radial-gradient(110% 90% at 10% 20%, rgba(0, 113, 227, 0.22) 0%, rgba(0, 113, 227, 0) 60%),
        radial-gradient(120% 100% at 90% 30%, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0) 65%),
        radial-gradient(80% 70% at 50% 90%, rgba(30, 64, 175, 0.15) 0%, rgba(30, 64, 175, 0) 70%);
}

/* --------------------------------------------------
   Hero Abstract Shapes Overlay
   -------------------------------------------------- */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    /* Three large, softly-colored shapes positioned around the hero */
    background:
        radial-gradient( ellipse at 10% 25%, rgba(0, 113, 227, 0.10) 0%, rgba(0, 113, 227, 0) 60% ), /* top-left blue oval */
        radial-gradient( ellipse at 90% 30%, rgba(255, 92, 31, 0.09) 0%, rgba(255, 92, 31, 0) 65% ), /* top-right orange oval */
        radial-gradient( circle at 50% 90%, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0) 70% );   /* bottom center green circle */
    background-repeat: no-repeat;
}

/* Dark-mode: slightly boost opacity for visibility */
[data-bs-theme="dark"] .hero::after {
    background:
        radial-gradient( ellipse at 10% 25%, rgba(0, 113, 227, 0.18) 0%, rgba(0, 113, 227, 0) 60% ),
        radial-gradient( ellipse at 90% 30%, rgba(255, 92, 31, 0.16) 0%, rgba(255, 92, 31, 0) 65% ),
        radial-gradient( circle at 50% 90%, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0) 70% );
}

.hero>.container {
    width: 100%;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 48px 0;
        min-height: calc(100vh - 64px);
        align-items: center;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-accent);
    background: rgba(14, 165, 233, 0.08);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 14px 0 16px;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero .name-stack {
    display: inline-block;
}

.hero h1 .name-first {
    font-family: 'Barlow Semi Condensed', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -0.01em;
    display: block;
    color: var(--clr-primary);
    margin-right: 0;
    font-size: 1.3em;
    line-height: 0.9;
    white-space: nowrap;
}

.hero h1 .name-last {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    display: block;
    text-align: right;
    color: var(--clr-accent);
    font-size: 0.6em;
    line-height: 1;
    margin-top: 4px;
    white-space: nowrap;
    padding-right: 0.02em;
}

.hero .subtitle {
    color: var(--clr-text-soft);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    width: 100%;
    clear: both;
    margin-top: 6px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero .block-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, #e8e8ed, rgba(232, 232, 237, 0));
    margin: 10px 0 18px;
    opacity: 0;
    transform: scaleX(0);
    animation: expandWidth 0.8s ease forwards 0.8s;
}

.hero .lead-hero {
    color: var(--clr-text);
    font-size: clamp(16px, 1.9vw, 19px);
    line-height: 1.6;
    max-width: 58ch;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.0s;
}

.cred-wrap {
    border-top: 1px solid #e8e8ed;
    padding-top: 14px;
    margin-top: 10px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

.cred-list {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    padding: 0;
    margin: 10px 0 18px;
}

.cred-wrap .cred-list {
    width: 100%;
    margin: 0;
}

.cred-wrap .cred-list+.cred-list {
    margin-top: 6px !important;
}

.cred-item {
    padding: 0;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-text-soft);
    white-space: nowrap;
}

.cred-item+.cred-item::before {
    content: '·';
    margin: 0 8px;
    color: #d2d2d7;
    font-weight: 900;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.4s;
}

.contact-row {
    margin-top: 18px;
    color: var(--clr-text-soft);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.6s;
}

.contact-row i {
    color: var(--clr-accent);
}

.metric {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    align-items: end;
}

.metric .value {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.metric .label {
    color: var(--clr-text-soft);
    font-weight: 600;
}

.portrait-card {
    position: relative;
    border-radius: var(--radius-3);
    overflow: hidden;
    box-shadow: var(--shadow-2);
    background: #0b1220;
    aspect-ratio: 4/5;
    opacity: 0;
    transform: translateX(30px) scale(0.9);
    animation: slideInRight 1s ease forwards 0.8s;
}

.portrait-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: all 0.4s ease;
}

.portrait-card:hover img {
    transform: scale(1.05);
}

.portrait-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    background: #fff;
    color: var(--clr-text);
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow-1);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes expandWidth {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Section styles */
.section {
    padding: 96px 0;
}

.section-title {
    font-weight: 900;
    letter-spacing: -0.02em;
}

.muted {
    color: var(--clr-text-soft);
}

.card-lite {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-2);
    padding: 24px;
    box-shadow: var(--shadow-1);
    height: 100%;
}

.progress-rail {
    height: 10px;
    background: var(--clr-bg-soft);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--clr-accent);
    width: 0;
    transition: width .8s ease;
}

/* Portfolio grid */
.filter-tabs {
    gap: 12px;
}

.filter-tabs .tab {
    border: 1px solid var(--clr-border);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    color: var(--clr-text);
    transition: all 0.3s ease;
}

.filter-tabs .tab.active {
    background: var(--clr-text);
    color: #fff;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
    background: #0b1220;
    aspect-ratio: 4/3;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .95;
    transition: transform .4s ease;
}

.work-card:hover img {
    transform: scale(1.04);
}

.work-card .label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
    padding: 24px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Pricing */
.price-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-1);
    padding: 28px;
}

.price {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.price-card .btn {
    border-radius: 980px;
    padding: 12px 18px;
    font-weight: 800;
}

/* Blog */
.blog-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-2);
    overflow: hidden;
    box-shadow: var(--shadow-1);
}

.blog-thumb {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--clr-accent), #22c55e);
    color: #fff;
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-2);
    padding: 48px;
}

.cta .btn {
    background: #fff;
    color: var(--clr-accent-2);
    font-weight: 800;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-apple,
    .btn-ghost {
        text-align: center;
        justify-content: center;
    }
}

.mt-10 {
    margin-top: 40px !important;
}

.section-header--five .section-header__inner {
    background: linear-gradient(135deg, rgb(255 255 255 / 0%) 0%, rgb(255 255 255 / 0%) 30%, rgb(255 255 255 / 0%) 70%, rgb(255 255 255 / 0%) 100%) !important;
}