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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0f0f0f;
    color: #fff;
    line-height: 1.6;
}

.header {
    background: #121212;
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e0c097;
    letter-spacing: 1px;
}

.navbar {
    display: flex;
    gap: 2rem;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
}

.navbar a:hover,
.navbar a.active {
    color: #e0c097;
}

.social-icons a {
    color: #fff;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #e0c097;
}

.hero {
    padding: 7rem 10% 4rem 10%;
    text-align: center;
    background: #181818;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #e0c097;
}

.hero .subtitle {
    color: #a78bfa;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 2.2rem;
}

.hero-info {
    margin-bottom: 1.2rem;
    color: #e0c097;
    font-size: 1.1rem;
}

.hero-info i {
    margin-right: 0.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: #cfcfcf;
    margin-bottom: 0.5rem;
}

.section {
    padding: 4rem 10% 2rem 10%;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e0c097;
    text-align: center;
}

.projects-section .project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.project-card {
    background: #181818;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    padding: 2rem 1.5rem;
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 370px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #232323;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(224, 192, 151, 0.13);
}

.project-card h3 {
    color: #a78bfa;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-card span {
    color: #e0c097;
    font-size: 1rem;
    font-weight: 400;
}

.project-tech {
    color: #e0c097;
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
}

.project-card ul {
    margin-left: 1.2rem;
    margin-bottom: 0.7rem;
}

.project-date {
    color: #cfcfcf;
    font-size: 0.95rem;
    float: right;
}

.skills-section .skills-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.skills-list {
    background: #181818;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    margin-bottom: 1.5rem;
    border: 1px solid #232323;
}

.skills-list h3 {
    color: #a78bfa;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.skills-list p {
    color: #e0c097;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cert-section {
    background: #181818;
    border-radius: 12px;
    margin: 2rem 10%;
    padding: 2.5rem 2rem;
}

.cert-section h2 {
    color: #e0c097;
}

.cert-list {
    color: #e0c097;
    font-size: 1.05rem;
    margin-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.cert-list li {
    margin-bottom: 0.7rem;
}

.contact-section {
    background: #181818;
    color: #fff;
    padding: 5rem 0 3rem 0;
    text-align: center;
}

.contact-title {
    font-size: 2.2rem;
    font-family: 'Poppins', cursive, sans-serif;
    margin-bottom: 0.5rem;
    color: #e0c097;
    letter-spacing: 1px;
}

.contact-title span {
    color: #fff;
    font-style: italic;
}

.contact-desc {
    color: #e0c097;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 250px;
    text-align: left;
    min-width: 250px;
    max-width: 350px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.contact-item i {
    font-size: 1.7rem;
    color: #e0c097;
    margin-top: 0.2rem;
}

.contact-item h4 {
    margin: 0 0 0.2rem 0;
    color: #fff;
    font-size: 1.1rem;
}

.contact-item a,
.contact-item span,
.contact-item p {
    color: #e0c097;
    font-size: 1rem;
    text-decoration: none;
}

.contact-form {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-width: 300px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    background: #232323;
    border: none;
    border-radius: 6px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    resize: none;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-btn {
    background: #a78bfa;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.contact-btn:hover {
    background: #e0c097;
    color: #181818;
}

.footer {
    background: #121212;
    color: #e0c097;
    padding: 2rem 0 1rem 0;
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
}

@media (max-width: 900px) {

    .section,
    .cert-section {
        padding: 2rem 3% 1rem 3%;
        margin: 1rem 2%;
    }

    .projects-section .project-list,
    .skills-section .skills-container,
    .contact-container {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .skills-list,
    .project-card,
    .contact-info,
    .contact-form {
        max-width: 100%;
    }
}

html {
    scroll-behavior: smooth;
}

#contact {
    scroll-margin-top: 120px;
}