/* About me */
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Guides:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');

:root {
    --variable-name: value;
}

selector {
    property: var(--variable-name);
}

/* @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap"); */

/* @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Guides:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap'); */

/* Variables */
:root {
  /* --font-family: "Roboto", sans-serf; */
  /* --font-family: "Lato", sans-serif; */
  /* --font-family: "Edu AU VIC WA NT Guides", cursive; */
  --font-family: "Newsreader", serif;
  /* --font-family: 'Inter', sans-serif; */
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #fcfcfc;
  --primary-color: #4756df;
  --secondary-color: #ff7235;
  --primary-shadow: #8b8eaf;
  --secondary-shadow: #a17a69;
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --transition: 0.3s;
}
/* Variables end */

html {
  scroll-behavior: smooth;
}

/* CSS Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

body {
  font-family: var(--font-family);
}

nav {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3.5rem;
    background-color: var(--bg-color);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  }
nav h1 {
    color: var(--primary-color);
}
  
nav a {
    color: var(--primary-color);
    transition: var(--transition);
}
nav a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}
  
nav ul {
    display: flex;
    gap: 1.9rem;
}
  
nav ul li {
    font-weight: var(--bold-font);
}

.burger-menu {
    color: var(--primary-color);
    font-size: 2rem;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    display: none;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    max-width: 85rem;
    /* 68.75rem; */
    margin: auto;
}
  
.hero img {
    height: 37.5rem;
    width: 37.5rem;
}
  
.bio  {
    flex: 1; 
    /* Allows the bio to grow and shrink */
    /* width: 25rem; */
    /* max-width: 100%; */
    padding:1.5rem;
    /* 0.625rem; */
    border-radius: 6px;
    box-shadow: 0px 2px 15px 2px var(--primary-shadow);
}
  
.bio h2 {
    margin-bottom: var(--bottom-margin);
}
  
.bio p {
    line-height: var(--line-height);
    padding: 0.3rem 0;
}

.more-about {
    background-color: var(--bg-color);
    padding: 1rem 6rem;
  }
  
.more-about h2 {
    margin-bottom: var(--bottom-margin);
    text-align: center;
}
  
.more-about p {
    line-height: var(--line-height);
    padding: 0.3rem;
}

.skills {
    max-width: 68.75rem;
    margin: auto;
    text-align: center;
    margin-top: 2.5rem;
}
  
.skill-header {
    margin-bottom: 1rem;
}
  
.skills-wrapper img {
    padding: 1.25rem;
}
  
.icon {
    width: 11.875rem;
    height: 11.25rem;
}

.icon-card {
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 3px 10px var(--secondary-shadow);
    padding: 20px;
}

.skill-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}
.skill-label {
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.pprojects {
    background-color: var(--bg-color);
    padding: 32px 0;
    margin-top: 2rem;
}
  
.project-pic {
    width: 65%;
    height: 60%;
}
    
.projects-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.projects-title {
    text-align: center;
    margin-bottom: 1rem;
}
  
.project-container {
    text-align: center;
    width: 21.875rem;
    padding: 1rem;
}
.project-container p {
    padding: 0.4rem;
}
  
.project-title {
    margin-bottom: var(--bottom-margin);
}
  
.project-details {
    margin-bottom: var(--bottom-margin);
}
  
.project-card {
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 3px 10px var(--primary-shadow);
    padding: 20px;
    margin: 10px;
}

.project-tech {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.project-link {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}
.project-link:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.timeline-wrapper {
    position: relative;
    padding: 18px 0;
    min-height: 90px;
}
.timeline {
    padding-left: 30px;
}
.timeline-wrapper:last-child:before {
    height: 0;
}
.timeline-wrapper:before {
    content: "";
    background: #474559;
    width: 3px;
    height: 100%;
    position: absolute;
    left: 38px;
}
  
.timeline-yr {
    background: #474559;
    border-radius: 100%;
    position: absolute;
    width: 75px;
    height: 75px;
    line-height: 75px;
    text-align: center;
}
.timeline-yr span {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    display: block;
    line-height: 75px;
}
  
.timeline-info {
    display: inline-block;
    vertical-align: top;
    max-width: 432px;
    margin-left: 6em;
}
.timeline-info small {
    color: #474559;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-left: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
}
  
.col-lg-6 {
    flex: 0 0 50%; 
    max-width: 50%; 
}

.resume{
    background-color: var(--bg-color);
    padding: 22px 40px;
    margin-top: 2rem;
}
.contact {
    margin-top: 2rem;
}
  
.contact h2 {
    text-align: center;
    margin-bottom: var(--bottom-margin-2);
}
  
.contact-form-container {
    max-width: 80.75rem;
    margin: 0 auto;
    padding: 2.038rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px var(--secondary-shadow);
}
.contact-form-container label {
    line-height: 2.7em;
    font-weight: var(--bold-font);
    color: var(--primary-color);
  }
  
  .contact-form-container textarea {
    min-height: 6.25rem;
    font-size: 14px;
  }
  
  .contact-form-container .input-field {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    border: none;
    border: 2px outset var(--primary-color);
    font-size: 0.875rem;
    outline: none;

  }
  .submit-btn {
    width: 10%;
    padding: 10px;
    margin: 10px 0;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: var(--bold-font);
    transition: var(--transition);
  }
  .submit-btn:hover {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
  }

  .socials {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 1%;
    bottom: 50%;
  }
  
  .socicon {
    width: 2rem;
    height: 2rem;
  }
  footer {
    background-color: var(--bg-color);
    padding: 1.25rem;
    text-align: center;
    margin: 2rem 0 0;
  }

  .scroll-up {
    position: fixed;
    right: 0.5%;
    bottom: 3%;
    cursor: pointer;
  }
  
  .up-arrow {
    width: 3rem;
    height: 3rem;
  }

  @media screen and (max-width: 768px) {
    /*changes reflects on screen with a width of 720px and below*/
    nav {
        padding: 1.5rem 1rem;
    }
    nav ul {
        position: fixed;
        background-color: var(--bg-color);
        flex-direction: column;
        top: 86px;
        left: 10%;
        width: 80%;
        text-align: center;
        transform: translateX(120%);
        transition: transform 0.5s ease-in;
    }
    
    nav ul li {
        margin: 8px;
    }
    .burger-menu {
        display: block;
    }
    
    nav ul.show {
        transform: translateX(0);
    }
    .hero {
        margin-top: -4rem;
        flex-direction: column;
        gap: 0;
    }
    
    .hero img {
        height: 37.5rem;
        width: 30rem;
    }
    
    .bio {
        margin-top: -7rem;
        width: 20.5rem;
    }
    .more-about {
        margin-top: 2rem;
        padding: 1rem 3.5rem;
    }
    
    .more-about h2 {
        text-align: center;
    }
    
    .more-about p {
        text-align: justify;
        font-size: 0.95rem;
    }
    .icon {
        width: 5.875rem;
        height: 5.25rem;
    }
    .projects-container {
        flex-direction: column;
    }
    
    .project-container {
        width: 20.875rem;
    }
    .contact-form-container {
        max-width: 23.75rem;
    }
    .timeline_container{
        flex-direction: column;      
    }
    .col-lg-6{
        width: 20.875rem;
    }
    .certifications-certification {
        flex-direction: column;
    }

    .card-header-image img {
        width: 35px;
        margin-bottom: 8px;
    }

    .card-content {
        padding-left: 0;
    }

    .display-none-desktop {
        display: flex;
    }
    
    .display-flex-desktop {
        display: none;
    }
  }

  @media screen and (max-width: 576px) {
    .hero img {
      height: 37.5rem;
      width: 23rem;
    }
  
    .bio {
      width: 18.3rem;
    }
  
    .project-container {
      width: 17.875rem;
    }
  
    .contact-form-container {
      max-width: 17.75rem;
    }

    .col-lg-6{
        max-width: 17.75rem;      
    }
    .certificationsCertification {
        flex-direction: column;
    }

    .cardHeaderImage img {
        width: 35px;
        margin-bottom: 8px;
    }

    .cardContent {
        padding-left: 0;
    }

    .displayNoneDesktop {
        display: flex;
    }
    
    .displayFlexDesktop {
        display: none;
    }
  } 

/* General layout for certification */
#certifications-dashboard-certifications {
    background-color: #1b2b35; /* Matches the dark background */
    padding: 20px; /* Reduced padding */
}

#certifications-dashboard-certifications-title {
    color: white; /* White title */
    font-size: 1.6rem; /* Reduced font size */
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 8px; /* Reduced padding */
    /* border-bottom: 1px solid #3a4b55; Thin border to match card separation */
}

/* Certification card styling */
.certifications-certification {
    display: flex;
    background-color: #102028; /* Dark blue card background */
    color: white;
    padding: 40px; /* Reduced padding inside the card */
    border-radius: 10px;
    align-items: center;
    justify-content: space-between;
    /* max-width: 700px;  */
    /* Reduced width */
}

.card-header-image img {
    width: 100px; /* Reduced image size */
    height: auto;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding-left: 15px; /* Reduced padding between image and text */
}

.card-content h3 {
    color: #b19cff; /* Light purple link color */
    font-size: 1.4rem; /* Slightly smaller font size */
    margin: 0;
}

.card-content-super-title {
    color: #85b0b6; /* Light teal for sub-title */
    font-size: 1rem; /* Smaller font size */
}

.card-content-metadata {
    display: flex; /* Make dates in a row */
    flex-direction: row-reverse;
    justify-content: space-between; /* Align dates in a row */
    gap: 10px; /* Add small space between dates */
    margin-top: 5px; /* Reduced margin */
}

.card-content-metadata li {
    font-size: 0.85rem; /* Slightly smaller font size */
    color: #ffffff; /* Text color for earned and expiration details */
    /* line-height: 1.2;  */
    /*Reduced line height to remove extra spacing*/
    /* margin-top: 0px; */
}

a.card-content-title {
    text-decoration: none;
}

a.card-content-title:hover h3 {
    text-decoration: underline;
}

a.font-size-sm {
    font-size: 0.85rem; /* Reduced link font size */
    color: #85b0b6;
    text-decoration: none;
}

a.font-size-sm:hover {
    text-decoration: underline;
}

/* Status Tags */
.tag {
    padding: 5px 8px; /* Reduced padding for tags */
    font-size: 0.86rem; /* Slightly smaller font size */
    border-radius: 10px;
    display: inline-block;
}

.background-color-primary-light {
    background-color: #1e3a5f;
    color: white;
}

.is-success {
    background-color: #5dbb63; /* Green color for active status */
    color: white;
}

/* For mobile
@media screen and (max-width: 768px) {
    .certifications-certification {
        flex-direction: column;
    }

    .card-header-image img {
        width: 35px;
        margin-bottom: 8px;
    }

    .card-content {
        padding-left: 0;
    }

    .display-none-desktop {
        display: flex;
    }
    
    .display-flex-desktop {
        display: none;
    }
} */

/* For desktop */
@media screen and (min-width: 769px) {
    .display-none-desktop {
        display: none;
    }

    .display-flex-desktop {
        display: flex;
    }
}



