/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    --bg-color: transparent;
    --text-color: #E6E6E6;
    --accent-color: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Space Grotesk', sans-serif;
    --font-display: 'Syncopate', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    cursor: none;
}

body {
    background-color: #050505;
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. MOVING GRADIENT & GLASS BACKGROUND
   ========================================= */
.global-fluid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    background-size: 200% 200%;
    animation: auroraMove 15s ease infinite;
}

@keyframes auroraMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* =========================================
   3. UI COMPONENTS (GLASS STYLES)
   ========================================= */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 999999; /* Stay on top of lightbox (z-index 10000) and other layers */
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
}

.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    align-items: center;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* Glass Pill Style for Logo */
.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

/* Glass Pill Style for Navigation Menu */
.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Pushes the navbar up and out of view */
.navbar--hidden {
    transform: translate(-50%, -150%);
}

.badge {
    font-family: var(--font-main);
    font-size: 0.7rem;
    vertical-align: super;
    opacity: 0.7;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.5;
}

.menu-toggle {
    display: none;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background: rgba(5, 5, 5, 0.3);
    backdrop-filter: blur(5px);
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.1) 0%, rgba(5, 5, 5, 1) 95%);
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 40px;
}

.hero-label {
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: #ccc;
    font-family: var(--font-display);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 9rem);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.highlight-text {
    color: #fff;
}

.hero-manifesto {
    font-size: 1rem;
    max-width: 600px;
    color: #bbb;
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.7;
    text-align: justify;
}

.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 10;
}

.skill-toggle {
    font-family: var(--font-display);
    font-size: 0.8rem;
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.skill-toggle:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-scroll-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #fff;
    font-family: var(--font-display);
    opacity: 0.8;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* =========================================
   5. OTHER SECTIONS
   ========================================= */
.marquee-wrapper {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    white-space: nowrap;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(10px);
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.projects-section {
    padding: 100px 40px;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 60px;
}

.section-number {
    font-family: var(--font-display);
    color: #666;
    font-size: 1.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 300;
    letter-spacing: 1px;
}

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding-left: 40px;
}

.project-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.2vw, 3rem);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.p-id,
.p-cat,
.project-year {
    color: #888;
}

.hover-reveal {
    position: fixed;
    width: 300px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

.project-item:hover .hover-reveal {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1) rotate(-5deg);
}

.about-section {
    padding: 100px 40px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(10px);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #666;
    display: block;
    margin-bottom: 20px;
}

.tech-list li {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: #888;
}

.manifesto {
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    font-weight: 300;
    line-height: 1.4;
    color: #ccc;
}

/* =========================================
   6. FOOTER & CONTACT
   ========================================= */
footer {
    padding: 100px 60px 40px;
    border-top: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(15px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.9;
    margin-bottom: 50px;
    color: #fff;
}

.contact-subtext {
    color: #888;
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 400px;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 20px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit i {
    font-size: 1.5rem;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #000;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.btn-email:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 60px;
}

.info-block .label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.email-link {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    transition: opacity 0.3s;
}

.email-link:hover {
    opacity: 0.6;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 50px;
}

.copyright {
    font-size: 0.8rem;
    color: #444;
    font-family: var(--font-display);
    line-height: 1.5;
}

/* =========================================
   7. WORKS PAGE STYLES
   ========================================= */
.works-header {
    padding: 150px 40px 80px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.2);
    backdrop-filter: blur(5px);
}

.works-header h1 {
    font-family: var(--font-display);
    font-size: 10vw;
    line-height: 0.85;
    color: #fff;
}

.work-category {
    padding: 100px 40px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.2);
    backdrop-filter: blur(5px);
}

.cat-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 60px;
    display: block;
}

.web-card {
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
    transition: transform 0.3s;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.web-card:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.05);
}

.web-preview {
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.browser-bar {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.url {
    margin-left: 15px;
    font-size: 0.8rem;
    color: #aaa;
    font-family: monospace;
}

.img-container img {
    width: 100%;
    display: block;
    opacity: 0.9;
}

.web-info {
    padding: 30px;
}

.web-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.web-info p {
    color: #bbb;
    margin-bottom: 25px;
    max-width: 600px;
}

.btn-visit {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-visit:hover {
    background: #fff;
    color: #000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.5s ease;
    border: 1px solid var(--border-color);
}

.gallery-item:hover img {
    filter: grayscale(0%) brightness(1);
    border-color: #fff;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.stat-box {
    border: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: #fff;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 4rem;
    color: #fff;
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    color: #888;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.proof-item {
    position: relative;
    border: 1px solid var(--border-color);
}

.proof-item img {
    width: 100%;
    display: block;
    opacity: 0.8;
}

.proof-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.7rem;
    border: 1px solid #333;
}

/* =========================================
   8. MOBILE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(5, 5, 5, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 15px 20px;
        box-shadow: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .navbar--hidden {
        transform: translateY(-100%) !important;
    }

    .logo {
        font-size: 0.95rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 16px;
        cursor: pointer;
        z-index: 1000;
        background: transparent;
        border: none;
        padding: 0;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }

    .menu-toggle.active .line-1 {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active .line-2 {
        opacity: 0;
        transform: scaleX(0);
    }

    .menu-toggle.active .line-3 {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
        display: flex;
        opacity: 0;
        pointer-events: none;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu.works-nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: row;
        gap: 0;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        display: flex;
        border: none;
        box-shadow: none;
    }

    .nav-menu.works-nav .nav-link {
        font-size: 0.85rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px 20px;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-bottom: 40px;
    }

    .hero-content {
        padding-bottom: 20px;
    }

    .hero-scroll-right {
        display: none;
    }

    .hero-title {
        font-size: 14vw;
        margin-bottom: 15px;
    }

    .hero-manifesto {
        text-align: left;
        margin-bottom: 30px;
        font-size: 0.9rem;
    }

    .hero-skills {
        gap: 10px;
    }

    .skill-toggle {
        font-size: 0.7rem;
        padding: 10px 18px;
    }

    .marquee-content {
        font-size: 2rem;
    }

    .projects-section {
        padding: 60px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 30px 10px;
    }

    .project-name {
        font-size: 2rem;
        margin-left: 0;
    }

    .project-item:hover {
        padding-left: 10px;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .manifesto {
        font-size: 1.2rem;
    }

    footer {
        padding: 60px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-title {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .contact-buttons {
        width: 100%;
        max-width: 100%;
    }

    .works-header {
        padding: 120px 20px 60px;
    }

    .works-header h1 {
        font-size: 12vw;
    }

    .work-category {
        padding: 60px 20px;
    }

    .cat-title {
        margin-bottom: 40px;
        font-size: 1.2rem;
    }

    .web-info {
        padding: 20px;
    }

    .web-info h3 {
        font-size: 1.5rem;
    }

    .web-info p {
        font-size: 0.9rem;
    }

    .stats-container {
        gap: 20px;
        margin-bottom: 40px;
    }

    .stats-container,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .stat-num {
        font-size: 3rem;
    }

    .stat-box {
        padding: 30px 20px;
    }

    .dual-ventures-section {
        padding: 60px 20px;
    }
}

/* =========================================
   MASONRY GALLERY
   ========================================= */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
    padding: 20px 0;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.masonry-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .overlay {
    opacity: 1;
}

.view-text {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 2px;
    border: 1px solid #fff;
    padding: 10px 20px;
}

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 1.2rem;
    font-family: var(--font-display);
    cursor: pointer;
    border: 1px solid #fff;
    padding: 10px 20px;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #fff;
    color: #000;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* =========================================
   DUAL VENTURES SECTION (Side-By-Side Grid)
   ========================================= */
.dual-ventures-section {
    padding: 100px 40px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.2);
    backdrop-filter: blur(5px);
}

.dual-ventures-container {
    max-width: 1400px;
    /* Wider container to fit both cards perfectly */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* This creates the side-by-side layout */
    gap: 40px;
}

/* Unified Card Style */
.venture-card {
    display: flex;
    flex-direction: column;
    /* Stacks text on top, image on bottom */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.5s ease, border-color 0.5s ease;
    overflow: hidden;
}

.venture-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    /* Lifts the whole card up on hover */
}

/* Content Area inside the card */
.venture-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Ensures buttons stay aligned even if text lengths differ */
}

.venture-badge {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: #000;
    background: #fff;
    padding: 5px 10px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 20px;
    font-weight: 700;
}

.venture-logo-img {
    width: 220px;
    max-width: 100%;
    margin-bottom: 25px;
    display: block;
}

.venture-bio {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.venture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.venture-service {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: #888;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.venture-socials {
    display: flex;
    gap: 15px;
    margin-top: auto;
    /* Pushes the social icons perfectly to the bottom of the text block */
}

.venture-sock-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.venture-sock-link:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* The Image at the bottom of the card */
.venture-visual {
    height: 300px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.venture-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s, transform 0.5s;
}

.venture-card:hover .venture-visual img {
    filter: grayscale(0%);
    transform: scale(1.05);
    /* Slight zoom on image when hovering the card */
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .dual-ventures-container {
        grid-template-columns: 1fr;
        /* Stacks the cards back on top of each other for phones/tablets */
    }

    .venture-content {
        padding: 40px 20px;
    }

    .venture-grid {
        grid-template-columns: 1fr;
        /* Services list becomes 1 column on tiny screens */
    }
}

/* =========================================
   WATERMARK STYLES
   ========================================= */
.watermark-container {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.watermark-text {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    /* Allows clicks to pass through to the image */
    letter-spacing: 2px;
    z-index: 5;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific styling for Lightbox Watermark */
.lightbox-watermark {
    position: absolute;
    bottom: 40px;
    right: 60px;
    font-size: 1rem;
    opacity: 0.5;
}

/* =========================================
   REVIEWS SECTION
   ========================================= */
.reviews-section {
    padding: 100px 60px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.2);
    position: relative;
    z-index: 1;
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-top: 50px;
}

.review-form-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    height: fit-content;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.review-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #888;
}

.input-field {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.reviews-subtitle {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.auth-block {
    text-align: center;
    padding: 20px 0;
}

.auth-text {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 25px;
    line-height: 1.6;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-google {
    background: #db4437 !important;
    border-color: #db4437 !important;
    color: #fff !important;
}
.btn-google:hover {
    background: transparent !important;
    color: #db4437 !important;
}

.btn-github {
    background: #24292e !important;
    border-color: #24292e !important;
    color: #fff !important;
}
.btn-github:hover {
    background: transparent !important;
    color: #24292e !important;
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 25px;
}

.user-profile-badge img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #555;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
}

#user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    flex-grow: 1;
}

.btn-logout {
    background: transparent;
    border: none;
    color: #ff5f56;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: opacity 0.3s;
    white-space: nowrap;
}
.btn-logout:hover {
    opacity: 0.7;
}

.star-rating-selector {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.star-btn {
    font-size: 1.5rem;
    color: #444;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.star-btn:hover {
    transform: scale(1.2);
}

.star-btn.active, .star-btn.hovered {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

.reviews-feed-wrapper {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.reviews-scroll-feed {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 15px;
}

.reviews-scroll-feed::-webkit-scrollbar {
    width: 6px;
}
.reviews-scroll-feed::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.reviews-scroll-feed::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    transition: border-color 0.3s;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.review-card-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}

.review-card-meta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.review-card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.review-card-date {
    font-size: 0.65rem;
    color: #666;
    margin-top: 2px;
}

.review-card-stars {
    display: flex;
    gap: 4px;
    color: #ffc107;
    font-size: 0.8rem;
}

.review-card-comment {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.6;
}


@keyframes slideDownIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-review-animate {
    animation: slideDownIn 0.5s ease-out forwards;
}

@media (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .reviews-section {
        padding: 60px 30px;
    }
}

/* =========================================
   9. VIDEO PROJECTS GRID
   ========================================= */
.video-projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 40px;
}

.video-projects-container .web-card {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-projects-container .web-card .web-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.video-projects-container .web-card .web-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.video-projects-container .web-card .web-info p {
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .video-projects-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}