/* ==============================================
   css/main.css
   Anish Portfolio — Base Navbar Styles
   ============================================== */

/* -----------------------------------------------
   CSS Custom Properties (Design Tokens)
   ----------------------------------------------- */
:root {
    --color-bg:          #0a0a0f;
    --color-accent:      #4D9FFF;
    --color-accent-dim:  rgba(77, 159, 255, 0.15);
    --color-accent-glow: rgba(77, 159, 255, 0.35);
    --color-text:        #ffffff;
    --color-subtext:     #8892a4;
    --color-surface:     rgba(10, 10, 15, 0.85);
    --color-border:      rgba(77, 159, 255, 0.12);

    --font-logo:  'Syne', sans-serif;
    --font-body:  'DM Sans', sans-serif;

    --nav-height:        72px;
    --nav-height-mob:    60px;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-pill: 100px;

    --transition-fast:   0.2s ease;
    --transition-med:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --z-header:   999;
    --z-overlay:  998;
}

/* -----------------------------------------------
   Base Reset
   ----------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global card hover transition utility
   Applied to all card types that use transform on hover */
.skill-card,
.service-card {
    transition:
        transform   var(--transition-mid),
        border-color var(--transition-mid),
        box-shadow  var(--transition-mid);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

ul {
    list-style: none;
}

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

/* -----------------------------------------------
   Site Header
   ----------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    height: var(--nav-height);

    /* Transparent by default; JS adds .scrolled class */
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

/* -----------------------------------------------
   Navbar Layout
   ----------------------------------------------- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

/* -----------------------------------------------
   Logo
   ----------------------------------------------- */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar__logo-initials {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow:
        0 0 20px rgba(77, 159, 255, 0.6),
        0 0 40px rgba(77, 159, 255, 0.25);
    transition: text-shadow var(--transition-med);
}

.navbar__logo:hover .navbar__logo-initials,
.navbar__logo:focus-visible .navbar__logo-initials {
    text-shadow:
        0 0 24px rgba(77, 159, 255, 0.9),
        0 0 60px rgba(77, 159, 255, 0.45);
}

.navbar__logo-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
    margin-bottom: 0.75rem;
    box-shadow: 0 0 8px rgba(77, 159, 255, 0.8);
    flex-shrink: 0;
}

/* -----------------------------------------------
   Desktop Nav Links
   ----------------------------------------------- */
.navbar__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 auto;
}

.navbar__item {
    position: relative;
}

.navbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-subtext);
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast);
    overflow: hidden;
}

/* Hover underline — base state (hidden) */
.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0.875rem;
    right: 0.875rem;
    height: 1.5px;
    background-color: var(--color-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--transition-med);
}

/* Hover state */
.navbar__link:hover,
.navbar__link:focus-visible {
    color: var(--color-text);
    outline: none;
}

.navbar__link:hover::after,
.navbar__link:focus-visible::after {
    transform: scaleX(1);
}

/* Active state (set by JS scroll spy) */
.navbar__link.is-active {
    color: var(--color-accent);
    background-color: var(--color-accent-dim);
}

.navbar__link.is-active::after {
    transform: scaleX(1);
}

/* -----------------------------------------------
   CTA Button
   ----------------------------------------------- */
.navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-bg);
    background-color: var(--color-accent);
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--color-accent);
    flex-shrink: 0;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
    letter-spacing: 0.01em;
}

.navbar__cta:hover,
.navbar__cta:focus-visible {
    background-color: transparent;
    color: var(--color-accent);
    box-shadow: 0 0 20px rgba(77, 159, 255, 0.3);
    transform: translateY(-1px);
    outline: none;
}

.navbar__cta-arrow {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.navbar__cta:hover .navbar__cta-arrow {
    transform: translate(2px, -2px);
}

/* -----------------------------------------------
   Hamburger Button
   ----------------------------------------------- */
.navbar__hamburger {
    display: none; /* shown via responsive.css */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    z-index: calc(var(--z-header) + 2);
    position: relative;
}

.hamburger__bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--color-text);
    border-radius: 2px;
    transform-origin: center;
}

/* -----------------------------------------------
   Mobile Overlay Nav
   ----------------------------------------------- */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--nav-height-mob) clamp(1.5rem, 6vw, 3rem) 2rem;
    pointer-events: none;
    visibility: hidden;
}

.mobile-overlay.is-open {
    pointer-events: all;
    visibility: visible;
}

/* Decorative background grid */
.mobile-overlay__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(77, 159, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 159, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.mobile-overlay__nav {
    width: 100%;
}

.mobile-overlay__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.mobile-overlay__item {
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.mobile-overlay__item:first-child {
    border-top: 1px solid var(--color-border);
}

.mobile-overlay__link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 0;
    font-family: var(--font-logo);
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--color-subtext);
    letter-spacing: -0.02em;
    line-height: 1;
    transition: color var(--transition-fast), padding-left var(--transition-med);
}

.mobile-overlay__link:hover,
.mobile-overlay__link.is-active {
    color: var(--color-text);
    padding-left: 0.5rem;
}

.mobile-overlay__link.is-active {
    color: var(--color-accent);
}

.mobile-overlay__num {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    opacity: 0.7;
    min-width: 24px;
    align-self: flex-end;
    margin-bottom: 0.25rem;
}

/* Overlay footer */
.mobile-overlay__footer {
    position: absolute;
    bottom: 2.5rem;
    left: clamp(1.5rem, 6vw, 3rem);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mobile-overlay__tagline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-subtext);
    letter-spacing: 0.02em;
}

.mobile-overlay__status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
    flex-shrink: 0;
}

/* -----------------------------------------------
   Site Main
   ----------------------------------------------- */
.site-main {
    min-height: 100vh;
    padding-top: var(--nav-height);
}

/* -----------------------------------------------
   Focus Visible (Accessibility)
   ----------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* ==============================================
   css/main.css — Hero Section
   Anish Portfolio — Base Hero Styles
   Append these rules to your existing main.css
   ============================================== */

/* -----------------------------------------------
   Hero Section — Layout
   ----------------------------------------------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: calc(var(--nav-height) + 2rem) clamp(1.25rem, 5vw, 4rem) 4rem;
}

/* Two-column grid */
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* -----------------------------------------------
   Hero Background
   ----------------------------------------------- */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Blue radial glow — right side behind image */
.hero__bg-glow {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: min(700px, 70vw);
    height: min(700px, 70vw);
    background: radial-gradient(
        ellipse at center,
        rgba(77, 159, 255, 0.12) 0%,
        rgba(77, 159, 255, 0.04) 45%,
        transparent 70%
    );
    border-radius: 50%;
}

/* Geometric floating shapes */
.hero__shape {
    position: absolute;
    border-radius: 4px;
    border: 1px solid rgba(77, 159, 255, 0.12);
    background: transparent;
}

.hero__shape--1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 8%;
    border-radius: 50%;
    background: rgba(77, 159, 255, 0.06);
    border-color: rgba(77, 159, 255, 0.15);
}

.hero__shape--2 {
    width: 50px;
    height: 50px;
    top: 65%;
    left: 15%;
    transform: rotate(45deg);
    background: rgba(77, 159, 255, 0.04);
    border-color: rgba(77, 159, 255, 0.1);
}

.hero__shape--3 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    border-radius: 50%;
    background: rgba(77, 159, 255, 0.03);
    border-color: rgba(77, 159, 255, 0.08);
}

.hero__shape--4 {
    width: 35px;
    height: 35px;
    bottom: 20%;
    right: 38%;
    transform: rotate(30deg);
    background: rgba(77, 159, 255, 0.05);
    border-color: rgba(77, 159, 255, 0.12);
}

/* -----------------------------------------------
   Hero — Left Column: Text Content
   ----------------------------------------------- */
.hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 600px;
}

/* Greeting label */
.hero__greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-subtext);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__greeting-wave {
    font-size: 1.1rem;
    display: inline-block;
}

/* Name */
.hero__name {
    font-family: var(--font-logo);
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

/* Typing row — first line (JS-animated role title) */
.hero__typing-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--color-subtext);
    min-height: 2.25rem;
    gap: 0;
}

.hero__typing-prefix {
    flex-shrink: 0;
}

.hero__typing-text {
    color: var(--color-accent);
    font-weight: 600;
    font-family: var(--font-logo);
    letter-spacing: -0.01em;
}

/* Blinking cursor */
.hero__typing-cursor {
    color: var(--color-accent);
    font-weight: 300;
    font-size: 1.4em;
    line-height: 1;
    margin-left: 1px;
    user-select: none;
}

/* -----------------------------------------------
   Pure CSS Typewriter — second rotating line
   Three phrases cycle with overflow:hidden clip
   ----------------------------------------------- */

/* Keyframes timing breakdown (total 18s for 3 phrases × 6s each):
   Each phrase: 0.6s type in, 3.8s hold, 0.6s fade out, 1s pause = 6s
   Phrase 1: 0–33.3%, Phrase 2: 33.3–66.6%, Phrase 3: 66.6–100% */

@keyframes twRotate1 {
    0%,   2%   { opacity: 0; transform: translateY(8px); }
    6%,  28%   { opacity: 1; transform: translateY(0); }
    32%, 100%  { opacity: 0; transform: translateY(-8px); }
}
@keyframes twRotate2 {
    0%,  33%   { opacity: 0; transform: translateY(8px); }
    35%, 60%   { opacity: 1; transform: translateY(0); }
    64%, 100%  { opacity: 0; transform: translateY(-8px); }
}
@keyframes twRotate3 {
    0%,  66%   { opacity: 0; transform: translateY(8px); }
    68%, 94%   { opacity: 1; transform: translateY(0); }
    98%, 100%  { opacity: 0; transform: translateY(-8px); }
}

@keyframes twCursorBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.hero__typewriter-row {
    position: relative;
    height: clamp(1.5rem, 2.5vw, 2rem);
    overflow: hidden;
    margin-top: 0.25rem;
}

.hero__tw-phrase {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    font-weight: 400;
    color: var(--color-subtext);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    animation-duration: 18s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-iteration-count: infinite;
}

.hero__tw-phrase em {
    font-style: normal;
    color: var(--color-accent);
    font-weight: 600;
}

.hero__tw-phrase--1 { animation-name: twRotate1; animation-delay: 0s; }
.hero__tw-phrase--2 { animation-name: twRotate2; animation-delay: 0s; }
.hero__tw-phrase--3 { animation-name: twRotate3; animation-delay: 0s; }

/* Tagline — now replaced by the typewriter row above; kept for fallback */
.hero__tagline {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: var(--color-subtext);
    line-height: 1.65;
    max-width: 440px;
    margin: 0;
}

/* -----------------------------------------------
   Hero — CTA Buttons
   ----------------------------------------------- */
.hero__buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition:
        color       0.25s ease,
        background  0.25s ease,
        border-color 0.25s ease,
        box-shadow  0.25s ease,
        transform   0.2s ease;
}

/* Primary — solid blue */
.hero__btn--primary {
    background-color: var(--color-accent);
    color: #0a0a0f;
    border: 1.5px solid var(--color-accent);
}

.hero__btn--primary:hover,
.hero__btn--primary:focus-visible {
    background-color: #6fb3ff;
    border-color: #6fb3ff;
    box-shadow: 0 0 28px rgba(77, 159, 255, 0.45);
    transform: translateY(-2px);
    outline: none;
}

/* Outline — ghost */
.hero__btn--outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}

.hero__btn--outline:hover,
.hero__btn--outline:focus-visible {
    background-color: rgba(77, 159, 255, 0.1);
    box-shadow: 0 0 20px rgba(77, 159, 255, 0.2);
    transform: translateY(-2px);
    outline: none;
}

/* Button icon */
.hero__btn-icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.hero__btn:hover .hero__btn-icon {
    transform: translate(3px, 0);
}

/* -----------------------------------------------
   Hero — Social Icons
   ----------------------------------------------- */
.hero__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.hero__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(77, 159, 255, 0.2);
    background-color: rgba(77, 159, 255, 0.05);
    color: var(--color-subtext);
    font-size: 0.95rem;
    text-decoration: none;
    transition:
        color        0.25s ease,
        background   0.25s ease,
        border-color 0.25s ease,
        box-shadow   0.25s ease,
        transform    0.2s ease;
}

.hero__social-link:hover,
.hero__social-link:focus-visible {
    color: var(--color-accent);
    background-color: rgba(77, 159, 255, 0.12);
    border-color: var(--color-accent);
    box-shadow: 0 0 14px rgba(77, 159, 255, 0.3);
    transform: translateY(-2px);
    outline: none;
}

/* -----------------------------------------------
   Hero — Right Column: Profile Image
   ----------------------------------------------- */
.hero__image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(260px, 32vw, 420px);
    height: clamp(260px, 32vw, 420px);
}

/* Glowing border ring */
.hero__image-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(77, 159, 255, 0.6);
    box-shadow:
        0 0 30px rgba(77, 159, 255, 0.45),
        0 0 60px rgba(77, 159, 255, 0.15),
        inset 0 0 20px rgba(77, 159, 255, 0.05);
    pointer-events: none;
    z-index: 2;
}

/* Inner glow backdrop */
.hero__image-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(77, 159, 255, 0.18) 0%,
        rgba(77, 159, 255, 0.06) 50%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* Profile image */
.hero__image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    /* Subtle fallback bg if image is loading */
    background-color: rgba(77, 159, 255, 0.08);
}

/* -----------------------------------------------
   Hero — Scroll Hint
   ----------------------------------------------- */
.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(77, 159, 255, 0.6),
        transparent
    );
}

.hero__scroll-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-subtext);
    opacity: 0.6;
}

/* ==============================================
   css/main.css — About Section
   Anish Portfolio — Base About Styles
   Append these rules to your existing main.css
   ============================================== */

/* -----------------------------------------------
   Shared Section Utilities
   (used across all sections — add once to main.css)
   ----------------------------------------------- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-logo);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

/* Electric blue underline bar beneath section title */
.section-title-bar {
    display: block;
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), rgba(77, 159, 255, 0.3));
    border-radius: 2px;
    margin: 0 auto;
}

/* -----------------------------------------------
   About — Section Shell
   ----------------------------------------------- */
.about {
    position: relative;
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
}

/* Subtle top edge gradient separator */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(77, 159, 255, 0.2) 30%,
        rgba(77, 159, 255, 0.2) 70%,
        transparent 100%
    );
}
/* -----------------------------------------------
   About — Container
   ----------------------------------------------- */
.about__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 4rem);
}

/* -----------------------------------------------
   About — Section Header (centered)
   ----------------------------------------------- */
.about__header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.about__header .section-title-bar {
    margin: 0 auto;
}

/* -----------------------------------------------
   About — Two-Column Grid
   ----------------------------------------------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

/* -----------------------------------------------
   About — Left Column: Image
   ----------------------------------------------- */
.about__image-col {
    position: relative;
}

.about__image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 16px;
    overflow: visible; /* allow badge to overflow */
}

/* The image itself */
.about__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    border: 1.5px solid rgba(77, 159, 255, 0.25);
    background-color: rgba(77, 159, 255, 0.06);
    transition:
        transform  0.45s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.45s ease;
}

.about__image-wrap:hover .about__image,
.about__image-wrap:focus-within .about__image {
    transform: scale(1.025) translateY(-4px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(77, 159, 255, 0.15);
    border-color: rgba(77, 159, 255, 0.55);
}

/* Decorative corner L-brackets */
.about__image-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    z-index: 2;
    pointer-events: none;
}

.about__image-corner--tl {
    top: -6px;
    left: -6px;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    border-radius: 3px 0 0 0;
}

.about__image-corner--br {
    bottom: -6px;
    right: -6px;
    border-bottom: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    border-radius: 0 0 3px 0;
}

/* Experience badge */
.about__badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.1rem;
    background-color: #0f0f1a;
    border: 1px solid rgba(77, 159, 255, 0.25);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    z-index: 3;
    white-space: nowrap;
}

.about__badge-number {
    font-family: var(--font-logo);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.about__badge-text {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-subtext);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

/* -----------------------------------------------
   About — Right Column: Content
   ----------------------------------------------- */
.about__content-col {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding-top: 0.5rem;
}

/* Sub-label */
.about__label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* Role heading */
.about__role {
    font-family: var(--font-logo);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0;
}

.about__role-accent {
    color: var(--color-accent);
}

/* Bio paragraph */
.about__bio {
    font-family: var(--font-body);
    font-size: 0.975rem;
    font-weight: 400;
    color: var(--color-subtext);
    line-height: 1.8;
    margin: 0;
    max-width: 540px;
}

/* -----------------------------------------------
   About — Detail Cards Grid
   ----------------------------------------------- */
.about__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about__detail-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background-color: #0f0f1a;
    border: 1px solid rgba(77, 159, 255, 0.1);
    border-radius: 10px;
    transition:
        border-color 0.25s ease,
        box-shadow   0.25s ease,
        transform    0.2s ease,
        background   0.25s ease;
}

.about__detail-card:hover {
    border-color: rgba(77, 159, 255, 0.35);
    box-shadow: 0 0 18px rgba(77, 159, 255, 0.1);
    transform: translateY(-2px);
    background-color: rgba(77, 159, 255, 0.04);
}

/* Icon */
.about__detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(77, 159, 255, 0.1);
    color: var(--color-accent);
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: background-color 0.25s ease;
}

.about__detail-card:hover .about__detail-icon {
    background-color: rgba(77, 159, 255, 0.18);
}

/* Label + value stacked */
.about__detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0; /* allow text truncation */
}

.about__detail-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-subtext);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.about__detail-value {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.3;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Clickable link inside cards */
.about__detail-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.2s ease;
}

.about__detail-link:hover,
.about__detail-link:focus-visible {
    color: var(--color-accent);
    outline: none;
}

/* -----------------------------------------------
   About — CV Download Button
   ----------------------------------------------- */
.about__actions {
    margin-top: 0.5rem;
}

.about__cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 600;
    color: #0a0a0f;
    background-color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-pill);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition:
        background-color 0.25s ease,
        color            0.25s ease,
        box-shadow       0.25s ease,
        transform        0.2s ease,
        border-color     0.25s ease;
}

.about__cv-btn i {
    font-size: 1rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.about__cv-btn:hover,
.about__cv-btn:focus-visible {
    background-color: transparent;
    color: var(--color-accent);
    box-shadow: 0 0 24px rgba(77, 159, 255, 0.35);
    transform: translateY(-2px);
    outline: none;
}

.about__cv-btn:hover i {
    transform: translateY(3px);
}

/* ============================================================
   SKILLS SECTION — main.css
   Theme: Anish Portfolio
   ============================================================ */

/* ---------- CSS Variables (Skills scope) ---------- */
:root {
    --skills-bg:            #0a0a0f;
    --skills-card-bg:       #0f0f1a;
    --skills-card-border:   rgba(77, 159, 255, 0.08);
    --skills-accent:        #4D9FFF;
    --skills-accent-dim:    rgba(77, 159, 255, 0.15);
    --skills-accent-glow:   rgba(77, 159, 255, 0.35);
    --skills-text:          #ffffff;
    --skills-subtext:       #8892a4;
    --skills-tab-bg:        #13131f;
    --skills-tab-border:    rgba(255, 255, 255, 0.06);

    --badge-advanced-bg:    rgba(77, 159, 255, 0.12);
    --badge-advanced-color: #4D9FFF;
    --badge-advanced-border:rgba(77, 159, 255, 0.3);

    --badge-inter-bg:       rgba(100, 210, 180, 0.1);
    --badge-inter-color:    #64d2b4;
    --badge-inter-border:   rgba(100, 210, 180, 0.28);

    --badge-beginner-bg:    rgba(200, 160, 80, 0.1);
    --badge-beginner-color: #c8a050;
    --badge-beginner-border:rgba(200, 160, 80, 0.28);

    --font-heading:         'Syne', sans-serif;
    --font-body:            'DM Sans', sans-serif;

    --transition-fast:      0.2s ease;
    --transition-mid:       0.35s ease;
    --radius-card:          14px;
    --radius-badge:         6px;
    --radius-tab:           10px;
}

/* ---------- Section Shell ---------- */
.skills-section {
    background-color: var(--skills-bg);
    padding: 100px 0;
    width: 100%;
    font-family: var(--font-body);
    color: var(--skills-text);
    position: relative;
    overflow: hidden;
}

/* Subtle background noise texture */
.skills-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(77, 159, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.skills-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- Section Heading ---------- */
.skills-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.skills-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--skills-text);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.skills-heading-accent {
    display: block;
    width: 64px;
    height: 3px;
    background: var(--skills-accent);
    border-radius: 2px;
    margin: 0 auto;
    box-shadow: 0 0 12px var(--skills-accent-glow);
}

/* ---------- Tabs ---------- */
.skills-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    background: var(--skills-tab-bg);
    border: 1px solid var(--skills-tab-border);
    border-radius: var(--radius-tab);
    padding: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.skills-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--skills-subtext);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
    white-space: nowrap;
    outline: none;
}

.skills-tab i {
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.skills-tab:hover {
    color: var(--skills-text);
    background: rgba(255, 255, 255, 0.04);
}

.skills-tab.active {
    color: var(--skills-accent);
    background: var(--skills-accent-dim);
    border-color: var(--skills-accent-border, rgba(77, 159, 255, 0.25));
    box-shadow: 0 0 14px rgba(77, 159, 255, 0.12);
}

.skills-tab.active i {
    color: var(--skills-accent);
}

/* ---------- Tab Panels ---------- */
.skills-panel {
    display: none;
    animation: panelFadeIn 0.32s ease forwards;
}

.skills-panel.active {
    display: block;
}

/* ---------- Cards Grid ---------- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 5-item grid: center last row if odd */
.skills-grid .skill-card:last-child:nth-child(4n + 1) {
    grid-column: 2 / span 2;
}

/* ---------- Skill Card ---------- */
.skill-card {
    background: var(--skills-card-bg);
    border: 1px solid var(--skills-card-border);
    border-radius: var(--radius-card);
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    cursor: default;
    position: relative;
    transition:
        transform var(--transition-mid),
        border-color var(--transition-mid),
        box-shadow var(--transition-mid);
    /* reveal starts hidden — JS Intersection Observer adds .revealed */
    opacity: 0;
    transform: translateY(24px);
}

.skill-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Inner top-glow stripe */
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--skills-accent-glow), transparent);
    opacity: 0;
    transition: opacity var(--transition-mid);
    border-radius: 1px;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: rgba(77, 159, 255, 0.28);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 16px rgba(77, 159, 255, 0.08);
}

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

/* ---------- Card Icon ---------- */
.skill-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 159, 255, 0.07);
    border: 1px solid rgba(77, 159, 255, 0.14);
    border-radius: 12px;
    transition:
        background var(--transition-mid),
        border-color var(--transition-mid);
}

.skill-card__icon i {
    font-size: 1.5rem;
    color: var(--skills-accent);
    transition: color var(--transition-fast);
}

/* ---------- Card Name ---------- */
.skill-card__name {
    font-family: var(--font-heading);
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--skills-text);
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* ---------- Level Badges ---------- */
.skill-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-badge);
    border: 1px solid transparent;
    line-height: 1.4;
}

.skill-badge--advanced {
    background: var(--badge-advanced-bg);
    color: var(--badge-advanced-color);
    border-color: var(--badge-advanced-border);
}

.skill-badge--intermediate {
    background: var(--badge-inter-bg);
    color: var(--badge-inter-color);
    border-color: var(--badge-inter-border);
}

.skill-badge--beginner {
    background: var(--badge-beginner-bg);
    color: var(--badge-beginner-color);
    border-color: var(--badge-beginner-border);
}

/* ---------- Skill Progress Bar ---------- */

/* Track */
.skill-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

/* Fill — width set via inline CSS custom property --pct on each card */
.skill-progress__fill {
    height: 100%;
    background: #3B82F6;
    border-radius: 2px;
    width: 0%;
    transition: width 0s; /* overridden by JS-triggered animation */
}

/* Keyframe: grows from 0 to target % when .revealed is added to parent card */
@keyframes skillFillIn {
    from { width: 0%; }
    to   { width: var(--pct, 0%); }
}

/* Trigger the animation once the card becomes visible */
.skill-card.revealed .skill-progress__fill {
    animation: skillFillIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.15s;
}

/* ============================================================
   PROJECTS SECTION (Homepage) — main.css
   Theme: Anish Portfolio
   ============================================================ */

:root {
    /* Projects palette */
    --proj-bg:              #0a0a0f;
    --proj-card-bg:         #0f0f1a;
    --proj-card-border:     rgba(77, 159, 255, 0.08);
    --proj-accent:          #4D9FFF;
    --proj-accent-dim:      rgba(77, 159, 255, 0.12);
    --proj-accent-glow:     rgba(77, 159, 255, 0.35);
    --proj-text:            #ffffff;
    --proj-subtext:         #8892a4;
    --proj-tag-bg:          rgba(77, 159, 255, 0.08);
    --proj-tag-border:      rgba(77, 159, 255, 0.2);
    --proj-img-radius:      10px 10px 0 0;
    --proj-card-radius:     14px;
    --proj-transition:      0.35s ease;
    --font-heading:         'Syne', sans-serif;
    --font-body:            'DM Sans', sans-serif;
}

/* ---------- Section Shell ---------- */
.projects-section {
    background-color: var(--proj-bg);
    padding: 100px 0;
    width: 100%;
    font-family: var(--font-body);
    color: var(--proj-text);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(77, 159, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.projects-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- Heading ---------- */
.projects-header {
    text-align: center;
    margin-bottom: 56px;
}

.projects-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--proj-text);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.projects-heading-accent {
    display: block;
    width: 64px;
    height: 3px;
    background: var(--proj-accent);
    border-radius: 2px;
    margin: 0 auto;
    box-shadow: 0 0 12px var(--proj-accent-glow);
}

/* ---------- Grid ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* ---------- Card ---------- */
.project-card {
    background: var(--proj-card-bg);
    border: 1px solid var(--proj-card-border);
    border-radius: var(--proj-card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition:
        transform   var(--proj-transition),
        box-shadow  var(--proj-transition),
        border-color var(--proj-transition);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(77, 159, 255, 0.08);
    border-color: rgba(77, 159, 255, 0.22);
}

.project-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Electric blue top border glow on hover */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--proj-accent);
    opacity: 0;
    transition: opacity var(--proj-transition);
    border-radius: var(--proj-card-radius) var(--proj-card-radius) 0 0;
    box-shadow: 0 0 16px var(--proj-accent-glow);
}

.project-card:hover::after {
    opacity: 1;
}

/* ---------- Card Image ---------- */
.project-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d0d1a;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.04);
}

/* Role badge overlay */
.project-card__role-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(77, 159, 255, 0.22);
    color: var(--proj-accent);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ---------- Card Body ---------- */
.project-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.project-card__title a {
    color: var(--proj-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-card__title a:hover {
    color: var(--proj-accent);
}

.project-card__excerpt {
    font-size: 0.875rem;
    color: var(--proj-subtext);
    line-height: 1.65;
    margin: 0;
}

/* ---------- Tech Tags ---------- */
.project-card__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-card__tech-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--proj-accent);
    background: var(--proj-tag-bg);
    border: 1px solid var(--proj-tag-border);
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

/* ---------- Buttons ---------- */
.project-card__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.825rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        background  0.2s ease,
        color       0.2s ease,
        border-color 0.2s ease,
        box-shadow  0.2s ease,
        transform   0.15s ease;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: var(--proj-accent);
    color: #0a0a0f;
    border-color: var(--proj-accent);
}

.btn--primary:hover {
    background: #74b6ff;
    border-color: #74b6ff;
    box-shadow: 0 0 18px rgba(77, 159, 255, 0.4);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--proj-subtext);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover {
    color: var(--proj-text);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

/* ── Dual-button set: Live Preview + Details ── */

/* Live Preview — solid blue */
.btn--live-preview {
    background: #3B82F6;
    color: #ffffff;
    border-color: #3B82F6;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn--live-preview:hover,
.btn--live-preview:focus-visible {
    background: #5b9af8;
    border-color: #5b9af8;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
    outline: none;
}

/* Details — transparent with blue border */
.btn--details {
    background: transparent;
    color: #3B82F6;
    border: 1px solid #3B82F6;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn--details:hover,
.btn--details:focus-visible {
    background: rgba(59, 130, 246, 0.1);
    border-color: #5b9af8;
    color: #5b9af8;
    transform: translateY(-2px);
    outline: none;
}

/* ---------- Footer CTA ---------- */
.projects-footer {
    text-align: center;
}

.btn--outline-lg {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 10px;
    border: 1px solid rgba(77, 159, 255, 0.35);
    color: var(--proj-accent);
    background: transparent;
    text-decoration: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;
}

.btn--outline-lg:hover {
    background: var(--proj-accent-dim);
    border-color: var(--proj-accent);
    box-shadow: 0 0 22px rgba(77, 159, 255, 0.2);
}

.btn--outline-lg:active {
    transform: scale(0.98);
}

/* ---------- Empty state ---------- */
.projects-empty {
    text-align: center;
    color: var(--proj-subtext);
    font-size: 0.95rem;
    padding: 40px 0;
}

/* ============================================================
   ARCHIVE — projects — main.css
   Theme: Anish Portfolio
   Extends the shared project card variables from projects-main.css.
   ============================================================ */

/* ---------- Page shell ---------- */
.archive-projects {
    background-color: var(--proj-bg, #0a0a0f);
    min-height: 100vh;
    padding: 80px 0 100px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    color: var(--proj-text, #ffffff);
    position: relative;
}

.archive-projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(77, 159, 255, 0.045) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.archive-projects__container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- Back link ---------- */
.archive-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--proj-subtext, #8892a4);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s ease;
}

.archive-back-link:hover {
    color: var(--proj-accent, #4D9FFF);
}

.archive-back-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.archive-back-link:hover i {
    transform: translateX(-3px);
}

/* ---------- Heading ---------- */
.archive-projects__header {
    margin-bottom: 52px;
}

.archive-projects__heading {
    font-family: var(--font-heading, 'Syne', sans-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--proj-text, #ffffff);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.archive-projects__heading-accent {
    display: block;
    width: 64px;
    height: 3px;
    background: var(--proj-accent, #4D9FFF);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(77, 159, 255, 0.4);
}

/* ---------- 3-column grid ---------- */
.archive-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

/* ---------- Pagination ---------- */
.archive-projects__pagination {
    display: flex;
    justify-content: center;
}

.archive-projects__pagination .page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.archive-projects__pagination .page-numbers li a,
.archive-projects__pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--proj-subtext, #8892a4);
    background: var(--proj-card-bg, #0f0f1a);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.archive-projects__pagination .page-numbers li a:hover {
    color: var(--proj-accent, #4D9FFF);
    border-color: rgba(77, 159, 255, 0.3);
    background: rgba(77, 159, 255, 0.06);
}

.archive-projects__pagination .page-numbers li span.current {
    color: var(--proj-accent, #4D9FFF);
    background: rgba(77, 159, 255, 0.12);
    border-color: rgba(77, 159, 255, 0.28);
}

/* ---------- Empty state ---------- */
.archive-projects__empty {
    text-align: center;
    padding: 80px 0;
    color: var(--proj-subtext, #8892a4);
}

.archive-projects__empty i {
    font-size: 3rem;
    color: rgba(77, 159, 255, 0.3);
    margin-bottom: 16px;
    display: block;
}

.archive-projects__empty p {
    font-size: 1rem;
    margin: 0;
}

/* ---------- Navbar active state for Projects link ---------- */
.main-nav a[href*="project"][aria-current="page"],
.main-nav a.nav-projects.active,
.site-header nav a[href*="/projects/"].active {
    color: var(--proj-accent, #4D9FFF);
    border-bottom: 2px solid var(--proj-accent, #4D9FFF);
}
/* ============================================================
   SINGLE PROJECT — main.css
   Theme: Anish Portfolio
   ============================================================ */

/* ---------- Page shell ---------- */
.single-project {
    background-color: var(--proj-bg, #0a0a0f);
    min-height: 100vh;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    color: var(--proj-text, #ffffff);
}

/* ============================================================
   HERO
   ============================================================ */
.sp-hero {
    position: relative;
    height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sp-hero__image-wrap {
    position: absolute;
    inset: 0;
}

.sp-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.25) 0%,
        rgba(10, 10, 15, 0.55) 50%,
        rgba(10, 10, 15, 0.92) 100%
    );
}

.sp-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 52px;
}

.sp-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Back link */
.sp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.sp-back-link:hover {
    color: var(--proj-accent, #4D9FFF);
}

.sp-back-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.sp-back-link:hover i {
    transform: translateX(-3px);
}

.sp-hero__title {
    font-family: var(--font-heading, 'Syne', sans-serif);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--proj-text, #ffffff);
    margin: 0 0 10px 0;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    max-width: 720px;
}

.sp-hero__role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--proj-accent, #4D9FFF);
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* No featured image fallback */
.sp-hero:not(:has(.sp-hero__image-wrap)) {
    height: auto;
    padding: 80px 0 52px;
    background: linear-gradient(180deg, #0d0d1a 0%, var(--proj-bg, #0a0a0f) 100%);
}

/* ============================================================
   BODY: Two-column layout
   ============================================================ */
.sp-body {
    padding: 60px 0 80px;
}

.sp-body__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* ---------- Content (left) ---------- */
.sp-content {
    min-width: 0;
}

.sp-content__inner {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.sp-content__inner p {
    margin: 0 0 1.4em 0;
}

.sp-content__inner h2,
.sp-content__inner h3,
.sp-content__inner h4 {
    font-family: var(--font-heading, 'Syne', sans-serif);
    color: var(--proj-text, #ffffff);
    margin: 1.8em 0 0.6em 0;
    line-height: 1.25;
}

.sp-content__inner h2 { font-size: 1.5rem; }
.sp-content__inner h3 { font-size: 1.25rem; }

.sp-content__inner a {
    color: var(--proj-accent, #4D9FFF);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sp-content__inner img {
    max-width: 100%;
    border-radius: 10px;
    margin: 1.5em 0;
}

.sp-content__inner ul,
.sp-content__inner ol {
    padding-left: 1.4em;
    margin: 0 0 1.4em 0;
    color: rgba(255, 255, 255, 0.8);
}

.sp-content__inner li {
    margin-bottom: 0.4em;
}

/* ---------- Sidebar (right) ---------- */
.sp-sidebar {
    position: sticky;
    top: 100px;
}

.sp-details-card {
    background: var(--proj-card-bg, #0f0f1a);
    border: 1px solid rgba(77, 159, 255, 0.1);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-details-card__heading {
    font-family: var(--font-heading, 'Syne', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--proj-text, #ffffff);
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.01em;
}

/* Detail rows */
.sp-detail-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sp-detail-row--stack {
    gap: 10px;
}

.sp-detail-row__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--proj-subtext, #8892a4);
}

.sp-detail-row__label i {
    color: var(--proj-accent, #4D9FFF);
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
}

.sp-detail-row__value {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding-left: 21px;
}

/* Tech tags in sidebar */
.sp-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0 0 0 21px;
}

.sp-tech-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--proj-accent, #4D9FFF);
    background: rgba(77, 159, 255, 0.08);
    border: 1px solid rgba(77, 159, 255, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

/* Live button */
.sp-live-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.875rem;
    border-radius: 10px;
    margin-top: 4px;
}

/* ============================================================
   RELATED PROJECTS
   ============================================================ */
.sp-related {
    background: #0d0d19;
    padding: 80px 0 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sp-related__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-related__header {
    text-align: center;
    margin-bottom: 48px;
}

.sp-related__heading {
    font-family: var(--font-heading, 'Syne', sans-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--proj-text, #ffffff);
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
}

.sp-related__accent {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--proj-accent, #4D9FFF);
    border-radius: 2px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(77, 159, 255, 0.4);
}

.sp-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ============================================================
   SERVICES SECTION — main.css
   Theme: Anish Portfolio
   ============================================================ */

:root {
    --svc-bg:             #0a0a0f;
    --svc-card-bg:        #0f0f1a;
    --svc-card-border:    rgba(77, 159, 255, 0.08);
    --svc-accent:         #4D9FFF;
    --svc-accent-dim:     rgba(77, 159, 255, 0.12);
    --svc-accent-glow:    rgba(77, 159, 255, 0.35);
    --svc-text:           #ffffff;
    --svc-subtext:        #8892a4;
    --svc-card-radius:    14px;
    --svc-icon-size:      52px;
    --font-heading:       'Syne', sans-serif;
    --font-body:          'DM Sans', sans-serif;
}

/* ---------- Section shell ---------- */
.services-section {
    background-color: var(--svc-bg);
    padding: 100px 0;
    width: 100%;
    font-family: var(--font-body);
    color: var(--svc-text);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 65% 45% at 50% 50%,
        rgba(77, 159, 255, 0.04) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- Heading ---------- */
.services-header {
    text-align: center;
    margin-bottom: 56px;
}

.services-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--svc-text);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.services-heading-accent {
    display: block;
    width: 64px;
    height: 3px;
    background: var(--svc-accent);
    border-radius: 2px;
    margin: 0 auto;
    box-shadow: 0 0 12px var(--svc-accent-glow);
}

/* ---------- Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ---------- Card ---------- */
.service-card {
    background: var(--svc-card-bg);
    border: 1px solid var(--svc-card-border);
    border-radius: var(--svc-card-radius);
    padding: 32px 26px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    /* reveal initial state — JS adds .revealed */
    opacity: 0;
    transform: translateY(28px);
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Blue top border glow — hidden until hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--svc-accent);
    border-radius: var(--svc-card-radius) var(--svc-card-radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 18px var(--svc-accent-glow);
}

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

/* ---------- Icon ---------- */
.service-card__icon {
    width: var(--svc-icon-size);
    height: var(--svc-icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--svc-accent-dim);
    border: 1px solid rgba(77, 159, 255, 0.18);
    border-radius: 12px;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.service-card__icon i {
    font-size: 1.45rem;
    color: var(--svc-accent);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: rgba(77, 159, 255, 0.18);
    border-color: rgba(77, 159, 255, 0.3);
}

.service-card:hover .service-card__icon i {
    filter: drop-shadow(0 0 7px rgba(77, 159, 255, 0.6));
    transform: scale(1.08);
}

/* ---------- Title ---------- */
.service-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--svc-text);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* ---------- Description ---------- */
.service-card__desc {
    font-size: 0.875rem;
    color: var(--svc-subtext);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* ---------- Button ---------- */
.service-card__btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--svc-accent);
    background: transparent;
    border: 1px solid rgba(77, 159, 255, 0.28);
    padding: 8px 18px;
    border-radius: 7px;
    text-decoration: none;
    letter-spacing: 0.02em;
    margin-top: auto;
    transition:
        background  0.2s ease,
        border-color 0.2s ease,
        color        0.2s ease,
        box-shadow   0.2s ease,
        transform    0.15s ease;
}

.service-card__btn:hover {
    background: var(--svc-accent);
    border-color: var(--svc-accent);
    color: #0a0a0f;
    box-shadow: 0 0 16px rgba(77, 159, 255, 0.4);
}

.service-card__btn:active {
    transform: scale(0.97);
}

/* ============================================================
   CONTACT SECTION — Base Styles
   File: css/main.css
   ============================================================ */

/* ── Section Shell ─────────────────────────────────────────── */
.contact-section {
    background-color: #0a0a0f;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle grid texture overlay */
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(77, 159, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 159, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ── Section Header ────────────────────────────────────────── */
.contact-header {
    text-align: center;
    margin-bottom: 72px;
}

.contact-section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.contact-title-underline {
    width: 60px;
    height: 3px;
    background: #4D9FFF;
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.contact-title-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 159, 255, 0.3), transparent);
}

/* ── Two-Column Grid ───────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

/* ── Left: Info Panel ──────────────────────────────────────── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-heading {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.contact-info-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #8892a4;
    line-height: 1.75;
    margin: 0;
}

/* ── Info Cards ────────────────────────────────────────────── */
.contact-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0f0f1a;
    border: 1px solid rgba(77, 159, 255, 0.1);
    border-radius: 12px;
    padding: 18px 22px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
    border-color: rgba(77, 159, 255, 0.35);
    transform: translateX(4px);
}

.contact-card-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 159, 255, 0.08);
    border-radius: 8px;
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-card-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #4D9FFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-card-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-card-value:hover {
    color: #4D9FFF;
}

/* ── Social Icons ──────────────────────────────────────────── */
.contact-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #0f0f1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #8892a4;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-social-link:hover {
    color: #4D9FFF;
    border-color: rgba(77, 159, 255, 0.4);
    background: rgba(77, 159, 255, 0.07);
    transform: translateY(-3px);
}

.social-icon {
    width: 18px;
    height: 18px;
}

/* ── Right: Form Panel ─────────────────────────────────────── */
.contact-form-wrap {
    background: #0f0f1a;
    border: 1px solid rgba(77, 159, 255, 0.1);
    border-radius: 20px;
    padding: 44px 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8892a4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: rgba(136, 146, 164, 0.5);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* ── Submit Button ─────────────────────────────────────────── */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: #4D9FFF;
    color: #0a0a0f;
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    align-self: flex-start;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(10, 10, 15, 0.3);
    border-top-color: #0a0a0f;
    border-radius: 50%;
}

/* ── Feedback Message ──────────────────────────────────────── */
.contact-feedback {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    padding: 0;
    border-radius: 8px;
    min-height: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.contact-feedback.is-visible {
    max-height: 80px;
    padding: 14px 18px;
    opacity: 1;
}

.contact-feedback.is-success {
    background: rgba(77, 255, 159, 0.08);
    border: 1px solid rgba(77, 255, 159, 0.25);
    color: #4dff9f;
}

.contact-feedback.is-error {
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.25);
    color: #ff6b6b;
}

/* ── Scroll Reveal Base State ──────────────────────────────── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   FOOTER — Base Styles
   File: css/main.css
   ============================================================ */

/* ── Shell ─────────────────────────────────────────────────── */
.site-footer {
    background-color: #07070f;
    position: relative;
    z-index: 1;
}

/* ── Decorative Top Edge ───────────────────────────────────── */
.footer-edge {
    position: relative;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(77, 159, 255, 0.5) 30%,
        rgba(77, 159, 255, 0.9) 50%,
        rgba(77, 159, 255, 0.5) 70%,
        transparent 100%
    );
    overflow: visible;
}

.footer-edge-glow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 24px;
    background: radial-gradient(ellipse, rgba(77, 159, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Container ─────────────────────────────────────────────── */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Main Grid ─────────────────────────────────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding: 72px 0 60px;
}

/* ── Column 1: Brand ───────────────────────────────────────── */
.footer-col--brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 56px;
    height: 56px;
    text-decoration: none;
    flex-shrink: 0;
}

.footer-logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #4D9FFF;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(77, 159, 255, 0.4);
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 159, 255, 0.06);
}

.footer-logo-glow {
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(77, 159, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-bio {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    color: #8892a4;
    line-height: 1.75;
    margin: 0;
    max-width: 280px;
}

/* ── Social Icons (Footer) ─────────────────────────────────── */
.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #8892a4;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s ease,
                border-color 0.25s ease,
                background 0.25s ease,
                transform 0.25s ease;
}

.footer-social-link:hover {
    color: #4D9FFF;
    border-color: rgba(77, 159, 255, 0.4);
    background: rgba(77, 159, 255, 0.08);
}

/* ── Column Heading ────────────────────────────────────────── */
.footer-col-heading {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 28px;
    position: relative;
    padding-bottom: 14px;
}

.footer-col-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #4D9FFF;
    border-radius: 2px;
}

/* ── Column 2: Quick Links ─────────────────────────────────── */
.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    color: #8892a4;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.22s ease, transform 0.22s ease;
    border: none;
    background: none;
    cursor: pointer;
}

.footer-nav-link:hover {
    color: #4D9FFF;
}

.footer-nav-arrow {
    font-size: 1.1rem;
    line-height: 1;
    color: #4D9FFF;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    flex-shrink: 0;
}

/* ── Column 3: Contact Info ────────────────────────────────── */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 159, 255, 0.07);
    border: 1px solid rgba(77, 159, 255, 0.15);
    border-radius: 7px;
    color: #4D9FFF;
    font-size: 0.78rem;
    margin-top: 1px;
}

.footer-contact-link,
.footer-contact-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #8892a4;
    text-decoration: none;
    line-height: 1.5;
    word-break: break-word;
    transition: color 0.22s ease;
}

.footer-contact-link:hover {
    color: #4D9FFF;
}

/* ── Bottom Bar ────────────────────────────────────────────── */
.footer-bottom {
    padding-bottom: 32px;
}

.footer-bottom-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.07) 20%,
        rgba(255, 255, 255, 0.07) 80%,
        transparent
    );
    margin-bottom: 28px;
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copyright,
.footer-credit {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.83rem;
    color: #8892a4;
    margin: 0;
    line-height: 1.5;
}

.footer-credit-name {
    color: #4D9FFF;
    font-weight: 600;
}

/* ── Back to Top Button ────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #4D9FFF;
    border: none;
    color: #07070f;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(77, 159, 255, 0.35);

    /* Hidden by default — JS adds .is-visible */
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease,
                transform 0.3s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #6aafff;
    box-shadow: 0 8px 30px rgba(77, 159, 255, 0.5);
}

.back-to-top:active {
    transform: translateY(2px);
}

.back-to-top-ripple {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

/* CF7 Dark Theme Override */
.cf7-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cf7-wrapper .wpcf7-form p {
    margin: 0;
}

.cf7-wrapper input[type="text"],
.cf7-wrapper input[type="email"],
.cf7-wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
}

.cf7-wrapper input[type="text"]:focus,
.cf7-wrapper input[type="email"]:focus,
.cf7-wrapper textarea:focus {
    outline: none;
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.05);
}

.cf7-wrapper input::placeholder,
.cf7-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cf7-wrapper textarea {
    resize: vertical;
    min-height: 150px;
}

.cf7-wrapper input[type="submit"] {
    background: #3B82F6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.cf7-wrapper input[type="submit"]:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

.cf7-wrapper .wpcf7-not-valid-tip {
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.cf7-wrapper .wpcf7-response-output {
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    border: none !important;
    margin: 0 !important;
}

.cf7-wrapper .wpcf7-mail-sent-ok {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.cf7-wrapper .wpcf7-validation-errors,
.cf7-wrapper .wpcf7-mail-sent-ng {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}