/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0f0f0f;
    color: #222;
}

/* ================= COMMON ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.btn-primary {
    background: #fbbf24;
    color: #000;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fbbf24;
    padding: 10px 22px;
    border-radius: 6px;
    cursor: pointer;
}

/* ================= HEADER ================= */
.header {
    background: #fbbf24;
    padding: 20px 0;
}

#capabilities {
    scroll-margin-top: 90px;
    /* adjust to header height */
}


.nav {
    display: flex;
    justify-content: flex-start;
    /* move items to left */
    gap: 20px;
    /* normal spacing */
    padding-left: 40px;
    /* space from left edge */
}


.nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #0a0202;
}

/* ================= HERO ================= */
.hero {
    background-image: url("main-background.jpg");
    padding: 80px 0;
    color: #faf9f7
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

}

.hero-text h1 {
    font-size: 48px;
    color: #f9f9f9
}

.hero-text h2 {
    color: #fbbf24;
    margin: 10px 0;
}

.hero-buttons {
    margin-top: 25px;
    color: rgb(15, 15, 15)
}

.hero-buttons button {
    margin-right: 12px;
    color: #eceaea
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 80%;
}

/* ================= PORTFOLIO ================= */
/* PORTFOLIO SECTION */
.portfolio {
    padding: 60px 20px;
    background: radial-gradient(circle at top,
            #1a1a1a,
            #050505);
    text-align: center;
}

/* Section title */
.section-title {
    font-size: 32px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

/* Project card */
.project-card {
    width: 100px;
    margin-top: 0;

    padding: 40px 35px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);

    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Project text */
.project-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 12px;
}

.project-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #cfcfcf;
}

/* Button-style link (NO underline) */
.project-btn {
    display: inline-block;
    margin-top: 25px;

    padding: 12px 28px;

    background: transparent;
    color: #fbbf24;

    border: 1.5px solid #fbbf24;
    border-radius: 8px;

    text-decoration: none;
    /* 🚫 underline removed */
    font-weight: 500;

    transition: all 0.3s ease;
}

.project-btn:hover {
    background: #fbbf24;
    color: #000;
    transform: translateY(-2px);
}

/* ================= SERVICES ================= */
/* .services {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}
#services {
    background: white;
}


.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
} */

.card {
    background: #e7e5e5;
    padding: 20px;
    border-radius: 12px;
}

.card p {
    margin: 0;
    /* remove default browser margin */
    line-height: 1.6;
    /* readability */
}

.card p {
    margin-top: 6px;
    margin-bottom: 0px;
}



/* ================= ABOUT ================= */
/* ===== ABOUT / PROFILE SUMMARY ===== */

.about {
    background-color: #fbbf24; /* yellow */
    padding: 40px 40px;
}

/* Heading */
.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #020202;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif,Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

/* Paragraph */
.about-content p {
    font-size: 18px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #0e0e0e;
}

/* ================= FOOTER ================= */
.footer {
    background: #c5bebe;
    font: #0e0e0e;
    text-align: center;
    padding: 10px 10px;
    font-size: 10px;
}

html {
    scroll-behavior: smooth;
}

.contact {
    background: #000;
    color: #fff;
    padding: 40px 20px;
    text-align: center;

}

.contact h2 {
    margin-bottom: 10px;
}

.contact a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
}

.contact a:hover {
    text-decoration: underline;
}

html {
    scroll-behavior: smooth;
}

.contact {
    background: #000;
    padding: 60px 0;
    text-align: center;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-icons a {
    color: #fbbf24;
    font-size: 32px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-icons a:hover {
    color: #fff;
    transform: scale(1.1);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 440px;;
   height: 440px;

    object-fit: cover; object-position: center top;
    /* keeps face centered */
    border-radius: 50%;
    /* makes it round */

    border: 6px solid #fbbf24;
    /* optional yellow ring */
    background: #fff;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 50%;

    background: #e5e5e5;
    padding: 12px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .hero-image {
        justify-content: center;
        margin-top: 30px;
    }

    .hero-image img {
        width: 260px;
        height: 260px;
    }
}

.portfolio {
    background: url("../web-bg.jpg");
    color: #fff;
    padding: 100px 40px;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60p;
}

.project-card {
    max-width: 600px;
    margin: auto;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 12px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.project-link {
    display: inline-block;
    margin-top: 15px;
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
}

a {
    text-decoration: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Primary button */
.btn-primary {
    display: inline-block;
    background: #fbbf24;
    color: #000;

    padding: 12px 26px;
    border-radius: 8px;

    font-weight: 500;
    border: none;

    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

/* Secondary button */
.btn-outline {
    display: inline-block;

    background: transparent;
    color: #fbbf24;

    padding: 12px 26px;
    border-radius: 8px;

    border: 1.5px solid #fbbf24;

    font-weight: 500;

    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #fbbf24;
    color: #000;
    transform: translateY(-2px);
}

.project-btn {
    display: inline-block;
    margin-top: 24px;

    padding: 12px 28px;

    background: transparent;
    color: #fbbf24;

    border: 1.5px solid #fbbf24;
    border-radius: 8px;

    font-weight: 500;

    transition: all 0.3s ease;
}

.project-btn:hover {
    background: #fbbf24;
    color: #000;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.skill-card {
    background: #111;
    border: 1px solid rgba(255, 200, 0, 0.25);
    border-radius: 8px;
    padding: 12px 14px;
    transition: transform 0.3s ease;
    margin-bottom: 10px;

}

.skill-card:hover {
    transform: translateY(-5px);
}

#skills {
    background: url("../skills-bg.png");
    padding: 40px 20px 20px;

}

.section-title {
    text-align: center;
    color: #fbbf24;
    margin-bottom: 30px;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    /* controls total width */
    margin: 0 auto;
    /* centers the whole block */
    gap: 40px;
    /* space between columns */
}



.skills-column h3 {
    color: #fff;
    margin-bottom: 20px;
}

.skill-card {
    background: #111;
    border: 1px solid rgba(251, 192, 45, 0.3);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}

.skill-card h4 {
    color: #fbbf24;
    margin-bottom: 4px;
    font-size: 15px;

}

.skill-card p {
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
}

.skill-toggle {
    background: #111;
    border: 1px solid rgba(251, 192, 45, 0.35);
    border-radius: 8px;
    margin-bottom: 12px;
    max-width: 3800px;
}

.skill-toggle summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    color: #fbbf24;
    font-size: 15px;
}

.skill-toggle summary::-webkit-details-marker {
    display: none;
}

.skill-toggle p {
    padding: 0 14px 12px;
    margin: 0;
    font-size: 13px;
    color: #ccc;
    line-height: 1.4;
}

.plus {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.skill-toggle[open] .plus {
    transform: rotate(45deg);
}

#skills {
    padding: 40px 20px;
    margin-bottom: 0px;
    /* VERY IMPORTANT */
}

.skill-toggle {
    overflow: hidden;
}

#portfolio {
    clear: both;
    position: relative;
    z-index: 1;
}

.skills-column {
    display: flex;
    flex-direction: column;
    max-width: 400px;

}

section {
    margin: 0;
    padding: 0;
}

#home,
#portfolio,
#contact {
    scroll-margin-top: 90px;
}

#contact {
    padding: 30px 20px;
    /* was probably 80px+ */
    min-height: auto;
    /* remove forced height */
}

.projects-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    width: 100%;
    padding: 30px 28px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);

    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

    text-align: center;
}


.project-card h3 {
    margin-bottom: 10px;
}

.project-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
    color: #d1d1d1;
}

.project-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 25px;

    color: #fbbf24;
    border: 1px solid #fbbf24;
    text-decoration: none;

    transition: all 0.3s ease;
}

.project-btn:hover {
    background: #fbbf24;
    color: #000;
}


.project-card {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .projects-wrapper {
        grid-template-columns: 1fr;
    }
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* ================= WORK EXPERIENCE SECTION ================= */

/* ================= WORK EXPERIENCE ================= */

.experience {
    padding: 30px 10%;
    background: #1b1b1b;
}

.experience .section-title {
    text-align: center;
    font-size: 36px;
    color: #fbbf24;
    margin-bottom: 60px;
}

/* Cards container */
.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Individual card */
.experience-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
}

/* Job title */
.experience-card h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 6px;
}

/* Company + dates */
.experience-card .company {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Bullet points */
.experience-card ul {
    padding-left: 18px;
    margin: 0;
}

.experience-card li {
    color: #e0e0e0;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ================= EDUCATION ================= */

.education {
    background: #fbbf24;
    /* yellow section */
    padding: 30px 20px;
}

.education .section-title {
    text-align: center;
    color: #000;
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Cards layout */
.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual card */
.education-card {
    background: #0b0b0b;
    /* black card */
    color: #f1f1f1;
    padding: 35px 30px;
    border-radius: 18px;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ===== CERTIFICATIONS: one-row tiles ===== */
#certifications .cert-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin-top: 20px;
}

#certifications .cert-link {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.3;
    border-radius: 12px;
    background: #161616;
}

#certifications .cert-link::before {
    content: "\f559";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    border-radius: 6px;
    background: #222;
    color: #fbbf24;
    font-size: 30px;
}

#certifications .cert-link:hover {
    background: #fbbf24;
    color: #111;
}

#certifications .cert-view {
    display: none;
}

@media (max-width: 700px) {
    #certifications .cert-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Degree title */
.education-card h3 {
    color: #fbbf24;
    /* yellow accent */
    font-size: 20px;
    margin-bottom: 10px;
}

/* Institute */
.education-card .institute {
    font-weight: 600;
    margin-bottom: 6px;
}

/* Duration & score */
.education-card .duration,
.education-card .score {
    font-size: 14px;
    color: #cfcfcf;

}

/* ================= CERTIFICATIONS ================= */
#certifications {
    padding: 60px 20px 70px;
    background: #0f0f0f;
    scroll-margin-top: 80px;
}

.cert-list {
    max-width: 700px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cert-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    color: #fbbf24;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.cert-link:hover {
    background: #fbbf24;
    color: #111;
}

.cert-view {
    font-size: 15px;
    opacity: 0.85;
}

/* ================= EXPERIENCE CARD LAYOUT FIX ================= */
/* Keep all four experience cards in one row on wide screens. */
.experience {
    padding: 30px 3%;
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.experience-card {
    min-width: 0;
    padding: 24px 20px;
}

@media (max-width: 1100px) {
    .experience-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .experience-cards {
        grid-template-columns: 1fr;
    }
}

/* ================= COMPACT SECTION SPACING & THEME ================= */
/* Keep the existing black, charcoal and gold palette consistent. */
#skills {
    background: #111111;
    padding: 32px 20px 28px;
}

#skills .section-title {
    margin-bottom: 22px;
}

.skills-wrapper {
    max-width: 900px;
    gap: 28px;
}

.skills-column h3 {
    margin-bottom: 14px;
}

.skill-toggle {
    margin-bottom: 9px;
}

.skill-toggle summary {
    padding: 10px 13px;
}

#certifications {
    background: #191919;
    padding: 32px 20px 38px;
    border-top: 1px solid rgba(251, 191, 36, 0.22);
}

#certifications .section-title {
    margin-bottom: 18px;
}

#certifications .cert-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

#certifications .cert-link {
    padding: 10px;
    gap: 8px;
    min-width: 0;
}

#certifications .cert-link::before {
    height: 54px;
    font-size: 25px;
}

.portfolio {
    background: #111111;
    color: #fff;
    padding: 36px 30px 42px;
    border-top: 1px solid rgba(251, 191, 36, 0.22);
}

.portfolio h2 {
    margin-bottom: 22px;
    padding-top: 0;
}

.projects-wrapper {
    gap: 22px;
    max-width: 1000px;
}

.project-card {
    padding: 24px 22px;
}

.project-card h3 {
    font-size: 20px;
}

.project-card p {
    margin-bottom: 14px;
}

.project-btn {
    margin-top: 10px;
}

@media (max-width: 700px) {
    #certifications .cert-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .portfolio {
        padding: 30px 18px;
    }
}

