@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #181c24;
    --surface-dark: #232a36;
    --ink-light: #f7fafd;
    --muted-light: #b0b8c1;
    --accent-green: #00e6a0;
    --accent-green-strong: #00b87c;
    --border-dark: #2e3642;
    --shadow-dark: 0 10px 32px rgba(0, 230, 160, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(120deg, #181c24 0%, #232a36 100%);
    color: var(--ink-light);
    text-align: center;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    color: var(--accent-green);
    text-decoration: none;
}

section {
    padding: 64px 18px;
    margin: 38px auto;
    max-width: 1100px;
    background: var(--surface-dark);
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-dark);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(.4,1.4,.6,1), transform 0.6s cubic-bezier(.4,1.4,.6,1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    color: var(--ink-light);
    box-shadow: none;
    border: none;
}

.hero .title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    color: var(--accent-green);
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 255, 153, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--muted-light);
    max-width: 800px;
    margin: 25px auto 35px;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: var(--ink-light);
    padding: 10px 15px;
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-green);
}

nav a:hover::after {
    width: 100%;
}

.profile-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.profile-pic-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-green);
    box-shadow: 0 0 32px rgba(0, 230, 160, 0.18);
}

.profile-summary h2 {
    font-size: 3rem;
    color: var(--accent-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    color: #fff;
    background: linear-gradient(90deg, var(--accent-green) 60%, var(--accent-green-strong) 100%);
    border-radius: 32px;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 230, 160, 0.13);
    transition: all 0.3s cubic-bezier(.4,1.4,.6,1);
    font-size: 1.08rem;
}

.btn:hover {
    background: linear-gradient(90deg, var(--accent-green-strong) 60%, var(--accent-green) 100%);
    color: #181c24;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 28px rgba(0, 230, 160, 0.18);
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--accent-green);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.2);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}
.books-container,
.videos-container,
.hobbies-container,
.gallery-container,
.certificate-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.book,
.video-card,
.hobby,
.gallery-item,
.certificate,
.project {
    background: var(--surface-dark);
    border-radius: var(--radius);
    padding: 25px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
        background: linear-gradient(120deg, #232a36 60%, #1e232b 100%);
        border-radius: var(--radius);
        padding: 28px 28px 22px 28px;
        margin: 16px 0;
        text-align: left;
        box-shadow: 0 6px 18px rgba(0,0,0,0.10);
        transition: transform 0.3s cubic-bezier(.4,1.4,.6,1), box-shadow 0.3s cubic-bezier(.4,1.4,.6,1);
.video-card h3,
.hobby h3,
.certificate h3,
.project h2 {
    color: var(--accent-green);
    font-size: 1.4rem;
    margin: 0 0 15px;
}

.book p,
.hobby p,
.project p {
    font-size: 1rem;
    color: var(--muted-light);
    margin: 0 0 15px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.cv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.cv-preview iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--radius);
}

.cv-info h2, .cv-info h3 {
    color: var(--accent-green);
}

#botContainer {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 32px 28px;
        margin-bottom: 32px;
#showBotBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.copilot-widget {
    width: 100%;
    height: 500px;
    border: none;
}