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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #1a1a2e;
    --cyan: #00d4ff;
    --cyan-glow: rgba(0, 212, 255, 0.2);
    --white: #ffffff;
    --gray: #a0a0b0;
    --light-gray: #e0e0e0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 3rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
}

.logo span {
    color: var(--cyan);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--white);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyan);
}

/* Hero Section - Home Page */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    position: relative;
}

.hero-fullpage {
    min-height: 100vh;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hero-right {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
    animation: fadeIn 1s ease-out 0.4s both;
}

.profile-image-hero {
    width: 140px;
    height: 140px;
    margin: 0 0 1.5rem 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--cyan);
    box-shadow: 0 0 40px var(--cyan-glow);
    animation: fadeIn 1s ease-out;
}

.profile-image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-greeting {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 1rem;
    font-weight: 400;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-greeting .wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-title .highlight {
    color: var(--cyan);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 500px;
    margin: 0 0 2rem 0;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.7s both;
}

.stat-mini {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cyan);
}

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

/* AI Badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--cyan);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--cyan-glow); }
    50% { box-shadow: 0 0 20px 5px var(--cyan-glow); }
}

.ai-indicator {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ai-badge span {
    color: var(--cyan);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeIn 1s ease-out 0.8s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--white);
    box-shadow: 0 10px 30px var(--cyan-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Chatbot Styles */
.hero-chatbot {
    animation: fadeIn 1s ease-out 0.5s both;
}

.chatbot-header-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bot-avatar-hero {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyan), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.chatbot-header-hero h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

.chatbot-header-hero p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.hero-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.hero-suggestions .chip {
    text-align: left;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.chip {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 0.7rem 1.3rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.chip:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.chatbot-preview {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px dashed rgba(0, 212, 255, 0.3);
    min-height: 400px;
}

.chatbot-embed {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embed-placeholder {
    text-align: center;
}

.embed-placeholder h3 {
    color: var(--cyan);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.embed-placeholder > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.setup-steps {
    text-align: left;
    max-width: 100%;
    margin: 1rem auto;
    background: rgba(0, 212, 255, 0.05);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid var(--cyan);
}

.setup-steps ol {
    color: var(--gray);
    margin-left: 1.2rem;
    line-height: 1.8;
    font-size: 0.85rem;
}

.setup-steps code {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--cyan);
    font-size: 0.8rem;
}

/* PAGE SECTIONS - For other pages */
.page-section {
    min-height: 100vh;
    padding: 8rem 3rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Skills Page */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.skill-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.skill-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skill-card ul {
    list-style: none;
    color: var(--gray);
    line-height: 2;
}

.skill-card li::before {
    content: "→ ";
    color: var(--cyan);
    margin-right: 0.5rem;
}

/* Experience Page */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding-left: 3rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--cyan);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cyan);
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 0 2px var(--cyan);
}

.timeline-content {
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border-left: 4px solid var(--cyan);
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company {
    color: var(--cyan);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.date {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.timeline-content ul {
    color: var(--gray);
    margin-left: 1.5rem;
    line-height: 1.8;
}

/* Education Section */
.education-section {
    margin: 4rem 0;
    animation: fadeIn 1s ease-out 0.5s both;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.education-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s;
}

.education-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
}

.education-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.education-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.school {
    color: var(--cyan);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.badge {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Projects Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.project-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-icon {
    font-size: 2.5rem;
}

.project-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.project-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.project-links {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-link {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.project-link:hover {
    color: var(--white);
}

/* Contact Page */
.contact-page {
    animation: fadeIn 1s ease-out;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.contact-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    word-break: break-word;
}

.contact-link {
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 1s ease-out 0.5s both;
}

.contact-cta h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Page CTA Section */
.page-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    animation: fadeIn 1s ease-out 0.7s both;
}

.page-cta h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: 3rem;
    text-align: center;
    color: var(--gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: center;
    }

    .profile-image-hero {
        margin: 0 auto 1.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

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

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

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

    nav {
        padding: 1rem 1.5rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .hero-right {
        padding: 1.5rem;
    }

    .page-section {
        padding: 6rem 1.5rem 3rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: -2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero-greeting,
    .hero-subtitle {
        font-size: 1rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

html {
    scroll-behavior: smooth;
}


.chatbot-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

