/* Modern Futuristic Portfolio Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff2b2b;
    --secondary-color: #ff006e;
    --accent-color: #8338ec;
    --dark-bg: #0a0e27;
    --darker-bg: #050811;
    --card-bg: #0f1626;
    --text-primary: #fff9db;
    --text-secondary: #f5e7a1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(31, 218, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.95) 0%, rgba(245, 158, 11, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fffdf2, #fff3b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-form input {
    width: min(240px, 32vw);
    border: 0;
    outline: none;
    background: transparent;
    color: #fffdf2;
    font: inherit;
    padding: 0.45rem 0.9rem;
}

.search-form input::placeholder {
    color: rgba(255, 253, 242, 0.82);
}

.search-form button {
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: #fffdf2;
    color: #9a6700;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fffdf2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fffdf2, #fff3b0);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff3b0;
}

.nav-links a:hover::after {
    width: 100%;
}

.page-header {
    display: block;
    width: 100%;
    height: 110px;
    border: none;
}

/* Hero Section */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    animation: rotate 20s linear infinite;
    opacity: 0.05;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff7cc, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 43, 43, 0.95), rgba(131, 56, 236, 0.95));
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 43, 43, 0.16);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 20px 40px rgba(255, 43, 43, 0.22);
}

.btn-secondary:hover {
    box-shadow: 0 18px 36px rgba(58, 145, 255, 0.18);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

/* Card Styling */
.card {
    background: linear-gradient(135deg, rgba(41, 193, 223) 0%, rgba(83, 5, 192, 0.941) 100%);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.12), transparent);
    transition: left 0.5s ease;
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(250, 204, 21, 0.14);
}

.card:hover::before {
    left: 100%;
}

.card p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-primary);
}

/* Lists */
.experience-list {
    list-style: none;
    margin-left: 0;
}

.experience-list li {
    font-size: 1.1rem;
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.experience-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.experience-list li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: rgba(5, 8, 17, 0.8);
    border-top: 2px solid rgba(250, 204, 21, 0.22);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        width: 100%;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .nav-links {
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .hero {
        height: 40vh;
    }

    .section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .search-form {
        width: 100%;
    }

    .search-form button {
        padding: 0.5rem 0.8rem;
    }

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

    .card {
        padding: 1rem;
    }

    .experience-list li {
        font-size: 0.95rem;
    }
}