/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}


/* navbar styling */
nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
}
nav.sticky{
  background: #3FA2F6;
  padding: 13px 0;
}
nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 35px;
  color: #3FA2F6;
}
nav.sticky .navbar .logo a{
  color: #fff;
}
nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: #0E2431;
  padding: 6px 0;
  transition: all 0.4s ease;
}
.navbar .menu a:hover{
  color: #3FA2F6;
}
nav.sticky .menu a{
  color: #FFF;
}
nav.sticky .menu a:hover{
  color: #0E2431;
}
.navbar .media-icons a{
  color: #3FA2F6;
  font-size: 18px;
  margin: 0 6px;
}
nav.sticky .media-icons a{
  color: #FFF;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #3FA2F6;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}

/* home section styling */
.home{
  height: 100vh;
  width: 100%;
  background: url("images/background.png") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}
.home .home-content{
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .text-two{
  color: #0E2431;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}
.home .text-three{
  font-size: 40px;
  margin: 5px 0;
  color: #3FA2F6;
}

/* button margin */
.show-more-container {
  text-align: center;
  margin-top: 20px;
}

.fcc-btn {
  background-color: #0077cc;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.fcc-btn:hover {
  background-color: #005fa3;
}


.button_container {
  display: flex;
  gap: 10px;
}


/** scroll button section */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .scroll-down a {
    color: #fff;
    background-color: #3FA2F6;
    padding: 10px;
    border-radius: 6px;
    font-size: 20px;
    padding: 7px 12px;
    transition: background-color 0.3s ease;
  }
  
  .scroll-down a:hover {
    background-color: #0E2431;
  }



/* section styling */
section{
    padding-top: 40px;
    padding-bottom:10px;
  }
  section .content{
    width: 80%;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
  }
  section .title{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }
  section .title span{
    color: #0E2431;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
  }
  section .title span::before,
  section .title span::after{
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    background: #3FA2F6;
    left: 0;
    bottom: 0;
  }
  section .title span::after{
    bottom: -7px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
  }

  section .button{
    margin: 16px 0;
  }
  section .button button{
    outline: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 25px;
    font-weight: 400;
    background: #3FA2F6;
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
  }
  section .button button:hover{
    background-color: #fff;
    color: #3FA2F6;
  }


/* About Section Styling */

.about{
    background: #F0F8FF;
    padding-top:40px;
  }
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about .about-details .left{
  width: 45%;
}
.about .left img{
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.about-details .right{
  width: 55%;
}
section  .topic{
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.about-details .right p{
  text-align: justify;
  color: #0E2431;
}

.about .text{
    text-align:center
}

/* Education CSS */
.education{
    background: #F0F8FF;
  }
  .education .content{
    margin: 0 auto;
    padding: 30px 0;
  }
  .education .text{
    width: 80%;
    text-align: center;
    margin: auto;
  }
  .education-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.education-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.education-item h3 {
  font-size: 28px;
  color: #0E2431;
  font-weight: 600;
  margin-bottom: 10px;
}

.education-item p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.relevant-coursework {
  background-color: #f0f8ff;
  padding: 25px;
  margin-top: 30px;
  border-radius: 10px;
}

.relevant-coursework h4 {
  font-size: 22px;
  font-weight: 600;
  color: #0E2431;
  margin-bottom: 10px;
}

.course-note {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
}


.coursework-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.course-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 18px;
  flex: 1 1 calc(33.33% - 20px);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.course-item:hover {
  background-color: #0077cc;
  color: #fff;
  transform: scale(1.02);
}

.course-item h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}


.course-item h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.course-item p {
    margin: 10px 0;
}


/* Skills CSS */
  .skills .content{
    margin: 0 auto;
    padding: 30px 0;
  }
  .skills .text{
    width: 80%;
    text-align: center;
    margin: auto;
  }

  .skills-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  
  .skill-box {
    background-color: #f0f8ff;
    color: #0077cc;
    padding: 12px 20px;
    font-weight: 500;
    border: 1px solid #0077cc;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
  }
  
  .skill-box:hover {
    background-color: #0077cc;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .project-filter-note {
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
  }
  



/* Projects section styling */

.project-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.project-item {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  width: calc(33.33% - 20px);
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.project-item img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.project-item:hover img {
  transform: scale(1.03);
}

.project-item p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.skills-used {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}

.project-item a {
  display: inline-block;
  background-color: #3FA2F6;
  color: white;
  padding: 8px 14px;
  margin-top: auto;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.project-item a:hover {
  background-color: #0056b3;
}


  .projects .content{
    margin: 0 auto;
  }
  .projects .text{
    width: 80%;
    text-align: center;
    margin: auto;
  }
  .projects {
    padding-top: 0px;
  }

  /* Show All button styles */
#showAllBtn {
  margin: 2em auto;
  padding: 0.5em 2em;
  background-color: #3FA2F6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}
#showAllBtn:hover {
  background-color: #0056b3;
}


/* Contact Me CSS */

.contact{
    background: #F0F8FF;
  }
.contact .content{
  margin: 0 auto;
  padding: 30px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
}

.contact .form-container {
    margin-top: 20px;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
  }
  
  .contact form input,
  .contact form textarea,
  .contact form button {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact form button {
    background-color: #3FA2F6;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  .contact form button:hover {
    background-color: #0E2431;
  }

/* Footer CSS */
footer{
  background: #3FA2F6;
  padding: 15px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}
footer .text span a{
  font-weight: 500;
  color: #FFF;
}
footer .text span a:hover{
  text-decoration: underline;
}
/* Scroll TO Top Button CSS */
.scroll-button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #3FA2F6;
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
}


/* Modal Styles */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto;
  background-color: rgba(0,0,0,0.4); 
}


.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
}

#modalTitle {
  font-size: 20px;
  font-weight: 600;
  color: #0E2431;
  margin-bottom: 15px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

.hoverable {
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 10px;
  border-radius: 6px;
}

.hoverable:hover {
  background-color: #f0f0f0;  /* Light gray background on hover */
  color: #0077cc;             /* Or any highlight color you like */
}

.course-note {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #555;
}

.contact-info {
  margin-top: 20px;
  line-height: 2;
  font-size: 1rem;
  color: #333;
  text-align: center;         /* Center the text */

}

.contact-info i {
  margin-right: 10px;
  color: #0077cc; /* accent color */
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.experience-details {
  display: flex;
  flex-direction: column;
  gap: 20px;   
  margin-top: 20px;
}


.experience-item {
  padding: 20px;
  background-color: #f8f9fa;
  border-left: 4px solid #0077cc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.experience-item:hover {
  transform: translateY(-3px);
}

.experience-item h3 {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
}

.experience-item .role {
  font-weight: 500;
  color: #0077cc;
  margin: 5px 0;
}

.experience-item .location,
.experience-item .dates {
  color: #666;
  font-size: 0.95rem;
  margin: 3px 0;
}

.experience-item i {
  margin-right: 8px;
}

.resume-button {
  margin-top: 30px;
  text-align: center;
}

.resume-button p {
  margin-bottom: 10px;
  font-style: italic;
}

#more-experiences {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* margin-top: 20px; */
}