/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: scroll;
}

/* Sticky Navigation Menu */
header {
  position: sticky;
  top: 0;
  background-color: #333;
  padding: 5px 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-shadow: 0 4px 2px -2px gray;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  padding: 10px;
  margin-left: 10px;
  text-align: left;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 200;
}

.hamburger i {
  font-size: 30px;
  color: white;
}

header .nav-links {
  display: flex;
  justify-content: center;
  margin-right: 20px;
}

header .nav-links li {
  list-style: none;
  margin: 0 2px;
}

header .nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 4px 10px;
  transition: background-color 0.3s ease;
}

header .nav-links a:hover {
  background-color: #555;
}

/* Active menu item style */
header .nav-links a.active {
  background-color: #f4a261;
  color: #fff;
}

/* Section Styling */
section {
  padding: 60px 20px;
  text-align: center;
  min-height: 100vh; 
  scroll-snap-align: start;
  background-color: #f4f4f9;
  border-bottom: 2px solid #ddd;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Section Headings */
section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 600;
  margin-top: 60px;
}

section p {
  font-size: 18px;
  color: #555;
}

/* Mobile Menu */
.nav-links.active {
  display: block;
}

/* Hero Section Styling */
.hero {
  position: relative;
  text-align: center;
  background-color: #2d3436;
  color: white;
  padding: 80px 20px;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.hero .background-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero .profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px auto;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
}

.hero h2 {
  font-size: 24px;
  margin-top: 20px;
}

.hero .buttons {
  margin-top: 40px;
}

.hero .btn {
  background-color: #f4a261;
  color: white;
  padding: 10px 20px;
  margin: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.hero .btn:hover {
  background-color: #e76f51;
}

/* Social Icons Styling */
.hero .social-icons {
  position: relative;
  top: 80px;
}

.hero .social-icons a {
  color: white;
  text-decoration: none;
  margin: 0 4px;
  font-size: 24px;
  padding: 10px 15px;
  background-color: #333;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .social-icons a:hover {
  background-color: #f4a261;
  transform: scale(1.1);
}

/* Container for Projects, Education*/
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skills-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
  padding: 80px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.skills-column {
  width: 48%;
}

.skill {
  margin-bottom: 20px;
  text-align: left;
}

label {
  font-size: 18px;
  color: #333;
  display: block;
  margin-bottom: 5px;
  text-align: left;
}

.progress-bar-container {
  position: relative;
  width: 100%;
  height: 5px;
  background-color: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #f4a261;
  border-radius: 10px;
  width: 0%;
  transition: width 2s ease;
}

.percentage {
  position: absolute;
  top: -20px;
  right: 10px;
  font-weight: bold;
  font-size: 14px;
  color: black;
}

/* Responsive Design for Skills */
@media (max-width: 768px) {
  .skills-column {
    width: 100%;
  }
}

/* About Section Styling */
#about {
  background-color: #f7f7f7;
  padding: 40px 20px;
  text-align: center;
  border-top: 4px solid #00aaff;
}

#about h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  text-align: left;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.intro {
  font-size: 20px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* About Content Layout */
.about-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.about-left,
.about-right {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about-left {
  text-align: justify;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}
.about-left p {
  margin-bottom: 20px;
}
.about-right {
  text-align: left;
  font-size: 18px;
  color: #333;
}

.about-right .key-stats ul {
  list-style-type: none;
  padding-left: 0;
}

.key-stats li {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.key-stats li::before {
  content: '➤';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  color: #f4a261;
}

.key-stats h3 {
  font-size: 22px;
  font-weight: bold;
  color: #00aaff;
  margin-bottom: 15px;
}

/* Mission Statement Section */
.about-mission {
  margin-top: 40px;
  text-align: left;
}

.about-mission h3 {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.about-mission p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  font-style: italic;
}

/* About Container Styling */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 60px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #ddd;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 20px;
  }

  .about-container {
    padding: 20px 20px;
  }

  #about h2 {
    font-size: 28px;
  }

  .intro {
    font-size: 18px;
  }

  .about-left,
  .about-right {
    max-width: 100%;
  }

  /* Key Stats Section */
  .key-stats {
    margin-bottom: 20px;
  }

  .about-mission p {
    font-size: 16px;
  }
}

/* Experience Section Container */
.experience-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  box-sizing: border-box;
}

/* Individual Experience Items */
.experience-item {
  margin-bottom: 20px;
  padding-left: 20px;
  text-align: left;
}

/* Job Titles */
.experience-item h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 5px;
  text-align: left;
}

/* Company and Date Information */
.experience-item h4 {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
  text-align: left;
}

/* Summary (initial visible content) */
.experience-summary p {
  font-size: 16px;
  color: #333;
  text-align: left;
}

/* Bullet Points */
.experience-item ul {
  list-style-type: disc;
  padding-left: 40px;
  font-size: 16px;
  color: #666;
  text-align: left;
}

.experience-item ul li {
  margin-bottom: 8px;
}

.experience-details {
  display: none;
  margin-top: 10px;
  padding-left: 20px;
}

/* Button styling */
.see-more-btn {
  background-color: #f4a261;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.see-more-btn:hover {
  background-color: #e76f51;
}

/* Footer Styling */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: auto;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  header .nav-links {
    display: none;
    flex-direction: column;
    text-align: right;
    width: 100%;
    padding: 20px;
    background-color: #333;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  header .nav-links li {
    margin: 10px 0;
  }

  header .nav-links.active {
    display: flex;
  }

  header .nav-links a {
    font-size: 16px;
    padding: 10px;
  }

  .hamburger {
    display: block;
  }

  section h2 {
    font-size: 28px;
  }

  section p {
    font-size: 16px;
  }

  .skills-container {
    flex-direction: column;
    align-items: center;
  }

  .skills-column {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero .profile-pic {
    width: 120px;
    height: 120px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero h2 {
    font-size: 18px;
  }

  section h2 {
    font-size: 24px;
  }

  section p {
    font-size: 14px;
  }
}

/* General Education Container Styling */
.education-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.education-left,
.education-right {
  width: 48%;
  flex-grow: 1;
}

/* Education Item */
.education-item {
  background-color: #fff;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: all 0.3s ease-in-out;
}

/* Add margin to the formal education items for spacing */
.education-left .education-item {
  margin-bottom: 20px;
}

.education-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Education Icon */
.education-icon {
  font-size: 40px;
  color: #f4a261;
  margin-bottom: 10px;
}

/* Education Item Titles */
.education-item h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

/* Degree and Year */
.degree {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.year {
  font-size: 16px;
  color: #777;
}

/* Training and Certifications Lists */
.trainings-list {
  list-style: none;
  padding-left: 0;
  font-size: 18px;
  color: #555;
  text-align: left;
}

.trainings-list li {
  margin-bottom: 8px;
}

.trainings-list a {
  text-decoration: none;
  color: #f4a261;
}

.trainings-list a:hover {
  text-decoration: underline;
  color: #e76f51;
}

/* Certifications Box Styling */
.education-right .certifications {
  background-color: #f9f9f9;
  margin-bottom: 20px;
}

/* Trainings Box Styling */
.education-right .trainings {
  background-color: #f2f2f2;
}

/* Responsive Design for Education */
@media (max-width: 768px) {
  .education-left,
  .education-right {
    width: 100%;
  }
}

/* Training Section Styling */
.training-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#training h2 {
  font-size: 32px;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.training-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.training-item {
  flex: 1 1 calc(48% - 10px);
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.training-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.training-item h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 5px;
}

.training-item h4 {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.training-item ul {
  list-style: none;
  padding-left: 0;
}

.training-item ul li {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.training-item ul li::before {
  content: '➤';
  position: absolute;
  left: 0;
  color: #f4a261;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .training-item {
    flex: 1 1 100%;
  }
}

/* Volunteering Section Styling */
.volunteering-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#volunteering h2 {
  font-size: 32px;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.volunteering-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.volunteering-item {
  flex: 1 1 calc(48% - 10px);
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.volunteering-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.volunteering-item h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 5px;
}

.volunteering-item h4 {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.volunteering-dates {
  font-size: 16px;
  color: #999;
  margin-bottom: 15px;
  display: block;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .volunteering-item {
    flex: 1 1 100%;
  }
}
