:root {
            --primary: #FF3D00;
            --secondary: #FFC107;
            --dark: #1A1A1A;
            --light: #F5F5F5;
            --accent: #9C27B0;
            --gold: #FFD700;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        
        body {
            background-color: var(--dark);
            color: var(--light);
            overflow-x: hidden;
        }
        
        /* Header & Navigation - FIXED WITH FLEXIBLE MENU */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background-color: rgba(26, 26, 26, 0.98);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }
        
        .logo {
            font-family: 'Anton', sans-serif;
            font-size: 1.8rem;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 2px;
            white-space: nowrap;
        }
        
        .logo span {
            color: var(--secondary);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 1.5rem;
        }
        
        nav ul li a {
            color: var(--light);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            position: relative;
            padding: 5px 10px;
            white-space: nowrap;
        }
        
        nav ul li a:hover, nav ul li a.active {
            color: var(--primary);
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }
        
        nav ul li a:hover::after, nav ul li a.active::after {
            width: 100%;
        }
        
        .menu-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1001;
            background: none;
            border: none;
            color: var(--light);
        }
        
        /* Page Container */
        .page-container {
            margin-top: 80px;
            min-height: calc(100vh - 80px);
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .page-container.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* Home/Bio Page */
        #home {
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .hero-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
            margin-bottom: 4rem;
            flex-wrap: wrap;
        }
        
        .hero-text {
            flex: 1;
            min-width: 300px;
        }
        
        .hero-text h1 {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }
        
        .hero-text h1 span {
            color: var(--primary);
            display: block;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 2rem;
            font-weight: 600;
        }
        
        .hero-image {
            flex: 1;
            min-width: 300px;
            text-align: center;
            position: relative;
        }
        
        .hero-image img {
            width: 100%;
            max-width: 500px;
            border-radius: 20px;
            box-shadow: 20px 20px 0 var(--primary), -10px -10px 0 var(--accent);
            transform: rotate(2deg);
            transition: transform 0.5s ease;
        }
        
        .hero-image img:hover {
            transform: rotate(0deg) scale(1.02);
        }
        
        .personality-highlight {
            text-align: center;
            margin: 4rem 0;
            padding: 3rem;
            background: linear-gradient(135deg, rgba(255, 61, 0, 0.1), rgba(156, 39, 176, 0.1));
            border-radius: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .personality-highlight::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
            z-index: 0;
        }
        
        .personality-text {
            font-family: 'Hind Siliguri', sans-serif;
            font-size: 4.5rem;
            color: var(--gold);
            text-shadow: 5px 5px 0 rgba(255, 61, 0, 0.7);
            line-height: 1.2;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }
        
        .personality-subtext {
            font-size: 1.5rem;
            color: var(--secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 3px;
            position: relative;
            z-index: 1;
        }
        
        .bio-content {
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
            margin-top: 4rem;
            align-items: flex-start;
        }
        
        .bio-details {
            flex: 1;
            min-width: 300px;
        }
        
        .bio-details h2 {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            position: relative;
        }
        
        .bio-details h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 80px;
            height: 5px;
            background-color: var(--primary);
        }
        
        .bio-details p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: #ccc;
        }
        
        .qualities-grid {
            flex: 1;
            min-width: 300px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        
        .quality-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: 15px;
            border-left: 5px solid var(--primary);
            transition: transform 0.3s ease, background 0.3s ease;
        }
        
        .quality-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 61, 0, 0.1);
        }
        
        .quality-card i {
            font-size: 2rem;
            color: var(--secondary);
            margin-bottom: 1rem;
        }
        
        .quality-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--light);
        }
        
        .quality-card p {
            font-size: 0.9rem;
            color: #aaa;
        }
        
        /* Photo Gallery Page - FIXED TEXT CUTTING ISSUE */
        #gallery {
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            overflow: hidden;
        }
        
        .gallery-title {
            font-size: 3rem;
            font-weight: 800;
            text-align: center;
            margin-bottom: 2rem;
            text-transform: uppercase;
            color: var(--secondary);
            position: relative;
            word-wrap: break-word;
            overflow-wrap: break-word;
            padding: 0 1rem;
        }
        
        .gallery-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background-color: var(--primary);
        }
        
        .gallery-description {
            text-align: center;
            font-size: 1.2rem;
            color: #ccc;
            max-width: 800px;
            margin: 0 auto 3rem;
            line-height: 1.6;
            padding: 0 1.5rem;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            padding: 0 0.5rem;
        }
        
        .gallery-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            height: 300px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover {
            transform: scale(1.05);
            z-index: 10;
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            padding: 1.5rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }
        
        .gallery-overlay h3 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            word-wrap: break-word;
        }
        
        .gallery-overlay p {
            font-size: 0.9rem;
            color: #ddd;
            word-wrap: break-word;
        }
        
        /* Footer */
        footer {
            background-color: #0f0f0f;
            padding: 3rem 2rem;
            text-align: center;
            margin-top: 4rem;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .social-links a {
            color: var(--light);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            color: var(--primary);
            transform: translateY(-5px);
        }
        
        .copyright {
            color: #777;
            font-size: 0.9rem;
        }
        
        /* Responsive Styles - IMPROVED FLEXIBLE MENU */
        @media (max-width: 1200px) {
            nav ul li {
                margin-left: 1.2rem;
            }
            
            nav ul li a {
                font-size: 1rem;
                padding: 4px 8px;
            }
        }
        
        @media (max-width: 992px) {
            .hero-section {
                flex-direction: column;
                text-align: center;
            }
            
            .hero-text h1 {
                font-size: 3.2rem;
            }
            
            .personality-text {
                font-size: 3.8rem;
            }
            
            nav ul li {
                margin-left: 1rem;
            }
            
            nav ul li a {
                font-size: 0.95rem;
                padding: 4px 6px;
            }
        }
        
        @media (max-width: 850px) {
            .logo {
                font-size: 1.6rem;
            }
            
            nav ul li {
                margin-left: 0.8rem;
            }
            
            nav ul li a {
                font-size: 0.9rem;
                padding: 3px 5px;
                letter-spacing: 0.5px;
            }
        }
        
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }
            
            nav {
                position: relative;
            }
            
            nav ul {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                background-color: rgba(26, 26, 26, 0.98);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 2rem 0;
                transform: translateX(100%);
                opacity: 0;
                visibility: hidden;
                transition: all 0.4s ease;
                z-index: 999;
            }
            
            nav ul.active {
                transform: translateX(0);
                opacity: 1;
                visibility: visible;
            }
            
            nav ul li {
                margin: 1.5rem 0;
                opacity: 0;
                transform: translateY(20px);
                transition: all 0.3s ease 0.1s;
                width: 100%;
                text-align: center;
            }
            
            nav ul.active li {
                opacity: 1;
                transform: translateY(0);
            }
            
            nav ul li:nth-child(1) { transition-delay: 0.1s; }
            nav ul li:nth-child(2) { transition-delay: 0.2s; }
            
            nav ul li a {
                font-size: 1.8rem;
                padding: 15px 30px;
                display: block;
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
                background: rgba(255, 61, 0, 0.1);
                border-radius: 10px;
                border: 2px solid transparent;
            }
            
            nav ul li a:hover {
                border-color: var(--primary);
                background: rgba(255, 61, 0, 0.2);
            }
            
            .hero-text h1 {
                font-size: 2.8rem;
                padding: 0 1rem;
            }
            
            .personality-text {
                font-size: 3rem;
                padding: 0 1rem;
            }
            
            .personality-subtext {
                font-size: 1.2rem;
                padding: 0 1rem;
            }
            
            .gallery-title {
                font-size: 2.5rem;
                margin-bottom: 1.5rem;
            }
            
            .gallery-description {
                font-size: 1.1rem;
                padding: 0 1rem;
            }
        }
        
        @media (max-width: 480px) {
            header {
                padding: 1rem;
            }
            
            .logo {
                font-size: 1.4rem;
            }
            
            .hero-text h1 {
                font-size: 2.2rem;
            }
            
            .personality-text {
                font-size: 2.4rem;
            }
            
            .personality-subtext {
                font-size: 1rem;
                letter-spacing: 2px;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
                padding: 0;
            }
            
            .gallery-title {
                font-size: 2rem;
                padding: 0 0.5rem;
            }
            
            .gallery-description {
                font-size: 1rem;
                padding: 0 0.5rem;
                margin-bottom: 2rem;
            }
            
            .bio-details h2 {
                font-size: 2rem;
            }
            
            .personality-highlight {
                padding: 2rem 1rem;
                margin: 3rem 0;
            }
            
            #gallery, #home {
                padding: 1rem;
            }
            
            .gallery-item {
                height: 250px;
            }
        }
        
        @media (max-width: 360px) {
            .logo {
                font-size: 1.2rem;
            }
            
            .hero-text h1 {
                font-size: 1.8rem;
            }
            
            .personality-text {
                font-size: 2rem;
            }
            
            .gallery-title {
                font-size: 1.8rem;
            }
            
            .gallery-description {
                font-size: 0.9rem;
            }
        }