/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/* Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f7;
    margin: 0;
    transition: background-color 1.5s, color 1.5s;
}
body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            color: #333;
            line-height: 1.6;
            background-color: #f5f5f7;
            margin: 0;
            transition: background-color 1.5s, color 1.5s;
        }


/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}



body.dark-mode .social-icons a {
    background-color: #333;
}

body.dark-mode .social-icons a:hover {
    background-color: #007aff;
}



/* Header Styles */
header {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 1.5s, color 1.5s;
}

header h1 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 0.5rem;
}

header.dark-mode h1 {
    font-size: 3rem;
    color: #cfcfcf;
    margin-bottom: 0.5rem;
}


.header.body.dark-mode h1 {
    font-size : 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.25rem;
    color: #666;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #111;
    text-align: center;
}

/* Section Content */
.section-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

/* Card Styles */
.card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Yapping Box Styles */
.yapping-box {
    background-color: #ffffff;
    color: #333;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: justify;
    transition: background-color 1.5s, color 1.5s;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #111;
    color: #fff;
    font-size: 0.875rem;
    transition: background-color 0.3s, color 0.3s;
}

/* Social Icons */
.social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icons a img {
    width: 15px;
    height: 15px;
    filter: invert(1);
}



/* Social Icons */
.social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease; /* Remove color transition here */
}

.social-icons a img {
    width: 15px;
    height: 15px;
    filter: invert(1);
}

/* Individual Hover Colors */
.socialLinkGithub:hover {
    background-color: #9621da; /* GitHub color */
}

.socialLinkLinkedin:hover {
    background-color: #0077B5; /* LinkedIn color */
}

.socialLinkJavascript:hover {
    background-color: #F0DB4F; /* JavaScript color */
}

.socialLinkFacebook:hover {
    background-color: #1877F2; /* Facebook color */
}
.socialLinkLightBulb:hover{
    background-color: #d4d4d4; /* Light Bulb color */
}

.socialLinkContact:hover {
    background-color: #3be085; /* Contact color */
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
    filter: invert(1);
}

body.dark-mode header,
body.dark-mode .card,
body.dark-mode .yapping-box,
.body.dark-mode footer {
    background-color: #2c2c2c;
    color: #d3d3d3;
    filter: invert(1);
}

.body.dark-mode .social-icons a {
    background-color: #333;
    filter: none; /* Keep icons the same in both modes */
}

.footer.body.dark-mode{
    text-align: center;
    padding: 2rem 1rem;
    background-color: #111;
    color: #242424;
    font-size: 0.875rem;
    transition: background-color 0.3s, color 0.3s;
}


.header {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 1.5s, color 1.5s;
}

.header h1 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1.25rem;
    color: #666;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #111;
    text-align: center;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.pdf-upload {
    margin-top: 1rem;
    display: block;
    font-size: 0.875rem;
    color: #007aff;
    text-decoration: none;
}


.social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.darkmodeButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color-dark 0.3s ease;
}
.darkmodeButton img {
    width: 15px;
    height: 15px;
    filter: invert(1);
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, background-color 0.3s, color 0.3s;
}

.social-icons a img {
    width: 15px;
    height: 15px;
    filter: invert(1);
}


.yapping-box {
background-color: #ffffff;
color: #333;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-align: center;
transition: background-color 1.5s, color 1.5s;
}

/* Navigation */
nav {padding: 50px 15px 20px 15px; background-color: rgb(216, 216, 216);}

.show-more {
    display: block;
    margin: 1.5rem auto 0;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 20px;
    background-color: #007aff;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.show-more:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.show-less {
    display: block;
    margin: 1.5rem auto 0;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 20px;
    background-color: #007aff;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.show-less:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
