* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --electric-blue: #0066FF;
    --hot-pink: #FF006E;
    --neon-purple: #8B5CF6;
    --cyber-yellow: #FFD60A;
    --dark-bg: #0A0E27;
    --card-bg: #1A1F3A;
    --text-white: #FFFFFF;
    --text-gray: #B4B4B4;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--electric-blue);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--hot-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-blue), var(--hot-pink));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--electric-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    --x: 50%;
    --y: 50%;
    background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/mehul.png');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    filter: brightness(0.7);
    -webkit-mask-image: radial-gradient(circle 180px at var(--x) var(--y), black 60%, transparent 100%);
    mask-image: radial-gradient(circle 180px at var(--x) var(--y), black 60%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--hot-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-blue), var(--hot-pink));
    color: white;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--electric-blue);
}

.btn-secondary:hover {
    background: var(--electric-blue);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--hot-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Resume Page */
.resume-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
}

.resume-card {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    border: 2px solid rgba(0, 102, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
}

.resume-card h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resume-card p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--electric-blue), var(--hot-pink));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.7);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    border-color: var(--electric-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.3);
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--electric-blue);
}

.portfolio-info p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: scale(1.05);
    border-color: var(--neon-purple);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.cert-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cert-info {
    padding: 1.5rem;
    text-align: center;
}

.cert-info h3 {
    font-size: 1.25rem;
    color: var(--neon-purple);
}

/* Contact Page */
.contact-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    border: 2px solid rgba(255, 0, 110, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
}

.contact-card h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--hot-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 800;
    background: #0A66C2;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(10, 102, 194, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.linkedin-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(10, 102, 194, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 39, 0.98);
        padding: 0;
        display: none;
        border-top: 1px solid var(--electric-blue);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .resume-card {
        padding: 2rem 1.5rem;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 102, 255, 0.5);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--hot-pink);
    transform: rotate(90deg);
}

.portfolio-card,
.cert-card {
    cursor: pointer;
}

/* Footer Styles */
footer {
    position: relative;
    background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    padding: 1.2rem 2rem 1rem;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(270deg, 
        #0066FF,
        #FF006E,
        #8B5CF6,
        #0066FF);
    background-size: 300% 300%;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    padding: 0;
    line-height: 1;
}

.heart {
    color: var(--hot-pink);
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.2); }
    20%, 40% { transform: scale(1); }
}

.footer-links {
    display: flex;
    justify-content: center;
    align-.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 03s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--hot-pink));
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--electric-blue);
}

.footer-link:hover::after {
    width: 100%;
}

.separator {
    color: var(--electric-blue);
    font-weight: bold;
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
}

