﻿/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4169e1;
    --secondary-color: #6495ed;
    --dark-bg: #121212;
    --light-bg: #f5f5f5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-padding: 80px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--text-light);
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 25%;
        }

section {
    padding: var(--section-padding);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
}

    .primary-btn:hover {
        background-color: var(--secondary-color);
        transform: translateY(-3px);
    }

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

    .secondary-btn:hover {
        background-color: var(--primary-color);
        color: var(--text-light);
        transform: translateY(-3px);
    }

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.9);
    transition: all 0.3s ease;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

    nav ul li {
        margin: 0 15px;
    }

        nav ul li a {
            font-size: 1rem;
            font-weight: 500;
            transition: color 0.3s ease;
        }

            nav ul li a:hover {
                color: var(--primary-color);
            }

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    background-color: var(--dark-bg);
}

.hero-content {
    max-width: 600px;
}

    .hero-content h2 {
        font-size: 4rem;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.2;
    }

        .hero-content h2 span {
            color: var(--primary-color);
        }

    .hero-content h3 {
        font-size: 1.5rem;
        font-weight: 500;
        margin-bottom: 20px;
        color: var(--text-light);
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

.cta-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--primary-color);
    position: relative;
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-image::before {
        content: '';
        position: absolute;
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        border-radius: 50%;
        border: 2px solid var(--secondary-color);
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* About Section */
.about {
    background-color: #1a1a1a;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.personal-info h3, .objective h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .info-item:hover {
        transform: translateY(-5px);
        background-color: rgba(65, 105, 225, 0.1);
    }

    .info-item h4 {
        color: var(--secondary-color);
        margin-bottom: 5px;
    }

.objective p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    background-color: var(--dark-bg);
}

.skills-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-column {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

    .skills-column:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .skills-column h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: var(--primary-color);
        text-align: center;
    }

    .skills-column ul li {
        margin-bottom: 15px;
        position: relative;
        padding-left: 25px;
    }

        .skills-column ul li::before {
            content: '▹';
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }

/* Experience Section */
.experience {
    background-color: #1a1a1a;
}

.experience-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.experience-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
}

    .experience-item:hover {
        transform: translateY(-5px);
        background-color: rgba(65, 105, 225, 0.1);
    }

    .experience-item h3 {
        font-size: 1.4rem;
        color: var(--primary-color);
        margin-bottom: 5px;
    }

    .experience-item h4 {
        font-size: 1.1rem;
        color: var(--secondary-color);
        margin-bottom: 10px;
    }

    .experience-item .date {
        font-size: 0.9rem;
        color: #aaa;
        margin-bottom: 15px;
    }

    .experience-item ul li {
        margin-bottom: 8px;
        position: relative;
        padding-left: 20px;
    }

        .experience-item ul li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }

/* Certifications Section */
.certifications {
    background-color: #1a1a1a;
}

.certifications-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .cert-item:hover {
        transform: translateY(-10px);
    }

    .cert-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border: 3px solid var(--primary-color);
    }

    .cert-item h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        padding: 15px 15px 5px;
    }

    .cert-item p {
        padding: 0 15px 15px;
        font-size: 0.9rem;
        color: #ccc;
    }

/* Contact Section */
.contact {
    background-color: var(--dark-bg);
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .contact-item i {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .contact-item h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .social-links a i {
            font-size: 1.2rem;
            color: var(--text-light);
        }

        .social-links a:hover {
            background-color: var(--primary-color);
            transform: translateY(-5px);
        }

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        background-color: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 5px;
        color: var(--text-light);
        font-family: 'Poppins', sans-serif;
        transition: all 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            background-color: rgba(255, 255, 255, 0.15);
        }

    .form-group textarea {
        min-height: 150px;
        resize: vertical;
    }

/* Footer */
footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero {
        padding: 0 50px;
    }

    .hero-content h2 {
        font-size: 3.5rem;
    }

    .hero-image {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 992px) {
    header {
        padding: 20px 30px;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        max-width: 100%;
    }

    .cta-buttons {
        justify-content: center;
    }

    .skills-content,
    .experience-content,
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(18, 18, 18, 0.95);
        transition: all 0.3s ease;
    }

        nav.active {
            left: 0;
        }

        nav ul {
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

            nav ul li {
                margin: 15px 0;
            }

                nav ul li a {
                    font-size: 1.2rem;
                }

    .hamburger {
        display: block;
    }

        .hamburger.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

    .hero-content h2 {
        font-size: 3rem;
    }

    .hero-image {
        width: 300px;
        height: 300px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .personal-info, .objective, .contact {
         padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .certifications-content {
        grid-template-columns: 1fr;
    }

    .projects-content {
        grid-template-columns: 1fr;
    }
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background: #4169E1;
    border-radius: 4px;
}