:root {
  --bg-primary: #000000;                      /* Challenger Black */
  --bg-secondary: #1B1B1B;                    /* Deep Charcoal for cards/panels */
  --bg-teritiary: #333333;                    /* Dark Gray for additional elements */
  --text-primary: #F5F5F5;                    /* Alabaster White for readability */
  --text-secondary: #AAAAAA;                  /* Lighter gray for muted text */
  --accent-primary: #D71920;                  /* Bold Red for main actions */
  --accent-secondary: #FFC000;                /* Royal Gold for highlights */
  --border-color: #333333;                    /* Subtle border for dark UI */
  --shadow-primary: rgba(215, 25, 32, 0.6);   /* Shadow for red elements */
  --shadow-secondary: rgba(255, 192, 0, 0.5); /* Shadow for gold elements */
}

/* --button-primary: #63d620;                 Green for buttons */

html {
    scroll-padding-top: 150px;
    scroll-behavior: smooth;
}

#starfield-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body {
    background-color: var(--bg-primary);
    margin: 0px;
    font-family: 'Fredoka', sans-serif;
}

body::-webkit-scrollbar {
  width: 5px;
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

/* Header section */
header {
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 25px;
    position: fixed;
    /* margin: 0; */
    z-index: 10000;
}    

.logo img{
    width: 240px;
    height: 70px;
}

header .links ul {
    list-style: none;
    display: flex;
    gap: 25px; 
}

header .links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
}

header .links a:hover {
    color: var(--accent-primary);
}

.menu {
    width: 40px;
    height: 40px;
    fill: var(--text-primary);
    background-color: transparent;
    border: none;
    display: none;
}

.mobile-option {
    display: none;
    position: absolute;
    top: 0px;
    right: -250px;
    width: 250px;
    height: 100svh;
    background-color: var(--bg-secondary-translucent);
    color: white;
    font-size: 20px;
    transition: 0.5s;
}

.mobile-option .cross {
    width: fit-content;
    font-size: 26px;
    border: none;
    border: 1px solid black;
    color: var(--text-primary);
    font-weight: bolder;
    border-radius: 5px;
    cursor: pointer;
}

.mobile-option div {
    padding: 10px 15px;
    top: 0px;
    border-bottom: 0.5px solid white;
    transition: 0.5s;
    cursor: pointer;
}

.mobile-option div a {
    color: var(--text-primary);
    text-decoration: none;
}

.mobile-option div a:hover {
    color: var(--accent-primary);
}

/* Hero section */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    /* margin: 10px; */
    padding-top: 150px;
}

.content {
    color: var(--text-primary);
    text-align: center;
    padding: 100px 40px;
}

.content h1 {
    font-size: 48px;
    background-image: linear-gradient(45deg, 
        var(--accent-primary), 
        var(--accent-secondary)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.content p {
    font-size: 22px;
}

.image {
    max-width: 500px;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-primary), 0 4px 15px var(--shadow-secondary);    
    transition: transform 0.3s ease;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px var(--shadow-primary), 0 10px 20px var(--shadow-secondary);
}

/* About section */
.about {
    margin: 30px;
    background-color: var(--bg-secondary);
    padding: 20px 20px;
    border-radius: 10px;
    margin-top: 100px;
}

h2 {
    font-size: 36px;
    color: var(--accent-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1.6;
}

/* Projects section */
.projects {
    margin-top: 100px;
}

.project-cards {
    width: 100%;
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    height: 300px;
    justify-content: space-around;
    box-sizing: border-box;
    gap: 30px;
}

.project-cards div {
    /* background-color: var(--bg-secondary-translucent); */
    padding: 15px;
    transition: transform 0.3s ease;
    width: 40%;
}

.project-cards div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 4px 10px var(--shadow-primary), 0 4px 10px var(--shadow-secondary);
}

.project-cards h3 {
    color: var(--accent-primary);
    font-size: 24px;
    margin: 10px 0;
}

.project-cards p {
    color: var(--text-secondary);
    font-size: 16px;
}

.project-cards div div {
    margin: 10px 0;
    padding: 0;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
}

.project-cards div div div {
    display: flex;
    gap: 10px;
    color: var(--text-primary);
}

.project-cards div div div span {
    background-image: linear-gradient(45deg, 
        var(--accent-primary), 
        var(--accent-secondary)
    );
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.project-cards div button {
    background-color: var(--accent-secondary);
    color: var(--bg-secondary);
    border: none;
    margin: 20px 0;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.project-cards div button:hover {
    background-color: var(--accent-primary);
    color: var(--text-secondary);
}

/* Skills section */
.skills {
    margin-top: 150px;
}

.skill-cards {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
}

.skill-cards div {
    position: relative;
    background-color: var(--bg-secondary-translucent);
    display: flex;
    flex-direction: column;
    align-items: center ;
    padding: 15px;
    border: 1px solid var(--text-secondary);
    border-radius: 50px;
    transition: transform 0.3s ease;
    width: 200px;
    color: var(--text-primary);
    z-index: 1;
}

.skill-cards div:hover {
    transform: translateY(-10px);
    box-shadow: 4px 8px 20px var(--shadow-primary), 0 8px 20px var(--shadow-secondary);
}

.skill-cards div img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
 }

/* Education section */
.education {
    margin-top: 100px;
}

.edudetails {
    padding: 30px;
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-around;
    gap: 30px;
}

.edudetails div {
    background-color: var(--bg-secondary-translucent);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 4px 10px var(--shadow-primary), 0 4px 10px var(--shadow-secondary);
    transition: transform 0.3s ease;
    width: 30%;
    text-align: center;
}

.edudetails div:hover {
    transform: translateY(-10px);
    box-shadow: 4px 8px 20px var(--shadow-primary), 0 8px 20px var(--shadow-secondary);
}

.edudetails div b {
    font-size: 18px;
    line-height: 40px;
    color: var(--accent-primary);
}

.edudetails div p, .edudetails div span {
    color: var(--accent-secondary);
    font-size: 16px;
    line-height: 32px;
}

/* Certifications section */
.certifications {
    margin-top: 100px;
}

.certificates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
    padding: 30px;
    text-align: center;
}

.certificates div {
    background-color: var(--bg-secondary-translucent);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 4px 10px var(--shadow-primary), 0 4px 10px var(--shadow-secondary);
    transition: transform 0.3s ease;
}

.certificates div b {
    color: var(--accent-primary);
    font-size: 22px;
}

.certificates div p {
    color: var(--accent-secondary);
    font-size: 15px;
}

.certificates div:hover {
    transform: translateY(-10px);
    box-shadow: 4px 8px 20px var(--shadow-primary), 0 8px 20px var(--shadow-secondary);
}

.certificates div button {
    background-color: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.certificates div button:hover {
    background-color: var(--accent-secondary);
    color: var(--bg-secondary);
}

/* Coding Profiles section */
.coding {
    margin-top: 100px;
}

.profiles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 20px;
    padding: 30px;
}

.profiles div {
    background-color: var(--bg-secondary-translucent);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 4px 10px var(--shadow-primary), 0 4px 10px var(--shadow-secondary);
    transition: transform 0.3s ease;
    text-align: center;
    width: 230px;
    max-width: 230px;
    min-width: 140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profiles div:hover {
    transform: translateY(-10px);
    box-shadow: 4px 8px 20px var(--shadow-primary), 0 8px 20px var(--shadow-secondary);
}

.profiles div button {
    background-color: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.profiles div button:hover {
    background-color: var(--accent-secondary);
    color: var(--bg-secondary);
}

.profiles div b {
    color: var(--accent-primary);
    font-size: 24px;
    line-height: 60px;
}

/* Contact section */
.contact {
    margin-top: 100px;
}

.contact-content {
    padding: 30px 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile Links */
.profile-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    background-color: var(--bg-secondary);
    width: 40%;
    height: 500px;
    padding: 15px;
    border-radius: 30px 0 0 30px;
    transition: transform 0.3s ease;
}

.profile-links h3 {
    color: var(--accent-primary);
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.profile-links div {
    display: flex;
    margin-bottom: 15px;
    color: var(--text-primary);
    padding: 15px;
    height: 20px;
}

.profile-links div svg {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    fill: var(--text-primary);
}

.profile-links div a {
    color: var(--text-secondary);
    font-size: 20px;
    text-decoration: none;
}

.profile-links div a:hover {
    color: var(--accent-secondary);
}

/* Contact Form section */
.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    background-color: var(--bg-teritiary);
    width: 50%;
    height: 500px;
    padding: 15px;
    border-radius: 0 30px 30px 0;
    transition: transform 0.3s ease;
}

.form h3 {
    color: var(--accent-primary);
    font-size: 30px;
    text-align: center;
}

.form form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.form form input, .form form textarea {
    padding: 10px;
    border: none;
    border-bottom: 2px solid var(--text-secondary);
    border-radius: 0;
    width: 80%;
    background: transparent;
    color: var(--text-primary);
    font-size: 16px;
    resize: none;
}

.form form input::placeholder, .form form textarea::placeholder {
    color: var(--text-secondary);
}

.form form input:focus, .form form textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--shadow-secondary);
}

.form form button {
    background-color: var(--accent-primary);
    color: var(--text-primary);
    /* width: 50%; */
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.form form button:hover {
    background-color: var(--accent-secondary);
    color: var(--bg-secondary);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 1400px) {
    header {
        flex-direction: row;
        padding: 25px;
    }
    .logo img {
        width: 240px;
        height: 70px;
    }
    header .links ul {
        gap: 25px;
    }
    header .links a {
        font-size: 20px;
    }

    .hero {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding-top: 150px;
    }
    .content {
        padding: 100px 30px;
    }
    .content h1 {
        font-size: 48px;
    }
    .content p {
        font-size: 22px;
    }
    .image {
        max-width: 400px;
    }

    .about {
        margin: 30px;
        padding: 20px 20px;
        margin-top: 100px;
    }
    h2 {
        font-size: 36px;
    }
    .about-content {
        font-size: 20px;
        padding: 0;
    }

    .projects {
        margin-top: 100px;
    }
    .project-cards {
        flex-direction: row;
        gap: 30px;
        padding: 30px;
        height: 300px;
    }
    .project-cards div {
        width: 40%;
        padding: 15px;
    }
    .project-cards div img {
        width: 120%;
        height: 100%;
    }
    .project-cards h3 {
        font-size: 24px;
    }
    .project-cards p {
        font-size: 16px;
    }
    .project-cards div div div button {
        margin: 10px 0;
    }

    .skills {
        margin-top: 100px;
    }
    .skill-cards {
        gap: 50px;
        padding: 30px;
    }
    .skill-cards div {
        width: 200px;
        padding: 15px;
    }
    .skill-cards div img {
        width: 60px;
        height: 60px;
    }

    .education {
        margin-top: 100px;
    }
    .edudetails {
        flex-direction: row;
        gap: 30px;
        padding: 30px;
    }
    .edudetails div {
        width: 30%;
        padding: 15px;
    }

    .certifications {
        margin-top: 100px;
    }
    .certificates {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 30px;
    }

    .coding {
        margin-top: 100px;
    }
    .profiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 30px;
    }

    .contact {
        margin-top: 100px;
    }
    .contact-content {
        flex-direction: row;
        padding: 30px 10vw;
        gap: 0;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .profile-links, .form {
        width: 50%;
        max-width: 480px;
        height: 500px;
        border-radius: 30px 0 0 30px;
        padding: 15px;
        margin-bottom: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    .form {
        border-radius: 0 30px 30px 0;
        overflow: hidden;
    }
    .form form {
        overflow: hidden;
    }
    .profile-links h3, .form h3 {
        font-size: 30px;
    }
    .profile-links div a, .form form input, .form form textarea {
        font-size: 20px;
    }
    .form form button {
        font-size: 18px;
        padding: 10px 15px;
    }

    footer {
        font-size: 14px;
        padding: 20px;
    }
}

@media (max-width: 900px) { 
    .profiles div {
        width: 180px;
        max-width: 180px;
        min-width: 100px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /* Header */
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 25px;
    }
    .logo img {
        width: 240px;
        height: 70px;
    }
    header .links ul {
        gap: 25px;
    }
    header .links a {
        font-size: 20px;
        pointer-events: none;
        color: #888 !important;
        opacity: 0.6;
    }
    .menu {
        display: block !important;
    }
    .links {
        display: none !important;
    }
    .mobile-option {
        display: block !important;
    }

    .hero {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding-top: 150px;
    }
    .content {
        padding: 100px 40px;
    }
    .project-cards {
        flex-direction: column !important;
        gap: 16px;
        padding: 50px;
        height: auto;
    }
    .project-cards div {
        width: 100% !important;
        padding: 10px;
    }
    .project-cards div img {
        width: 100%;
        height: auto;
    }

    .skill-cards div {
        width: 150px;
        padding: 15px;
    }

    .edudetails div {
        box-shadow: 2px 2px 5px var(--shadow-primary), 0 2px 5px var(--shadow-secondary);
    }

    .certificates div {
        box-shadow: 2px 2px 5px var(--shadow-primary), 0 2px 5px var(--shadow-secondary);
    }

    .profiles div {
        box-shadow: 2px 2px 5px var(--shadow-primary), 0 2px 5px var(--shadow-secondary);
    }

    .contact {
        margin-top: 40px;
    }
    .contact-content {
        flex-direction: column;
        padding: 10px;
        gap: 16px;
    }
    .profile-links, .form {
        width: 100%;
        height: auto;
        border-radius: 16px;
        padding: 8px;
        margin-bottom: 16px;
        box-sizing: border-box;
    }
    .form {
        border-radius: 16px;
    }
    .profile-links h3, .form h3 {
        font-size: 30px;
    }
    .profile-links div a, .form form input, .form form textarea {
        font-size: 20px;
    }
    .form form button {
        font-size: 18px;
        padding: 10px 15px;
    }
    footer {
        font-size: 14px;
        padding: 20px;
    }
}

@media (max-width: 700px) {
    /* Header */
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px;
    }
    .logo img {
        width: 160px;
        height: 50px;
    }
    header .links ul {
        gap: 15px;
    }
    header .links a {
        font-size: 16px;
    }
    .menu {
        width: 32px;
        height: 32px;
    }
    .mobile-option {
        width: 180px;
        font-size: 16px;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        align-items: center;
        padding-top: 120px;
    }
    .content {
        padding: 40px 10px;
    }
    .content h1 {
        font-size: 32px;
    }
    .content p {
        font-size: 16px;
    }
    .image {
        max-width: 220px;
        margin-bottom: 20px;
    }

    /* About Section */
    .about {
        margin: 10px;
        padding: 10px;
        margin-top: 40px;
    }
    h2 {
        font-size: 24px;
    }
    .about-content {
        font-size: 14px;
        padding: 0;
    }

    /* Projects Section */
    .projects {
        margin-top: 40px;
    }
    .project-cards {
        flex-direction: column !important;
        gap: 12px;
        padding: 10px;
        height: auto;
        align-items: center;
        justify-content: center;
    }
    .project-cards div {
        width: 100% !important;
        padding: 8px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .project-cards div img {
        width: 100%;
        height: auto;
    }
    .project-cards h3 {
        font-size: 18px;
    }
    .project-cards p {
        font-size: 13px;
    }

    /* Skills Section */
    .skills {
        margin-top: 40px;
    }
    .skill-cards {
        gap: 20px;
        padding: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .skill-cards div {
        width: 90px;
        border-radius: 30px;
        padding: 10px;
        margin: 0 auto;
    }
    .skill-cards div img {
        width: 40px;
        height: 40px;
    }

    /* Education Section */
    .education {
        margin-top: 40px;
    }
    .edudetails {
        flex-direction: column;
        gap: 12px;
        padding: 10px;
        align-items: center;
    }
    .edudetails div {
        width: 100%;
        padding: 8px;
        margin: 0 auto;
    }
    .edudetails div b {
        font-size: 15px;
        line-height: 30px;
    }
    .edudetails div p, .edudetails div span {
        font-size: 13px;
    }

    /* Certifications Section */
    .certifications {
        margin-top: 40px;
    }
    .certificates {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px;
    }
    .certificates div {
        padding: 8px;
    }
    .certificates div b {
        font-size: 16px;
    }
    .certificates div p {
        font-size: 12px;
    }

    /* Coding Profiles Section */
    .coding {
        margin-top: 40px;
    }
    .profiles {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 10px;
        justify-items: center;
    }
    .profiles div button {
        font-size: 12px;
        padding: 6px 10px;
    }

    .profiles div {
        padding: 8px;
        margin: 0 auto;
    }
    .profiles div b {
        font-size: 16px;
        line-height: 30px;
    }

    /* Contact Section */
    .contact {
        margin-top: 30px;
    }
    .contact-content {
        flex-direction: column;
        padding: 5px;
        gap: 12px;
        align-items: center;
        justify-content: center;
    }
    .profile-links, .form {
        width: 100%;
        height: auto;
        border-radius: 10px;
        padding: 6px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }
    .form {
        border-radius: 10px;
    }
    .profile-links h3, .form h3 {
        font-size: 20px;
    }
    .profile-links div a, .form form input, .form form textarea {
        font-size: 14px;
    }
    .form form button {
        font-size: 15px;
        padding: 8px 12px;
    }

    /* Footer */
    footer {
        font-size: 12px;
        padding: 10px;
    }
}

@media (max-width: 400px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 8px;
    }
    .logo img {
        width: 110px;
        height: 36px;
    }
    header .links ul {
        gap: 6px;
    }
    header .links a {
        font-size: 12px;
    }
    .menu {
        width: 28px;
        height: 28px;
    }
    .mobile-option {
        width: 120px;
        font-size: 13px;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        gap: 10px;
        text-align: center;
    }
    .content {
        padding: 16px 2px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .content h1 {
        font-size: 18px;
    }
    .content p {
        font-size: 10px;
    }
    .image {
        max-width: 200px;
        width: 200px;
        height: 200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about {
        margin: 2px;
        padding: 2px;
        margin-top: 20px;
    }
    h2 {
        font-size: 12px;
    }
    .about-content {
        font-size: 8px;
        padding: 0 1px;
    }

    .projects {
        margin-top: 20px;
    }
    .project-cards {
        flex-direction: column !important;
        gap: 4px;
        padding: 2px;
        height: auto;
        align-items: center;
        justify-content: center;
    }
    .project-cards div {
        width: 100% !important;
        padding: 4px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .project-cards div img {
        width: 100%;
        height: auto;
    }
    .project-cards h3 {
        font-size: 10px;
    }
    .project-cards p {
        font-size: 10px;
    }

    .skills {
        margin-top: 20px;
    }
    .skill-cards {
        gap: 8px;
        padding: 2px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .skill-cards div {
        width: 100px;
        padding: 4px;
        margin: 0 auto;
    }
    .skill-cards div img {
        width: 30px;
        height: 30px;
    }
    .skill-cards div p {
        font-size: 10px;
    }

    .education {
        margin-top: 20px;
    }
    .edudetails {
        flex-direction: column;
        gap: 20px;
        padding: 2px;
        align-items: center;
    }
    .edudetails div {
        width: 90%;
        padding: 2px;
        margin: 0 auto;
    }
    .edudetails div b {
        font-size: 12px;
        line-height: 18px;
    }
    .edudetails div p, .edudetails div span {
        font-size: 9px;
    }

    .certifications {
        margin-top: 20px;
    }
    .certificates {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 2px;
        justify-items: center;
    }
    .certificates div {
        width: 90%;
        padding: 2px;
    }
    .certificates div b {
        font-size: 15px;
    }
    .certificates div p {
        font-size: 9px;
    }
    .certificates div button {
        font-size: 10px;
        padding: 6px 10px;
    }

    .coding {
        margin-top: 20px;
    }
    .profiles {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 2px;
        justify-items: center;
    }
    .profiles div {
        width: 290px;
        max-width: 376px;
        min-width: 60px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .profiles div b {
        font-size: 18px;
        line-height: 18px;
    }

    .contact {
        margin-top: 15px;
    }
    .contact-content {
        flex-direction: column;
        padding: 2px;
        gap: 4px;
        align-items: center;
        justify-content: center;
    }
    .profile-links, .form {
        width: 100%;
        height: auto;
        border-radius: 5px;
        padding: 2px;
        margin-bottom: 4px;
        box-sizing: border-box;
    }
    .form {
        border-radius: 5px;
    }
    .profile-links h3, .form h3 {
        font-size: 8px;
    }
    .profile-links div a, .form form input, .form form textarea {
        font-size: 14px;
    }
    .form form button {
        font-size: 8px;
        padding: 4px 6px;
    }

    footer {
        font-size: 7px;
        padding: 4px;
    }
}