:root {
    --primary-color: #2a2a72;
    --secondary-color: #009ffd;
    --accent-color: #00ff88;
    --accent-color-light: #33ff9c;
    --text-color: #ffffff;
    --text-secondary: #b3b3cc;
    --background-color: #0a0a2a;
    --card-background: #1a1a4a;
    --card-bg: rgba(26, 26, 74, 0.8);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    overflow: hidden;
    background: var(--background-color);
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    background: rgba(10, 10, 42, 0.85);
    padding: 3rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typewriter-text {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-color);
    margin: 0;
    min-height: 2.5em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .typewriter-text {
        font-size: 1.4rem;
    }
}

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

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
    background: var(--secondary-color);
    color: var(--text-color);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.text-box {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.text-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-color);
}

.text-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-box li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-box li:last-child {
    margin-bottom: 0;
}

.fun-facts {
    padding: 1rem;
}

.fun-facts ul {
    list-style: none;
    margin-top: 1rem;
}

.fun-facts li {
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills {
    padding: 5rem 2rem;
    background: var(--card-background);
}

.skills-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.skills-filter .filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.skills-filter .filter-btn:hover,
.skills-filter .filter-btn.active {
    background: var(--accent-color);
    color: var(--background-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category.hidden {
    display: none;
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skill-item {
    background: rgba(0, 255, 136, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.skill-item:hover {
    background: var(--accent-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 20px;
    background: var(--card-background);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--secondary-color);
}

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

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: var(--card-background);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
}

.submit-btn {
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--background-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .cert-card {
        margin: 0 1rem;
    }

    .cert-details {
        padding-left: 0;
        margin-top: 1rem;
    }

    .cert-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cert-logo {
        width: 64px;
        height: 64px;
    }

    .skills-list {
        justify-content: center;
    }
}

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Certifications Section */
.certifications {
    padding: 4rem 2rem;
    background: var(--card-background);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cert-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
}

.cert-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding-right: 64px;
}

.cert-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-left: 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.cert-title {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: var(--accent-color);
}

.organization {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.cert-details {
    margin-top: 1rem;
}

.cert-date {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.credential-id {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.cert-skills p {
    font-size: 0.9rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(0, 255, 136, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.cert-description {
    font-size: 0.9rem;
    margin: 1rem 0;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--text-color);
}
