body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
      background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: #333;
}
/* Header Styling */
header {
      background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: #fff;
    padding: 5px; 
    text-align: center;

    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000; 
    display: flex;
    justify-content: space-between;
    align-items: center; 
}
/* Scrollbar Styling */
body::-webkit-scrollbar {
    width: 5px;
    /* Width of the scrollbar */
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Background color of the track */
    border-radius: 10px;
    /* Rounded corners for the track */
}

body::-webkit-scrollbar-thumb {
    background: #15915b;
    /* Color of the scrollbar */
    border-radius: 10px;
    /* Rounded corners for the thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Darker color when hovered */
}

.social-media-icons {
    display: flex;
    align-items: center; 
    margin-left: 10px; 
}

.social-media-icons a {
    text-decoration: none; 
    color: white; 
    font-weight: bold; 
    font-family: 'Open Sans', sans-serif; 
    font-style: italic; 
}

.social-media-icons a:hover h2 {
    animation: shake 0.5s forwards; 
}

.nav-links {
    list-style: none;
    display: flex; 
    justify-content: flex-end;
    padding: 0; 
    margin: 0;
}

.nav-links li {
    margin: 0 1rem; 
}

.nav-links a {
    color: white;
    font-weight: bold; 
    font-family: 'Open Sans', sans-serif; 
    font-style: italic; 
    text-decoration: none; 
    transition: transform 0.3s ease, color 0.3s ease; 
}

.nav-links a:hover {
    transform: scale(1.1); 
    color: darkgray; 
}

section {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 90px;
}
h1 {
    color: #0066cc;
}
p {
    line-height: 1.6;
    margin-bottom: 15px;
}



@media (max-width: 768px) {
  body {
    font-size: 14px; /* Adjust font size for better readability on smaller screens */
  }

  /* Header Styling */
  header {
    padding: 10px; /* Increase padding to prevent cramping */
    flex-direction: column; /* Stack elements vertically */
    text-align: center; /* Center-align the header content */
    border-bottom: 3px solid #00307a; /* Smaller border for a neat look */
  }

  .social-media-icons {
    margin-top: 10px; /* Add some spacing on top of social media icons */
  }

  .nav-links {
    flex-direction: column; /* Stack nav items vertically */
    margin-top: 10px; /* Space out the nav links */
  }

  .nav-links li {
    margin: 0.5rem 0; /* Reduce margin between nav items */
  }

  /* Section Styling */
  section {
    max-width: 100%; /* Allow section to take full width */
    margin-top: 120px; /* Adjust top margin to account for header */
    padding: 15px; /* Reduce padding */
  }

  h1 {
    font-size: 1.5rem; /* Slightly smaller heading for better fitting */
  }

  p {
    font-size: 0.9rem; /* Slightly smaller paragraph text */
  }

  /* Social Media Links Styling */
  .social-media-icons a {
    font-size: 0.9rem; /* Slightly smaller font for social media links */
  }
}

@media (max-width: 480px) {
  body {
    font-size: 12px; /* Adjust font size for even smaller screens */
  }

  /* Header Styling */
  header {
    padding: 8px; /* Reduce header padding on very small screens */
  }

  .nav-links {
    flex-direction: column; /* Stack nav items vertically */
    align-items: center; /* Center align nav items */
  }

  .nav-links li {
    margin: 0.5rem 0; /* Reduce margin between nav items */
  }

  /* Section Styling */
  section {
    padding: 10px; /* Further reduce padding */
  }

  h1 {
    font-size: 1.25rem; /* Slightly smaller heading for better fitting */
  }

  p {
    font-size: 0.85rem; /* Reduce font size even more */
  }

  .social-media-icons {
    margin-top: 10px; /* Space for social icons on small screens */
    justify-content: center; /* Center the icons */
  }

  .social-media-icons a {
    font-size: 0.8rem; /* Smaller font for social media links */
  }
}
