/* ===== VARIABLES ===== */
:root {
    --primary: #00f3ff;
    --primary-dark: #00b8c4;
    --secondary: #7b2cbf;
    --secondary-dark: #5a1e8f;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-charcoal: #1a1a1a;
    --bg-card: #111111;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --text-dark: #888888;
    --border-glow: rgba(0, 243, 255, 0.3);
    --gradient-1: linear-gradient(135deg, #00f3ff, #7b2cbf);
    --gradient-2: linear-gradient(45deg, transparent, rgba(0, 243, 255, 0.1));
    --gradient-3: linear-gradient(225deg, #00f3ff, #7b2cbf);
    --shadow-neon: 0 0 20px rgba(0, 243, 255, 0.5);
    --shadow-neon-strong: 0 0 40px rgba(0, 243, 255, 0.8);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-special: 'Syncopate', sans-serif;
    
    /* Viewport height fix for mobile */
    --vh: 1vh;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

/* Responsive base font size */
@media screen and (min-width: 1400px) {
    html {
        font-size: 17px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    html {
        font-size: 15px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto;
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Cursor only for large desktops */
@media screen and (min-width: 1400px) {
    body {
        cursor: none;
    }
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
    width: 90%;
}

.preloader-logo {
    font-size: clamp(3rem, 15vw, 5rem);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.preloader-text {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    letter-spacing: 2px;
}

.preloader-progress {
    width: min(300px, 80%);
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-1);
    animation: progress 2s ease forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== FILM GRAIN EFFECT ===== */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

@media screen and (max-width: 1400px) {
    .film-grain {
        opacity: 0.5;
    }
}

@media screen and (max-width: 992px) {
    .film-grain {
        display: none;
    }
}

/* ===== CUSTOM CURSOR SYSTEM ===== */
.cursor-dot,
.cursor-outline,
.cursor-trailer,
.cursor-text {
    display: none;
}

/* Only show custom cursor on large desktops */
@media screen and (min-width: 1400px) {
    .cursor-dot {
        display: block;
        width: 8px;
        height: 8px;
        background: var(--primary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 100000;
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s, background 0.3s;
        box-shadow: 0 0 20px var(--primary);
        mix-blend-mode: difference;
    }

    .cursor-outline {
        display: block;
        width: 40px;
        height: 40px;
        border: 2px solid var(--primary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: all 0.2s ease-out;
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    }

    .cursor-trailer {
        display: block;
        width: 60px;
        height: 60px;
        border: 1px solid rgba(0, 243, 255, 0.3);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%, -50%);
        transition: all 0.4s ease;
        opacity: 0.5;
    }

    .cursor-text {
        display: block;
        position: fixed;
        color: var(--bg-dark);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        background: var(--primary);
        padding: 4px 12px;
        border-radius: 20px;
        pointer-events: none;
        z-index: 100001;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        opacity: 0;
        transition: opacity 0.3s;
        box-shadow: 0 0 20px var(--primary);
    }

    /* Cursor States */
    .cursor-dot.hover-link {
        width: 12px;
        height: 12px;
        background: var(--secondary);
    }

    .cursor-dot.hover-button {
        width: 0;
        height: 0;
        background: transparent;
    }

    .cursor-outline.hover-button {
        width: 80px;
        height: 80px;
        border-width: 3px;
        border-color: var(--primary);
        background: rgba(0, 243, 255, 0.1);
        animation: pulseCursor 1.5s infinite;
    }

    .cursor-dot.hover-project {
        width: 20px;
        height: 20px;
        background: transparent;
        border: 2px solid var(--primary);
    }

    .cursor-outline.hover-project {
        width: 100px;
        height: 100px;
        border-color: var(--primary);
        background: rgba(0, 243, 255, 0.05);
    }
}

/* Cursor Trail Particles - Only on large desktops */
#cursor-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99995;
}

@media screen and (max-width: 1400px) {
    #cursor-particles {
        display: none;
    }
}



.cursor-trail-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99990;
    opacity: 0.5;
    animation: fadeTrail 1s forwards;
}

.cursor-ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
    animation: ripple 1s ease-out forwards;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neon);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Back to Top */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .back-to-top {
        bottom: 25px;
        left: 25px;
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 767px) {
    .back-to-top {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-neon-strong);
}

/* ===== CONTAINER ===== */
.container {
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Responsive Container */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1200px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 1000px;
        padding: 0 1.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 750px;
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ===== NAVIGATION - Always Visible ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    transition: padding 0.3s ease, background 0.3s ease;
    transform: translateY(0) !important;
}

/* Responsive Navbar Padding */
@media screen and (min-width: 1400px) {
    .navbar {
        padding: 1.2rem 0;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .navbar {
        padding: 1.1rem 0;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .navbar {
        padding: 1rem 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .navbar {
        padding: 0.9rem 0;
    }
}

@media screen and (max-width: 767px) {
    .navbar {
        padding: 0.8rem 0;
    }
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom-color: rgba(0, 243, 255, 0.3);
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .navbar.scrolled {
        padding: 0.7rem 0;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .navbar.scrolled {
        padding: 0.6rem 0;
    }
}

@media screen and (max-width: 991px) {
    .navbar.scrolled {
        padding: 0.6rem 0;
    }
}

.nav-container {
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Nav Container */
@media screen and (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .nav-container {
        max-width: 1200px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .nav-container {
        max-width: 1000px;
        padding: 0 1.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .nav-container {
        max-width: 750px;
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .nav-container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-special);
}

/* Responsive Logo */
@media screen and (min-width: 1400px) {
    .logo-text {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .logo-text {
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .logo-text {
        font-size: 1.6rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .logo-text {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .logo-text {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
    }
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@media screen and (max-width: 480px) {
    .logo-dot {
        width: 6px;
        height: 6px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
}

/* Responsive Nav Menu */
@media screen and (min-width: 1400px) {
    .nav-menu {
        gap: 2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .nav-menu {
        gap: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .nav-menu {
        gap: 1.2rem;
    }
}

@media screen and (max-width: 991px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1.2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-bottom: 1px solid var(--primary);
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (max-width: 767px) {
    .nav-menu {
        top: 65px;
        padding: 1.5rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-menu {
        top: 60px;
        padding: 1.2rem 0.8rem;
    }
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition-base);
    position: relative;
    white-space: nowrap;
}

/* Responsive Nav Links */
@media screen and (min-width: 1400px) {
    .nav-link {
        font-size: 1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .nav-link {
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .nav-link {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 991px) {
    .nav-link {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
        padding: 0.8rem;
    }
}

@media screen and (max-width: 767px) {
    .nav-link {
        font-size: 1rem;
        padding: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-link {
        font-size: 0.95rem;
        padding: 0.6rem;
    }
}

.gallery-link {
    background: rgba(0, 243, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--primary);
}

.gallery-link i {
    font-size: 0.75rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.gallery-link:hover i {
    transform: translateX(5px);
}

@media screen and (max-width: 991px) {
    .gallery-link {
        width: auto;
        margin-top: 0.5rem;
        padding: 0.6rem 1.2rem;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-base);
    box-shadow: var(--shadow-neon);
}

@media screen and (max-width: 991px) {
    .nav-link::after {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80px;
    }
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    z-index: 1000;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

@media screen and (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .menu-toggle {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 767px) {
    .menu-toggle {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 480px) {
    .menu-toggle {
        font-size: 1.5rem;
        padding: 0.3rem;
    }
}

/* ===== HOME SECTION ===== */
.fullscreen-section {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

@media screen and (max-width: 767px) {
    #hero-video {
        object-position: 70% center;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    width: 100%;
    margin: 0 auto;
}

/* Responsive Hero Content */
@media screen and (min-width: 1400px) {
    .hero-content {
        max-width: 1200px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .hero-content {
        max-width: 1100px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .hero-content {
        max-width: 900px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-content {
        max-width: 700px;
    }
}

@media screen and (max-width: 767px) {
    .hero-content {
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--primary);
    animation: fadeInUp 1s ease;
}

/* Responsive Hero Badge */
@media screen and (min-width: 1400px) {
    .hero-badge {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .hero-badge {
        padding: 0.45rem 1.4rem;
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .hero-badge {
        padding: 0.4rem 1.3rem;
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-badge {
        padding: 0.35rem 1.2rem;
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 767px) {
    .hero-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-badge {
        padding: 0.3rem 1rem;
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Responsive Hero Title */
@media screen and (min-width: 1400px) {
    .hero-title {
        font-size: clamp(3rem, 8vw, 6rem);
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .hero-title {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: clamp(2rem, 6vw, 4.5rem);
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 4rem);
        letter-spacing: 0.08em;
    }
}

@media screen and (max-width: 767px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        letter-spacing: 0.05em;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
        margin-bottom: 1rem;
    }
}

.glitch-text {
    position: relative;
    animation: glitch 5s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-top 0.3s infinite;
    color: #ff00c1;
    z-index: -1;
    opacity: 0.8;
}

.glitch-text::after {
    animation: glitch-bottom 0.3s infinite;
    color: #00ffea;
    z-index: -2;
    opacity: 0.8;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-gray);
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Responsive Hero Subtitle */
@media screen and (min-width: 1400px) {
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
        letter-spacing: 4px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .hero-subtitle {
        font-size: clamp(0.9rem, 2.2vw, 1.2rem);
        letter-spacing: 3px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .hero-subtitle {
        font-size: clamp(0.8rem, 2vw, 1.1rem);
        letter-spacing: 2.5px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-subtitle {
        font-size: clamp(0.75rem, 1.8vw, 1rem);
        letter-spacing: 2px;
    }
}

@media screen and (max-width: 767px) {
    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }
}

@media screen and (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
    width: 100%;
}

/* Responsive Hero Buttons */
@media screen and (min-width: 1400px) {
    .hero-buttons {
        gap: 1.5rem;
        margin-bottom: 4rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .hero-buttons {
        gap: 1.3rem;
        margin-bottom: 3.5rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .hero-buttons {
        gap: 1.2rem;
        margin-bottom: 3rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-buttons {
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
}

@media screen and (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 1rem;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-buttons {
        max-width: 240px;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
}

.btn {
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1;
    white-space: nowrap;
}

/* Responsive Buttons */
@media screen and (min-width: 1400px) {
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .btn {
        padding: 0.9rem 2.2rem;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .btn {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 767px) {
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-light);
    box-shadow: var(--shadow-neon);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-gray);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon-strong);
}

@media screen and (max-width: 767px) {
    .btn:hover {
        transform: translateY(-3px);
    }
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

@media screen and (max-width: 767px) {
    .scroll-indicator {
        bottom: 20px;
    }
}

.mouse {
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

/* Responsive Mouse */
@media screen and (min-width: 1400px) {
    .mouse {
        width: 30px;
        height: 50px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .mouse {
        width: 28px;
        height: 48px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .mouse {
        width: 26px;
        height: 45px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .mouse {
        width: 26px;
        height: 45px;
    }
}

@media screen and (max-width: 767px) {
    .mouse {
        width: 24px;
        height: 40px;
    }
}

.mouse span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@media screen and (min-width: 1400px) {
    .mouse span {
        width: 4px;
        height: 10px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .mouse span {
        width: 4px;
        height: 10px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .mouse span {
        width: 3.5px;
        height: 9px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .mouse span {
        width: 3.5px;
        height: 9px;
    }
}

@media screen and (max-width: 767px) {
    .mouse span {
        width: 3px;
        height: 8px;
    }
}

.scroll-text {
    color: var(--text-gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@media screen and (max-width: 767px) {
    .scroll-text {
        font-size: 0.7rem;
    }
}

/* ===== SECTION STYLES ===== */
.section {
    position: relative;
    scroll-margin-top: 80px;
    overflow: hidden;
}

/* Responsive Section Padding */
@media screen and (min-width: 1400px) {
    .section {
        padding: 6rem 0;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section {
        padding: 5.5rem 0;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section {
        padding: 5rem 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section {
        padding: 4.5rem 0;
    }
}

@media screen and (max-width: 767px) {
    .section {
        padding: 4rem 0;
        scroll-margin-top: 70px;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: 3.5rem 0;
        scroll-margin-top: 60px;
    }
}

.dark-section {
    background-color: var(--bg-charcoal);
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
}

/* Responsive Section Header */
@media screen and (min-width: 1400px) {
    .section-header {
        margin-bottom: 3rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section-header {
        margin-bottom: 2.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-header {
        margin-bottom: 2.2rem;
    }
}

@media screen and (max-width: 767px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-tag {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Responsive Section Tag */
@media screen and (min-width: 1400px) {
    .section-tag {
        padding: 0.3rem 1rem;
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section-tag {
        padding: 0.25rem 0.9rem;
        font-size: 0.75rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section-tag {
        padding: 0.2rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-tag {
        padding: 0.2rem 0.7rem;
        font-size: 0.65rem;
    }
}

@media screen and (max-width: 767px) {
    .section-tag {
        padding: 0.2rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .section-tag {
        padding: 0.15rem 0.6rem;
        font-size: 0.6rem;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Section Title */
@media screen and (min-width: 1400px) {
    .section-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section-title {
        font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-title {
        font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    }
}

@media screen and (max-width: 767px) {
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background: var(--gradient-1);
    box-shadow: var(--shadow-neon);
}

/* Responsive Title Underline */
@media screen and (min-width: 1400px) {
    .section-title::after {
        width: 60px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section-title::after {
        width: 55px;
        bottom: -9px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section-title::after {
        width: 50px;
        bottom: -8px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-title::after {
        width: 45px;
        bottom: -8px;
    }
}

@media screen and (max-width: 767px) {
    .section-title::after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }
}

@media screen and (max-width: 480px) {
    .section-title::after {
        width: 35px;
        bottom: -6px;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin: 1rem auto 0;
    max-width: 600px;
    padding: 0 1rem;
}

/* Responsive Subtitle */
@media screen and (min-width: 1400px) {
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section-subtitle {
        font-size: 1rem;
        max-width: 550px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section-subtitle {
        font-size: 0.95rem;
        max-width: 500px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-subtitle {
        font-size: 0.9rem;
        max-width: 450px;
    }
}

@media screen and (max-width: 767px) {
    .section-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .section-subtitle {
        font-size: 0.85rem;
    }
}

.section-footer {
    text-align: center;
}

/* Responsive Section Footer */
@media screen and (min-width: 1400px) {
    .section-footer {
        margin-top: 3rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section-footer {
        margin-top: 2.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section-footer {
        margin-top: 2.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-footer {
        margin-top: 2.2rem;
    }
}

@media screen and (max-width: 767px) {
    .section-footer {
        margin-top: 2rem;
    }
}

/* ===== SHOWREEL SECTION ===== */
.video-wrapper {
    position: relative;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-neon);
    aspect-ratio: 16/9;
}

/* Responsive Video Wrapper */
@media screen and (min-width: 1400px) {
    .video-wrapper {
        max-width: 1000px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .video-wrapper {
        max-width: 900px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .video-wrapper {
        max-width: 800px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .video-wrapper {
        max-width: 700px;
        border-radius: 25px;
    }
}

@media screen and (max-width: 767px) {
    .video-wrapper {
        max-width: 100%;
        border-radius: 20px;
    }
}

.showreel-video {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--bg-card);
    object-fit: cover;
}

.video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 30px;
    pointer-events: none;
    animation: borderGlow 3s infinite;
}

@media screen and (max-width: 767px) {
    .video-frame {
        border-radius: 20px;
        border-width: 1px;
    }
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-base);
    opacity: 1;
    box-shadow: var(--shadow-neon);
}

/* Responsive Video Play Button */
@media screen and (min-width: 1400px) {
    .video-play-btn {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .video-play-btn {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .video-play-btn {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .video-play-btn {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 767px) {
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-neon-strong);
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    display: none;
}

.loader {
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Loader */
@media screen and (min-width: 1400px) {
    .loader {
        width: 50px;
        height: 50px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .loader {
        width: 45px;
        height: 45px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .loader {
        width: 40px;
        height: 40px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .loader {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 767px) {
    .loader {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
}

/* ===== WORK CARDS ===== */
.work-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive Work Grid */
@media screen and (min-width: 1400px) {
    .work-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .work-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .work-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .work-grid {
        max-width: 100%;
        gap: 1.2rem;
    }
}

.work-card {
    perspective: 1500px;
    cursor: pointer;
}

/* Responsive Card Height */
@media screen and (min-width: 1400px) {
    .work-card {
        height: 380px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .work-card {
        height: 360px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .work-card {
        height: 360px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .work-card {
        height: 340px;
    }
}

@media screen and (max-width: 767px) {
    .work-card {
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .work-card {
        height: 300px;
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 15px;
}

.work-card:hover .card-inner {
    transform: rotateY(180deg);
}

@media (hover: none) {
    .work-card.touch-active .card-inner {
        transform: rotateY(180deg);
    }
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.card-front {
    background: var(--bg-card);
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-card:hover .card-front img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(0);
    transition: var(--transition-base);
}

/* Responsive Card Overlay */
@media screen and (min-width: 1400px) {
    .card-overlay {
        padding: 2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card-overlay {
        padding: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card-overlay {
        padding: 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card-overlay {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .card-overlay {
        padding: 1.5rem;
    }
}

.card-overlay h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Responsive Card Title */
@media screen and (min-width: 1400px) {
    .card-overlay h3 {
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card-overlay h3 {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card-overlay h3 {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card-overlay h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .card-overlay h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .card-overlay h3 {
        font-size: 1.1rem;
    }
}

.card-overlay p {
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Card Category */
@media screen and (min-width: 1400px) {
    .card-overlay p {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card-overlay p {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card-overlay p {
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card-overlay p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 767px) {
    .card-overlay p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .card-overlay p {
        font-size: 0.75rem;
    }
}

.card-back {
    background: var(--gradient-1);
    color: var(--text-light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Responsive Card Back */
@media screen and (min-width: 1400px) {
    .card-back {
        padding: 2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card-back {
        padding: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card-back {
        padding: 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card-back {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .card-back {
        padding: 1.5rem;
    }
}

.card-back h3 {
    margin-bottom: 1rem;
}

/* Responsive Card Back Title */
@media screen and (min-width: 1400px) {
    .card-back h3 {
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card-back h3 {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card-back h3 {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card-back h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .card-back h3 {
        font-size: 1.2rem;
    }
}

.card-back p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Card Back Text */
@media screen and (min-width: 1400px) {
    .card-back p {
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .card-back p {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card-back p {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card-back p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 767px) {
    .card-back p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

.view-project {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    color: var(--text-light);
    text-decoration: none;
    display: inline-block;
}

/* Responsive View Project Button */
@media screen and (min-width: 1400px) {
    .view-project {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .view-project {
        padding: 0.7rem 1.8rem;
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .view-project {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .view-project {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 767px) {
    .view-project {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}

.view-project:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Services Grid */
@media screen and (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.3rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .services-grid {
        max-width: 100%;
        gap: 1rem;
    }
}

.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Responsive Service Card */
@media screen and (min-width: 1400px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .service-card {
        padding: 1.8rem 1.3rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .service-card {
        padding: 1.8rem 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .service-card {
        padding: 1.8rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .service-card {
        padding: 1.5rem 1rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-2);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon);
    border-color: var(--primary);
}

@media screen and (max-width: 767px) {
    .service-card:hover {
        transform: translateY(-5px);
    }
}

.service-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Responsive Service Icon */
@media screen and (min-width: 1400px) {
    .service-icon {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .service-icon {
        font-size: 2.3rem;
        margin-bottom: 1.3rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
    color: var(--text-light);
}

.service-title {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

/* Responsive Service Title */
@media screen and (min-width: 1400px) {
    .service-title {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .service-title {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .service-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .service-title {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
}

@media screen and (max-width: 767px) {
    .service-title {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .service-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

.service-description {
    color: var(--text-gray);
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Responsive Service Description */
@media screen and (min-width: 1400px) {
    .service-description {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .service-description {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .service-description {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .service-description {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 767px) {
    .service-description {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .service-description {
        font-size: 0.8rem;
    }
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    align-items: center;
}

/* Responsive About Grid */
@media screen and (min-width: 1400px) {
    .about-grid {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .about-grid {
        grid-template-columns: 1fr 2fr;
        gap: 3.5rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .about-grid {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .about-grid {
        gap: 2rem;
        max-width: 100%;
    }
}

.about-left {
    position: relative;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .about-left {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {
    .about-left {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .about-left {
        max-width: 280px;
    }
}

.avatar-container {
    position: relative;
}

.avatar-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 1;
}

.about-image {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--bg-card);
    object-fit: cover;
}

.avatar-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 243, 255, 0.1) 70%);
    z-index: 1;
    pointer-events: none;
    animation: rotate 20s linear infinite;
}

.avatar-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-neon);
    animation: float 3s ease-in-out infinite;
}

/* Responsive Avatar Badge */
@media screen and (min-width: 1400px) {
    .avatar-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .avatar-badge {
        padding: 0.55rem 1.1rem;
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .avatar-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .avatar-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 767px) {
    .avatar-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        bottom: -12px;
    }
}

@media screen and (max-width: 480px) {
    .avatar-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        bottom: -10px;
    }
}

.about-right .section-tag {
    margin-bottom: 0.5rem;
}

.about-right .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-right .section-title::after {
    left: 0;
    transform: none;
}

.about-text {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Responsive About Text */
@media screen and (min-width: 1400px) {
    .about-text {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .about-text {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .about-text {
        font-size: 0.95rem;
        margin-bottom: 1.6rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .about-text {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
}

@media screen and (max-width: 767px) {
    .about-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .about-text {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
}

.about-features {
    display: flex;
    margin-bottom: 2rem;
}

/* Responsive About Features */
@media screen and (min-width: 1400px) {
    .about-features {
        gap: 2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .about-features {
        gap: 1.8rem;
        margin-bottom: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .about-features {
        gap: 1.5rem;
        margin-bottom: 1.6rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .about-features {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .about-features {
        flex-direction: column;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .about-features {
        gap: 1rem;
        margin-bottom: 1.2rem;
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: var(--primary);
}

/* Responsive Feature Icon */
@media screen and (min-width: 1400px) {
    .feature i {
        font-size: 2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .feature i {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .feature i {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .feature i {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 767px) {
    .feature i {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .feature i {
        font-size: 1.5rem;
    }
}

.feature h4 {
    margin-bottom: 0.2rem;
}

/* Responsive Feature Title */
@media screen and (min-width: 1400px) {
    .feature h4 {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .feature h4 {
        font-size: 1rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .feature h4 {
        font-size: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .feature h4 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .feature h4 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .feature h4 {
        font-size: 0.95rem;
    }
}

.feature p {
    color: var(--text-gray);
}

/* Responsive Feature Text */
@media screen and (min-width: 1400px) {
    .feature p {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .feature p {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .feature p {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .feature p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 767px) {
    .feature p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .feature p {
        font-size: 0.8rem;
    }
}

.skills h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Responsive Skills Title */
@media screen and (min-width: 1400px) {
    .skills h3 {
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .skills h3 {
        font-size: 1.25rem;
        margin-bottom: 1.4rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .skills h3 {
        font-size: 1.2rem;
        margin-bottom: 1.3rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .skills h3 {
        font-size: 1.2rem;
        margin-bottom: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .skills h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .skills h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* ===== SKILLS TAGS ===== */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

/* Responsive Skills Tags */
@media screen and (min-width: 1400px) {
    .skills-tags {
        gap: 0.8rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .skills-tags {
        gap: 0.7rem;
        margin: 1.4rem 0;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .skills-tags {
        gap: 0.6rem;
        margin: 1.3rem 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .skills-tags {
        gap: 0.6rem;
        margin: 1.3rem 0;
    }
}

@media screen and (max-width: 767px) {
    .skills-tags {
        gap: 0.6rem;
        margin: 1.2rem 0;
    }
}

@media screen and (max-width: 480px) {
    .skills-tags {
        gap: 0.5rem;
        margin: 1rem 0;
    }
}

.skill-tag {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 30px;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition-base);
}

/* Responsive Skill Tag */
@media screen and (min-width: 1400px) {
    .skill-tag {
        padding: 0.7rem 1.3rem;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .skill-tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .skill-tag {
        padding: 0.5rem 1.1rem;
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .skill-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 767px) {
    .skill-tag {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .skill-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

.skill-tag:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

@media screen and (max-width: 767px) {
    .skill-tag:hover {
        transform: translateY(-2px);
    }
}

/* Software Icons Styling */
.software-icons {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Responsive Software Icons */
@media screen and (min-width: 1400px) {
    .software-icons {
        gap: 1.2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .software-icons {
        gap: 1.1rem;
        margin-top: 1.4rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .software-icons {
        gap: 1rem;
        margin-top: 1.3rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .software-icons {
        gap: 1rem;
        margin-top: 1.3rem;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .software-icons {
        gap: 1rem;
        margin-top: 1.2rem;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .software-icons {
        gap: 0.8rem;
        margin-top: 1rem;
    }
}

.software-icon {
    background: var(--bg-card);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-base);
    cursor: pointer;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

/* Responsive Software Icon */
@media screen and (min-width: 1400px) {
    .software-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .software-icon {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .software-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .software-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 767px) {
    .software-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 480px) {
    .software-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}

.software-icon:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-neon);
}

@media screen and (max-width: 767px) {
    .software-icon:hover {
        transform: translateY(-3px) scale(1.05);
    }
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    margin-top: 2rem;
}

/* Responsive Contact Grid */
@media screen and (min-width: 1400px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 480px) {
    .contact-grid {
        max-width: 100%;
        gap: 1.8rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
}

/* Responsive Contact Form */
@media screen and (min-width: 1400px) {
    .contact-form {
        gap: 1.8rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-form {
        gap: 1.6rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-form {
        gap: 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-form {
        gap: 1.8rem;
    }
}

@media screen and (max-width: 767px) {
    .contact-form {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-form {
        gap: 1.2rem;
    }
}

.form-group {
    position: relative;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    color: var(--text-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition-base);
}

/* Responsive Form Inputs */
@media screen and (min-width: 1400px) {
    .form-group input,
    .form-group textarea {
        padding: 0.9rem 0;
        font-size: 1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .form-group input,
    .form-group textarea {
        padding: 0.85rem 0;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 0;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .form-group input,
    .form-group textarea {
        padding: 0.85rem 0;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 767px) {
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 0;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0;
        font-size: 0.9rem;
    }
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    left: 0;
    color: var(--text-gray);
    transition: var(--transition-base);
    pointer-events: none;
}

/* Responsive Form Labels */
@media screen and (min-width: 1400px) {
    .form-group label {
        top: 0.9rem;
        font-size: 1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .form-group label {
        top: 0.85rem;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .form-group label {
        top: 0.8rem;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .form-group label {
        top: 0.85rem;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 767px) {
    .form-group label {
        top: 0.8rem;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .form-group label {
        top: 0.7rem;
        font-size: 0.9rem;
    }
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -0.8rem;
    font-size: 0.8rem;
    color: var(--primary);
}

@media screen and (max-width: 480px) {
    .form-group input:focus ~ label,
    .form-group input:valid ~ label,
    .form-group textarea:focus ~ label,
    .form-group textarea:valid ~ label {
        top: -0.6rem;
        font-size: 0.7rem;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--primary);
}

.form-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-focus-effect,
.form-group textarea:focus ~ .form-focus-effect {
    width: 100%;
}

.form-status {
    text-align: center;
    padding: 0.8rem;
    border-radius: 10px;
    display: none;
    font-size: 0.9rem;
}

.form-status.success {
    display: block;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid #00ff00;
}

.form-status.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid #ff0000;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    box-shadow: var(--shadow-card);
}

/* Responsive Contact Card */
@media screen and (min-width: 1400px) {
    .contact-card {
        padding: 2.2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-card {
        padding: 2rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-card {
        padding: 1.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-card {
        padding: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .contact-card {
        padding: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-card {
        padding: 1.5rem;
    }
}

.contact-card h3 {
    color: var(--text-light);
    margin-bottom: 1.8rem;
}

/* Responsive Contact Card Title */
@media screen and (min-width: 1400px) {
    .contact-card h3 {
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.6rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-card h3 {
        font-size: 1.35rem;
        margin-bottom: 1.7rem;
    }
}

@media screen and (max-width: 767px) {
    .contact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
}

.contact-details {
    margin-bottom: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

/* Responsive Contact Item */
@media screen and (min-width: 1400px) {
    .contact-item {
        gap: 1.2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-item {
        gap: 1.1rem;
        margin-bottom: 1.1rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-item {
        gap: 1rem;
        margin-bottom: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-item {
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .contact-item {
        gap: 1rem;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-item {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
}

.contact-item i {
    color: var(--primary);
    width: 24px;
}

/* Responsive Contact Icon */
@media screen and (min-width: 1400px) {
    .contact-item i {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-item i {
        font-size: 1.15rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-item i {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-item i {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .contact-item i {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-item i {
        font-size: 1rem;
        width: 20px;
    }
}

.contact-item div {
    flex: 1;
}

.contact-item span {
    display: block;
    color: var(--text-gray);
    margin-bottom: 0.2rem;
}

/* Responsive Contact Label */
@media screen and (min-width: 1400px) {
    .contact-item span {
        font-size: 0.75rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-item span {
        font-size: 0.7rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-item span {
        font-size: 0.65rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-item span {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 767px) {
    .contact-item span {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-item span {
        font-size: 0.65rem;
    }
}

.contact-item a,
.contact-item p {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-base);
    word-break: break-word;
}

/* Responsive Contact Info */
@media screen and (min-width: 1400px) {
    .contact-item a,
    .contact-item p {
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .contact-item a,
    .contact-item p {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .contact-item a,
    .contact-item p {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .contact-item a,
    .contact-item p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 767px) {
    .contact-item a,
    .contact-item p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-item a,
    .contact-item p {
        font-size: 0.85rem;
    }
}

.contact-item a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
}

/* Responsive Social Icons */
@media screen and (min-width: 1400px) {
    .social-icons {
        gap: 0.8rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .social-icons {
        gap: 0.7rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .social-icons {
        gap: 0.6rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .social-icons {
        gap: 0.8rem;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .social-icons {
        gap: 0.7rem;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .social-icons {
        gap: 0.5rem;
    }
}

.social-icon {
    background: rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 243, 255, 0.1);
}

/* Responsive Social Icon */
@media screen and (min-width: 1400px) {
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 767px) {
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

.social-icon:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

@media screen and (max-width: 767px) {
    .social-icon:hover {
        transform: translateY(-3px);
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    position: relative;
}

/* Responsive Footer */
@media screen and (min-width: 1400px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .footer {
        padding: 2.8rem 0 1.3rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer {
        padding: 2.5rem 0 1.2rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer {
        padding: 2.5rem 0 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .footer {
        padding: 2.2rem 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 2rem 0 0.8rem;
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: lineMove 3s linear infinite;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Footer Content */
@media screen and (min-width: 1400px) {
    .footer-content {
        gap: 1.5rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .footer-content {
        gap: 1.4rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-content {
        gap: 1.3rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-content {
        gap: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .footer-content {
        gap: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-content {
        gap: 1rem;
    }
}

.footer-logo .logo-text {
    font-size: 1.8rem;
}

@media screen and (max-width: 767px) {
    .footer-logo .logo-text {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-logo .logo-text {
        font-size: 1.4rem;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive Footer Links */
@media screen and (min-width: 1400px) {
    .footer-links {
        gap: 1.8rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .footer-links {
        gap: 1.6rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-links {
        gap: 1.4rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-links {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .footer-links {
        gap: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-links {
        gap: 1rem;
    }
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-base);
}

/* Responsive Footer Link Text */
@media screen and (min-width: 1400px) {
    .footer-links a {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .footer-links a {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-links a {
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-links a {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 767px) {
    .footer-links a {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-links a {
        font-size: 0.75rem;
    }
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Footer Social */
@media screen and (min-width: 1400px) {
    .footer-social {
        gap: 1.2rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .footer-social {
        gap: 1.1rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-social {
        gap: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-social {
        gap: 1.1rem;
    }
}

@media screen and (max-width: 767px) {
    .footer-social {
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-social {
        gap: 0.8rem;
    }
}

.footer-social .social-icon {
    background: transparent;
}

/* Responsive Footer Social Icons */
@media screen and (min-width: 1400px) {
    .footer-social .social-icon {
        width: 38px;
        height: 38px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .footer-social .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-social .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-social .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 767px) {
    .footer-social .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-social .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

.footer-copyright {
    color: var(--text-gray);
    text-align: center;
    width: 100%;
}

/* Responsive Footer Copyright */
@media screen and (min-width: 1400px) {
    .footer-copyright {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-copyright {
        font-size: 0.75rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 767px) {
    .footer-copyright {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-copyright {
        font-size: 0.7rem;
    }
}

.footer-copyright .small {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

@media screen and (max-width: 767px) {
    .footer-copyright .small {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-copyright .small {
        font-size: 0.65rem;
    }
}

.footer-animated-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin-top: 1.5rem;
    animation: divider-flow 3s infinite;
    background-size: 200% 100%;
}

@media screen and (max-width: 767px) {
    .footer-animated-line {
        margin-top: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-animated-line {
        margin-top: 1rem;
    }
}

/* ===== CHATBOT STYLES ===== */
.chatbot-widget {
    position: fixed;
    z-index: 10000;
}

/* Responsive Chatbot */
@media screen and (min-width: 1400px) {
    .chatbot-widget {
        bottom: 30px;
        right: 30px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .chatbot-widget {
        bottom: 25px;
        right: 25px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .chatbot-widget {
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .chatbot-widget {
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 767px) {
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
}

@media screen and (max-width: 480px) {
    .chatbot-widget {
        bottom: 10px;
        right: 10px;
    }
}

.chatbot-toggle {
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-neon);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Chatbot Toggle */
@media screen and (min-width: 1400px) {
    .chatbot-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .chatbot-toggle {
        width: 52px;
        height: 52px;
        font-size: 1.35rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .chatbot-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .chatbot-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-neon-strong);
}

@media screen and (max-width: 767px) {
    .chatbot-toggle:hover {
        transform: scale(1.05) rotate(360deg);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes glitch {
    2%, 64% { transform: skew(0deg, 0deg); }
    4%, 60% { transform: skew(0deg, 0deg); }
    62% { transform: skew(0deg, 0deg); }
}

@keyframes glitch-top {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-bottom {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--primary); box-shadow: 0 0 20px rgba(0, 243, 255, 0.5); }
    50% { border-color: var(--secondary); box-shadow: 0 0 40px rgba(123, 44, 191, 0.5); }
}

@keyframes pulseCursor {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes fadeTrail {
    from { opacity: 0.5; transform: scale(1); }
    to { opacity: 0; transform: scale(0); }
}

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 100px; height: 100px; opacity: 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes divider-flow {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

@keyframes lineMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1.2);
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    background: var(--bg-charcoal);
}

/* Responsive Scrollbar */
@media screen and (min-width: 1400px) {
    ::-webkit-scrollbar {
        width: 8px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    ::-webkit-scrollbar {
        width: 7px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    ::-webkit-scrollbar {
        width: 5px;
    }
}

@media screen and (max-width: 767px) {
    ::-webkit-scrollbar {
        width: 4px;
    }
}

::-webkit-scrollbar-track {
    background: var(--bg-charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7b2cbf, #00f3ff);
}

/* ===== INPUT FOCUS CURSOR EFFECT ===== */
body.input-focused .cursor-dot {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }
    
    .cursor-dot,
    .cursor-outline,
    .cursor-trailer,
    .cursor-text,
    #cursor-particles {
        display: none !important;
    }
    
    .work-card:hover .card-inner {
        transform: none;
    }
    
    .work-card.touch-active .card-inner {
        transform: rotateY(180deg);
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .navbar {
        backdrop-filter: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .cursor-dot,
    .cursor-outline,
    .cursor-trailer,
    .cursor-text,
    #cursor-particles,
    .chatbot-widget,
    .back-to-top,
    .film-grain,
    .video-play-btn,
    .scroll-indicator,
    .video-container,
    .glow-effect {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
        background: white;
        color: black;
    }
    
    .navbar {
        position: static;
        background: none;
        border: none;
    }
    
    .hero-content {
        position: static;
    }
    
    .section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }
}

/* ===== GLOW EFFECT ===== */
.glow-effect {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
    animation: glowPulse 3s infinite;
}

/* Responsive Glow Effect */
@media screen and (min-width: 1400px) {
    .glow-effect {
        width: 300px;
        height: 300px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .glow-effect {
        width: 250px;
        height: 250px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .glow-effect {
        width: 220px;
        height: 220px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .glow-effect {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 767px) {
    .glow-effect {
        width: 150px;
        height: 150px;
        bottom: -50px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

/* Margin Utilities - Responsive */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

@media screen and (max-width: 767px) {
    .mt-1 { margin-top: 0.4rem; }
    .mt-2 { margin-top: 0.8rem; }
    .mt-3 { margin-top: 1.2rem; }
    .mt-4 { margin-top: 1.6rem; }
    .mt-5 { margin-top: 2rem; }
    
    .mb-1 { margin-bottom: 0.4rem; }
    .mb-2 { margin-bottom: 0.8rem; }
    .mb-3 { margin-bottom: 1.2rem; }
    .mb-4 { margin-bottom: 1.6rem; }
    .mb-5 { margin-bottom: 2rem; }
}

@media screen and (max-width: 480px) {
    .mt-1 { margin-top: 0.3rem; }
    .mt-2 { margin-top: 0.6rem; }
    .mt-3 { margin-top: 1rem; }
    .mt-4 { margin-top: 1.4rem; }
    .mt-5 { margin-top: 1.8rem; }
    
    .mb-1 { margin-bottom: 0.3rem; }
    .mb-2 { margin-bottom: 0.6rem; }
    .mb-3 { margin-bottom: 1rem; }
    .mb-4 { margin-bottom: 1.4rem; }
    .mb-5 { margin-bottom: 1.8rem; }
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===== RESPONSIVE IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== RESPONSIVE TABLES ===== */
@media screen and (max-width: 767px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ===== RESPONSIVE EMBEDS ===== */
iframe,
embed,
object {
    max-width: 100%;
}

/* ===== RESPONSIVE FLEXBOX HELPERS ===== */
.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

/* Responsive Flex Helpers */
@media screen and (max-width: 767px) {
    .flex-mobile-column {
        flex-direction: column;
    }
    
    .flex-mobile-wrap {
        flex-wrap: wrap;
    }
    
    .justify-mobile-center {
        justify-content: center;
    }
    
    .align-mobile-center {
        align-items: center;
    }
}

/* ===== RESPONSIVE GRID HELPERS ===== */
.grid {
    display: grid;
}

/* Responsive Gap */
@media screen and (min-width: 1400px) {
    .gap-1 { gap: 0.5rem; }
    .gap-2 { gap: 1rem; }
    .gap-3 { gap: 1.5rem; }
    .gap-4 { gap: 2rem; }
    .gap-5 { gap: 2.5rem; }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .gap-1 { gap: 0.4rem; }
    .gap-2 { gap: 0.8rem; }
    .gap-3 { gap: 1.2rem; }
    .gap-4 { gap: 1.6rem; }
    .gap-5 { gap: 2rem; }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .gap-1 { gap: 0.3rem; }
    .gap-2 { gap: 0.6rem; }
    .gap-3 { gap: 0.9rem; }
    .gap-4 { gap: 1.2rem; }
    .gap-5 { gap: 1.5rem; }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .gap-1 { gap: 0.4rem; }
    .gap-2 { gap: 0.8rem; }
    .gap-3 { gap: 1.2rem; }
    .gap-4 { gap: 1.6rem; }
    .gap-5 { gap: 2rem; }
}

@media screen and (max-width: 767px) {
    .gap-1 { gap: 0.3rem; }
    .gap-2 { gap: 0.6rem; }
    .gap-3 { gap: 0.9rem; }
    .gap-4 { gap: 1.2rem; }
    .gap-5 { gap: 1.5rem; }
}

/* ===== RESPONSIVE TEXT ALIGNMENT ===== */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

@media screen and (max-width: 767px) {
    .text-mobile-left { text-align: left; }
    .text-mobile-center { text-align: center; }
    .text-mobile-right { text-align: right; }
}

/* ===== RESPONSIVE FONT SIZES ===== */
.fs-1 { font-size: 0.75rem; }
.fs-2 { font-size: 0.875rem; }
.fs-3 { font-size: 1rem; }
.fs-4 { font-size: 1.125rem; }
.fs-5 { font-size: 1.25rem; }
.fs-6 { font-size: 1.5rem; }

@media screen and (max-width: 767px) {
    .fs-mobile-1 { font-size: 0.7rem; }
    .fs-mobile-2 { font-size: 0.8rem; }
    .fs-mobile-3 { font-size: 0.9rem; }
    .fs-mobile-4 { font-size: 1rem; }
    .fs-mobile-5 { font-size: 1.1rem; }
    .fs-mobile-6 { font-size: 1.3rem; }
}

/* ===== RESPONSIVE PADDING ===== */
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 2.5rem; }

@media screen and (max-width: 767px) {
    .p-mobile-1 { padding: 0.4rem; }
    .p-mobile-2 { padding: 0.8rem; }
    .p-mobile-3 { padding: 1.2rem; }
    .p-mobile-4 { padding: 1.6rem; }
    .p-mobile-5 { padding: 2rem; }
}

/* ===== RESPONSIVE BORDERS ===== */
.border-rounded {
    border-radius: 10px;
}

.border-circle {
    border-radius: 50%;
}

@media screen and (max-width: 767px) {
    .border-rounded-mobile {
        border-radius: 8px;
    }
}

/* ===== SAFE AREA INSETS FOR MODERN DEVICES ===== */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .chatbot-widget {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(20px, env(safe-area-inset-right));
    }
    
    .back-to-top {
        bottom: max(20px, env(safe-area-inset-bottom));
        left: max(20px, env(safe-area-inset-left));
    }
}