/* Import Source Sans Pro and Soul Gaze BC fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Soul+Gaze+BC&display=swap');

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f4f4f4;
}

/* Navigation Bar Styling */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 75px;
    border-bottom: 1px solid #0e3679;
    padding: 0 20px;
}

/* Logo and Header Styling */
nav .logo-header {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 60px; 
    margin-right: 10px;
}

nav h1 {
    font-family: 'Soul Gaze BC', sans-serif;
    color: #0e3679;
    font-size: 30px; 
    margin: 0;
}

/* Navigation List Styling */
nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    flex-grow: 1;  
    justify-content: center;  
}

nav ul li {
    margin-left: 20px;  
}

.dropdown-menu li {
    margin-left: 0;  
}
nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    display: block;
}

/* Hover effect for nav links */
nav ul li a:hover {
    background-color: #0e3679;
    color: white;
    border-radius: 4px;
}

/* Dropdown Container */
nav ul li.dropdown {
    position: relative; 
}

/* Dropdown Menu Styling */
nav .dropdown-menu {
    display: none; 
    position: absolute;
    top: 100%;  
    left: 0;
    background-color: white;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid #0e3679;
    width: 200px;  
    z-index: 1;  
}

/* Dropdown Link Styling */
nav .dropdown-menu li a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

/* Hover effect for dropdown links */
nav .dropdown-menu li a:hover {
    background-color: #0e3679;  
    color: white;  
}

nav ul li.dropdown:hover .dropdown-menu {
    display: block;  
}

nav ul li a.dropdown-link::after {
    content: " ▼"; 
    font-size: 14px;
    margin-left: 5px; 
}

.rounded-button {
    background-color: #0e3679;
    color: white;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    margin-left: 60px;  
}

.rounded-button:hover {
    background-color: white;
    color: #0e3679;
    border-color: #0e3679;
}

.container {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px;
    height: 100vh; 
}

.introduction {
    width: 90%; 
    height: 500px; 
    background-color: white;
    border-radius: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid #0e3679; 
    margin-bottom:60px;
 
}

.divider {
    position: absolute;
    width: 1.5px; 
    background-color: #0e3679; 
    top: 20px;
    bottom: 20px;
    left: 60%; 
    transform: translateX(-50%); 
}

.introduction .content {
    text-align: left;
    padding: 40px;
}

.introduction h2 {
    font-size: 32px;
    color: #0e3679;
    margin-bottom: 20px;
    font-family: 'Source Sans Pro', sans-serif;
}

.introduction p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    width:90%;
}

.introduction a.rounded-button {
    margin: 10px 5px;
}

.image-right {
    height: auto;
    max-width: 30%; 
    max-height: 90%;
    border: 3px solid #0e3679; 
    border-radius: 5px; 
    object-fit: cover; 
    margin-right:80px;
}

ul.blue-square {
    list-style-type: square;
    padding-left: 20px;
}

ul.blue-square li {
    font-size: 18px;
    color: black;
    margin-bottom: 10px;
}

ul.blue-square li::marker {
    color: #0e3679; 
}
  
.timeline {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: space-evenly; /* Distribute items evenly across the timeline */
  align-items: center;
  height: 350px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 35%; 
    left: 0; 
    width: calc(100% - 20px); 
    height: 8px;
    background-color: #0e3679; 
    transform: translateY(-50%); 
    border-radius: 4px;
}

/* Timeline item style */
.timeline-item {
  width: 20%; /* Adjust width to fit the content */
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Timeline circle style */
.timeline-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #0e3679;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hover effect */
.timeline-item:hover .timeline-circle {
  transform: scale(1.25);
}

.timeline-text {
  font-size: 20px;
  color: #333;
  transition: transform 0.3s ease;
  margin-top: 10px;
}

.timeline-item:hover .timeline-text {
  transform: scale(1.1);
}

  .footer {
    background-color: #f8f8f8;
    border-top: 1px solid #0e3679;
    padding: 20px 0;
  }

  .footer-container {
    display: flex;
    justify-content: space-between; /* Spread sections evenly */
    align-items: flex-start; /* Align items to the top */
    padding: 0 5%;
    flex-wrap: wrap; /* Ensures responsive design */
  }

  .footer-left {
    width: 20%;
    text-align: left;
  }
  
  .footer-right {
    width: 70%;
    display: flex;
    flex-wrap: wrap; /* Allows sections to wrap for smaller screens */
    margin-right:50px;
    justify-content: space-between;
  }

  .footer-logo img {
    width: 200px;
    height: auto;
  }

  .footer-logo h2 {
    font-family: 'Soul Gaze BC', sans-serif;
    color: #0e3679;
    font-size: 27px; 
    margin: 0;
  }

  .footer-logo p {
    font-family: 'Soul Gaze BC', sans-serif;
    margin: 0;
    line-height:1.5;
    font-size:15px;
  }


  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: left;
    width:25%;
    justify-content: space-around;
    margin-left:20px;
    margin-top:10px;
  }

  .footer-nav a {
    color: black;
    text-decoration: none;
    padding: 7px 14px; 
    display: inline-block; 
    border-radius: 20px; 
    transition: background-color 0.3s ease, color 0.3s ease; 
    font-size:20px;
}

.footer-nav a:hover {
    background-color: #0E3679; 
    color: white; 
    border-radius: 20px; 
    padding: 7px 14px; /* Keep padding consistent with .footer-nav a */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-nav h2 {
    font-family: 'Soul Gaze BC', sans-serif;
    color: #0e3679;
    font-size: 20px; 
    margin-left: 13px;
  }

.footer-buttons {
    margin-right:350px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: start; /* Keeps the `h2` on the left and buttons grouped next to it */
    gap: 10px; /* Adds spacing between the `h2` and buttons */
}
.footer-buttons h2{
    font-family: 'Soul Gaze BC', sans-serif;
    color: #0e3679;
    font-size: 20px; 
    margin-left:60px;
    margin-top:10px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 625px; /* Optional: Adds spacing between buttons and info */
    margin-top:-315px;
}

.footer-info h2{
    font-family: 'Soul Gaze BC', sans-serif;
    color: #0e3679;
    font-size: 20px; 
}
  .footer-copyright {
    text-align: center;
    font-size: 14px;
    color: gray;
    margin-top: 20px;
  }

  #resumeForm {
    width: 1175px;
    margin: 40px auto;
    margin-top:3100px;
    padding: 40px;
    
}

/* Fieldset Styling */
fieldset {
    border: none;
    margin-bottom: 30px;
    padding: 0;
}

legend {
    font-size: 24px;
    font-weight: 600;
    color: #0e3679;
    margin-bottom: 15px;
}

/* Label Styling */
label {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #0e3679;
}

/* Input & Textarea Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="url"],
input[type="file"],
textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="url"]:focus,
input[type="file"]:focus,
textarea:focus {
    border-color: #0e3679;
    outline: none;
}

/* Textarea Styling */
textarea {
    height: 150px;
    resize: vertical;
}

/* Button Styling */
button[type="submit"] {
    background-color: #0e3679;
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: white;
    color: #0e3679;
    border-color: #0e3679;
}

/* Add More Buttons */
button[type="button"] {
    background-color: #0e3679;
    color: white;
    font-size: 16px;
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

button[type="button"]:hover {
    background-color: white;
    color: #0e3679;
    border-color: #0e3679;
}

/* Work Experience & Education Section Styling */
#workExperience, #education {
    margin-bottom: 20px;
}

.work-item, .education-item {
    margin-bottom: 20px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    #resumeForm {
        padding: 20px;
    }

    h1 {
        font-size: 28px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="url"],
    textarea {
        font-size: 14px;
    }

    button[type="submit"],
    button[type="button"] {
        font-size: 16px;
    }
}

#contactForm {
    width: 1175px;
    margin: 40px auto;
    padding: 40px;
    
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: fade-in 0.5s ease-out;
}
.notification.success {
    background-color: #e6f7e6;
    color: #27a727;
    border: 1px solid #27a727;
}
.notification.error {
    background-color: #fde9e9;
    color: #d9534f;
    border: 1px solid #d9534f;
}
.notification .close-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
}
.notification .close-btn:hover {
    color: #000;
}
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


