body{
    background-image: url();
    background-size: cover;
  }
  
  .navbar{
    background-color: #1abc9c;
    font-family:"Calibri", sans-serif;
  }
   /* nav and  */
   .nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    text-transform: none !important; /* <-- Force karega normal text */
    color: #000;
    transition: color 0.3s ease;
  }
  
  
  .nav-link:hover {
    color: #ffff;
  }
  
  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffff;
    transition: width 0.3s ease;
    margin: 5px auto 0; /* Add spacing for the line */
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  /* CSS for active button */
  .active {
      background-color: darkgray; 
      color: black;
  }
  
  .nav-button {
      padding: 15px; /* Add padding for button appearance */
      border-radius: 5px; /* Rounded corners */
  }
  
  .nav1{
    list-style-type: none;
  }
  /* footer */
  
  /* Footer Styling */
  footer {
    background-color: #1abc9c; /* Dark background */
    color: #000000;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
    position: relative;
    overflow: hidden;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .footer-logo {
    flex:500px; /* Set a fixed width for the logo */
    text-align: left;
  }
  
  
  /* Logo and slogan animation */
  .footer-logo {
    text-align: left;
    animation: slideInFromLeft 3s ease-out; /* Animation for logo */
  }
  
  .footer-logo h2 {
    font-size: 24px;
    margin: 0;
  }
  
  .footer-logo p {
    font-size: 14px;
    margin-top: 5px;
    color: black;
  }
  
  .footer-links {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 40px;
  }
  
  .footer-column {
    margin: 0 20px;
    animation: fadeIn 2.5s ease-in; /* Animation for footer columns */
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
  
  .footer-column ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease; /* Smooth hover transition */
  }
  
  .footer-column ul li a:hover {
    color: #ffff;
    text-decoration: underline;
  }
  
  /* Social Media Icons with hover animation */
  .footer-social {
    text-align: center;
    margin-bottom: 20px;
    animation: bounceIn 3s ease-out; /* Animation for social icons */
  }
  
  .footer-social ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  
  .footer-social ul li {
    margin: 0 10px;
  }
  
  .footer-social ul li a {
    color: white;
    font-size: 30px;
    text-decoration: none;
    transition: transform 0.3s ease; /* Transition for hover effect */
  }
  
  .footer-social ul li a:hover {
    color: #000000;
    transform: scale(1.2); /* Enlarge icons on hover */
  }
  
  /* Bottom Copyright Section */
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom p {
    font-size: 14px;
    color: #000000;
  }
  
  /* Animation Keyframes */
  @keyframes slideInFromLeft {
    0% {
      opacity: 0;
      transform: translateX(-100%);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes bounceIn {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    60% {
      transform: scale(1.2);
      opacity: 1;
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* Responsive Design */
  
  /* For screens less than or equal to 768px */
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-links {
      flex-direction: column;
      margin-left: 0;
    }
  
    .footer-column {
      margin-bottom: 20px;
      text-align: center;
    }
  
    .footer-logo {
      text-align: center;
      margin-bottom: 20px;
    }
  }
  
  /* For screens less than or equal to 480px */
  @media (max-width: 480px) {
    .footer-logo h2 {
      font-size: 20px;
    }
  
    .footer-column ul li a {
      font-size: 12px;
    }
  
    .footer-social ul {
      flex-direction: column;
    }
  
    .footer-social ul li {
      margin-bottom: 10px;
    }
  }
   /* nav and  */
   .nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    text-transform: uppercase;
    color: #000;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: #ffff;
  }
  
  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffff;
    transition: width 0.3s ease;
    margin: 5px auto 0; /* Add spacing for the line */
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  /* CSS for active button */
  .active {
      background-color: darkgray; 
      color: black;
  }
  
  .nav-button {
      padding: 15px; /* Add padding for button appearance */
      border-radius: 5px; /* Rounded corners */
  }
  
  .nav1{
    list-style-type: none;
  }
  
  /* Style for the Subtitles Toggle Button */
  .sidebar-toggle-btn {
    background-color: #007bff; /* Primary button color */
    color: white; /* Text color */
    padding: 10px 20px; /* Button padding */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    display: inline-block; /* Keeps button inline */
    width: 100%; /* Full width for mobile */
    text-align: center; /* Center text */
    margin: auto;
  }
  
  .sidebar-toggle-btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift effect */
  }
  
  .sidebar-toggle-btn:active {
    background-color: #004085; /* Even darker shade on active */
    transform: translateY(1px); /* Button press-down effect */
  }
  
  /* Show button with a block layout on smaller screens for better visibility */
  @media (max-width: 767px) {
    .sidebar-toggle-btn {
      width: 90%; /* Full width on mobile */
      font-size: 14px; /* Slightly smaller font on mobile */
      padding: 8px 16px; /* Adjust padding for smaller screens */
    }
  }
  
  
  /* Sidebar Styling */
  .sidebar {
    background: #f8f9fa;
    max-height: 900px; /* Default max height for larger screens */
    overflow-y: auto;
    padding-right: 25px;
  }
  
  /* Custom Scrollbar for Sidebar */
  .sidebar::-webkit-scrollbar {
    width: 12px;
  }
  
  .sidebar::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 4px;
  }
  
  .sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* Mobile View - Adjust Sidebar Height */
  @media (max-width: 767px) {
    .sidebar {
      max-height: 300px; /* Reduced max height for mobile view */
    }
  }
  
   /* Scroll to top button style */
  #scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: none; /* Initially hidden */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10%;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  #scrollToTopBtn i {
    font-size: 20px;
    transition: transform 0.3s ease; /* Smooth icon animation */
  }
  
  #scrollToTopBtn:hover {
    background-color: #0056b3;
    transform: translateY(-5px); /* Lift on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
  }
  
  #scrollToTopBtn:active {
    transform: translateY(-2px); /* Slight press-down effect */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Softer shadow on click */
  }
  
  #scrollToTopBtn i:hover {
    transform: rotate(360deg); /* Smooth 360-degree rotation on hover */
  }
  
  /* CSS to handle sidebar visibility */
  @media (min-width: 768px) {
    /* Hide toggle button on larger screens */
    .sidebar-toggle-btn {
      display: none;
    }
    
    /* Always show sidebar on larger screens */
    #sidebarMenu {
      display: block !important;
    }
  }
  
  @media (max-width: 767px) {
    /* Hide sidebar by default on small screens */
    #sidebarMenu {
      display: none !important;
    }
    
    /* Show sidebar when expanded on small screens */
    #sidebarMenu.show {
      display: block !important;
    }
  }
  
  /* dropper button */
  .dropper {
    padding: 15px; /* Add padding for button appearance */
    border-radius: 5px; /* Rounded corners */
  }
  
  /* Dropdown Button Styling */
  .dropdown {
  position: relative;
  }
  
  /* Hide dropdown menu initially */
  .dropdown-menu {
  display: none;
  position: relative;
  background-color: #f8f9fa;
  padding: 10px 0;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-top: 5px;
  }
  
  /* Show dropdown when the .show class is applied */
  .dropdown-menu.show {
  display: block;
  }
  
  /* Button styles within the dropdown */
  .dropdown-menu li .dropper {
  background-color: white;
  color: #000;
  padding: 5px;
  text-align: left;
  border: 1px solid #ddd;
  margin-bottom: 5px;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .dropdown-menu li .dropper:hover {
  background-color: #007bff;
  color: #fff;
  }


.exam-section {
  background: #ffffff;
  border: 1px solid #e3e6f0;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2e59d9;
  border-bottom: 2px solid #4e73df;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.link-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.link-list li {
  margin-bottom: 12px;
}

.link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f8f9fc;
  color: #4e73df;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.link-list a i {
  font-size: 18px;
  color: #2e59d9;
}

.link-list a:hover {
  background-color: #e2e6ea;
  transform: translateX(4px);
  color: #224abe;
}
