@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Caveat:wght@400..700&display=swap');

:root {
    /* Brand Colors: Broken White, Gold, Gray, Green */
    --bg-color: #121212;
    /* Very dark gray for dark mode */
    --text-main: #F5F5F5;
    /* Broken white */
    --text-muted: #9E9E9E;
    /* Gray */
    --brand-gold: #D4AF37;
    /* Soft Metallic Gold */
    --brand-gray: #616161;
    /* Darker Gray */
    --brand-green: #4ade80;

    /* Glass Effect Variables */
    --glass-bg: rgba(245, 245, 245, 0.03);
    /* Broken white tint */
    --glass-border-strong: rgba(245, 245, 245, 0.3);
    --glass-border-weak: rgba(245, 245, 245, 0.05);

    /* Global */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-color: #E5E5E5;
    /* Soft broken white, easier on eyes */
    --text-main: #212121;
    /* Almost black */
    --text-muted: #757575;
    /* Gray */
    --brand-gold: #C29B27;
    /* Deeper Gold for contrast */
    --brand-gray: #9E9E9E;
    /* Lighter Gray */

    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border-strong: rgba(255, 255, 255, 0.8);
    --glass-border-weak: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-snap-type: y mandatory;
}

@media (max-width: 900px) {
    html {
        scroll-snap-type: none;
    }
}

h1, h2, h3, h4, h5, h6 {
    color: var(--brand-gray);
    font-weight: 600;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    position: relative;
    transition: background-color 0.3s ease;
}

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Background Blobs for Glassmorphism */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: var(--blob-opacity, 0.6);
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Standalone Theme Toggle Pill */
.theme-pill {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 2000;
    width: 110px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}

.theme-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.theme-thumb {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 5px;
}

#theme-icon {
    font-size: 0.95rem;
    transition: var(--transition);
}

#theme-text {
    width: 100%;
    text-align: right;
    padding-right: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    user-select: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

/* Light mode overrides for the pill */
[data-theme="light"] .theme-pill {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-pill:hover {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-thumb {
    background: #ffffff;
    transform: translateX(70px);
}

[data-theme="light"] #theme-text {
    text-align: left;
    padding-left: 12px;
    padding-right: 0;
    color: var(--bg-color);
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);

    border: 1px solid var(--glass-border-weak);
    border-top: 1px solid var(--glass-border-strong);
    border-left: 1px solid var(--glass-border-strong);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.glass-heavy {
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
}

.neon-text {
    color: var(--brand-gold);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

[data-theme="light"] .neon-text {
    text-shadow: none;
}

.neon-text-alt {
    color: var(--brand-gray);
    text-shadow: 0 0 10px rgba(158, 158, 158, 0.3);
}

.glow-hover {
    transition: var(--transition);
}

.glow-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.25rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    border: none;
}

.btn-primary {
    background: var(--brand-gold);
    color: #121212;
}

.nav-btn {
    padding: 0.6rem 1.75rem !important;
    font-size: 0.95rem !important;
}



.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(245, 245, 245, 0.25);
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

[data-theme="light"] .btn-secondary {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

[data-theme="light"] .btn-secondary:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    background: transparent;
}

.btn-outline {
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
}

.btn-outline:hover {
    background: rgba(255, 193, 7, 0.1);
}

.btn-text {
    color: var(--brand-gold);
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.btn-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-gold);
    transition: var(--transition);
}

.btn-text:hover::after {
    width: 100%;
}

.w-100 {
    width: 100%;
}

/* Layout */
main {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    min-height: 100vh;
    padding: 4rem 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Navigation */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-muted);
    padding: 0.5rem;
}
.social-icon:hover {
    color: var(--brand-gold);
}

.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}



.elastic-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    width: auto;
    white-space: nowrap;
    gap: 2rem;
}



[data-theme="light"] .elastic-nav {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-logo {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.nav-expanded-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    flex-shrink: 0;
}



.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-links a:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Ultimate Hero Section */
.hero {
    position: relative;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 2rem 2rem 2rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero-text-overlay {
    z-index: 10;
    margin-bottom: 2rem;
}

.hero-image-right {
    position: absolute;
    top: 15%;
    right: -15%;
    height: 60%;
    max-height: 650px;
    z-index: 1;
    pointer-events: none;
}

.landing-avatar {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Circular KPI Charts */
.hero-kpi-container {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    z-index: 5;
    margin-bottom: 2rem;
}

.kpi-circle {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kpi-circle.kpi-1 { animation-delay: 0s; }
.kpi-circle.kpi-2 { animation-delay: -2s; }
.kpi-circle.kpi-3 { animation-delay: -4s; }

@keyframes floatKPI {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.kpi-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 193, 7, 0.4);
    z-index: 1;
}

.kpi-inner {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kpi-value {
    font-size: 2.2rem;
    font-weight: 300;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.kpi-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-gold);
    font-weight: 600;
}

[data-theme="light"] .kpi-inner {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255,255,255,0.6);
}

@media (max-width: 900px) {
    .hero-kpi-container {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1rem;
    }
    .kpi-circle {
        width: 100px;
        height: 100px;
    }
    .kpi-inner {
        width: 85px;
        height: 85px;
    }
    .kpi-value {
        font-size: 1.5rem;
    }
    .kpi-label {
        font-size: 0.6rem;
    }
}

.hero-greeting {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 500;
    color: var(--brand-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-name {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--brand-gray);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.hero-name-bold {
    font-weight: 700;
}

.hero-name-light {
    font-weight: 300;
}

.hero-subtitle-new {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
}

/* Minimal Services Grid */
.services-minimal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 5rem auto 8rem;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.service-minimal-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-number {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-minimal-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.service-minimal-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .services-minimal-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 3rem;
        margin-top: 3rem;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
}

.card {
    padding: 2.5rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text p:first-of-type {
    color: var(--text-main);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--brand-gold);
    margin-bottom: 0.25rem;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: none !important;
    border-radius: 24px !important;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    padding: 2rem;
}

.blog-card .date {
    color: var(--brand-gray);
    font-size: 0.85rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-container p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border-strong);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: var(--font-body);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    color: #333333;
}

.form-submit-btn {
    align-self: center;
    padding: 0.875rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

[data-theme="light"] .form-submit-btn {
    background: #121212;
    color: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-weight: 600;
}

.social-links a:hover {
    color: var(--brand-gold);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: 150px;
    }

    .hero-content {
        padding-right: 0;
        margin-top: 3rem;
    }

    .hero-cta {
        justify-content: center;
    }

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

    .navbar {
        width: 95%;
        padding: 1rem;
    }

    .nav-links {
        display: none;
        /* In a real app, implement a hamburger menu */
    }
}

/* ==========================================================================
   SEVORA HERO LAYOUT (ABOUT PAGE)
   ========================================================================== */

.sevora-main {
    width: 100%;
    max-width: none;
    padding-top: 120px;
    background-color: var(--bg-color);
}

.sevora-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 0 5rem 0;
}

.sevora-hero {
    display: flex;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    min-height: 600px;
    padding: 0;
}

[data-theme="light"] .sevora-hero {
    background: #EAEAEA;
    border: none;
}

.sevora-left {
    width: 55%;
    padding: 5rem 4rem 5rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    z-index: 2;
}

.sevora-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -2px;
}

.sevora-black {
    color: var(--text-main);
    font-weight: 700;
}

.sevora-gray {
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.7;
}

.sevora-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 85%;
}

.sevora-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.sevora-btn-primary {
    background: var(--brand-gold);
    color: #121212;
    padding: 0.875rem 2.25rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}



.sevora-btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid rgba(245, 245, 245, 0.25);
    padding: 0.875rem 2.25rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.sevora-btn-secondary:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

[data-theme="light"] .sevora-btn-secondary {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

[data-theme="light"] .sevora-btn-secondary:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    background: transparent;
}

.sevora-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245, 245, 245, 0.08);
}

.sevora-stat h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--brand-gold);
    margin-bottom: 0.2rem;
    line-height: 1;
}

.sevora-stat p {
    font-size: 1rem;
    color: var(--text-muted);
}

.sevora-right {
    width: 45%;
    position: relative;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sevora-avatar {
    position: relative;
    bottom: 0;
    height: 110%;
    max-height: 700px;
    object-fit: contain;
    object-position: bottom center;
    z-index: 1;
    margin-top: auto;
}

@keyframes avatarFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.sevora-floating-card {
    position: absolute;
    bottom: 4rem;
    left: 2rem;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 32px;
    background: transparent !important;
    backdrop-filter: none !important;
    border: 1px solid transparent !important;
    z-index: 3;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
}

.sevora-floating-card:hover {
    width: 250px;
    height: 160px;
    border-radius: 20px;
    padding: 1.5rem;
    align-items: flex-start;
    background: rgba(18, 18, 18, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.sevora-status-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sevora-floating-card:hover .sevora-status-icon {
    top: auto;
    left: auto;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    min-width: 40px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--brand-green, #4ade80);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.sevora-card-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
    width: 100%;
}

.sevora-floating-card:hover .sevora-card-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.sevora-float-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.sevora-floating-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.sevora-float-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    padding-right: 2rem;
}

/* Marquee */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border-weak);
    border-bottom: 1px solid var(--glass-border-weak);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.55;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: default;
}

.marquee-item:hover {
    opacity: 1;
}

.marquee-item img,
.marquee-svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.marquee-item span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.01em;
}

.stack-marquee-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0 4rem 0;
}

.stack-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brand-gold);
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    padding: 0 2rem;
    letter-spacing: 0.5px;
}

.stack-title.right-align {
    text-align: right;
}

.stack-marquee {
    border: none; /* Remove top/bottom borders between stacks */
    padding: 1.5rem 0;
}

.reverse-marquee .marquee-track {
    animation-direction: reverse;
}

@media (max-width: 1024px) {
    .sevora-hero {
        flex-direction: column;
    }

    .sevora-left {
        width: 100%;
        padding: 3rem;
    }

    .sevora-right {
        width: 100%;
        height: 500px;
    }

    .sevora-floating-card {
        left: 2rem;
        bottom: 2rem;
    }
}

/* ==========================================================================
   CV TIMELINE (ABOUT PAGE)
   ========================================================================== */

/* =============================================
   CV BODY — TWO COLUMN LAYOUT
   ============================================= */

.cv-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    padding: 4rem 5rem 5rem 5rem;
    align-items: start;
}

/* Section Label */
.cv-section-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border-weak);
}

/* Experience Entries */
.cv-entry {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--glass-border-weak);
}

.cv-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cv-entry-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.25rem;
}

.cv-entry-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-gold);
    white-space: nowrap;
}

.cv-entry-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.cv-entry-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.cv-entry-company {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cv-entry-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Right Column */
.cv-col-right {
    position: sticky;
    top: 120px;
}

/* Quote Block */
.cv-quote-block {
    padding: 2rem;
    position: relative;
    border-radius: 20px !important;
}

.cv-quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.5;
    color: var(--brand-gold);
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

.cv-quote-mark-close {
    text-align: right;
    margin-bottom: 0;
    margin-top: 0.5rem;
    line-height: 0;
}

.cv-quote-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-style: italic;
}

.cv-quote-author {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border-weak);
}

.cv-quote-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.03em;
}

/* Education Entries */
.cv-edu-entry {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--glass-border-weak);
}

.cv-edu-entry:last-child {
    border-bottom: none;
}

.cv-edu-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-gold);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.35rem;
}

.cv-edu-degree {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.cv-edu-school {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    letter-spacing: 0;
    padding: 0.8rem 1.5rem !important;
    text-transform: none;
}

@media (max-width: 768px) {
    .cv-timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cv-section {
        padding: 1.5rem;
    }

    .cv-timeline-item {
        padding: 1.5rem;
    }
}

/* Floating CV Button */
.floating-cv-btn {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 100px);
    z-index: 2000;

    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;

    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border-strong);
    border-radius: 50px;

    color: var(--brand-gold);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;

    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cv-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.floating-cv-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -5px) scale(1.05);
    color: var(--text-main);
}

[data-theme="light"] .floating-cv-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--brand-gold);
}

[data-theme="light"] .floating-cv-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--bg-color);
}

/* Premium Glassmorphism Card (Technical Arsenal) */
.premium-skills-wrapper {
    position: relative;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.glow-orb-1, .glow-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
    animation: orbFloat 10s infinite alternate ease-in-out;
}

.glow-orb-1 {
    width: 500px;
    height: 500px;
    top: -5%;
    left: 10%;
}

.glow-orb-2 {
    width: 600px;
    height: 600px;
    bottom: -5%;
    right: 5%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.1); }
}

.premium-glass-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    background: rgba(20, 20, 20, 0.45);
    border: none;
    border-radius: 0;
    padding: 2rem;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .premium-glass-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.premium-card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
    font-family: var(--font-body);
    font-weight: 500;
}

.premium-card-title {
    font-family: var(--font-body);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.premium-card-subtitle {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.premium-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 3rem;
}

.premium-icon-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.premium-icon-arrow:hover { 
    transform: translateX(5px);
    opacity: 1;
}

.premium-icon-asterisk {
    opacity: 0.9;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .premium-glass-card {
        padding: 2.5rem;
        border-radius: 24px;
    }
    .premium-card-top {
        margin-bottom: 2rem;
        flex-direction: column;
        gap: 1rem;
    }
}

/* Static Tech Column Grid */
.premium-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 4rem;
}

[data-theme="light"] .premium-tech-grid {
    border-top: 1px solid rgba(0,0,0,0.08);
}

.tech-column h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--brand-gold);
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.tech-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-start;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.tech-item img, .tech-item svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tech-svg {
    width: 24px;
    height: 24px;
    transition: fill 0.3s ease;
}

.icon-white, .icon-gray, .icon-gold { fill: var(--text-main); }

.tech-item span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .premium-tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .premium-tech-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 3rem;
    }
}

/* Individual Premium Tech Cards */
.premium-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.premium-glass-card.single-card {
    padding: 1.5rem;
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--brand-gray);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.tech-card-desc-only {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.tech-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 1.5rem;
}

[data-theme="light"] .tech-card-desc {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.premium-tech-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.premium-tech-header .premium-card-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 1rem;
}

.premium-tech-header .premium-card-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .premium-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .premium-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* CV Tags / Badges */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tag {
    display: inline-block;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--brand-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.tag:hover {
    color: #fff;
}

[data-theme="light"] .tag {
    color: #b37d00;
}

[data-theme="light"] .tag:hover {
    color: #000;
}

/* Cert Grid Layout */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--brand-gray);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    font-weight: 500;
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--text-main);
    transform: translateY(-2px);
}

.cert-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}