:root {
    /* Primary Colors */
    --primary: #134ece;           /* Vibrant cyan */
    --primary-light: #86bef1;     /* Lighter cyan */
    --primary-dark: #105099;      /* Darker cyan */
    
    /* Secondary Colors */
    --secondary: #8197fa;         /* Soft light blue */
    --secondary-light: #0873a5;   /* Very light blue */
    --secondary-dark: #084e6e;    /* Mid-light blue */
    
    /* Accent Colors */
    --accent: #00e5ff;            /* Bright cyan accent */
    --accent-light: #00dada;      /* Lighter accent */
    --accent-dark: #059bb3;       /* Darker accent */
    
    /* Background Colors */
    --dark: #0a1f2d;              /* Dark blue background */
    --darker: #061421;            /* Very dark blue */
    --dark-medium: #0e2a3c;       /* Medium dark blue */
    --dark-light: #123b52;        /* Lighter dark blue */
    
    /* Text Colors */
    --light: #cae1e4;             /* Very light cyan/white for text */
    --light-medium: #88c9d1;      /* Medium light text */
    --medium: #9de8f1;            /* Cyan text */
    --dark-text: #070846;         /* Dark grayish blue text */
    
    /* Glass/UI Colors */
    --glass: rgba(224, 247, 250, 0.05);
    --glass-border: rgba(13, 126, 141, 0.1);
    --glass-dark: rgba(2, 42, 70, 0.7);
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(90deg, var(--primary-dark), var(--secondary-dark));
    --gradient-accent: linear-gradient(to right, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(145deg, var(--darker), var(--dark));
    
    /* Status Colors */
    --success: #00e676;           /* Bright green */
    --warning: #ffca28;           /* Amber */
    --error: #ff5252;             /* Red */
    --nsfw-red: #d50000;          /* Strong red */
    
    /* Shadow Colors */
    --shadow-primary: rgba(4, 49, 78, 0.4);
    --shadow-dark: rgba(13, 91, 143, 0.5);
    --shadow-light: rgba(224, 247, 250, 0.05);
    
    /* Special Overlay Colors */
    --overlay-dark: rgba(0, 0, 0, 0.55);
    --overlay-error: rgba(255, 82, 82, 0.2);
    --modal-overlay: rgba(6, 20, 33, 0.9);
    
    /* RGBA Colors - Transparent Versions */
    --navbar-bg: rgba(10, 31, 45, 0.8);
    --primary-rgba-45: rgba(0, 188, 212, 0.45);
    --primary-rgba-15: rgba(0, 188, 212, 0.15);
    --primary-rgba-12: rgba(0, 188, 212, 0.12);
    --primary-rgba-10: rgba(0, 188, 212, 0.1);
    --primary-rgba-05: rgba(0, 188, 212, 0.05);
    --primary-rgba-30: rgba(0, 188, 212, 0.3);
    --primary-rgba-25: rgba(0, 188, 212, 0.25);
    --primary-rgba-20: rgba(0, 188, 212, 0.2);
    --primary-rgba-60: rgba(0, 188, 212, 0.6);
    --primary-rgba-50: rgba(0, 188, 212, 0.5);
    --primary-rgba-40: rgba(0, 188, 212, 0.4);
    --primary-rgba-03: rgba(0, 188, 212, 0.3);
    --primary-rgba-00: rgba(0, 188, 212, 0.0);
    
    --secondary-rgba-45: rgba(129, 212, 250, 0.45);
    
    --dark-rgba-95: rgba(10, 31, 45, 0.95);
    --dark-rgba-90: rgba(10, 31, 45, 0.9);
    --dark-rgba-80: rgba(10, 31, 45, 0.8);
    
    --dark-light-rgba-90: rgba(18, 59, 82, 0.9);
    
    --form-bg: rgba(14, 42, 60, 0.7);
    
    --black-rgba-95: rgba(0, 0, 0, 0.95);
    --black-rgba-80: rgba(0, 0, 0, 0.8);
    --black-rgba-70: rgba(0, 0, 0, 0.7);
    --black-rgba-55: rgba(0, 0, 0, 0.55);
    --black-rgba-50: rgba(0, 0, 0, 0.5);
    
    --red-rgba-30: rgba(255, 0, 0, 0.3);
    --red-rgba-20: rgba(255, 0, 0, 0.2);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    background: var(--gradient-dark);
    color: var(--light);
    overflow-x: hidden;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: var(--navbar-bg);
    border-bottom: 2px solid var(--glass-border);
}

nav .nav-main {
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.7rem; /* Increased from 1.4rem */
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 1.5em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-light {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 40%, var(--primary-rgba-45), transparent 50%),
        radial-gradient(circle at 80% 60%, var(--secondary-rgba-45), transparent 50%);
    filter: blur(120px);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    max-width: 1600px;
    z-index: 1;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--light), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px var(--shadow-dark);
}

.hero p {
    font-size: 1.3rem;
    margin: 1.5rem auto 2.5rem auto;
    color: var(--light-medium);
    max-width: 1300px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 5rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light);
    box-shadow: 0 0 30px var(--shadow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    justify-content: center;
}

.socials a {
    width: 65px;
    height: 65px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--light);
    font-size: 2.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* ===== SECTIONS COMMON STYLES ===== */
section {
    padding: 120px 10%;
    position: relative;
}

section h2 {
    font-size: 2.8rem;
    margin-bottom: 4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--light-medium);
    margin-bottom: 2rem;
    text-align: justify;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 1000;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium);
    margin-top: 0.5rem;
}

.about-materials {
    display: grid;
    gap: 30px;
}

.material-tile {
    background: linear-gradient(145deg, var(--dark-light), var(--dark-medium));
    padding: 35px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 0 50px var(--shadow-dark),
        inset 0 0 30px var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.material-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    transition: left 0.7s ease;
}

.material-tile h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--light);
}

.material-tile span {
    display: inline-block;
    margin: 6px 8px 0 0;
    padding: 8px 18px;
    background: var(--primary-rgba-15);
    border-radius: 150px;
    font-size: 0.9rem;
    color: var(--light-medium);
    border: 2px solid var(--primary-rgba-30);
    transition: all 0.3s ease;
}

.experience-card h3 {
    margin-bottom: 1.5rem;
}

.experience-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--primary-rgba-20);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-item h4 {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 0.3rem;
}

/* ROLE – visually dominant */
.experience-item .role {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 0.6rem;
    color: transparent;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
}

/* LOCATION + YEARS – secondary info */
.experience-item .meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.experience-item .meta span {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 50px;
    background: var(--primary-rgba-12);
    color: var(--light-medium);
    border: 1px solid var(--primary-rgba-25);
}

/* ===== SERVICES ===== */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-block {
    background: linear-gradient(180deg, var(--dark-light), var(--dark-medium));
    padding: 45px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 60px var(--shadow-dark);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-rgba-10), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--light);
}

.service-block p {
    color: var(--light-medium);
    line-height: 1.7;
    text-align: justify;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* ===== PORTFOLIO SHOWCASE ===== */
.portfolio {
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 0 50px var(--shadow-dark);
    transition: all 0.5s ease;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.portfolio-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, var(--dark-rgba-90));
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 100;
}

.view-more {
    position: absolute;
    margin-top: 4rem;
    left: 50%;
    translate: -50%;
}

.filter-btn {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 3rem;
}

/* Blur the actual content */
.nsfw .portfolio-img {
    filter: blur(16px);
    pointer-events: none;
    user-select: none;
}

/* Overlay */
.nsfw::after {
    content: "⚠ NSFW";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--overlay-dark);
    color: var(--light);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ===== FEEDBACK ===== */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feedback-card {
    background: var(--glass-dark);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    position: relative;
}

.feedback-card p {
    font-size:1.2rem;
    line-height: 1.5;
    color: var(--light-medium);
    font-style: italic;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.feedback-card span {
    color: var(--primary);
    font-weight: 600;
}

.client-rating {
    color: var(--warning);
    margin-top: 1rem;
}

/* ===== CONTACT ===== */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left h2 {
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--light-medium);
}

.contact-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-rgba-15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 18px;
    background: var(--form-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light);
    font-size: 1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-rgba-30);
}

.contact-form button {
    padding: 18px 40px;
    border-radius: 12px;
    background: var(--gradient-primary);
    border: none;
    color: var(--light);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 1px;
}

.form-wrapper {
    position: relative;
}

.form-wrapper form {
    opacity: 0.5;
    pointer-events: none;
}

/* Disabled Overlay */
.disabled-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background: var(--overlay-error);
    color: var(--nsfw-red);
    font-size: 2.3rem;
    font-weight: bold;
    padding: 10px 40px;
    border: 2px solid var(--nsfw-red);
    border-radius: 10px;
    pointer-events: none;
    z-index: 10;
    text-align: center;
    letter-spacing: 2px;
    box-shadow: 0 0 20px var(--red-rgba-30);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 60px 10% 30px;
    color: var(--dark-text);
    border-top: 1px solid var(--glass-border);
    background: var(--dark-rgba-80);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}

.footer-links a {
    color: var(--medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright {
    font-size: 0.9rem;
    color: var(--medium);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--medium);
    font-size: 0.8rem;
    letter-spacing: 2px;
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--medium);
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: var(--primary-rgba-10);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease;
}

.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

/* ===== PORTFOLIO MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    background: var(--modal-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal content container */
.modal-content {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: linear-gradient(145deg, var(--dark-rgba-95), var(--dark-light-rgba-90));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 80px var(--shadow-dark);
    position: relative;
    padding: 1rem;
    gap: 2rem;
}

/* ===== LEFT: IMAGE + CAPTION + NAV ===== */
.modal-left {
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1px solid var(--primary-rgba-30);
    padding-right: 1rem;
    height: 100%;
}

/* Modal media container - takes most space but leaves room for meta */
.modal-media-container {
    flex: 1; /* Takes available space */
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0; /* Important for flex child */
}

/* Image and video containers */
.image-container,
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust image/video size */
.modal-left img,
.modal-left video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
    object-fit: contain;
    display: block;
}

/* Hide containers by default */
.image-container,
.video-container {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Show active container */
.image-container.active,
.video-container.active {
    opacity: 1;
    visibility: visible;
}

/* Navigation buttons positioning */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Modal meta - sits below image/video, above modal bottom */
.modal-meta {
    flex-shrink: 0; /* Don't shrink */
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto; /* Pushes it to the bottom of .modal-left */
    width: 100%;
    border-top: 1px solid var(--primary-rgba-20);
}

.modal-meta h3 {
    font-size: 1.3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

.modal-meta p {
    font-size: 0.95rem;
    color: var(--medium);
}

/* ===== RIGHT: TITLE + LONG DESCRIPTION ===== */
.modal-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    overflow-y: auto;
    text-align: center;
}

/* Project title */
.modal-project-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

/* Long description */
.modal-description {
    font-size: 1rem;
    color: var(--light);
    line-height: 1.6;
    overflow-y: auto;
}

/* ===== CLOSE BUTTON ===== */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: var(--primary-rgba-00);
    border: none;
    color: var(--light);
    font-size: 2rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* ===== OPTIONAL: ADJUST SCROLLBAR ON LONG TEXT ===== */
.modal-description::-webkit-scrollbar,
.modal-right::-webkit-scrollbar {
    width: 8px;
}

.modal-description::-webkit-scrollbar-thumb,
.modal-right::-webkit-scrollbar-thumb {
    background: var(--primary-rgba-50);
    border-radius: 4px;
}

.modal-description::-webkit-scrollbar-track,
.modal-right::-webkit-scrollbar-track {
    background: transparent;
}

/* Fullscreen image modal */
.image-view-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black-rgba-95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.image-view-modal img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-view-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--light);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
}

/* Fullscreen video modal */
.video-view-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black-rgba-95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.video-view-modal video {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.video-view-modal video {
    display: block;
}


.video-view-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--light);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .nav-toggle:hover {
        background: var(--gradient-accent);
        transform: scale(1.1);
    }

    .nav-links a:hover {
        color: var(--accent);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .btn-primary:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 45px var(--primary-rgba-60);
    }

    .btn-secondary:hover {
        background: var(--glass);
        border-color: var(--accent);
        transform: translateY(-5px);
    }

    .socials a:hover {
        background: var(--gradient-primary);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 0 20px var(--shadow-primary);
    }

    .material-tile:hover::before {
        left: 100%;
    }

    .material-tile:hover {
        transform: translateY(-10px);
        box-shadow: 
            0 0 70px var(--black-rgba-70),
            inset 0 0 40px var(--glass-border);
        border-color: var(--primary-rgba-30);
    }

    .material-tile span:hover {
        background: var(--primary-rgba-30);
        transform: translateY(-3px);
    }

    .service-block:hover::after {
        opacity: 1;
    }

    .service-block:hover {
        transform: translateY(-15px);
        box-shadow: 
            0 0 80px var(--black-rgba-80),
            inset 0 0 40px var(--shadow-light);
        border-color: var(--primary-rgba-40);
    }

    .portfolio-item:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 0 70px var(--shadow-primary);
    }

    .portfolio-item:hover .portfolio-img {
        transform: scale(1.1);
    }

    .portfolio-item:hover .portfolio-overlay {
        transform: translateY(0);
    }

    .feedback-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 0 60px var(--shadow-dark);
        border-color: var(--primary-rgba-30);
    }

    .contact-form button:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 40px var(--primary-rgba-50);
    }

    .footer-links a:hover {
        color: var(--primary);
    }

    .nav-btn:hover {
        transform: translateY(-50%) scale(1.5);
    }

    .modal-close:hover {
        transform: scale(1.5);
    }
}