/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #00ff00;
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    --light-text: #ffffff;
    --gray-text: #888888;
    --card-bg: rgba(0, 255, 255, 0.05);
    --border-color: rgba(0, 255, 255, 0.2);
    --gradient-1: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    --gradient-2: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    --gradient-3: linear-gradient(135deg, #00ff00 0%, #00ffff 100%);
    --neon-glow: 0 0 20px rgba(0, 255, 255, 0.5);
    --neon-text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary-color);
    z-index: 2147483646; /* High z-index but below hamburger */
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: navScan 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navScan {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

/* Techy navbar hover effects */
.nav-item:nth-child(odd) .nav-link:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

.nav-item:nth-child(even) .nav-link:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
    color: var(--secondary-color);
}

/* Navbar scroll effect */
.navbar.scrolled {
    background: rgba(10, 10, 20, 0.98);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.4);
}

/* Techy glow effects for navbar */
.glow-cyan {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8) !important;
    border-color: var(--primary-color) !important;
}

.glow-magenta {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8) !important;
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}

.glow-green {
    box-shadow: 0 0 30px rgba(0, 255, 128, 0.8) !important;
    border-color: #00ff80 !important;
    color: #00ff80 !important;
}

/* Enhanced navbar border animation */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 25%, 
        var(--primary-color) 50%, 
        var(--secondary-color) 75%, 
        var(--primary-color) 100%);
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Logo tech enhancement */
.nav-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0.5;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.2; }
}

/* Hamburger tech enhancement */
.hamburger {
    position: relative;
}

.hamburger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.hamburger:hover::before {
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        transform: translateX(-100%);
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 20, 0.98);
        width: 100%;
        text-align: center;
        transition: transform 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(20px);
        border: 1px solid var(--primary-color);
        border-top: none;
        padding: 20px 0;
        gap: 5px;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        margin: 5px 20px;
        border-radius: 15px;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--primary-color);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--primary-color);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-move 8s linear infinite;
    perspective: 500px;
}

.holographic-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
    animation: holographic-shift 10s ease-in-out infinite;
}

@keyframes holographic-shift {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(180deg); }
}

.data-stream {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.03) 2px,
        rgba(0, 255, 255, 0.03) 4px
    );
    animation: data-flow 3s linear infinite;
}

@keyframes data-flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(10px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Terminal Effect */
.hero-terminal {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    font-family: 'Courier New', monospace;
    position: relative;
}

.hero-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan-top 2s linear infinite;
}

.terminal-header {
    background: rgba(0, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.control.red { background: #ff5f56; }

.control.yellow { background: #ffbd2e; }

.control.green { background: #27c93f; }

.terminal-title {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 30px;
    min-height: 400px;
}

.terminal-line {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: terminal-appear 0.5s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1s; }
.terminal-line:nth-child(3) { animation-delay: 1.5s; }
.terminal-line:nth-child(4) { animation-delay: 2s; }
.terminal-line:nth-child(5) { animation-delay: 2.5s; }
.terminal-line:nth-child(6) { animation-delay: 3s; }
.terminal-line:nth-child(7) { animation-delay: 3.5s; }

@keyframes terminal-appear {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.prompt {
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

.command {
    color: var(--light-text);
    font-size: 14px;
}

.status-online {
    color: var(--accent-color);
    font-weight: bold;
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.role-highlight {
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.spec-text {
    color: var(--gray-text);
    font-style: italic;
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end) infinite;
}

@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 100%; }
}

.cursor-blink {
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.6);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 255, 0.4);
}

/* Holographic Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.holo-core {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-bg);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.holo-profile {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.6),
        inset 0 0 15px rgba(0, 255, 255, 0.2);
    filter: none;
}

.floating-codes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.code-line {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 5px 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    white-space: nowrap;
}

.code-1 {
    top: 10%;
    left: -120%;
    animation: float-code-1 8s ease-in-out infinite;
}

.code-2 {
    top: 30%;
    right: -120%;
    animation: float-code-2 10s ease-in-out infinite;
}

.code-3 {
    bottom: 30%;
    left: -120%;
    animation: float-code-3 12s ease-in-out infinite;
}

.code-4 {
    bottom: 10%;
    right: -120%;
    animation: float-code-4 9s ease-in-out infinite;
}

@keyframes float-code-1 {
    0%, 100% { transform: translateX(0) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: translateX(250px) rotate(180deg); }
}

@keyframes float-code-2 {
    0%, 100% { transform: translateX(0) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: translateX(-250px) rotate(-180deg); }
}

@keyframes float-code-3 {
    0%, 100% { transform: translateX(0) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: translateX(250px) rotate(180deg); }
}

@keyframes float-code-4 {
    0%, 100% { transform: translateX(0) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: translateX(-250px) rotate(-180deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-text {
    font-size: 10px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: scroll-bounce 2s infinite;
    margin: 0 auto;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(-10px); }
    60% { transform: rotate(45deg) translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: var(--neon-text-shadow);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: neon-flicker 3s infinite alternate;
}

.section-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-2);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    animation: pulse-line 2s ease-in-out infinite alternate;
}

@keyframes pulse-line {
    from { box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); }
    to { box-shadow: 0 0 30px rgba(0, 255, 255, 1), 0 0 40px rgba(255, 0, 255, 0.5); }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--darker-bg);
    position: relative;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan-top 3s linear infinite;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro {
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.about-description {
    color: var(--gray-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.stat-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.circle-1 {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: var(--secondary-color);
    animation: rotate-reverse 15s linear infinite;
}

.circle-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: var(--accent-color);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.placeholder-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gray-text);
}

.profile-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.2);
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    animation: profile-scan 3s linear infinite;
}

@keyframes profile-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
    transition: transform 0.3s ease;
}

.profile-image:hover .profile-img {
    transform: scale(1.05);
}

/* Internship Section */
.internship {
    padding: 100px 0;
    background: var(--dark-bg);
}

.internship-content {
    max-width: 1200px;
    margin: 0 auto;
}

.internship-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.internship-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.internship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.internship-card:hover::before {
    opacity: 1;
}

.internship-card.featured {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.internship-card.featured:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 255, 255, 0.4);
    border-color: var(--primary-color);
}

.internship-card.secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.3);
    border-color: var(--primary-color);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.company-info {
    flex: 1;
    margin-left: 20px;
}

.company-name {
    color: var(--light-text);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.internship-role {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

.internship-period {
    text-align: right;
}

.period-badge {
    background: var(--gradient-2);
    color: var(--dark-bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.duration {
    color: var(--gray-text);
    font-size: 0.85rem;
}

.card-body {
    padding: 30px;
}

.internship-description p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.key-achievements h4,
.tech-stack h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.achievement-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.achievement-item {
    text-align: center;
    padding: 20px;
    background: var(--darker-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
}

.achievement-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.achievement-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 5px;
}

.achievement-label {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.internship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-highlights,
.learning-focus {
    margin-bottom: 25px;
}

.highlight-item,
.focus-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: var(--gray-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item:last-child,
.focus-item:last-child {
    border-bottom: none;
}

.highlight-item i,
.focus-item i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .internship-showcase {
        gap: 30px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .company-info {
        margin-left: 0;
    }
    
    .internship-period {
        text-align: center;
    }
    
    .achievement-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .internship-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .internship-card.featured {
        transform: scale(1);
    }
    
    .internship-card.featured:hover {
        transform: scale(1.02);
    }
}
/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--dark-bg);
}

.projects-content {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.project-info {
    padding: 25px;
}

.project-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.project-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
    background: var(--darker-bg);
}

.certifications-content {
    max-width: 1200px;
    margin: 0 auto;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.certification-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.certification-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.3);
}

.cert-header {
    display: flex;
    align-items: center;
    padding: 25px;
    background: rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-bg);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    margin-right: 20px;
}

.cert-provider {
    flex: 1;
}

.provider-name {
    display: block;
    color: var(--light-text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cert-level {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.cert-body {
    padding: 25px;
}

.cert-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cert-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cert-details {
    margin-bottom: 20px;
}

.cert-date,
.cert-credential {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.cert-date i,
.cert-credential i {
    color: var(--primary-color);
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-item {
    background: var(--darker-bg);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info,
    .cert-body {
        padding: 20px;
    }
    
    .cert-header {
        padding: 20px;
    }
    
    .cert-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-link {
        justify-content: center;
    }
}

.skills {
    padding: 100px 0;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skill-category {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-category:hover::before {
    left: 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.skill-info {
    flex: 1;
}

.skill-name {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 3px;
    width: 0;
    transition: width 2s ease;
}

/* Animation trigger when page loads */
.skill-progress.animate {
    animation: fillBar 2s ease forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--target-width, 0%);
    }
}

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.modal-close {
    background: none;
    border: none;
    color: var(--gray-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

/* Certificate Action Button */
.cert-action {
    margin-top: 20px;
    text-align: center;
}

.cert-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.8rem;
    box-shadow: 0 3px 10px rgba(0, 255, 255, 0.3);
}

.cert-view-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.cert-view-btn i {
    font-size: 0.9rem;
}

/* Hackathon Certificate Modal */
.hackathon-cert-modal {
    max-width: 600px;
    width: 90%;
}

.hackathon-cert-container {
    position: relative;
    padding: 15px;
    background: var(--darker-bg);
    border-radius: 15px;
    overflow: hidden;
}

.hackathon-cert-img {
    display: block !important;
    width: 100% !important;
    max-height: 400px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.hackathon-cert-img:hover {
    transform: scale(1.02) !important;
}

.cert-image-link {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
}

.cert-image-link:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.cert-info-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cert-event {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    max-width: 200px;
    text-align: right;
}

.cert-event h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.cert-event p {
    color: var(--light-text);
    font-size: 0.7rem;
    line-height: 1.3;
}

.cert-instructions {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary-color);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: instructionsPulse 2s ease-in-out infinite;
}

@keyframes instructionsPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.cert-instructions i {
    font-size: 0.8rem;
}

/* Certificate Modal Styles */
.certificate-modal {
    max-width: 800px;
    width: 90%;
    margin: 50px auto;
}

.certificate-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.certificate-item {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.certificate-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.certificate-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer !important;
}

.certificate-item:hover .certificate-img {
    transform: scale(1.05);
}

.cert-image-link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cert-image-link:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Add visual indicator for clickable certificates */
.certificate-item::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 255, 255, 0.9);
    color: var(--dark-bg);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.certificate-item::before {
    content: '🔗 Click to view';
}

.certificate-item:hover::before {
    opacity: 1;
}

.certificate-info {
    padding: 15px;
    text-align: center;
}

.certificate-info h4 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.certificate-info p {
    color: var(--gray-text);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.certificate-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-date {
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cert-date::before {
    content: '📅';
    font-size: 0.8rem;
}

.cert-provider {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.certificates-btn {
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.certificates-btn:hover {
    color: var(--secondary-color) !important;
    transform: scale(1.1);
}

/* Certificate Modal Responsive */
@media (max-width: 768px) {
    .certificate-modal {
        width: 95%;
        max-width: 400px;
    }
    
    .certificate-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .certificate-img {
        height: 120px;
    }
    
    .certificate-info {
        padding: 10px;
    }
    
    .certificate-info h4 {
        font-size: 0.9rem;
    }
    
    .certificate-info p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .certificate-gallery {
        grid-template-columns: 1fr;
    }
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background: var(--darker-bg);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: scan-top 2s linear infinite;
}

.achievement-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 255, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.achievement-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.5);
    cursor: pointer;
}

.modal-header {
    background: rgba(0, 255, 255, 0.1);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.modal-close {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-image {
    position: relative;
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-description {
    color: var(--light-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

.modal-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.modal-date, .modal-category {
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.modal-highlights {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.modal-highlights h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: 8px 0;
    color: var(--gray-text);
    position: relative;
    padding-left: 20px;
}

.highlights-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .modal-img {
        height: 200px;
    }
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.achievement-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.achievement-description {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.achievement-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.profile-link-section {
    text-align: center;
    padding: 30px 20px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

.profile-link-section p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.profile-link-section i {
    color: var(--primary-color);
    margin-right: 8px;
}

.profile-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.profile-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-description {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-2);
    border-radius: 25px;
    color: white;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.contact-cta .cta-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-cta i {
    color: #00ff00;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-item.enhanced {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-item.enhanced:hover::before {
    opacity: 0.1;
}

.contact-item.enhanced:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.contact-item.enhanced .contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.contact-item.enhanced h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light-text);
}

.contact-item.enhanced p {
    color: var(--gray-text);
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-action:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.contact-quick-links {
    text-align: center;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-quick-links h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.quick-link.primary {
    background: var(--gradient-2);
    border-color: transparent;
    color: white;
}

.quick-link.primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 5px;
}

.contact-value {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
}

.contact-value:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-text);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-text);
}

.btn-full {
    width: 100%;
}

/* Connect Section */
.connect {
    padding: 100px 0;
    background: var(--darker-bg);
}

.connect-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    background: var(--gradient-2);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.social-name {
    color: var(--gray-text);
    font-weight: 500;
}

.connect-description {
    color: var(--gray-text);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 30px 0;
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-text {
    color: var(--gray-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .social-links {
        gap: 20px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .achievement-card {
        padding: 20px;
    }

    .skill-category {
        padding: 20px;
    }
}

/* Force mobile menu to show when active - override all other styles */
.nav-menu.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 200px !important;
    height: auto !important;
    z-index: 2147483647 !important; /* Maximum z-index value */
    background: black !important; /* Completely solid */
    border: 2px solid var(--primary-color) !important;
    border-radius: 10px !important;
    padding: 10px !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8) !important;
    flex-direction: column !important;
    transform: none !important;
    left: auto !important;
}

/* Ensure hamburger is clickable */
.hamburger {
    cursor: pointer !important;
    z-index: 2147483647 !important; /* Maximum z-index value */
}

/* Style dropdown menu links */
.nav-menu.active .nav-link {
    display: block !important;
    padding: 12px 15px !important;
    margin: 2px 0 !important;
    border-radius: 5px !important;
    color: var(--text-color) !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    font-weight: 500 !important;
    position: relative !important;
    z-index: 2147483647 !important;
    background: transparent !important;
}

.nav-menu.active .nav-link:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateX(5px) !important;
}
