/* =========================
   Design Tokens (premium theme)
   ========================= */

:root {
    --bg-body: #020617;
    --bg-alt: #030712;
    --bg-card: #020617;
    --bg-card-soft: #050816;

    --accent-main: #64e0d0;
    --accent-strong: #0abfb2;
    --accent-green: #22c55e;

    --border-soft: rgba(94, 234, 212, 0.25);
    --border-strong: rgba(94, 234, 212, 0.45);

    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-soft: #d1d5db;
    --text-heading: #f9fafb;

    --shadow-soft: 0 18px 40px rgba(8, 47, 73, 0.75);
    --shadow-strong: 0 26px 80px rgba(8, 47, 73, 0.95);
    --shadow-card-hover: 0 30px 90px rgba(10, 191, 178, 0.28);

    --radius-card: 20px;
    --radius-pill: 999px;
    --radius-soft: 14px;

    --transition-fast: 0.18s ease-out;
    --transition-med: 0.25s ease-out;

    --container-max: 1120px;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* =========================
   Reset & Base
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-main);
    background:
        radial-gradient(circle at top, #071423 0, var(--bg-body) 48%, #000 100%);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent-main);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--accent-strong);
}

p {
    margin: 0 0 1rem;
    color: var(--text-soft);
}

h1, h2, h3, h4, h5 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: var(--text-heading);
}

/* =========================
   Layout & Sections
   ========================= */

.container {
    width: min(var(--container-max), 100% - 32px);
    margin-inline: auto;
}

.section {
    padding: 80px 0;
    border-top: 1px solid rgba(94, 234, 212, 0.13);
    border-bottom: 1px solid rgba(15, 23, 42, 0.7);
}

.section .title {
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.section .title h1 {
    font-size: clamp(1.9rem, 2.4vw, 2.5rem);
    letter-spacing: 0.06em;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(100, 224, 208, 0.26);
}

.section .title h2 {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-weight: 500;
    color: #cbd5f5;
}

.section .title h3 {
    font-size: 1.02rem;
    font-weight: 500;
    color: #a5b4fc;
}

.section .title p {
    font-size: 1rem;
    color: var(--text-soft);
}

/* Background themes */

.secondary-section {
    background:
        radial-gradient(circle at 0 0, #071423 0, var(--bg-alt) 55%, var(--bg-body) 100%);
}

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

/* Divider triangle */

.triangle {
    width: 100%;
    max-width: 260px;
    height: 0;
    border-left: 130px solid transparent;
    border-right: 130px solid transparent;
    border-top: 18px solid rgba(15, 23, 42, 0.92);
    margin: 0 auto 36px;
    opacity: 0.7;
}

/* Legacy grid helpers (spanX/row-fluid) */

.row-fluid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.span6,
.span5,
.span4,
.span3,
.span8,
.span9 {
    flex: 1 1 min(340px, 100%);
}

.centered {
    text-align: center;
}

/* =========================
   Navbar (glass premium)
   ========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(
        to bottom,
        rgba(3, 7, 18, 0.94),
        rgba(2, 6, 23, 0.96)
    );
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.25);
}

.navbar-inner {
    padding-block: 10px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
}

.navbar a img {
    height: 52px !important;
    width: auto;
    filter: drop-shadow(0 0 18px rgba(100, 224, 208, 0.35));
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.navbar a img:hover {
    transform: translateY(-1px) scale(1.01);
    filter: drop-shadow(0 0 24px rgba(100, 224, 208, 0.55));
}

/* Top navigation */

#top-navigation {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

#top-navigation li a {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.09em;
    color: #e5e7eb;
    text-decoration: none;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

#top-navigation li.active a,
#top-navigation li a:hover {
    background: linear-gradient(135deg, var(--accent-main), var(--accent-strong));
    border-color: rgba(148, 163, 184, 0.4);
    color: #020617;
    box-shadow: 0 18px 38px rgba(10, 191, 178, 0.55);
    transform: translateY(-1px);
}

/* Mobile toggle â€” hidden on desktop, shown via media query on mobile */

.btn-navbar {
    display: none;
    border-radius: 10px;
    border: 1px solid rgba(94, 234, 212, 0.35);
    background: rgba(15, 23, 42, 0.75);
    cursor: pointer;
    width: 42px;
    height: 42px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-collapse {
    display: block;
}

/* =========================
   Hero / Intro
   ========================= */

#portfolio .title p {
    font-size: 1.02rem;
}

/* =========================
   Product Grid (Taweez tiles)
   ========================= */

#portfolio-grid {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
}

#portfolio-grid .thumbnail {
    cursor: pointer;
}

/* Product cards */

.thumbnail {
    position: relative;
    background: radial-gradient(circle at 0 0, #020617 0, #020617 40%, #000 100%);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding-bottom: 14px;
    transition:
        transform var(--transition-med),
        box-shadow var(--transition-med),
        border-color var(--transition-med),
        background var(--transition-med);
}

.thumbnail img {
    width: 100%;
    height: 240px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom: 1px solid rgba(94, 234, 212, 0.18);
}

.thumbnail h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 18px 16px 14px;
    text-align: left;
    line-height: 1.35;
    color: var(--text-heading);
}

/* Glow on hover */

.thumbnail::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 20% 0%, rgba(100, 224, 208, 0.15), transparent 58%);
    opacity: 0;
    transition: opacity var(--transition-med);
    pointer-events: none;
}

.thumbnail:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card-hover);
    background: radial-gradient(circle at 0 0, #020617 0, #020617 45%, #000 100%);
}

.thumbnail:hover::before {
    opacity: 1;
}

/* Hide old "more" icon & mask (we trigger via whole card) */

.thumbnail .more,
.thumbnail .more i,
.thumbnail .more::before,
.thumbnail .more::after,
.thumbnail .mask {
    display: none !important;
}

/* =========================
   Single Project (details)
   ========================= */

#single-project {
    margin-top: 38px;
}

.single-project {
    background: radial-gradient(circle at top left, #050816 0, #020617 45%, #000 100%);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    margin-bottom: 30px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

/* subtle inner glow */
.single-project::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 5% 0%, rgba(100, 224, 208, 0.12), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
    mix-blend-mode: screen;
}

.single-project img {
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.single-project .row-fluid {
    align-items: flex-start;
}

.project-description {
    padding-left: 0;
}

.project-title {
    margin-bottom: 14px;
}

.project-title h4 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: 0.5px;
    color: var(--text-heading);
}

.single-project p {
    font-size: 0.97rem;
    color: var(--text-soft);
    line-height: 1.85;
    margin-bottom: 18px !important;
}

/* Payment button container */

.container1 {
    margin-top: 24px !important;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
}

/* PayPal button (premium) */

.paypal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-strong));
    color: #020617;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 35px rgba(16, 185, 129, 0.55);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        filter var(--transition-fast);
}

.paypal-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 18px 46px rgba(16, 185, 129, 0.75);
}

.paypal-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5);
}

.paypal-btn .paypal-sub {
    font-size: 0.7rem;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 6px;
    opacity: 0.8;
}

/* =========================
   CTA buttons (generic)
   ========================= */

.buy-btn {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-strong));
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    color: #020617;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 35px rgba(0, 255, 200, 0.2);
    transition: all var(--transition-med);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(0, 255, 200, 0.32);
}

/* =========================
   Contact section & form
   ========================= */

.large-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.map-wrapper {
    margin-top: 24px;
}

.contact-form {
    background: rgba(4, 11, 25, 0.96) !important;
    border-radius: 20px;
    padding: 24px 20px 26px;
    border: 1px solid var(--border-soft) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(10px);
    max-width: 480px;
    margin-inline: auto;
}

/* FCF form */

.fcf-form-group {
    margin-bottom: 16px;
}

.fcf-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main) !important;
    margin-bottom: 6px;
}

.fcf-input-group {
    width: 100%;
}

.fcf-form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(2, 6, 23, 0.95);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.fcf-form-control:focus {
    border-color: var(--accent-main);
    box-shadow: 0 0 0 1px rgba(100, 224, 208, 0.8);
    background: #020617;
    transform: translateY(-1px);
}

/* Submit button */

.fcf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 11px 18px;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        filter var(--transition-fast);
}

.fcf-btn-primary {
    width: 100%;
    background: linear-gradient(130deg, var(--accent-green), var(--accent-strong));
    color: #020617;
    box-shadow: 0 14px 35px rgba(16, 185, 129, 0.5);
}

.fcf-btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 18px 45px rgba(16, 185, 129, 0.7);
}

.fcf-btn-block {
    width: 100%;
}

/* =========================
   FAQ section (visual only)
   ========================= */

#faq-taweez {
    margin-top: 40px;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: rgba(4, 7, 18, 0.97);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

#faq-taweez h2 {
    font-size: 1.2rem;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.18),
        rgba(6, 182, 212, 0.18)
    );
    border-radius: 14px 14px 0 0;
    margin-bottom: 10px;
}

#faq-taweez .faq-item {
    border-radius: 12px;
    margin: 0 14px 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    border: 1px solid rgba(94, 234, 212, 0.4);
    background: #020617;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #020617;
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.faq-question::after {
    content: "+";
    font-weight: 700;
    color: #9ca3af;
    margin-left: 12px;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.faq-item.open .faq-question::after {
    content: "–";
    transform: translateY(-1px);
    color: var(--accent-main);
}

/* ??????? display ?? non-JS fallback */
.faq-answer {
    padding: 0 20px 14px;
    font-size: 0.95rem;
    color: var(--text-soft);
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* =========================
   Cookie consent banner (visual)
   ========================= */

#cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    padding: 14px 0;
    background: radial-gradient(circle at top, #020617 0, #000 110%);
    border-top: 1px solid rgba(94, 234, 212, 0.35);
    box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.85);
    font-size: 0.85rem;
    display: none; /* ??????? ?? ???? JS */
}

#cookie-consent-banner .cookie-consent-inner {
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    padding-inline: 16px;
}

#cookie-consent-banner .cookie-text,
#cookie-consent-banner .cookie-consent-text {
    color: var(--text-main);
}

#cookie-consent-banner a {
    color: #a5b4fc;
    text-decoration: underline;
}

#cookie-consent-banner a:hover {
    color: #c4b5fd;
}

#cookie-consent-banner .cookie-consent-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

#cookie-consent-banner button,
#cookie-consent-banner .cookie-btn {
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    padding: 7px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Accept / Decline */

#cookie-consent-banner .cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-strong));
    color: #020617;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.6);
}

#cookie-consent-banner .cookie-btn-accept:hover {
    filter: brightness(1.05);
}

#cookie-consent-banner .cookie-btn-decline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

#cookie-consent-banner .cookie-btn-decline:hover {
    background: rgba(15, 23, 42, 0.9);
}

/* =========================
   Footer & Scroll-up
   ========================= */

.footer {
    background: radial-gradient(circle at bottom, #011218, var(--bg-body));
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

/* ghost logo/halo in footer */
.footer::before {
    content: "";
    position: absolute;
    inset: 40% 10%;
    background: radial-gradient(circle, rgba(100, 224, 208, 0.08), transparent 70%);
    opacity: 0.9;
    pointer-events: none;
}

.footer a {
    color: #e5e7eb;
    margin: 0 18px !important;
    font-size: 0.95rem;
    opacity: 0.8;
    position: relative;
}

.footer a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-main), transparent);
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer a:hover {
    opacity: 1;
}

.footer a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.footer p {
    margin-top: 24px;
    opacity: 0.7;
}

/* Scroll to top */

.scrollup {
    position: fixed;
    right: 20px;
    bottom: 28px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: linear-gradient(145deg, var(--accent-green), var(--accent-strong));
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.7);
    display: none; /* JS ?? ?? ??????? */
    text-align: center;
    overflow: hidden;
}

.scrollup a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #020617;
    font-size: 1.1rem;
}

.scrollup a::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="%237dfcff" viewBox="0 0 16 16"><path d="M8 3l5 5H9v5H7V8H3l5-5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 4px rgba(64,224,208,0.5));
}

/* =========================
   Info mail
   ========================= */

.info-mail {
    display: flex;
    justify-content: center;
    margin: 40px auto 80px auto;
}

.info-mail a {
    padding: 12px 24px;
    border: 1px solid rgba(64, 224, 208, 0.4);
    border-radius: 10px;
    font-size: 18px;
    color: #7dfcff;
    text-decoration: none;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 14px 35px rgba(8, 47, 73, 0.8);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.info-mail a:hover {
    text-decoration: underline;
    transform: translateY(-1px);
    border-color: rgba(64, 224, 208, 0.7);
    box-shadow: 0 18px 50px rgba(8, 47, 73, 0.95);
}

/* =========================
   About page specific
   ========================= */

#about #first-person .thumbnail img {
    width: 100%;
    height: auto;
    max-width: 700px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* =========================
   Typography tweaks
   ========================= */

.title h1 {
    letter-spacing: 0.8px;
    font-weight: 700;
}

/* =========================
   Responsive tweaks
   ========================= */

/* (removed: old rule that was hiding .btn-navbar at 1000px) */

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

    .single-project {
        padding: 22px 18px;
    }

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

    .navbar .container {
        align-items: center;
    }

    #top-navigation {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .row-fluid {
        gap: 22px;
    }

    .contact-form {
        margin-top: 18px;
    }

    #cookie-consent-banner .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-consent-banner .cookie-consent-buttons {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    #cookie-consent-banner button,
    #cookie-consent-banner .cookie-btn {
        margin-top: 4px;
    }
}

@media (max-width: 768px) {
    #portfolio-grid {
        gap: 20px;
    }

    .single-project {
        padding: 20px 16px;
    }

    .navbar a img {
        height: 46px !important;
    }

    .section {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .navbar a img {
        height: 40px !important;
    }

    .section {
        padding: 48px 0;
    }

    .single-project {
        padding: 18px 14px;
    }

    .section .title h1 {
        font-size: 1.55rem;
    }

    #top-navigation li a {
        font-size: 0.92rem;
        padding: 10px 18px;
    }

    .scrollup {
        right: 16px;
        bottom: 22px;
    }
}
.thumbnail img {
    transition: transform 0.6s ease-out;
}

.thumbnail:hover img {
    transform: scale(1.03) translateY(-2px);
}
.section .title h1 {
    position: relative;
}

.section .title h1::after {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    width: 260px;
    height: 260px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(64,224,208,0.12), transparent 70%);
    filter: blur(35px);
    pointer-events: none;
}
.navbar {
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.thumbnail {
    border: 1px solid rgba(94,234,212,0.35);
    box-shadow: inset 0 0 0 1px rgba(94,234,212,0.12),
                0 25px 75px rgba(8,47,73,0.35);
}
.thumbnail h3 {
    position: relative;
}

.thumbnail h3::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-main), transparent);
    opacity: 0.6;
}
.footer a:hover {
    text-shadow: 0 0 6px rgba(64,224,208,0.45);
}
body {
    font-family: 'Inter', var(--font-sans);
}
body {
    opacity: 0;
    transition: opacity 0.65s ease-out;
}

body.page-loaded {
    opacity: 1;
}
/* =========================================
   ABOUT PAGE – PREMIUM LAYOUT & STYLING
   ========================================= */

/* ??????? ??? ? ???? ?????? ?? ???????? About */
#about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0 0, #050816 0, #020617 48%, #000 100%);
}

#about::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 10% 0%, rgba(100, 224, 208, 0.14), transparent 60%),
        radial-gradient(circle at 90% 100%, rgba(15, 23, 42, 0.9), transparent 70%);
    opacity: 0.9;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* ???????? ???? – ??-??????? ?????????? ? ???????? */
#about .title {
    max-width: 880px;
    margin: 0 auto 46px;
    text-align: left;
}

#about .title h1 {
    font-size: clamp(1.9rem, 2.5vw, 2.6rem);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}

#about .title p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-soft);
}

/* ???????????? halo ??? About ?????????? (??-???? ?? homepage) */
#about .title h1::after {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(100, 224, 208, 0.12), transparent 72%);
    filter: blur(38px);
    pointer-events: none;
}

/* ??????? layout ?? team ????? */
#about .team {
    align-items: flex-start;
    gap: 38px;
}

/* ???? ?????? – ?????? / ????? */
#about #first-person .thumbnail {
    position: relative;
    background: radial-gradient(circle at 0 0, #020617 0, #000 90%);
    border-radius: 22px;
    padding: 14px;
    border: 1px solid rgba(94, 234, 212, 0.38);
    box-shadow:
        inset 0 0 0 1px rgba(15, 23, 42, 0.85),
        0 26px 70px rgba(8, 47, 73, 0.9);
    overflow: hidden;
}

#about #first-person .thumbnail::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 10% 0%, rgba(100, 224, 208, 0.22), transparent 65%);
    opacity: 0.85;
    pointer-events: none;
    mix-blend-mode: screen;
}

#about #first-person .thumbnail img {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    object-fit: cover;
}

/* ????? ?????? – ??????????, ? ??????? card */
#about .span8 {
    position: relative;
    background: radial-gradient(circle at top left, #050816 0, #020617 45%, #000 100%);
    border-radius: 22px;
    padding: 26px 26px 30px;
    border: 1px solid rgba(94, 234, 212, 0.3);
    box-shadow:
        inset 0 0 0 1px rgba(15, 23, 42, 0.85),
        0 30px 90px rgba(8, 47, 73, 0.9);
}

/* ?????????? ??????????? ?????? ?????? – „????“ ????? */
#about .span8::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 18px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(
        to bottom,
        rgba(100, 224, 208, 0.0),
        rgba(100, 224, 208, 0.65),
        rgba(100, 224, 208, 0.0)
    );
    opacity: 0.85;
}

/* ???????? ????? ? about card */
#about .span8 h2 {
    font-size: 1.25rem;
    margin-top: 12px;
    margin-bottom: 10px;
    color: var(--accent-main);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ????? ??? ????? h2 ?? ???????? ????????? */
#about .span8 h2::after {
    content: "";
    display: block;
    margin-top: 6px;
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-main), transparent);
    opacity: 0.75;
}

/* ????????? ? about card – ??-digestible ???????? */
#about .span8 p {
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--text-soft);
    margin-bottom: 14px;
}

/* ?????? ??? main taweez page ????? ? ?????? – ???? premium callout */
#about .span8 a[title="Taweez for every problem"] {
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed rgba(125, 251, 218, 0.7);
}

#about .span8 a[title="Taweez for every problem"]:hover {
    border-bottom-style: solid;
}

/* ??????? ???????? ? About – ??-??????? ???????? */
#contact .section .container.centered h3 {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-main);
    margin-bottom: 18px;
}

/* Override ?? ??????? label-? ? ??????? – ?? ?? ?????? ? dark theme */
.contact-form .fcf-label {
    color: var(--text-main) !important;
}

/* ????? ?????? ?????? ? contact ????? ?? About */
#contact .contact-form {
    margin-top: 10px;
}

#contact .info-mail a {
    font-size: 1rem;
}

/* Responsive fine-tuning ?? About */

@media (max-width: 992px) {
    #about .span8 {
        margin-top: 18px;
    }

    #about .span8::before {
        display: none;
    }
}

@media (max-width: 768px) {
    #about .title {
        text-align: left;
    }

    #about .title h1 {
        font-size: 1.7rem;
    }

    #about .span8 {
        padding: 20px 18px 22px;
        border-radius: 18px;
    }

    #about #first-person .thumbnail {
        margin-bottom: 8px;
    }
}
/* ============================================================
   1) GLOBAL NOISE OVERLAY – REAL PREMIUM TEXTURE
   ============================================================ */

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.023;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==");
    /* ???? ? 1x1 ?????? noise, ???????????? */
    mix-blend-mode: soft-light;
}

/* ============================================================
   2) PREMIUM HEADINGS SYSTEM – GLOBAL H2 REPLACEMENT
   ============================================================ */

h2 {
    font-size: 1.28rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;
    color: var(--accent-main) !important;
    margin: 42px 0 18px !important;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 8px;
    background: linear-gradient(90deg, var(--accent-main), transparent);
    opacity: 0.75;
}

/* ============================================================
   3) MOBILE SPACING PREMIUM PACK – ULTRA CLEAN MOBILE LOOK
   ============================================================ */

@media (max-width: 768px) {

    .section {
        padding: 58px 0 !important;
    }

    .title {
        margin-bottom: 34px !important;
        padding: 0 6px;
    }

    .title h1 {
        margin-bottom: 16px !important;
        line-height: 1.35 !important;
    }

    #about .title p {
        font-size: 1rem !important;
        line-height: 1.85 !important;
    }

    #portfolio-grid {
        gap: 22px !important;
        padding: 0 4px;
    }

    .thumbnail {
        padding-bottom: 16px !important;
    }

    .thumbnail h3 {
        margin: 16px 12px 12px !important;
        font-size: 1.03rem !important;
    }

    /* single project blocks */
    .single-project {
        padding: 22px 18px !important;
        border-radius: 18px !important;
        margin-bottom: 30px !important;
    }

    .single-project p {
        line-height: 1.85 !important;
    }

    /* contact form */
    .contact-form {
        padding: 20px 16px 24px !important;
        border-radius: 18px !important;
    }
}

/* ============================================================
   4) ABOUT PAGE – FINAL TUNING FOR PREMIUM FEEL
   ============================================================ */

#about .span8 p {
    margin-bottom: 16px !important;
    line-height: 1.9 !important;
}

#about #first-person .thumbnail img {
    border-radius: 18px !important;
    filter: brightness(1.04);
}

#about #first-person .thumbnail {
    padding: 16px !important;
}

/* ============================================================
   5) PRODUCT GRID – IMAGE POLISH + SOFT SHADOW
   ============================================================ */

.thumbnail img {
    filter: brightness(1.08) contrast(1.04);
    box-shadow: 0 16px 32px rgba(0,0,0,0.45);
}

/* subtle dark vignette inside cards */
.thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background: radial-gradient(circle at bottom, rgba(0,0,0,0.55), transparent 65%);
}

/* ============================================================
   6) PRODUCT DETAIL PAGE – BETTER TEXT FLOW
   ============================================================ */

.single-project p {
    margin-bottom: 18px !important;
    line-height: 1.92 !important;
    font-size: 0.99rem !important;
}

.project-title h4 {
    font-size: 1.38rem !important;
    letter-spacing: 0.04em !important;
}

/* ============================================================
   7) NAVBAR – PREMIUM SHADOW + OUTLINE
   ============================================================ */

.navbar {
    box-shadow: 0 8px 26px rgba(0,0,0,0.45) !important;
    border-bottom: 1px solid rgba(94, 234, 212, 0.25) !important;
}

.navbar-inner {
    border-bottom: 1px solid rgba(94,234,212,0.12) !important;
}

.navbar a img {
    filter: drop-shadow(0 0 14px rgba(100, 224, 208, 0.4)) !important;
}

/* ============================================================
   8) SOFT GLOW FOR IMPORTANT LINKS
   ============================================================ */

a:hover {
    text-shadow: 0 0 8px rgba(100, 224, 208, 0.4);
}

/* ============================================================
   9) FOOTER – MORE PREMIUM, LESS “BLOCKY”
   ============================================================ */

.footer a {
    margin: 0 16px !important;
    font-size: 0.95rem !important;
    opacity: 0.75 !important;
}

.footer a:hover {
    opacity: 1 !important;
    text-shadow: 0 0 6px rgba(100,224,208,0.5) !important;
}

/* Subtle top glow */
.footer::before {
    opacity: 0.55 !important;
}

/* ============================================================
   10) CONTACT FORM – LABEL POLISH
   ============================================================ */

.fcf-label {
    color: #e2e8f0 !important;
    letter-spacing: 0.02em;
    font-size: 0.92rem !important;
}

/* Inputs better polish */
.fcf-form-control {
    filter: brightness(1.03);
    border-color: rgba(148,163,184,0.65) !important;
}

.fcf-form-control:focus {
    filter: brightness(1.06);
}

/* ============================================================
   END – ULTIMATE PREMIUM PACK
   ============================================================ */
/* ?? Hamburger Menu ?? */
@media (max-width: 768px) {

    .btn-navbar {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 10px;
        border: 1px solid rgba(94, 234, 212, 0.35);
        background: rgba(15, 23, 42, 0.75);
        cursor: pointer;
    }

    .btn-navbar .bar {
        display: block;
        width: 22px;
        height: 2px;
        background: #64e0d0;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .btn-navbar.is-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .btn-navbar.is-open .bar:nth-child(2) { opacity: 0; }
    .btn-navbar.is-open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-collapse {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(94, 234, 212, 0.25);
        padding: 16px 20px 20px;
        z-index: 1050;
    }

    .nav-collapse.is-open {
        display: block;
    }

    #top-navigation {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    #top-navigation li a {
        display: block;
        text-align: center;
        padding: 12px 18px;
    }

    .navbar .container {
        position: relative;
    }
}