html, body {
    /* Scroll ko enable rakhen */
    overflow-x: hidden; 
    overflow-y: auto !important;
    height: auto;
    /* Smooth behavior standard rakhen */
    scroll-behavior: smooth;
}

/* Jab modal khula ho sirf tab scroll band hona chahiye */
body.modal-open {
    overflow: hidden !important;
}
* {
    scroll-behavior: smooth !important;
}


body {
    background-color: var(--deep-gray);
    color: white;
    margin: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hero-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
}

.hero-content {
    text-align: center;
}

h1.glitch {
    font-size: 8vw;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    letter-spacing: -5px;
}

.sub-title {
    color: var(--subtle-gray);
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-top: 20px;
}

 
/* Color Shift on Hover */

.content-section {
    width: 100vw;
    min-height: 80vh;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grey-bg {
    background-color: #0f0f0f;
}

.dummy-card {
    width: 300px;
    height: 400px;
    background: var(--glass-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    border-radius: 4px;
}

.dummy-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

/* Modal Logic */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: #1a1a1a;
    padding: 50px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Hero Content Wrapper */
.hero-content {
    text-align: center;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 1. Main Glitch Title (Color Shift) */
.glitch {
    position: relative;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--accent); /* Default: White */
    letter-spacing: -2px;
    margin: 0;
    cursor: pointer;
    /* Smooth transition matching logo */
    transition: color 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                letter-spacing 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Sub-title Style */
.sub-title {
    color: var(--subtle-gray);
    font-weight: 300;
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 15px;
    opacity: 0.5;
    /* Smooth transition */
    transition: color 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                letter-spacing 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.7s ease;
}

/* 3. Accent Line Style */
.cta-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 35px;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   UNIFIED HOVER EFFECT (Dono Aik Saath)
   ========================================== */

.hero-content:hover .glitch {
    color: #ff0055; /* Logo Accent Color */
    letter-spacing: 6px;
    transform: translateY(-8px);
}

.hero-content:hover .sub-title {
    color: #ffffff;
    opacity: 1;
    letter-spacing: 10px;
}

.hero-content:hover .cta-line {
    width: 120px;
    background: #ff0055;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

/* Background Glow Effect on Hover */
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    color: transparent;
    z-index: -1;
    transition: all 0.7s ease;
}

.hero-content:hover .glitch::after {
    color: rgba(255, 0, 85, 0.15);
    filter: blur(25px);
    transform: scale(1.2);
}



/* ==========================================
   RESPONSIVENESS & SCROLL FIXES
   ========================================== */

/* 1. Global Fix for both PC & Mobile */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    /* Kisi bhi qism ka horizontal scroll khatam karne ke liye */
    position: relative;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    /* Padding content ko bahar nahi nikaalay gi */
}

/* 2. Tablet & Mobile Queries */
@media screen and (max-width: 1024px) {
    h1.glitch {
        font-size: 10vw;
        /* Tablet par font thora chota */
    }

    .nav-container {
        width: 92%;
    }
}

@media screen and (max-width: 768px) {

    /* Section Padding Adjustments */
    .hero-section,
    .content-section {
        padding: 80px 20px;
        width: 100%;
    }

    /* Font Responsiveness */
    h1.glitch {
        font-size: 14vw;
        /* Mobile par headings adjust hongi */
        letter-spacing: -1px;
    }

    .sub-title {
        font-size: 0.7rem;
        letter-spacing: 4px;
        margin-top: 10px;
    }

    /* Grid Adjustment (Taake cards screen se bahar na jayen) */
    .work-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 20px;
        padding: 0 10px;
    }

    .dummy-card {
        width: 100%;
        /* Card ko mobile width k mutabiq kiya */
        height: 300px;
    }

    /* Search Bar Mobile Fix */
    .search-wrapper {
        padding: 5px 10px;
    }

    .search-wrapper:hover input,
    .search-wrapper input:focus {
        width: 100px;
        /* Mobile par width thori kam rakhi hai */
    }

    /* Modal (FAQ) Responsiveness */
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 0 10px;
    }
}

/* 3. Small Mobile Fix (iPhone SE etc.) */
@media screen and (max-width: 480px) {
    h1.glitch {
        font-size: 16vw;
    }

    .logo {
        font-size: 1.4rem;
    }
}

/* 4. Scrollbar Styling (Optional: For a cleaner look on PC) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--deep-gray);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--subtle-gray);
}




 