/* ===== Global Styles ===== */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: #39ff14;
    /* Neon green */
}

a {
    color: #39ff14;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section {
    padding: 20px 20px;
    max-width: 900px;
    margin: auto;
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, #0f0f0f, #1a1a1a);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-weight: 300;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #39ff14;
    color: #0a0a0a;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2fdc11;
}

/* ===== Text-Only Certifications List ===== */
#certifications {
    max-width: 700px;
    margin: 0 auto;
}

#certifications h2 {
    text-align: center;
    margin-bottom: 15px;
}

.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-list li {
    background: #111;
    padding: 1px 10px;
    border-radius: 6px;
    border: 1px solid #39ff14;
    transition: background 0.25s ease, transform 0.25s ease;
}

.cert-list li:hover {
    background: #1a1a1a;
    transform: translateX(5px);
}

.cert-list a {
    color: #39ff14;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
}

.cert-list a:hover {
    text-decoration: underline;
}


/* ===== Navigation Buttons ===== */
.badge-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #39ff14;
    cursor: pointer;
    padding: 5px;
    z-index: 2;
}

.badge-btn:hover {
    transform: scale(1.2);
}


/* ===== Projects ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #39ff14;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
}

/* ===== Contact ===== */
.contact i {
    margin-right: 5px;
    color: #39ff14; /* neon green */
    transition: color 0.3s;
}

.contact a:hover i {
    color: #2fdc11; /* slightly different green on hover */
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #39ff14;
    font-size: 0.9rem;
}

/* ===== Mobile Friendly ===== */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 20px;
    }
}

/* ===== Carousel ===== */
.carousel {
    position: relative;
    max-width: 900px;
    margin: auto;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 0;
    margin: 0;
    list-style: none;
}

.project-card {
    background: #1a1a1a;
    border: 1px solid #39ff14;
    border-radius: 8px;
    padding: 20px;
    min-width: calc(50% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
}

.carousel-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #39ff14;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
    z-index: 2;
}

.carousel-btn:hover {
    transform: scale(1.2);
}

/* Mobile view: 1 card at a time */
@media (max-width: 600px) {
    .project-card {
        min-width: calc(100% - 20px);
    }
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/background.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;

}