/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.7;
}

/* ========================= */
/* GLOBAL */
/* ========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 100px 0;
}

.dark-section {
    background: #111827;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.3rem;
    color: #ffffff;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    color: #38bdf8;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-description {
    color: #94a3b8;
    margin-bottom: 35px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.primary-btn {
    background: #38bdf8;
    color: #0f172a;
}

.primary-btn:hover {
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.08);
}

.hero-image img {
    width: 100%;
    border-radius: 25px;
    object-fit: cover;
}

/* ========================= */
/* ABOUT */
/* ========================= */

.about-content {
    max-width: 900px;
}

.about-content p {
    margin-bottom: 25px;
    color: #cbd5e1;
}

/* ========================= */
/* SKILLS */
/* ========================= */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.skill-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
}

.skill-card h3 {
    margin-bottom: 20px;
    color: white;
}

.skill-card ul {
    list-style: none;
}

.skill-card li {
    margin-bottom: 12px;
    color: #cbd5e1;
}

/* ========================= */
/* TIMELINE */
/* ========================= */

.timeline {
    border-left: 2px solid #38bdf8;
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 40px;
}

.timeline-date {
    color: #38bdf8;
    font-size: 0.9rem;
}

.timeline-content h3 {
    margin: 10px 0;
}

.timeline-content h4 {
    color: #94a3b8;
    margin-bottom: 15px;
}

/* ========================= */
/* PROJECTS */
/* ========================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.project-card {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 15px;
}

.project-content p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-btn {
    color:yellow;
    display: flex;
    flex-wrap: wrap;
    padding-top: 5%;
    gap: 10px;
}

.project-tags span {
    background: rgba(56,189,248,0.12);
    color: #38bdf8;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
}

/* ========================= */
/* CERTIFICATIONS */
/* ========================= */

.certification-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.certification-item {
    background: #1e293b;
    padding: 25px;
    border-radius: 18px;
}

/* ========================= */
/* RESUME */
/* ========================= */

.resume-section {
    text-align: center;
}

.resume-section p {
    margin-bottom: 30px;
    color: #cbd5e1;
}

/* ========================= */
/* CONTACT */
/* ========================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #1e293b;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
}

.contact-card i {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #38bdf8;
}

.contact-card h3 {
    margin-bottom: 10px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 992px) {

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-image {
        max-width: 500px;
        margin: auto;
    }

}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

}