/* =========================================================
   BROSCODE TECH SOLUTIONS
   FINAL MASTER STYLESHEET
   BLACK + GOLD PREMIUM DESIGN
========================================================= */


/* =========================================================
   GOOGLE FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --bg: #080706;
    --bg-dark: #050403;
    --bg-soft: #0d0b08;
    --card: #12100d;

    --white: #f7f2e9;
    --text: #aaa39a;
    --muted: #6f6961;

    --gold: #d9a441;
    --gold-light: #e9bd72;
    --gold-dark: #a8752d;

    --border: rgba(255, 255, 255, 0.08);
    --gold-border: rgba(217, 164, 65, 0.24);

    --container: 1180px;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', Arial, sans-serif;

    --transition: 0.35s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


body {
    min-height: 100vh;

    background: var(--bg);

    color: var(--white);

    font-family: var(--font-body);

    line-height: 1.6;

    overflow-x: hidden;
}


body::before {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(circle at 82% 18%,
            rgba(217, 164, 65, 0.07),
            transparent 25%),
        radial-gradient(circle at 10% 70%,
            rgba(217, 164, 65, 0.025),
            transparent 25%);
}


::selection {
    background: var(--gold);
    color: #080706;
}


a {
    color: inherit;
    text-decoration: none;
}


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


button,
input,
select,
textarea {
    font-family: inherit;
}


button {
    cursor: pointer;
}


ul,
ol {
    margin: 0;
    padding: 0;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: #050403;
}


::-webkit-scrollbar-thumb {
    background: #49361c;
    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}


/* =========================================================
   COMMON
========================================================= */

main {
    width: 100%;
}


.section-container {
    width: min(90%, var(--container));
    margin: 0 auto;
}


.section-label {
    color: var(--gold);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 4px;
}


h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
}


section {
    scroll-margin-top: 82px;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8, 7, 6, 0.78);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    transition:
        background 0.35s ease,
        border-color 0.35s ease;
}


header.scrolled {
    background: rgba(8, 7, 6, 0.96);

    border-bottom-color:
        rgba(217, 164, 65, 0.18);
}


nav {
    width: min(90%, var(--container));

    min-height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* LOGO */

.logo a {
    display: inline-block;

    font-size: 1.5rem;

    font-weight: 700;

    letter-spacing: -0.8px;
}


.logo span {
    color: var(--gold);

    font-family: var(--font-display);
}


/* NAVIGATION */

.nav-links {
    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;
}


.nav-links li {
    list-style: none;
}


.nav-links a {
    position: relative;

    color: #aaa39a;

    font-size: 0.86rem;

    font-weight: 500;

    transition: var(--transition);
}


.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}


.nav-links a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: var(--transition);
}


.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
    width: 100%;
}


/* START PROJECT BUTTON */

.nav-cta {
    padding: 11px 20px;

    border: 1px solid rgba(217, 164, 65, 0.35);

    border-radius: 50px;

    color: var(--white) !important;

    transition: var(--transition);
}


.nav-cta:hover {
    background: rgba(217, 164, 65, 0.08);

    border-color: var(--gold);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    background: transparent;

    border: 1px solid var(--gold-border);

    border-radius: 50%;

    color: var(--white);
}


.mobile-menu-toggle span {
    width: 17px;
    height: 1.5px;

    background: var(--gold);

    transition: 0.3s ease;
}


.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}


.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    padding:
        120px max(5%, calc((100% - 1180px) / 2)) 80px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr) minmax(0, 1.1fr);

    align-items: center;

    gap: 40px;

    overflow: hidden;

    background: #080706;
}


/* HERO BACKGROUND IMAGE */

.hero-visual {
    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    pointer-events: none;

    background: #05070a;
}


.hero-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: 0.78;

    filter:
        brightness(0.70) contrast(1.08);

    transform: scale(1.02);
}


/* LEFT DARK MERGE */

.hero-visual::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(90deg,
            #080706 0%,
            rgba(8, 7, 6, 0.98) 20%,
            rgba(8, 7, 6, 0.88) 38%,
            rgba(8, 7, 6, 0.52) 56%,
            rgba(8, 7, 6, 0.18) 76%,
            rgba(8, 7, 6, 0.08) 100%);
}


/* TOP + BOTTOM MERGE */

.hero-visual::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(to bottom,
            #080706 0%,
            transparent 16%,
            transparent 82%,
            #080706 100%);
}


.hero::after {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -300px;
    top: 5%;

    border-radius: 50%;

    background:
        rgba(217, 164, 65, 0.055);

    filter: blur(100px);

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 650px;
}


.hero-label {
    margin-bottom: 28px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;
}


.hero h1 {
    max-width: 700px;

    margin: 0 0 30px;

    color: var(--white);

    font-size:
        clamp(4rem, 7vw, 6.5rem);

    font-weight: 600;

    line-height: 0.94;

    letter-spacing: -4px;
}


.hero h1 span {
    display: block;

    color: var(--gold);
}


.hero-description {
    max-width: 560px;

    margin-bottom: 38px;

    color: var(--text);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


.btn {
    min-height: 54px;

    padding: 0 28px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 50px;

    font-size: 0.88rem;

    font-weight: 600;

    transition: var(--transition);
}


.primary-btn {
    background: var(--gold);

    color: #161006;
}


.primary-btn:hover {
    background: var(--gold-light);

    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(217, 164, 65, 0.18);
}


.secondary-btn {
    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(255, 255, 255, 0.14);
}


.secondary-btn:hover {
    background:
        rgba(217, 164, 65, 0.06);

    border-color:
        var(--gold-border);

    transform:
        translateY(-3px);
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    margin-top: 58px;

    display: flex;

    align-items: flex-start;

    gap: 55px;
}


.hero-stat {
    display: flex;

    flex-direction: column;
}


.hero-stats strong {
    color: var(--gold);

    font-family: var(--font-display);

    font-size: 24px;

    line-height: 1.1;
}


.hero-stats span {
    margin-top: 7px;

    color: #77716a;

    font-size: 10px;

    line-height: 1.45;

    letter-spacing: 1.5px;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    padding: 140px 0;

    background: var(--bg);
}


.about-grid {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 80px;

    align-items: center;
}


.about-content h2 {
    max-width: 700px;

    margin: 25px 0 30px;

    font-size:
        clamp(3rem, 5vw, 5.3rem);

    line-height: 0.98;

    letter-spacing: -3px;
}


.about-content h2 span {
    display: block;

    color: var(--gold);
}


.about-content p:not(.section-label) {
    max-width: 680px;

    margin-bottom: 22px;

    color: var(--text);

    font-size: 1rem;

    line-height: 1.85;
}


.about-link {
    display: inline-block;

    margin-top: 15px;

    color: var(--gold);

    font-weight: 600;

    transition: var(--transition);
}


.about-link:hover {
    color: var(--gold-light);

    transform: translateX(5px);
}


/* =========================================================
   ABOUT HIGHLIGHT
========================================================= */

.about-highlight {
    position: relative;

    min-height: 430px;

    padding: 40px;

    display: flex;

    align-items: flex-end;

    overflow: hidden;

    border: 1px solid var(--gold-border);

    border-radius: 22px;

    background:
        radial-gradient(circle at 70% 20%,
            rgba(217, 164, 65, 0.14),
            transparent 40%),
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008));

    transition: var(--transition);
}


.about-highlight:hover {
    transform: translateY(-7px);

    border-color:
        rgba(217, 164, 65, 0.42);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);
}


.about-highlight::before {
    content: "";

    position: absolute;

    inset: 14px;

    border:
        1px solid rgba(217, 164, 65, 0.10);

    border-radius: 16px;
}


.about-number {
    position: absolute;

    top: 30px;
    right: 35px;

    color:
        rgba(217, 164, 65, 0.15);

    font-family:
        var(--font-display);

    font-size: 5rem;
}


.about-highlight-content {
    position: relative;

    z-index: 2;
}


.about-small-label {
    margin-bottom: 15px;

    color: var(--gold);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 3px;
}


.about-highlight h3 {
    margin-bottom: 15px;

    font-size: 2rem;
}


.about-highlight p {
    color: var(--text);
}


/* =========================================================
   WHY US
========================================================= */

.why-us {
    margin-top: 120px;

    padding-top: 90px;

    border-top:
        1px solid var(--border);
}


.why-header {
    margin-bottom: 55px;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 60px;

    align-items: end;
}


.why-header h2 {
    margin: 20px 0;

    font-size:
        clamp(3rem, 5vw, 5rem);

    line-height: 1;

    letter-spacing: -3px;
}


.why-header h2 span {
    color: var(--gold);
}


.why-header>p {
    max-width: 600px;

    color: var(--text);

    line-height: 1.8;
}


.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.why-card {
    position: relative;

    min-height: 300px;

    padding: 30px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 20px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008));

    transition: var(--transition);
}


.why-card:hover {
    transform: translateY(-7px);

    border-color: var(--gold-border);

    background:
        linear-gradient(145deg,
            rgba(217, 164, 65, 0.07),
            rgba(255, 255, 255, 0.01));
}


.why-number {
    display: block;

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 3px;
}


.why-card-icon {
    width: fit-content;

    margin-bottom: 35px;

    padding: 7px 10px;

    border:
        1px solid rgba(217, 164, 65, 0.22);

    border-radius: 5px;

    color: var(--gold);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.why-card h3 {
    margin-bottom: 14px;

    font-size: 1.45rem;
}


.why-card p {
    color: var(--text);

    font-size: 0.88rem;

    line-height: 1.75;
}


.why-arrow {
    position: absolute;

    right: 25px;
    bottom: 25px;

    color: var(--gold);

    font-size: 20px;

    transition: var(--transition);
}


.why-card:hover .why-arrow {
    transform:
        translate(4px, -4px);
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    padding: 150px 0;

    background: var(--bg);
}


.services-header {
    margin-bottom: 65px;

    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap: 70px;

    align-items: end;
}


.services-header h2 {
    margin-top: 20px;

    font-size:
        clamp(3rem, 5vw, 5.2rem);

    line-height: 0.98;

    letter-spacing: -3px;
}


.services-header h2 span {
    display: block;

    color: var(--gold);
}


.services-intro {
    color: var(--text);

    line-height: 1.8;
}


.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.service-card {
    position: relative;

    min-height: 390px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 20px;

    background:
        radial-gradient(circle at 85% 15%,
            rgba(217, 164, 65, 0.08),
            transparent 35%),
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008));

    transition: var(--transition);
}


.service-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold-border);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.4);
}


.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: var(--gold);

    opacity: 0;

    transition: var(--transition);
}


.service-card:hover::before {
    opacity: 1;
}


.service-top {
    margin-bottom: 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.service-number {
    color: var(--gold);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 3px;
}


.service-arrow {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--gold);

    transition: var(--transition);
}


.service-card:hover .service-arrow {
    background: var(--gold);

    border-color: var(--gold);

    color: #080706;

    transform: rotate(45deg);
}


.service-icon {
    width: fit-content;

    margin-bottom: 25px;

    padding: 8px 12px;

    border:
        1px solid rgba(217, 164, 65, 0.25);

    border-radius: 6px;

    color: var(--gold);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.service-card h3 {
    margin-bottom: 15px;

    font-size: 1.6rem;
}


.service-card p {
    color: var(--text);

    font-size: 0.9rem;

    line-height: 1.75;
}


.service-tags {
    margin-top: auto;

    padding-top: 25px;

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.service-tags span {
    padding: 6px 10px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    color: #8e8982;

    font-size: 0.64rem;
}


/* =========================================================
   HOME PORTFOLIO
========================================================= */

.portfolio {
    position: relative;

    padding: 150px 0 100px;

    background: var(--bg-soft);

    border-top:
        1px solid var(--border);

    overflow: hidden;
}


.portfolio h2 {
    margin-top: 20px;

    font-size:
        clamp(3rem, 5vw, 5rem);

    line-height: 1;

    letter-spacing: -3px;
}


.portfolio h2 span {
    color: var(--gold);
}


.portfolio-intro {
    max-width: 680px;

    margin: 18px 0 55px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}


.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;

    align-items: stretch;
}


/* =========================================================
   HOME PROJECT CARD
========================================================= */

.project-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012));

    border:
        1px solid rgba(217, 164, 65, 0.18);

    border-radius: 18px;

    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


.project-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(217, 164, 65, 0.55);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.5),
        0 0 35px rgba(217, 164, 65, 0.08);
}


.project-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #0c0c0c;

    border-bottom:
        1px solid rgba(217, 164, 65, 0.12);
}


.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}


.project-card:hover .project-image img {
    transform: scale(1.055);

    filter: brightness(1.08);
}


.project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.18));

    pointer-events: none;
}


.project-number {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 3;

    min-width: 42px;

    height: 28px;

    padding: 0 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(217, 164, 65, 0.4);

    border-radius: 30px;

    background:
        rgba(5, 5, 5, 0.72);

    backdrop-filter: blur(10px);

    color: var(--gold);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.5px;
}


.project-content {
    flex: 1;

    padding: 28px 26px 30px;

    display: flex;

    flex-direction: column;
}


.project-category {
    margin: 0 0 12px;

    color: var(--gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.project-content h3 {
    margin: 0 0 12px;

    color: var(--white);

    font-size: 25px;

    line-height: 1.2;

    transition: color 0.3s ease;
}


.project-card:hover .project-content h3 {
    color: var(--gold);
}


.project-content>p:not(.project-category) {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.75;
}


.project-tags {
    width: 100%;

    margin-top: 22px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;
}


.project-tags span {
    min-height: 28px;

    padding: 7px 12px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(217, 164, 65, 0.28);

    border-radius: 999px;

    background:
        rgba(217, 164, 65, 0.045);

    color: #aaa49b;

    font-size: 10px;

    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    transition: var(--transition);
}


.project-card:hover .project-tags span {
    color: var(--gold);

    background:
        rgba(217, 164, 65, 0.08);

    border-color:
        rgba(217, 164, 65, 0.5);
}


.project-link {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    margin-top: 24px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 600;

    transition: var(--transition);
}


.project-link:hover {
    color: var(--gold-light);

    transform: translateX(4px);
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact {
    padding: 130px 0 140px;

    background:
        radial-gradient(circle at 82% 25%,
            rgba(217, 164, 65, 0.08),
            transparent 25%),
        #070707;

    border-top:
        1px solid var(--border);
}


.contact-container {
    width: min(90%, var(--container));

    margin: 0 auto;
}


.contact-header {
    margin-bottom: 70px;
}


.contact-label {
    margin-bottom: 20px;

    color: var(--gold);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 4px;
}


.contact-header h2 {
    max-width: 900px;

    margin-bottom: 25px;

    font-size:
        clamp(3.5rem, 7vw, 6rem);

    line-height: 0.98;

    letter-spacing: -4px;
}


.contact-header h2 span {
    display: block;

    color: var(--gold);
}


.contact-header>p {
    max-width: 720px;

    color: var(--text);

    line-height: 1.8;
}


.contact-layout {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 65px;

    align-items: start;
}


.contact-number {
    display: block;

    margin-bottom: 18px;

    color: var(--gold);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 3px;
}


.contact-left h3 {
    margin-bottom: 18px;

    font-size: 2rem;
}


.contact-description {
    max-width: 500px;

    padding-bottom: 35px;

    color: var(--text);

    border-bottom:
        1px solid var(--border);
}


.contact-details {
    padding-top: 35px;

    display: grid;

    gap: 25px;
}


.contact-item {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.contact-item>span {
    color: var(--gold);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 2.5px;
}


.contact-item a,
.contact-item p {
    color: #e8e3da;

    font-size: 0.9rem;
}


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


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-box {
    position: relative;

    padding: 40px;

    overflow: hidden;

    background: #0d0d0d;

    border:
        1px solid var(--gold-border);

    border-radius: 18px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}


.contact-form-box::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -140px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(217, 164, 65, 0.07);

    filter: blur(10px);
}


#projectForm {
    position: relative;

    z-index: 2;
}


.form-two {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}


.form-field {
    margin-bottom: 20px;

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.form-field label {
    color: #e8e3da;

    font-size: 0.75rem;

    font-weight: 600;
}


.form-field label span {
    color: var(--gold);
}


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 14px 15px;

    background: #080808;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 9px;

    color: #fff;

    outline: none;

    transition: 0.3s ease;
}


.form-field input,
.form-field select {
    height: 50px;
}


.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #555;
}


.form-field select {
    cursor: pointer;
}


.form-field select option {
    background: #111;

    color: #fff;
}


.form-field textarea {
    min-height: 150px;

    resize: vertical;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(217, 164, 65, 0.08);
}


.form-field input:invalid:not(:placeholder-shown) {
    border-color: rgba(217, 164, 65, 0.35);
}


.contact-submit {
    width: 100%;

    min-height: 55px;

    margin-top: 3px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border:
        1px solid var(--gold);

    border-radius: 9px;

    background: var(--gold);

    color: #080808;

    font-size: 0.88rem;

    font-weight: 700;

    transition: 0.3s ease;
}


.contact-submit:hover {
    background: transparent;

    color: var(--gold);

    transform: translateY(-2px);
}


.contact-note {
    margin-top: 13px;

    color: #555;

    font-size: 0.65rem;
}


.phone-help {
    color: #66615a;

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================================
   FORM SUCCESS
========================================================= */

.form-success {
    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.form-success h3 {
    margin-bottom: 15px;

    color: var(--gold);

    font-size: 2.5rem;
}


.form-success p {
    max-width: 450px;

    color: var(--text);

    line-height: 1.8;
}


/* =========================================================
   PORTFOLIO PAGE
========================================================= */

.portfolio-hero {
    padding: 110px 0 70px;

    position: relative;

    overflow: hidden;
}


.portfolio-container {
    width:
        min(1180px, calc(100% - 80px));

    margin: 0 auto;
}


.portfolio-hero-grid {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    align-items: end;

    gap: 80px;
}


.portfolio-hero h1 {
    margin: 0;

    font-family:
        var(--font-display);

    font-size:
        clamp(64px, 8vw, 118px);

    line-height: 0.88;

    font-weight: 500;

    letter-spacing: -5px;

    color: var(--white);
}


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


.portfolio-hero-description {
    padding-bottom: 8px;
}


.portfolio-hero-description p {
    max-width: 480px;

    margin: 0;

    font-size: 16px;

    line-height: 1.8;

    color: #8f8b83;
}


.portfolio-projects {
    padding: 40px 0 120px;
}


.portfolio-page-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.portfolio-card {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(circle at 80% 10%,
            rgba(229, 170, 50, 0.08),
            transparent 35%),
        #0d0c0a;

    border:
        1px solid rgba(229, 170, 50, 0.22);

    border-radius: 18px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.portfolio-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(229, 170, 50, 0.55);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(229, 170, 50, 0.06);
}


.portfolio-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #050608;
}


.portfolio-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


.portfolio-card:hover .portfolio-image img {
    transform: scale(1.045);

    filter: brightness(1.05);
}


.portfolio-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.18));

    pointer-events: none;
}


.portfolio-image .project-number {
    position: absolute;
}


.portfolio-content {
    padding: 30px 28px 32px;
}


.portfolio-content h2 {
    margin: 0 0 14px;

    font-family:
        var(--font-display);

    font-size: 30px;

    line-height: 1.05;

    font-weight: 500;

    color: var(--white);
}


.portfolio-content p {
    margin: 0 0 24px;

    font-size: 14px;

    line-height: 1.75;

    color: #8e8a82;
}


.portfolio-cta {
    padding: 0 0 120px;
}


.portfolio-cta-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 65px 70px;

    border:
        1px solid rgba(229, 170, 50, 0.25);

    border-radius: 20px;

    background:
        radial-gradient(circle at 85% 20%,
            rgba(229, 170, 50, 0.12),
            transparent 38%),
        #0c0b09;
}


.portfolio-cta-box h2 {
    margin: 0 0 16px;

    font-family:
        var(--font-display);

    font-size:
        clamp(40px, 5vw, 70px);

    line-height: 0.95;

    font-weight: 500;

    letter-spacing: -2px;

    color: var(--white);
}


.portfolio-cta-box h2 span {
    color: var(--gold);
}


.portfolio-cta-box p {
    max-width: 560px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: #8f8b83;
}


.primary-button {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 28px;

    border:
        1px solid var(--gold);

    border-radius: 999px;

    background: var(--gold);

    font-size: 13px;

    font-weight: 700;

    color: #090806;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.primary-button:hover {
    transform: translateY(-3px);

    background: #f0b945;

    box-shadow:
        0 12px 30px rgba(229, 170, 50, 0.18);
}


/* =========================================================
   FEATURED PROJECT / SMARTBIZ OS
========================================================= */

.featured-project {
    width: 100%;

    margin:
        120px 0;
}


.featured-project-header {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 55px;
}


.featured-project-header h2 {
    margin: 18px 0 0;

    max-width: 700px;

    font-family:
        var(--font-display);

    font-size:
        clamp(48px, 6vw, 88px);

    line-height: 0.95;

    font-weight: 400;

    letter-spacing: -0.045em;

    color: var(--white);
}


.featured-project-header h2 span {
    color: var(--gold);
}


.featured-project-intro {
    max-width: 500px;

    margin: 0;

    color: #8e8a82;

    font-size: 16px;

    line-height: 1.8;
}


.featured-project-card {
    position: relative;

    display: grid;

    grid-template-columns:
        1.35fr 0.65fr;

    min-height: 620px;

    overflow: hidden;

    border:
        1px solid rgba(230, 170, 53, 0.25);

    border-radius: 22px;

    background:
        radial-gradient(circle at 80% 20%,
            rgba(230, 170, 53, 0.09),
            transparent 35%),
        #0d0c0a;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}


.featured-project-image {
    position: relative;

    min-height: 620px;

    overflow: hidden;

    background: #05070d;
}


.featured-project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(90deg,
            transparent 55%,
            rgba(13, 12, 10, 0.55) 100%),
        linear-gradient(0deg,
            rgba(13, 12, 10, 0.35),
            transparent 40%);

    pointer-events: none;
}


.featured-project-image img {
    width: 100%;
    height: 100%;

    min-height: 620px;

    display: block;

    object-fit: cover;

    transition: transform 0.8s ease;
}


.featured-project-card:hover .featured-project-image img {
    transform: scale(1.035);
}


.featured-project-number {
    position: absolute;

    top: 28px;
    left: 28px;

    z-index: 2;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(230, 170, 53, 0.45);

    border-radius: 50%;

    background:
        rgba(10, 9, 8, 0.75);

    backdrop-filter: blur(10px);

    color: var(--gold);

    font-size: 14px;

    font-weight: 600;
}


.featured-project-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 70px 60px;
}


.featured-project-content .project-category {
    margin: 0 0 20px;

    color: var(--gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.24em;
}


.featured-project-content h3 {
    margin: 0 0 22px;

    font-family:
        var(--font-display);

    font-size:
        clamp(42px, 4vw, 64px);

    line-height: 1;

    font-weight: 400;

    letter-spacing: -0.04em;

    color: var(--white);
}


.featured-description {
    max-width: 470px;

    margin: 0 0 30px;

    color: #929087;

    font-size: 15px;

    line-height: 1.8;
}


.featured-project-meta {
    display: grid;

    grid-template-columns: 1fr;

    gap: 18px;

    padding-top: 28px;

    margin-bottom: 38px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}


.featured-project-meta div {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.featured-project-meta span {
    color: #6f6b64;

    font-size: 9px;

    letter-spacing: 0.2em;
}


.featured-project-meta strong {
    color: #d4d0c7;

    font-size: 12px;

    font-weight: 500;

    text-align: right;
}


.featured-project-link {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 600;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}


.featured-project-link span {
    font-size: 18px;

    transition:
        transform 0.25s ease;
}


.featured-project-link:hover {
    color: var(--gold-light);

    gap: 16px;
}


.featured-project-link:hover span {
    transform: translateX(3px);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    position: relative;

    width: 100%;

    padding: 75px 0 0;

    overflow: hidden;

    background: #050403;

    border-top:
        1px solid var(--border);
}


.site-footer::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    left: 50%;
    bottom: -330px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        rgba(217, 164, 65, 0.06);

    filter: blur(100px);
}


.footer-container {
    position: relative;

    z-index: 2;

    width:
        min(90%, var(--container));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.3fr 1.2fr;

    gap: 55px;
}


.footer-brand {
    max-width: 340px;
}


.footer-logo {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--white);

    font-size: 1.35rem;

    font-weight: 700;
}


.footer-logo span {
    color: var(--gold);

    font-family: var(--font-display);
}


.footer-tagline {
    margin-bottom: 10px;

    color: #cfc7b9;

    font-size: 0.85rem;
}


.footer-description {
    color: #77736b;

    font-size: 0.8rem;

    line-height: 1.8;
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.footer-column h4 {
    margin-bottom: 20px;

    color: var(--gold);

    font-family: var(--font-body);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.footer-column a {
    margin-bottom: 11px;

    color: #aaa49a;

    font-size: 0.82rem;

    transition: 0.25s ease;
}


.footer-column a:hover {
    color: var(--gold);

    transform: translateX(4px);
}


.footer-socials {
    display: flex;

    gap: 9px;

    margin-top: 10px;
}


.footer-socials a {
    width: 36px;
    height: 36px;

    margin: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    font-size: 0.65rem;

    transition: 0.25s ease;
}


.footer-socials a:hover {
    background: var(--gold);

    border-color: var(--gold);

    color: #080808;

    transform: translateY(-3px);
}


.footer-bottom {
    position: relative;

    z-index: 2;

    width:
        min(90%, var(--container));

    margin: 60px auto 0;

    padding:
        22px 0 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid var(--border);
}


.footer-bottom p {
    color: #65615a;

    font-size: 0.7rem;
}


#currentYear {
    color: #aaa49a;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal,
.service-card,
.project-card,
.about-content,
.section-title {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.visible,
.service-card.visible,
.project-card.visible,
.about-content.visible,
.section-title.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET — 1100px
========================================================= */

@media (max-width: 1100px) {

    .hero {
        grid-template-columns: 1fr;

        padding:
            120px 6% 80px;
    }


    .hero-content {
        max-width: 650px;
    }


    .hero-visual {
        opacity: 0.55;
    }


    .hero-visual::before {
        background:
            linear-gradient(90deg,
                #080706 0%,
                rgba(8, 7, 6, 0.90) 50%,
                rgba(8, 7, 6, 0.25) 100%);
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .why-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .portfolio-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .portfolio-page-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .contact-layout {
        grid-template-columns:
            1fr 1.2fr;
    }


    .footer-container {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 45px;
    }


    .featured-project-header {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .featured-project-card {
        grid-template-columns: 1fr;
    }


    .featured-project-image,
    .featured-project-image img {
        min-height: 480px;
    }


    .featured-project-content {
        padding: 55px 45px;
    }
}


/* =========================================================
   TABLET / MOBILE NAV — 850px
========================================================= */

@media (max-width: 850px) {

    nav {
        min-height: 72px;
    }


    .mobile-menu-toggle {
        display: flex;
    }


    .nav-links {
        position: absolute;

        top: 72px;

        left: 5%;

        width: 90%;

        padding: 25px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        background:
            rgba(8, 7, 6, 0.98);

        border:
            1px solid var(--gold-border);

        border-radius: 18px;

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: 0.3s ease;
    }


    .nav-links.active {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    .nav-links li {
        width: 100%;
    }


    .nav-links a {
        display: block;

        padding: 13px 8px;
    }


    .nav-links a:not(.nav-cta)::after {
        display: none;
    }


    .nav-cta {
        text-align: center;

        margin-top: 8px;
    }


    .services-header {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .contact-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .portfolio-hero-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .portfolio-cta-box {
        padding: 50px;
    }
}


/* =========================================================
   MOBILE — 650px
========================================================= */

@media (max-width: 650px) {

    .section-container,
    .contact-container {
        width:
            min(92%, 560px);
    }


    /* HEADER */

    nav {
        width: 92%;
    }


    .logo a {
        font-size: 1.25rem;
    }


    /* HERO */

    .hero {
        min-height: 100svh;

        padding:
            105px 4% 55px;

        align-items: center;
    }


    .hero-visual {
        opacity: 0.42;
    }


    .hero-visual img {
        object-position: 62% center;

        filter:
            brightness(0.62) contrast(1.08);
    }


    .hero-visual::before {
        background:
            linear-gradient(90deg,
                rgba(8, 7, 6, 1) 0%,
                rgba(8, 7, 6, 0.92) 35%,
                rgba(8, 7, 6, 0.60) 70%,
                rgba(8, 7, 6, 0.40) 100%);
    }


    .hero h1 {
        font-size:
            clamp(3.2rem, 15vw, 5rem);

        letter-spacing:
            -2.5px;

        line-height:
            0.92;
    }


    .hero-label {
        margin-bottom: 22px;

        font-size: 9px;

        letter-spacing: 2.8px;
    }


    .hero-description {
        max-width: 450px;

        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 28px;
    }


    .hero-buttons {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }


    .btn {
        width: 100%;
    }


    .hero-stats {
        margin-top: 42px;

        justify-content: space-between;

        gap: 15px;
    }


    .hero-stats strong {
        font-size: 19px;
    }


    .hero-stats span {
        font-size: 8px;

        letter-spacing: 1px;
    }


    /* ABOUT */

    .about {
        padding: 95px 0;
    }


    .about-grid {
        gap: 40px;
    }


    .about-content h2 {
        font-size:
            clamp(2.8rem, 14vw, 4.2rem);

        letter-spacing: -2px;
    }


    .about-content p:not(.section-label) {
        font-size: 0.9rem;
    }


    .about-highlight {
        min-height: 360px;

        padding: 30px;
    }


    .about-highlight h3 {
        font-size: 1.6rem;
    }


    .about-number {
        font-size: 4rem;
    }


    /* WHY */

    .why-us {
        margin-top: 80px;

        padding-top: 65px;
    }


    .why-header {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 35px;
    }


    .why-header h2 {
        font-size:
            clamp(2.7rem, 13vw, 4rem);

        letter-spacing: -2px;
    }


    .why-grid {
        grid-template-columns: 1fr;
    }


    .why-card {
        min-height: 270px;
    }


    /* SERVICES */

    .services {
        padding: 100px 0;
    }


    .services-header {
        margin-bottom: 45px;
    }


    .services-header h2 {
        font-size:
            clamp(2.7rem, 13vw, 4rem);

        letter-spacing: -2px;
    }


    .services-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .service-card {
        min-height: 340px;

        padding: 27px;
    }


    /* HOME PORTFOLIO */

    .portfolio {
        padding: 100px 0 75px;
    }


    .portfolio h2 {
        font-size:
            clamp(2.7rem, 13vw, 4rem);

        letter-spacing: -2px;
    }


    .portfolio-intro {
        margin-bottom: 40px;

        font-size: 14px;
    }


    .portfolio-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .project-content {
        padding:
            24px 22px 26px;
    }


    .project-content h3 {
        font-size: 22px;
    }


    /* CONTACT */

    .contact {
        padding: 95px 0 100px;
    }


    .contact-header {
        margin-bottom: 50px;
    }


    .contact-header h2 {
        font-size:
            clamp(3rem, 14vw, 5rem);

        letter-spacing: -2.5px;
    }


    .form-two {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-form-box {
        padding:
            25px 20px;
    }


    /* PORTFOLIO PAGE */

    .portfolio-container {
        width: calc(100% - 32px);
    }


    .portfolio-hero {
        padding: 80px 0 45px;
    }


    .portfolio-hero h1 {
        font-size:
            clamp(52px, 15vw, 78px);

        letter-spacing: -3px;
    }


    .portfolio-hero-description p {
        font-size: 14px;
    }


    .portfolio-projects {
        padding: 25px 0 80px;
    }


    .portfolio-page-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .portfolio-content {
        padding:
            25px 22px 28px;
    }


    .portfolio-content h2 {
        font-size: 27px;
    }


    .portfolio-content p {
        font-size: 13px;
    }


    .portfolio-cta {
        padding-bottom: 80px;
    }


    .portfolio-cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 40px 25px;

        gap: 30px;
    }


    .portfolio-cta-box h2 {
        font-size: 45px;
    }


    .primary-button {
        width: 100%;
    }


    /* FEATURED */

    .featured-project {
        margin-top: 80px;

        margin-bottom: 80px;
    }


    .featured-project-header {
        margin-bottom: 35px;
    }


    .featured-project-header h2 {
        font-size: 48px;
    }


    .featured-project-card {
        border-radius: 16px;
    }


    .featured-project-image,
    .featured-project-image img {
        min-height: 300px;
    }


    .featured-project-number {
        top: 18px;
        left: 18px;

        width: 44px;
        height: 44px;
    }


    .featured-project-content {
        padding: 40px 25px;
    }


    .featured-project-content h3 {
        font-size: 42px;
    }


    .featured-project-meta div {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }


    .featured-project-meta strong {
        text-align: left;
    }


    /* FOOTER */

    .site-footer {
        padding-top: 55px;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-brand {
        max-width: 100%;
    }


    .footer-bottom {
        margin-top: 45px;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }
}


/* =========================================================
   SMALL MOBILE — 420px
========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 3rem;
    }


    .hero-stats {
        gap: 8px;
    }


    .hero-stats strong {
        font-size: 17px;
    }


    .hero-stats span {
        font-size: 7px;
    }


    .about-highlight {
        min-height: 330px;

        padding: 25px;
    }


    .service-card {
        min-height: 320px;
    }


    .contact-form-box {
        padding:
            20px 16px;
    }


    .portfolio-hero h1 {
        font-size: 50px;
    }


    .portfolio-image {
        aspect-ratio: 16 / 10;
    }


    .portfolio-content h2 {
        font-size: 25px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline:
        2px solid var(--gold);

    outline-offset:
        4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}

/* =========================================================
   PREMIUM BROSCode TECH LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand-logo {
    width: 165px;
    height: 72px;

    object-fit: contain;
    display: block;

    /* Premium subtle glow */
    filter:
        drop-shadow(0 0 4px rgba(234, 179, 54, 0.30)) drop-shadow(0 0 10px rgba(234, 179, 54, 0.16));

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

/* Premium hover effect */

.logo a:hover .brand-logo {
    transform: scale(1.035);

    filter:
        drop-shadow(0 0 6px rgba(234, 179, 54, 0.55)) drop-shadow(0 0 16px rgba(234, 179, 54, 0.28));
}


/* =========================================================
   MOBILE LOGO
========================================================= */

@media (max-width: 768px) {

    .brand-logo {
        width: 135px;
        height: 62px;

        filter:
            drop-shadow(0 0 4px rgba(234, 179, 54, 0.28)) drop-shadow(0 0 9px rgba(234, 179, 54, 0.14));
    }

}

/* =========================================================
   BROSCODE PREMIUM MOTION SYSTEM
   ADD-ON LAYER — KEEP EXISTING CSS
========================================================= */


/* =========================================================
   1. PAGE LOAD
========================================================= */

body.premium-loading {
    overflow-x: hidden;
}

body.premium-ready {
    overflow-x: hidden;
}


/* =========================================================
   2. HERO AMBIENT LIGHT
========================================================= */

.premium-ambient-light {
    position: absolute;

    width: 420px;
    height: 420px;

    left: 50%;
    top: 45%;

    z-index: 1;

    pointer-events: none;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(217, 164, 65, 0.11) 0%,
            rgba(217, 164, 65, 0.045) 30%,
            rgba(217, 164, 65, 0.015) 52%,
            transparent 72%);

    filter: blur(18px);

    opacity: 0.75;

    transition:
        left 1s cubic-bezier(.22, 1, .36, 1),
        top 1s cubic-bezier(.22, 1, .36, 1);
}


/* =========================================================
   3. POINTER GOLD GLOW
========================================================= */

.pointer-gold-glow {
    position: fixed;

    top: 0;
    left: 0;

    width: 180px;
    height: 180px;

    z-index: 9999;

    pointer-events: none;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(217, 164, 65, 0.07) 0%,
            rgba(217, 164, 65, 0.025) 35%,
            transparent 72%);

    filter: blur(12px);

    opacity: 0.65;

    will-change: transform;
}


/* =========================================================
   4. SCROLL PROGRESS
========================================================= */

.scroll-progress {
    position: fixed;

    top: 0;
    left: 0;

    width: 0%;
    height: 2px;

    z-index: 10001;

    background:
        linear-gradient(90deg,
            var(--gold-dark),
            var(--gold),
            var(--gold-light));

    box-shadow:
        0 0 10px rgba(217, 164, 65, 0.45);

    pointer-events: none;

    transition: width 0.08s linear;
}


/* =========================================================
   5. PREMIUM BUTTON SHINE
========================================================= */

.primary-btn,
.secondary-btn,
.primary-button,
.contact-submit,
.nav-cta {
    position: relative;

    overflow: hidden;

    isolation: isolate;
}


.primary-btn::before,
.primary-button::before,
.contact-submit::before,
.nav-cta::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    transform: skewX(-20deg);

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent);

    transition:
        left 0.75s ease;

    pointer-events: none;
}


.primary-btn:hover::before,
.primary-button:hover::before,
.contact-submit:hover::before,
.nav-cta:hover::before {
    left: 150%;
}


.primary-btn>*,
.primary-button>*,
.contact-submit>*,
.nav-cta>* {
    position: relative;

    z-index: 2;
}


/* =========================================================
   6. RIPPLE
========================================================= */

.btn,
.primary-btn,
.secondary-btn,
.primary-button,
.contact-submit {
    position: relative;

    overflow: hidden;
}


.ripple {
    position: absolute;

    display: block;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.24);

    transform:
        scale(0);

    pointer-events: none;

    animation:
        broscodeRipple 0.7s ease-out forwards;
}


@keyframes broscodeRipple {

    0% {
        opacity: 0.65;

        transform: scale(0);
    }

    100% {
        opacity: 0;

        transform: scale(2.4);
    }

}


/* =========================================================
   7. PREMIUM CARD LIGHT
========================================================= */

.service-card,
.project-card,
.why-card,
.portfolio-card {
    position: relative;

    isolation: isolate;
}


.service-card::after,
.project-card::after,
.why-card::after,
.portfolio-card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    border-radius: inherit;

    background:
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(217, 164, 65, 0.11),
            transparent 35%);

    opacity: 0;

    transition:
        opacity 0.35s ease;

    pointer-events: none;
}


.service-card:hover::after,
.project-card:hover::after,
.why-card:hover::after,
.portfolio-card:hover::after {
    opacity: 1;
}


/* =========================================================
   8. PREMIUM CARD BORDER GLOW
========================================================= */

.service-card:hover,
.project-card:hover,
.why-card:hover,
.portfolio-card:hover {
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.42),
        0 0 35px rgba(217, 164, 65, 0.07);
}


/* =========================================================
   9. HERO IMAGE CINEMATIC EFFECT
========================================================= */

.hero-visual img {
    will-change:
        transform,
        filter;

    transition:
        transform 1.2s cubic-bezier(.22, 1, .36, 1),
        filter 0.8s ease;
}


.hero:hover .hero-visual img {
    filter:
        brightness(0.73) contrast(1.09);
}


/* =========================================================
   10. HERO CONTENT PREMIUM DEPTH
========================================================= */

.hero-content {
    will-change: transform;
}


.hero h1 {
    text-wrap: balance;
}


.hero h1 span {
    position: relative;

    display: inline-block;
}


.hero h1 span::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background:
        linear-gradient(90deg,
            var(--gold),
            transparent);

    opacity: 0;

    transition:
        width 0.8s ease,
        opacity 0.8s ease;
}


.hero:hover h1 span::after {
    width: 100%;

    opacity: 0.55;
}


/* =========================================================
   11. HERO LABEL
========================================================= */

.hero-label {
    position: relative;

    width: fit-content;
}


.hero-label::before {
    content: "";

    display: inline-block;

    width: 28px;
    height: 1px;

    margin-right: 10px;

    vertical-align: middle;

    background:
        linear-gradient(90deg,
            var(--gold),
            transparent);
}


/* =========================================================
   12. SECTION LABEL ACCENT
========================================================= */

.section-label,
.contact-label,
.hero-label {
    text-shadow:
        0 0 18px rgba(217, 164, 65, 0.12);
}


/* =========================================================
   13. ABOUT HIGHLIGHT
========================================================= */

.about-highlight {
    overflow: hidden;
}


.about-highlight::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -70px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(217, 164, 65, 0.12),
            transparent 70%);

    filter: blur(8px);

    animation:
        aboutOrb 7s ease-in-out infinite alternate;

    pointer-events: none;
}


@keyframes aboutOrb {

    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(-35px, 25px, 0);
    }

}


/* =========================================================
   14. SERVICE CARD TOP LINE
========================================================= */

.service-card::before {
    height: 2px;

    background:
        linear-gradient(90deg,
            transparent,
            var(--gold),
            transparent);
}


/* =========================================================
   15. PROJECT IMAGE PREMIUM OVERLAY
========================================================= */

.project-image::before,
.portfolio-image::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(120deg,
            transparent 20%,
            rgba(217, 164, 65, 0.07),
            transparent 80%);

    transform:
        translateX(-100%);

    transition:
        transform 0.9s ease;

    pointer-events: none;
}


.project-card:hover .project-image::before,
.portfolio-card:hover .portfolio-image::before {
    transform:
        translateX(100%);
}


/* =========================================================
   16. FEATURED PROJECT GLOW
========================================================= */

.featured-project-card {
    isolation: isolate;
}


.featured-project-card::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(217, 164, 65, 0.10),
            transparent 70%);

    filter: blur(18px);

    pointer-events: none;

    z-index: 0;

    animation:
        featuredGlow 9s ease-in-out infinite alternate;
}


@keyframes featuredGlow {

    from {
        transform:
            translate3d(0, 0, 0) scale(1);
    }

    to {
        transform:
            translate3d(-70px, 45px, 0) scale(1.15);
    }

}


/* =========================================================
   17. FOOTER GOLD LINE
========================================================= */

.site-footer::after {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: min(480px, 55%);

    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(90deg,
            transparent,
            rgba(217, 164, 65, 0.55),
            transparent);

    box-shadow:
        0 0 18px rgba(217, 164, 65, 0.18);

    pointer-events: none;
}


/* =========================================================
   18. FOOTER SOCIAL MICRO INTERACTION
========================================================= */

.footer-socials a {
    position: relative;

    overflow: hidden;
}


.footer-socials a::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, 0.18),
            transparent 65%);

    opacity: 0;

    transition:
        opacity 0.3s ease;

    pointer-events: none;
}


.footer-socials a:hover::before {
    opacity: 1;
}


/* =========================================================
   19. NAV ACTIVE GOLD GLOW
========================================================= */

.nav-links a.active {
    text-shadow:
        0 0 15px rgba(217, 164, 65, 0.16);
}


.nav-links a.active::after {
    box-shadow:
        0 0 8px rgba(217, 164, 65, 0.45);
}


/* =========================================================
   20. LOGO PREMIUM MOTION
========================================================= */

.brand-logo {
    will-change:
        transform,
        filter;
}


@media (min-width: 851px) {

    .logo a:hover .brand-logo {
        transform:
            scale(1.035) translateY(-1px);
    }

}


/* =========================================================
   21. SCROLL REVEAL SMOOTHING
========================================================= */

.reveal,
.service-card,
.project-card,
.about-content,
.about-highlight,
.section-title,
.services-header,
.why-card,
.featured-project-card {
    will-change:
        opacity,
        transform;
}


.reveal.visible,
.service-card.visible,
.project-card.visible,
.about-content.visible,
.about-highlight.visible,
.section-title.visible,
.services-header.visible,
.why-card.visible,
.featured-project-card.visible {
    will-change: auto;
}


/* =========================================================
   22. MOBILE PERFORMANCE
========================================================= */

@media (max-width: 850px) {

    .pointer-gold-glow {
        display: none;
    }


    .premium-ambient-light {
        width: 300px;
        height: 300px;

        opacity: 0.5;
    }


    .service-card:hover,
    .project-card:hover,
    .why-card:hover,
    .portfolio-card:hover {
        box-shadow:
            0 18px 45px rgba(0, 0, 0, 0.35),
            0 0 25px rgba(217, 164, 65, 0.05);
    }

}


/* =========================================================
   23. SMALL SCREEN SAFETY
========================================================= */

@media (max-width: 650px) {

    .premium-ambient-light {
        width: 230px;
        height: 230px;

        filter: blur(24px);

        opacity: 0.38;
    }


    .scroll-progress {
        height: 2px;
    }


    .hero-content {
        will-change: auto;
    }

}


/* =========================================================
   24. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .premium-ambient-light,
    .pointer-gold-glow,
    .scroll-progress {
        display: none;
    }


    .about-highlight::after,
    .featured-project-card::before {
        animation: none;
    }


    .project-image::before,
    .portfolio-image::before {
        display: none;
    }

}

/* =========================================================
   LIVE MOTION FINAL POLISH
========================================================= */

.premium-ambient-light {
    width: 520px;
    height: 520px;

    transform: translate(-50%, -50%);

    mix-blend-mode: screen;

    will-change: left, top;

    animation: premiumAmbientPulse 6s ease-in-out infinite alternate;
}

@keyframes premiumAmbientPulse {

    0% {
        opacity: 0.42;
        scale: 0.92;
    }

    50% {
        opacity: 0.72;
        scale: 1.05;
    }

    100% {
        opacity: 0.48;
        scale: 0.97;
    }

}


.hero-visual img {
    will-change: transform;
}


.pointer-gold-glow {
    mix-blend-mode: screen;
    will-change: transform;
}


.service-card,
.project-card,
.why-card,
.portfolio-card {
    will-change: transform;
}


@media (max-width: 850px) {

    .premium-ambient-light {
        width: 320px;
        height: 320px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .premium-ambient-light {
        animation: none;
    }

}

/* =========================================================
   EXACT CINEMATIC INTRO
========================================================= */

body.cinematic-intro-active {
    overflow-x: hidden;
}


/* Initial black cinematic atmosphere */

body.cinematic-intro-active::before {
    background:
        radial-gradient(circle at 50% 45%,
            rgba(217, 164, 65, 0.075),
            transparent 24%),
        #080706;
}


/* Hero stays visually controlled during intro */

.cinematic-intro-active .hero {
    isolation: isolate;
}


/* Subtle gold breathing light */

.cinematic-intro-active .hero::after {
    opacity: 0.65;

    animation:
        cinematicGoldBreath 3.5s ease-in-out infinite alternate;
}


@keyframes cinematicGoldBreath {

    0% {
        transform:
            scale(0.88) translate3d(20px, 0, 0);

        opacity: 0.35;
    }

    100% {
        transform:
            scale(1.08) translate3d(-20px, -10px, 0);

        opacity: 0.75;
    }

}


/* Logo stays above hero effects */

.cinematic-intro-active .brand-logo {
    position: relative;
    z-index: 20;
}


/* Hero text above visual */

.cinematic-intro-active .hero-content {
    position: relative;
    z-index: 10;
}


/* After intro */

.cinematic-intro-complete .hero-visual img {
    will-change: transform;
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    body.cinematic-intro-active::before,
    .cinematic-intro-active .hero::after {
        animation: none;
    }

}

/* =========================================================
   GOLDEN DIGITAL FLOW
========================================================= */

.golden-flow-canvas {

    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100vh;

    z-index: -2;

    pointer-events: none;

    opacity: 0.9;

}


/*
   Keep all actual content above
   the live background.
*/

body::before {
    z-index: -3;
}


.hero,
.about,
.services,
.portfolio,
.contact,
.site-footer {
    position: relative;
}


/*
   Subtle glass/depth feel.
*/

.service-card,
.project-card,
.why-card,
.portfolio-card,
.about-highlight,
.contact-form-box {

    isolation: isolate;

}


/*
   Mobile: reduce visual intensity.
*/

@media (max-width: 650px) {

    .golden-flow-canvas {
        opacity: 0.55;
    }

}