@import url();
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pacifico';
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #6F4E37;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar .menu li a {
  text-decoration: none;
  color: #EADDCA;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar .menu li a:hover {
  color: #F3EAD8;
}

/* Hero Section */
.hero {
  min-height: 100vh; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background: #EADDCA;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #6F4E37;
}

.hero-content p {
  margin: 1rem 0;
  color: #4B3022;
}

html {
  scroll-behavior: smooth;
}

.hero-content .btn {
  background: #6F4E37;
  color: #EADDCA;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero-content .btn:hover {
  background: #4B3022;
}

.hero-image img {
  width: 250px;
  border-radius: 50%;
}

/* About Section */
.about {
  color: #F3EAD8;
  padding: 2rem;
  background: #6F4E37;
  padding: 4rem;
  height: 600px;
  
}

.about h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.experiences {
  background-color: #EADDCA; /* Light background color */
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto; /* Center the section */
  border-radius: 8px; /* Rounded corners */
}

.experiences h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #4B3022;
  margin-bottom: 1.5rem;
}

.timeline {
  position: relative;
  padding: 2rem 0;
  margin-left: 20px;
}

.timeline-item {
  background-color: #6F4E37;
  border: 1px solid #ddd;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 20px;
  width: 12px;
  height: 12px;
  background-color: #4B3022; /* Custom bullet point color */
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff; /* Creates a ring around the dot */
}

.timeline-item h3 {
  font-size: 1.8rem;
  color: #EADDCA;
  margin-bottom: 0.5rem;
}

.timeline-item .date {
  font-size: 1rem;
  color: #EADDCA;
  margin-bottom: 1rem;
  text-align: center; /* Centers the date horizontally */
}

.timeline-item p {
  font-size: 1rem;
  color: #EADDCA;
  line-height: 1.5;
  text-align: center; /* Ensures the paragraph text is centered */
}


@media (min-width: 768px) {
  .experiences {
    padding: 4rem 3rem; /* Adjust padding for larger screens */
  }

  .timeline {
    padding-left: 40px; /* Add extra padding for larger screens */
  }

  .timeline-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .timeline-item p {
    width: 60%;
  }

  .timeline-item .date {
    width: 30%;
    text-align: right;
  }
}
/* Skills Section */
.skills {
  padding: 2rem;
  background: #D8C2A2;
  color: #4B3022;
  margin-bottom: 0;
}

.skills ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.skills li {
  background: #EADDCA;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.skills h2 {
  margin-top: -10px; /* Adjust the value to move the text up */
}

/* Section Titles */
section {
  padding-top: 6rem; /* Adjust based on your navbar height */
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding: 2rem;
  background: #5e422e; 
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  width: 90%;
  max-width: 600px;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  color: #F3EAD8; /* Text color for header */
  margin-bottom: 1.5rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact form label {
  font-size: 1rem;
  color: #EADDCA;
}

.contact form input,
.contact form textarea {
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #F3EAD8; /* Lighter border for input fields */
  background: #FFF; /* White background for form inputs */
  color: #4B3022; /* Darker text for readability */
  font-size: 1rem;
}

.contact form input:focus,
.contact form textarea:focus {
  border-color: #4B3022; /* Darker border on focus */
  outline: none;
}

.contact .btn {
  background: #F3EAD8; /* Lighter button background */
  color: #6F4E37; /* Dark text for the button */
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1.1rem;
  text-align: center;
  transition: background 0.3s ease-in-out, transform 0.2s ease;
}

.contact .btn:hover {
  background: #F3EAD8;
  color: #4B3022;
  transform: scale(1.05); /* Slight scaling effect on hover */
}


/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #6F4E37;
  color: #EADDCA;
}

footer .social-links {
  margin-top: 1rem;
}

footer .social-links a {
  margin: 0 0.5rem;
  color: #EADDCA;
  font-size: 1.5rem;
  transition: color 0.3s;
}

footer .social-links a:hover {
  color: #F3EAD8;
}
/* Feedback Message */
.feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 5px;
  font-size: 1rem;
  text-align: center;
  color: #F3EAD8;
}

.feedback.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.feedback.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}
.hamburger {
  display: none; /* Hidden by default */
  font-size: 2.5rem; /* Change the size */
  color: #F3EAD8; /* Set a new color */
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.hamburger:hover {
  color: #6F4E37; /* Change color on hover */
}

/* mobile styling */
@media screen and (max-width: 768px) {
  /* Navbar adjustments for mobile */
  .navbar .menu {
    display: none; /* Hide the menu by default */
    flex-direction: column;
    gap: 1rem;
    background: #6F4E37;
    width: 100%;
    padding: 1rem;
    position: absolute;
    top: 60px; /* Adjust top value to fit below the navbar */
    left: 0;
    z-index: 100;
    list-style: none;
  }

  .navbar.active .menu {
    display: flex; /* Show the menu when active */
    flex-direction: column;  /* Stack items vertically */
    position: absolute;
    top: 60px;  /* Adjust based on navbar height */
    left: 0;
    right: 0;
    background-color: #6F4E37; /* Same as navbar */
    padding: 1rem;
    z-index: 999; /* Ensure it appears on top */
  }

  .hamburger {
    display: block; /* Show hamburger icon on small screens */
    font-size: 2.5rem;
    color: #F3EAD8;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    z-index: 1001;
  }

  .hamburger:hover {
    color: #6F4E37; /* Change color on hover */
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 1rem; /* Adjust padding for smaller screens */
  }

  .hero-content h1 {
    font-size: 2rem; /* Adjust font size */
    text-align: center;
  }

  .hero-image img {
    width: 200px; /* Smaller image for mobile */
    margin: 1rem 0;
  }

  /* Contact Section */
  .contact {
    width: 100%;
    padding: 1.5rem; /* Adjust padding */
  }

  /* Experiences Section */
  .experiences {
    padding: 2rem 1rem; /* Adjust padding */
  }

  .timeline {
    padding: 1rem 0;
  }

  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center; /* Center content for mobile */
  }

  .timeline-item h3 {
    font-size: 1.5rem; /* Adjust font size */
  }

  .timeline-item p {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .timeline-item .date {
    font-size: 0.9rem; /* Adjust font size */
    margin-top: 0.5rem;
  }

  /* Skills Section */
  .skills ul {
    flex-direction: column; /* Stack items vertically on mobile */
    align-items: center;
  }
}
