/* Reset some basic elements */
body, h1, p, ul {
    margin: 0;
    padding: 0;
  }
  
  /* Apply a basic color scheme */
  body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a; /* dark background */
    color: #fff; /* white text */
  }
  
  /* Style the navigation */
  nav {
    background-color: #2a5934; /* dark green background */
  }
  
  nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 1em 0;
  }
  
  nav a {
    color: #fff; /* white links */
    text-decoration: none;
    font-weight: bold;
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1em;
  }
  
  .logo {
    height: 100px; /* Adjust the size as necessary */
    margin-right: 1em;
  }
  
  .nav-links {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 1em 0;
  }
  
  .nav-links li a {
    color: #fff; /* white links */
    text-decoration: none;
    font-weight: bold;
    font-size: larger;
    padding: 0 1em;
  }

  p ul {
    line-height: 1.6; /* This is a commonly used line height for readability */
  }
  
  /* Style the about section */
  #about {
    color: #e0e1dd; /* light gray text */
    padding: 2em;
    text-align: center;
  }
  
  .container {
    background-color: #2a5934; /* kale green background */
    margin: 2em auto;
    padding: 2em;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 8px 16px rgb(0, 0, 0); /* Soft shadow */
    color: #e0e1dd; /* light gray text */
    max-width: 80%;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and shadow */
  }
  
  .container:hover {
    transform: scale(1.09); /* Slightly scale up the container */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); /* Enhance shadow to create depth */
  }

  .section-header {
    border-bottom: 2px solid #e0e1dd; /* Light gray line */
    padding-bottom: 1em;
    margin-bottom: 1em;
  }
  
  .section-header h2 {
    color: #e0e1dd; /* light gray text */
    text-transform: uppercase;
  }
  
  
  #work .section-content {
    /* Custom styles for work/portfolio items */
    color: #e0e1dd; /* light gray text */
    padding: 2em;
    text-align: center;
  }
  
  .carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .carousel-images {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-images img {
    max-width: 200%;
    display: block;
    width: 100%;
  }
  
  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
  }
  
  .carousel-button.prev {
    left: 10px;
  }
  
  .carousel-button.next {
    right: 10px;
  }
  
  #skills .section-content {
    /* Custom styles for blog posts */
    color: #e0e1dd; /* light gray text */
    padding: 2em;
    text-align: center;
  }

  #blog .section-content {
    /* Custom styles for blog posts */
    color: #e0e1dd; /* light gray text */
    padding: 2em;
    text-align: center;
  }
  
  #contact .section-content {
    /* Custom styles for contact form or information */
    color: #e0e1dd; /* light gray text */
    padding: 2em;
    text-align: center;
  }

/* Include all the previous CSS rules and then add or update the following */

/* Main content styling */
.main-content {
    display: flex;
    justify-content: space-between;
    margin: 2em auto;
    max-width: 1200px; /* Adjust as needed */
  }
  
  /* Side containers styling */
  .side-container {
    width: calc(33.333% - 1em); /* Adjust the width as needed */
  }
  
  .left {
    margin-right: 1em; /* Space between the left and center containers */
    margin-left: 0.5em;
  }
  
  .right {
    margin-left: 1em; /* Space between the center and right containers */
    margin-right: 0.5em;
  }
  
  /* Center container styling */
  .center-container {
    width: calc(66.666% - 1em); /* Adjust the width as needed */
    display: flex;
    flex-direction: column;
    justify-content: center; /* This centers the 'About Me' vertically */
  }
  
  /* Responsive design */
 /* Other styles remain the same */

/* Responsive design */
@media (max-width: 768px) {
    .main-content {
      flex-direction: column;
    }
    
    .side-container,
    .center-container {
      width: 100%;
      margin-bottom: 1em; /* Add space between stacked sections */
    }
  
    /* Set the order of each section */
    .left { /* Work section */
      order: 2;
    }
    
    .center-container { /* About Me section */
      order: 1; /* This will make it appear first */
    }
  
    .right { /* Blog and Contact sections */
      order: 3;
      margin-left: 0em;
    }
  }
  
  /* Continue with the rest of your styles */
  
  
  /* Continue with the rest of your styles */
  

  .skills {
    display: flex;
    justify-content: space-around;
    margin-top: 2em;
  }
  
  /* Add more styles for additional sections and responsiveness */
  
  /* Style the footer */
  footer {
    background-color: #2a5934; /* Matching the dark green background */
    color: #e0e1dd; /* Light gray text to match the container text color */
    text-align: center;
    padding: 20px 0; /* Add padding for spacing */
    font-size: 0.8em; /* Adjust font size as needed */
    margin-top: 2em; /* Ensures there's space between the content and footer */
  }
  
  footer p, footer a {
    display: block; /* Or inline-block, depending on desired layout */
    margin-bottom: 0.5em; /* Adds space between text elements */
    color: inherit; /* Ensures links are the same color as the footer text */
    text-decoration: none; /* Removes underline from links */
  }
  
  footer a:hover {
    color: #a4de02; /* Highlight color when hovering over links */
  }
  
  
  /* Hover effect for nav links */
  nav a:hover {
    color: #a4de02; /* highlight color */
  }
  
  #page-banner {
    position: relative;
    text-align: center;
    color: #fff; /* Adjust the color to suit your design */
  }
  
  .banner-image {
    width: 100%;
    height: auto; /* Adjust the height if you want a specific banner height */
  }
  
  .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Additional styles to ensure the text is readable over the banner image */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better readability */
    padding: 20px;
    border-radius: 8px;
  }
  
  .banner-content h1 {
    font-size: 2.5em; /* Adjust size as needed */
    margin-bottom: 0.5em;
  }
  
  .banner-content p {
    font-size: 1.2em; /* Adjust size as needed */
    line-height: 1.4;
  }

  .projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
}

.project-carousel-container {
  margin-bottom: 2em; /* Adjust as necessary */
}

.project-carousel {
    position: relative;
    width: 100%; /* Adjust width as necessary */
    max-width: 300px; /* Adjust max-width as necessary */
    margin: auto;
    overflow: hidden;
}

.carousel-container {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  border-radius: 4%;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* Add more styles here */
}

.project-details {
  background-color: #1f4b37; /* Dark green background to match the theme */
  color: #e0e1dd; /* Light gray text for readability */
  padding: 1em;
  border-radius: 8px; /* Optional: for rounded corners */
  text-align: center; /* Center the text */
  width: 300px; /* Match the width of the carousel */
  margin: auto; /* Center the box */
}

.project-details h3 {
  margin-bottom: 0.5em; /* Space below the title */
}

.project-details p {
  margin-bottom: 1em; /* Space between the description and links */
}

.project-details a {
  display: inline-block; /* To allow for padding and margin */
  margin-right: 0.5em; /* Space between links */
  color: #a4de02; /* Bright green color for links */
  text-decoration: none; /* No underline */
  padding: 0.5em 1em; /* Padding for clickable area */
  border: 1px solid #e0e1dd; /* Light gray border */
  border-radius: 4px; /* Rounded corners for links */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.project-details a:hover {
  background-color: #e0e1dd; /* Light gray background on hover */
  color: #1f4b37; /* Dark green text on hover */
}
/* Update your carousel and carousel-button CSS to apply here if necessary */

.skills-page {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
}

.skills-description,
.skills-logos {
  flex-basis: 48%; /* Adjust the width as needed */
  background-color: #2a5934; /* Dark green background */
  color: #e0e1dd; /* Light gray text */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.skills-description h2,
.skills-logos h2 {
  margin-bottom: 1em;
}

.skills-description ul {
  list-style-type: none;
  padding: 0;
}

.skills-description li {
  margin-bottom: 0.5em;
}

.skills-logos img {
  width: 100px; /* Adjust size as needed */
  margin: 10px;
  display: inline-block;
}

@media (max-width: 768px) {
  .skills-page {
    flex-direction: column;
  }

  .skills-description,
  .skills-logos {
    flex-basis: auto;
    width: 100%;
    margin-bottom: 20px;
  }
}
.skill-container {
  background-color: #1f4b37; /* Slightly lighter or darker than the main container for contrast */
  margin-bottom: 1em; /* Space between each skill container */
  padding: 1em;
  border-radius: 4px; /* Optional: for rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Optional: for a subtle shadow effect */
}

.skill-container h3 {
  color: #a4de02; /* Bright green color for subheadings */
  margin-bottom: 0.5em;
}

.skill-container p {
  color: #e0e1dd; /* Light gray text for descriptions */
  font-size: 0.9em; /* Smaller font size for descriptions */
  line-height: 1.4;
}
.contact-container {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  gap: 20px;
  color: #e0e1dd; /* Light gray text */
}

.contact-form-section,
.contact-info-section {
  background-color: #2a5934; /* Dark green background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.contact-form-section h2,
.contact-info-section h2 {
  margin-bottom: 1em;
}

#contact-form {
  display: flex;
  flex-direction: column;
}

#contact-form label {
  margin-bottom: 0.5em;
}

#contact-form input,
#contact-form textarea {
  margin-bottom: 1em;
  padding: 0.5em;
  border: none;
  border-radius: 4px;
  background-color: #1f4b37; /* Slightly darker green */
  color: inherit;
}

#contact-form button {
  padding: 0.5em;
  border: none;
  border-radius: 4px;
  background-color: #a4de02; /* Highlight color */
  color: #1a1a1a; /* Dark text */
  cursor: pointer;
  transition: background-color 0.3s;
}

#contact-form button:hover {
  background-color: #e0e1dd; /* Light gray background on hover */
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-section,
  .contact-info-section {
    width: 100%;
    margin-bottom: 20px;
  }
}
