#profile-pic {
    width: 170px;
    height: 200px;
    border-radius: 50%;
}

img {
   max-width: 100%;
   height: auto;
}

.badge-image {
        vertical-align: middle;
    }

a {
    color: dark-blue;
    text-decoration: none;
}

.navbar a {
    text-decoration: none;
    margin-left: 5px; /* Add spacing between links*/
}

.navbar ul {
    display: inline-block; /* Make the ul (unordered list) behave like an inline element */
    padding: 0; /* Remove any default padding */
}

nav ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Display the tabs in a row */
    background-color: rgba(95, 166, 92, 0.67);
}

nav ul.tabs li {
    flex: 1;
    text-align: center; 
    padding: 10px 0px; 
    margin-bottom: 0px;
}

nav ul.tabs li a {
    display: block;
    padding: 5px 15px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

nav ul.tabs li a.active {
    background-color: #83F28F;
}

.in-progress {
        font-size: 0.5em;
        margin-left: 5px;
        color: red;
        font-style: italic;
    }

/* Style the dropdown menu */
.tabs .dropdown {
    display: none;
    position: absolute;
    background-color: rgba(95, 166, 92, 0.67);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Style the dropdown menu items */
.tabs .dropdown li {
    padding: 5px 15px;
    text-decoration: none;
    display: block;
}

/* Show the dropdown menu when hovering over the parent menu item */
.tabs li:hover .dropdown {
    display: block;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.header-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns the content to the left */
}

.left-paragraph{
    flex-grow: wrap; /*Allows the left paragrapghto grow and take up available space */
    }

.right-side{
    flex: 0 0 200px; /* Set a fixed width for the right school content */
}

.resume-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 150px;
    background-color: rgba(95, 166, 92, 0.67); /* Green background */
    color: white; /* White text */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.resume-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

#contact {
    margin-left: 15px; /* Pushes the contact section to the right */
    align-self: flex-start; /* Aligns the contact section to the top */
}

.certificates-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjusts spacing between the certificate cards */
}

.certification-card {
    flex: 0 0 48%; /* This means the cards won't grow, won't shrink, and will have an initial width of 48% */
    gap: 10px;
    position: relative; 
    width: 50%;
}

.flip-card {
    width: 100%;
    height: 250px;
    perspective: 1000px; /* Add perspective for 3D effect */
}

.flip-card-inner {
    background-color: transparent;
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg); /* Flip the card on hover */
}

.flip-card-front,
.flip-card-back {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back face when not flipped */
}

.flip-card-back {
    text-align: center;
    flex-direction: column;
    transform: rotateY(180deg); /* Initially, show the back of the card */
    background-color: rgba(95, 166, 92, 0.67);
}

.certificate-image {
    max-width: 100%;
    max-height: 100%;
}

/* Style as needed */
#certifications h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

#certifications p {
    font-size: 12px;
    text-align: center;
    margin: 0;
    padding: 0;
}

.cert {
    width: 45px; /* or the width you want */
    height: 45px; /* or the height you want */
    vertical-align: middle;
    margin-left: 150px; /* space between logo and text */
}

.logo {
    width: 45px; /* or the width you want */
    height: 45px; /* or the height you want */
    vertical-align: middle;
    margin-right: 10px; /* space between logo and text */
}

/*Education*/
.click-sign {
    position: absolute;
    margin: -15px 155px; /* Adjust as needed */
    width: 20px; /* Adjust size as needed */
    background-color: antiquewhite;
    border-radius: 9px;
}

/* style the card container */
.school {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
    background-color: transparent;
    perspective: 1000px; /* This gives a 3D space meaning to the container, allowing 3D-transformed children to appear in 3D space */
    width: 200px;
    height: 400px;
}

.school-logo {
    width: 150px; /* Adjust to your desired width */
    height: 150px; /* Adjust to your desired height */
}

.logo-container, .school-name {
    text-align: center;
    width: 100%;
}

/* Style the card's inner content. This will perform the rotation */
.school-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s; /* Perform a smooth flip effect */
    transform-style: preserve-3d; /* This allows the child elements of the container to exist in 3D space */
}

/* When the card is hovered, the flip-card-inner should rotate */
.school:hover .school-inner {
    transform: rotateY(180deg); /* Rotate the inner content 180 degrees on Y axis */
}

/* Style the front and back faces of the card */
.school-header-front, .school-details-back {
    position: absolute;
    width: 100%;
    height: 105%;
    backface-visibility: hidden; /* Hide the back of the pane during the swap */
}

.school-header-front {
    background-color: rgba(95, 166, 92, 0.67);
    color: white;
    z-index: 2; /* Positioned above the back card face */
    font-size: 14px;
}

/* Graduated badge */
.graduated-badge {
    background-color: #ffdd00;
    color: #02075d;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* This helps center the badge if width is limited */
    width: fit-content; /* Ensures it wraps tightly around the content */
    font-family: system-ui, -apple-system, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.school-details-back {
    background-color: rgba(95, 166, 92, 0.67);
    color: white;
    transform: rotateY(180deg); /* Rotate the back card face by 180 degrees, essentially hiding it out of view initially */
    z-index: 1;
    text-align: left;
    font-size: 12px;
    padding: 20px;
    margin: -20px; /* This margin may cause the card to be pushed to the right */
}

body {
    background-image: url('pic.jpg');
    background-size: cover;
}

.container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(202, 112, 125, 0.67);
    border-radius: 5px;
}

.grid {
   display: flex;
   flex-wrap: wrap;
}

.grid-item {
   flex: 1;  /* Flex items will adjust their width based on available space */
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #f6bfbc; 
    background-image: url('space-cyber.jpg'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;  /*Ensure the background image is centered*/
    min-height: 100vh;  /* Ensure the body always takes up at least the full height of the viewport*/
    color: white;
    overflow-x: hidden;
    margin: 0;
}

#FAQs {
  text-align: center;
  border-radius: 12px;
}

h2 {
  font-size: 2.0rem;
  margin-bottom: 20px;
}

/* Toggle button */
.toggle-btn {
  background-color: rgb(211 41 105);
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #4a148c;
}

.google-form {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
}

.google-form iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
}

@media (max-width: 600px) {
    .header-container {
        display: flex;
        flex-direction: column; /* Stack header elements vertically for mobile */
        text-align: center; /* Center-align header content for mobile */
    }

    .content-container {
        flex-direction: column;
    }
    
    
    .left-paragraph {
        order: 2; /* Change the order of left-paragraph to appear below */
        margin-top: 10px; /* Add some spacing between left and right content */
    }
    
    .school{
        margin-left:25px;
    }
    
    .right-side {
        flex: 1; /* Allow the right-side content to take up available space */
        margin-top: 35px; /* Add some spacing between left and right content */
    }
        
    #tools, #platform  {
        text-align: center; /* Center-align header content for mobile */
    }
    
    #certifications{
        text-align: center; /* Center-align header content for mobile */
        height: 220px;
    }
        
    .cert {
        width: 40px; /* or the width you want */
        height: 40px; /* or the height you want */
        vertical-align: middle;
        margin-left: 75px; /* space between logo and text */
    }
        
    .flip-card-back {
        overflow-y: scroll; /* Enable vertical scrolling */
        white-space: normal;
        width: 200px;
        height: 150%;
    }
        
    .flip-card-inner{
        height: 70%;
    }
}
