/* General Styles (Unchanged for Desktop) */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Header (Unchanged for Desktop) */
  header {
    background: #0078d7;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  header h1 {
    margin: 0;
    font-size: 2.5rem;
  }
  
  header p {
    margin: 5px 0;
    font-size: 1.2rem;
  }
  
/* Navigation Styles */
nav {
    background-color: #2c3e50; /* Dark blue background */
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  }
  
  nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Space between items */
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    color: #fff; /* White text */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 16px; /* Comfortable padding */
    border-radius: 4px; /* Rounded corners */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
  }
  
  nav ul li a:hover {
    background-color: #0078d7; /* Highlight background on hover */
    color: #fff; /* Ensure text remains visible */
  }
  
  /* Responsive Navigation for Mobile */
  @media (max-width: 768px) {
    nav ul {
      flex-direction: column; /* Stack items vertically */
      align-items: center; /* Center items horizontally */
      gap: 20px; /* Reduce gap for mobile */
    }
    nav {
        background-color: #0078d7; /* Dark blue background */
        padding: 20px 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
      }
    nav ul li a {
      width: 100%; /* Full width for mobile */
      text-align: center; /* Center text */
      padding: 10px 0; /* Adjust padding for mobile */
    }
  }  


  /* Sections (Unchanged for Desktop) */
  section {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  section h2 {
    color: #0078d7;
    border-bottom: 2px solid #0078d7;
    padding-bottom: 10px;
  }
  
  section ul {
    list-style-type: disc;
    padding-left: 20px;
  }
  
  section li {
    margin: 10px 0;
  }
  
  /* Tables (Unchanged for Desktop) */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }
  
  table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
  }
  
  table th {
    background: #0078d7;
    color: #fff;
  }
  
  /* Footer (Unchanged for Desktop) */
  footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
  }
  
  footer p {
    margin: 0;
  }
  
  /* References Section (Unchanged for Desktop) */
  #references .reference-container {
    display: flex;
    gap: 20px;
  }
  
  #references .reference {
    flex: 1 1 calc(50% - 20px);
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  #references h3 {
    margin: 0 0 10px 0;
    color: #333;
  }
  
  #references p {
    margin: 5px 0;
    color: #555;
  }
  
  #references a {
    color: #0078d7;
    text-decoration: none;
  }
  
  #references a:hover {
    text-decoration: underline;
  }
  
  /* Mobile-Specific Styles */
  @media (max-width: 768px) {
    /* Make table scrollable on mobile */
    table {
      display: block;
      overflow-x: auto; /* Enable horizontal scrolling */
      white-space: nowrap; /* Prevent text wrapping in table cells */
    }


    .reference-container{
        display: flex;
        flex-direction: column;
    }
  
    /* Ensure table headers and cells don't break layout */
    table th, table td {
      min-width: 150px; /* Minimum width for table cells */
    }
  }

  /* Profile Picture Styles */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between image and text */
  }
  
  .profile-pic {
    width: 300px; /* Adjust size as needed */
    height: 350px;
    border-radius: 10px; /* Circular profile picture */
    border: 4px solid #fff; /* White border around the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  }
  
  .profile-info {
    flex: 1;
  }
  
  .profile-info h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #fff;
  }
  
  .profile-info p {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #fff;
  }
  
  /* Responsive Adjustments for Profile Picture */
  @media (max-width: 768px) {
    .profile-header {
      flex-direction: column; /* Stack image and text vertically on mobile */
      text-align: center;
    }
  
    .profile-pic {
      width: 200px; /* Smaller size for mobile */
      height: 240px;
    }
  
    .profile-info h1 {
      font-size: 2rem; /* Smaller font size for mobile */
    }
  
    .profile-info p {
      font-size: 1rem; /* Smaller font size for mobile */
    }
  }
  
  /* Certifications Section Styles */
#certifications {
    padding: 20px;
    background-color: #ffffff; /* White background for contrast */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin: 20px 0;
    text-align: center; /* Center align content */
  }
  
  #certifications h2 {
    color: #2c3e50; /* Dark blue for heading */
    margin-bottom: 20px;
    font-size: 1.8rem;
  }
  
  /* Certification Images Container */
  .certification-images {
    display: flex;
    gap: 30px; /* Space between certification items */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Wrap items to the next line if needed */
  }
  
  /* Individual Certification Item */
  .certification-item {
    background-color: #f9f9f9; /* Light background for each item */
    padding: 15px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center; /* Center align text */
    max-width: 300px; /* Limit maximum width */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
  }
  
  .certification-item:hover {
    transform: translateY(-5px); /* Lift item on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
  }
  
  .certification-item img {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for images */
    margin-bottom: 10px; /* Space between image and text */
  }
  
  .certification-item p {
    font-size: 1rem;
    color: #333; /* Dark text for readability */
    margin: 0; /* Remove default margin */
  }
  
  /* Responsive Design for Mobile */
  @media (max-width: 768px) {
    .certification-images {
      flex-direction: column; /* Stack items vertically on mobile */
      gap: 20px; /* Reduce gap for mobile */
    }
  
    .certification-item {
      width: 90%; /* Full width for mobile */
    }
  }

  /* Achievements Section Styles */
#achievements {
    padding: 20px;
    background-color: #ffffff; /* White background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin: 20px 0;
  }
  
  #achievements h2 {
    color: #2c3e50; /* Dark blue for heading */
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center; /* Center align heading */
  }
  
  /* Achievements List */
  .achievements-list {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
  }
  
  .achievements-list li {
    background-color: #f9f9f9; /* Light background for each item */
    padding: 15px;
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 15px; /* Space between items */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
  }
  
  .achievements-list li:hover {
    transform: translateY(-5px); /* Lift item on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
  }
  
  .achievements-list li strong {
    color: #0078d7; /* Blue for emphasis */
    font-size: 1.1rem;
    display: block; /* Ensure strong text is on a new line */
    margin-bottom: 5px; /* Space between strong text and paragraph */
  }
  
  .achievements-list li p {
    font-size: 1rem;
    color: #333; /* Dark text for readability */
    margin: 0; /* Remove default margin */
  }
  
  /* Responsive Design for Mobile */
  @media (max-width: 768px) {
    #achievements h2 {
      font-size: 1.5rem; /* Smaller heading for mobile */
    }
  
    .achievements-list li {
      padding: 10px; /* Reduce padding for mobile */
    }
  
    .achievements-list li strong {
      font-size: 1rem; /* Smaller strong text for mobile */
    }
  
    .achievements-list li p {
      font-size: 0.9rem; /* Smaller paragraph text for mobile */
    }
  }