
/*GENERAL STYLING ACROSS ALL/MOST PAGES*/
body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F8F8F8;
    padding-bottom: 50px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


body.loaded {
    opacity: 1;
}


/* Navigation Bar Styles */
.topnav {
    width: 100%;
    background-color: #001d3d;
    padding: 10px 0;
    text-align: center;
}

.topnav a {
    color: white;
    padding: 14px 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center; 
    font-size: 17px;
    gap: 8px; 
}

.topnav a:hover {
    background-color: #a3cef1;
    color: black;
    border-radius: 10px;
}

/* Icon Styling */
.nav-icon {
    width: 20px; 
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    filter: invert(1); /* Inverts the colors */
}

.topnav a:hover .nav-icon {
    filter: invert(0); 
}

/* Toggle Button Styling */
button {
    background-color: #001d3d; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 10px; 
    margin: 10px; 
    cursor: pointer; 
    font-size: 17px;
    display: inline-flex;
    align-items: center; 
    gap: 8px; 
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s; /* Smooth transitions */
}

button:hover {
    background-color: #a3cef1; 
    color: black;
    transform: scale(1.1); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
}

button img {
    width: 20px; 
    height: 20px;
    filter: invert(1); 
}

button:hover img {
    filter: invert(0); 
}

h1, h2 {
    text-align: center;
    color: white;
    background-color: #00296b; 
    padding: 10px 30px; 
    border-radius: 10px; 
    display: inline-block;
    margin: 20px auto;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

h1 {
    background-color: #bfdbf7;
    color: black
}

h3 {
    color: #01497c;
}

/*Index pg & Qualif pg*/
img{
    width: 200px;      
    height: 250px;     
    border-radius: 5%; 
    object-fit: cover;  
}
/*END GENERAL STYLING ACROSS ALL/MOST PAGES*/

/*INDEX PAGE STYLING*/
/* Content Container */
.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    height: calc(100vh + 250px); 
    text-align: center;
    padding-bottom: 500px;
    padding: 30px;
    gap: 50px;
    color: #001233; 
    background-color: #F8F8F8;
}

.container2 {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    padding: 0px;
}

.left-section {
    text-align: center;
    max-width: 300px;
}

.left-section h1, .left-section h2 {
    margin: 25px 0;
}

.left-section a {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: #013a63;
    font-weight: bold;
    background-color: #cae9ff;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #61a5c2;
}

.left-section a:hover {
    background-color: #61a5c2;
    color: white;
}

.intro-text {
    width: 50%;
    text-align: center;
    margin-top: 20px;
    color: black; 
    background-color: #bbdefb; 
    padding: 30px;
    border-radius: 3%;
    border: 2px solid #61a5c2; 
}
/*END INDEX PAGE STYLING*/

/* PORTFOLIO PAGE STYLING */
/* Ensure portfolio container uses flex to stack projects vertically */
.portfolio-container {
    display: flex;
    flex-direction: column; /* Stacks projects vertically */
    align-items: center; /* Centers the projects horizontally */
    padding: 20px;
}

/* Project Bubble Styling */
.project-bubble, .project-bubble2 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px auto; 
    padding: 20px;
    width: 80%; 
    background-color: #cae9ff;
    border: 2px solid #61a5c2;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Styling for Project Image */
.project-bubble img, .project-bubble2 img {
    border-radius: 10%;
    width: 200px; 
    height: 200px;
}

/* Styling for Project Description Text */
.project-bubble p, .project-bubble2 p {
    text-align: left;
    margin: 0;
}

/*Skills styling*/
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; 
    margin-top: 20px;
}

.skill {
    text-align: center;
    flex: 0 1 150px; 
}

.skill img {
    width: 100px;
    height: 100px;
}
/*END PORTFOLIO PAGE STYLING*/

/*QUALIFICATIONS PAGE STYLING*/
/*Resume Styling*/
.resume-container {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
iframe {
    width: 700px;
    height: 900px;
    border: none;
}

.areas-of-interest {
    background-color: #cae9ff; 
    padding: 20px 30px;
    border-radius: 15px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    width: 80%; 
    margin: 20px auto;
    text-align: center; 
    border: 2px solid #61a5c2;
    border-radius: 15px;
}

.areas-of-interest h1 {
    background-color: #00296b; 
    color: white;
    padding: 10px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-bottom: 20px;
}
.skills-coursework {
    display: flex; 
    justify-content: space-between;
    gap: 30px; 
    margin: 0px auto;
    width: 90%; 
    padding: 20px;
}

.skills, .coursework {
    display: flex;
    flex-direction: column;
    background-color: #bbdefb; 
    padding: 20px; 
    border-radius: 15px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    width: 48%; 
    text-align: left;
    margin-bottom: 1px;
    border: 2px solid #61a5c2;
    border-radius: 15px;
}

.skills h1, .coursework h1 {
    background-color: #00296b; 
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    width: 55%; 
    text-align: center; 
}

.certifications, .awards {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin: 0 auto; 
    width: 48%;
    background-color: #bbdefb; 
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 2px solid #61a5c2;
    border-radius: 15px;
}

.certifications h1, .awards h1 {
    background-color: #00296b; 
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    width: 55%; 
    text-align: center; 
}

.certifications-awards-container {
    display: flex;
    justify-content: space-between; 
    gap: 30px;
    margin: 0 auto;
    width: 90%; 
    padding: 20px;
}
/*END QUALIFICATIONS PAGE STYLING*/

/*SERVICE PAGE STYLING*/
/*Volunteering Styles*/
.volunteering-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}

.volunteering-box {
    background-color: #bbdefb;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 45%;
    padding: 20px;
    box-sizing: border-box;
    border: 2px solid #61a5c2;
    border-radius: 15px;
    display:flex;
    flex-direction: column;
}

.volunteering-box img {
    display: block;
    margin: 0 auto 10px;
    max-width: 100%;
    height: auto;
}

.volunteering-box h2 a{
    text-align: center;
    color: white;
}

.volunteering-box h2 a:hover {
    color: #e2eafc;
}

.volunteering-box p {
    text-align: justify;
    color: #333;
}
/*END SERVICE PAGE STYLING*/

/*GENAI PAGE STYLING*/
/* Content Wrapper to add spacing below navigation */
.genai-page .content-wrapper {
    margin-top: 20px; /* Adds space below the fixed navigation bar */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.genai-page h1 {
    color: black;
    margin: 10px auto;
    background-color: #bfdbf7;
    padding: 10px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.genai-page h2 {
    color: #ffffff;
    text-align: center;
}

.genai-page h3 {
    color: #01497c;
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
}

/* Contact Section Styles */
.genai-page .contact-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.genai-page .contact-container h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

/* Contact List */
.genai-page .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.genai-page .contact-list li {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.genai-page .contact-list li img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.genai-page .contact-list li a {
    color: #001d3d;
    text-decoration: none;
    font-size: 18px;
    margin-left: 10px;
}

.genai-page .contact-list li a:hover {
    color: #a3cef1;
}

/* Prompt Box */
.genai-page .prompt-box {
    background-color: #bfdbf7;
    border: 2px solid #01497c;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 90%;
    width: 500px;
    color: #001d3d;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.genai-page .prompt-box h3 {
    margin-bottom: 10px;
    color: #00296b;
}
/*END GENAI PAGE STYLING*/


