body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column; /* Allow vertical stacking of elements */
  background-color: #F6F9FF;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Space between logo and hamburger */
  background-color: white;
  color: #333;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.pagetitle a{
    text-decoration:none;
    font-weight:200;
    color:#4154C8;
     list-style: none;
}
.pagetitle li { 
   list-style: none; 
}
.fas.fa-bars {
  font-size: 24px; /* Adjust icon size */
  color: #0F5484;
  margin-left:250%;
  padding: 10px;   /* Add padding around the icon */
  cursor: pointer; /* Make it look clickable */
}


.image {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow for depth */
    border-radius: 5px;      
    width: 100%;                   /* Makes the image div full width */
}

.responsive-image {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow for depth */
    border-radius: 5px;      
    width: 21.8vw;                   /* Ensures the image takes full width */
    height: 40vh;                  /* Maintains aspect ratio */
    display: block;                /* Prevents bottom whitespace */
}


.access-more {
    margin-top:0;
    width: 100%;    
}

.exam-sets {
  display: none; /* Hide exam sets by default */
}
.category{
    margin-left:15px;
}
.category-title {
    color:#2d4e89;
    width: 100%;
    font-size:14px;
  display: flex;
  justify-content: space-between; /* Align items with space between */
  align-items: center; /* Center items vertically */
  cursor: pointer; /* Change cursor to pointer on hover */
  padding: 5px 0; /* Add padding for better click area */
}

.category-title:hover{
   color:#297BB1;
}
.category-title strong {
font-family: "Open Sans", sans-serif;
  color: #244684; /* Color for the category caption */
}

.category-title strong a {
    font-family: "Open Sans", sans-serif;
    color: #244684;
    font-weight: 600;
    padding: 1px 15px;
    margin-left: 3px;
    margin-top: -15px;
    font-size: 12px;
}

.toggle-icon {
  margin-left: 10px; /* Add margin to the left of the icon for spacing */
  transition: transform 0.3s; /* Add transition for rotation */
}
.category-title i{
        margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
    font-size:10px;
     color: #0f5484;   
}

header a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
}

header img {
  height: 30px;
  margin-right: 20px;
}


h1 {
  margin: 0;
  font-size: 1.0em;
  color: #0B92B0;
}

nav {
  flex-grow: 1; /* Allow navigation to take available space */
  display: flex; /* Use flexbox for navigation */
  justify-content: center; /* Center the navigation links */
}

.nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

.nav-list li {
  display: inline;
}

.nav-list a {
  text-decoration: none;
  color: #0F5484;
  padding: 8px 12px;
  transition: background-color 0.3s;
}

.nav-list a:hover {
  color:#FFC107;
  border-radius: 4px;
}

.sidebar {
  width: 15%; /* Sidebar takes 15% of the screen */
  background-color: white;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  position: fixed;
  top: 60px; /* Below the header */
  bottom: 0;
  overflow-y: auto; /* Enable scrolling */
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 5px; /* Adjusted margin to reduce space between links */
}

.sidebar a {
  text-decoration: none;
  color: #333;
  padding: 3px 3px; /* Reduced padding for closer links */
  display: block;
  transition: background-color 0.3s;
}
/*
.sidebar a:hover {
  background-color: #f0f0f0;
  border-radius: 4px;
}
*/
/*
.sidebar h3{
   text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #0F5484; 
  border-bottom: 2px solid #0F5484;  
  padding-bottom: 2px; 
    text-align:center;
        font-weight:800;
    font-size:16px;
   color: #123992;
}

.sidebar h3 i {
    font-size: 16px;      
 color: #B711C1; 
    vertical-align: middle;
}*/
.sidebar h4{
   display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #4154f1;
    transition: 0.3;
    background: #f6f9ff;
    padding: 10px 15px;

}
.sidebar h4 i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;      /* Change the color */
    vertical-align: middle; /* Align the icon with the text */
}

.exam-set {
    
  cursor: pointer;
  color: #4154f1;
  font-size: 0.9em; /* Smaller font size for the exam set */
  padding-left: 20px; /* Indent the exam set */
}

.exam-set a {
padding: 5px 15px;
    font-size: 12px;
    margin-left: -20px;

}

.exam-set a:hover {
     color:#4154f1;
  text-decoration: none; /* Optional: underline on hover for better UX */
}
/*
.exam-set  .selected {

        border-radius:10px;
    padding:5px 20px 5px 40px;
   background-color: #0F5484;
    color:white;
}
*/

.exam-set .toggle-icon {
    color:#012970;
  font-size: 8px;
  margin-top: -13px;
  float: right;
  margin-left: 10px;
}

.exam-set .exam-names {
   
  display: none;
  padding-left: 40px; /* Further indent the exam names */
  font-size: 0.9em; /* Same font size as exam set */
}

.exam-set.expanded .exam-names {
  display: block;
}

.exam-set.expanded .toggle-icon {
  transform: rotate(180deg);
}

.exam-names a {
    padding: 10px 15px;
    color: #012970;
    font-size: 12px;
    margin-left: -50px;
}

.exam-names strong {
    margin-left: -7px;
  display: flex;
    align-items: center;
    justify-content: space-between;
    /* width: 100%; */
    font-size: 12px;
   /* padding: 5px 10px 5px 5px;*/
    /* background-color: #09ACBE; */
    color: #09ACBE;
   /* line-height: 2.5;*/
}



/*
.exam-names li {
  cursor: pointer;

  background-color: transparent;
  transition: background-color 0.3s ease;
}

.exam-names li:hover {
     background-color: #4154f1;
}
.exam-names li.selected {
  background-color: #4154f1; 
  color: white;
}

.exam-names li.selected a {
  color: white; 
}
*/
main {
  width: 82%; /* Main content takes 82% of the screen */
  margin-left: 16%; /* Space for sidebar */
  margin-top: 60px; /* Account for the fixed header */
  padding: 5px;
  flex-grow: 1; /* Allow main section to grow */
 }
main1 {
  width: 99%; /* Main content takes 82% of the screen */
  margin-top: 60px; /* Account for the fixed header */
  padding: 5px;
  flex-grow: 1; /* Allow main section to grow */
 }
main li {
  list-style: none;
}

  .exam-link {
        color: #244684; /* Default color for non-current exam sets */
        text-decoration: none;
    }
    .exam-link.current {
        color: white; /* Default color for the current exam set */
        background-color: #09ACBE;
    }
    .exam-link:hover {
        color: #FF5733; /* Change this to your desired hover color */
    }
.subheader {
  background: radial-gradient(circle at 57.15% 51.07%, #00aaff 0%, #51C2D2 30%, #D8E7FF 60%, #E1F3FF 80%, #E4D7FF 90%, #005b96 100%);
  padding: 5px;
  margin-top: 5px; /* Start below the fixed header */
  text-align: center; /* Center the text */
  font-size: 1.2em; /* Larger font size for visibility */
  color: #fff; /* Text color for better contrast */
  width: 100%; /* Full width */
  position: relative; /* Relative positioning for stacking */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Slight shadow */
}

.hamburger {
  display: flex; /* Visible on all devices */
  align-items: center;
  cursor: pointer;
  margin-left: 20px;
}

.dots-menu {
  display: none; /* Initially hidden, only shown on mobile */
  font-size: 24px;
  margin-left: auto; /* Align to the right */
  margin-right: 40px;
  cursor: pointer;
}

.ads1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
   width: 22%;
  float: right;
  background-color: #09ACBE;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  margin-left: 61.5%;
  padding-top:10px;
  padding-bottom: 10px;
  position: fixed; /* Initially absolute to position it below the subheader */
  top: calc(450px + 10px); /* 60px is the height of the header, plus 10px margin below the subheader */
}
.ads1 a{
    text-decoration:none;
}
.grid-item {
     background:radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
   color:white;
    border: 2px solid #00bfff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
   
}

.grid-item:hover {
    background:radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);

  color:white;
    transform: translateY(-5px);
}

/*-------------------------------------------------------------------------------------------------------------------------new footer styles ----------------------------------------------------------------------------------------------------------------*/
   .test-container {
      max-width: 1200px;
      margin-left:-50px;
      padding: 20px;
  }
  
  
  
  .tabs {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
  }
  
  .tab-button {
      padding: 10px 20px;
      cursor: pointer;
      border: none;
      background-color: #fff;
      margin: 0 5px;
      border-radius: 5px;
      transition: background-color 0.3s;
  }
  
  .tab-button.active {
       background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
     color: white;
  }
  
  .tab-button:hover {
        background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
     color: white;
  }
  
  .tab-content {
      display: none;
  }
  
  .tab-content.active {
      display: block;
  }
  
  
  /* Footer at the bottom */
  #footer-new {
    position: fixed;
    bottom: 0;
    width: 99%;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
    padding: 5px 20px; /* Further reduced padding for the footer */
    color: white;
  }  
  /* Footer title styling */
  .title-new {
      margin-left:-150px;
    color: white;
    text-align: center;
    font-size: 20px; /* Adjust font size if necessary */
  }
  
  /* Footer container styling */
  .footer-container-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px; /* Further reduced inner padding */
    flex-wrap: wrap;
    gap: 5px; /* Adjust gap for tighter spacing */
  }
  
  /* Social media links */
  .footer-social-new {
    display: flex;
    gap: 10px; /* Adjusted gap for social media icons */
    align-items: center;
  }
  
  .footer-social-new img {
    width: 30px;
    height: 30px;
  }
  
  /* Footer links */
  .footer-links-new {
    display: flex;
    gap: 5px; /* Reduced gap between links */
    align-items: center;
  }
  
  .footer-links-new a {
    color: #ffffff;
    text-decoration: none;
  }
  
  .footer-links-new a:hover {
    text-decoration: underline;
  }
  
  /* Copyright section */
  .copyright-new {
    text-align: center;
    color: white;
    align-self: center;
  }
/*--------------------------------------------------------------------------------------------------end new footer styles------------------------------------------------------------------------------------------*/
@media (max-width: 768px) {
       .test-container {
      max-width: 1200px;
      margin-left:10%;
      padding: 20px;
  }
  
 #footer-new {
     display:none;
 }
    h1 {
    margin: 0;
    font-size: 0.7em;
    color: #0B92B0;
}
        header img {
  height: 20px;
  margin-right: 10px;
}
    .grid-item {
        font-size: 16px;
        padding: 15px;
    }
    .ads1{
        display:none;
    }



    h1 {
    margin: 0;
    font-size: 0.7em;
    color: #0B92B0;
}
    .fas.fa-bars {
    font-size: 24px;
    color: #0F5484;
    margin-left: 120%;
    padding: 10px;
    cursor: pointer;
}
        header img {
  height: 20px;
  margin-right: 10px;
}
    .grid-item {
        font-size: 14px;
        padding: 10px;
    }
}

.others {
   background-image: url('../styles/images/nursing.jpg'); 
   background-size: cover; 
   background-position: center;
    position: relative; /* To position the ::before pseudo-element properly */
    text-align: justify;
    justify-content: space-between;
    width: 80%;
    color: #FFC107; /* Change text color to white for better contrast */
    font-size: 2.0rem;
    font-weight: 700;
    margin-left: 5%;
    z-index: 1; /* Ensure content is above the background image */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Add a transparent background for text readability */
}

.others::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover; /* Ensure the image covers the entire div */
    background-position: center; /* Center the background image */
    filter: blur(20px); /* Apply the blur effect */
    z-index: -1; /* Ensure the pseudo-element is behind the text */
    opacity: 0.7; /* Adjust opacity to darken the image */
}
.others h3 {
     margin-top:70%;
}
.ads {
  width: 22%;
  float: right;
  background-color: #09ACBE;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  margin-left: 61.5%;
  padding-bottom: 10px;
  position: absolute; /* Initially absolute to position it below the subheader */
  top: calc(180px + 10px); /* 60px is the height of the header, plus 10px margin below the subheader */
}

.ads-leaflet {
  background-color: white;
  color: #333;
  float: left;
  margin-left: 5px;
  width: 45%;
  padding-left: 0; /* Remove padding from the container */
  font-size: 10px;
  border: 1px solid grey;
  padding: 5px;
  border-radius: 6px;
}

.ads-leaflet ul, /* Targeting the list container (ul or ol) */
.ads-leaflet ol {
  padding-left: 0;  /* Removes left padding of the list */
  margin-left: 0;   /* Removes left margin of the list */
  list-style-position: inside; /* Moves bullets/numbers inside */
}

.ads-leaflet li {
    color:#333;
  text-align: left;
}
.ads-leaflet h3{
    color:#0F5484;
}
.ads-leaflet .span{
    color:#04282C;
}
.ads-leaflet .subscribe-button {
  width: auto;
}

.testbank-button{
    float:left;
    height:8vh;
    font-size:12px;
    margin-top:10px;
    margin-bottom:15px;
    width: 20%;
    margin-left: 5%;
    padding:10px;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
    color: white;
    border-radius: 12px;
    cursor: pointer;
}
.testbank-button:hover{
 background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
    color: white;
}
.subscribe-button {
  width: 50%;
  margin-left: 9%;
  padding: 8px;
background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
  color: white;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
}
.login-button:hover{
   background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
    color: white;
}

.subscribe-button:hover {
      background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
    color: white;
}
.login-button {
  width: 80px;
  padding: 8px;
  background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
  color: white;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  margin-right: 15px;
}

@media (max-width: 768px) {
    .testbank-button {
    float: left;
    height: 10vh;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 40%;
    margin-left: 7%;
    padding: 5px;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
    color: white;
    border-radius: 12px;
    cursor: pointer;
}
    .exam-names strong {

     /*  line-height: 2.5; */
}
    .exam-set .exam-names {
    display: none;
    padding-left: 10px;
    font-size: 0.9em;
}
    .sidebar{
        z-index:10;
    }
        .subheader {
    background: radial-gradient(circle at 57.15% 51.07%, #00aaff 0%, #51C2D2 30%, #D8E7FF 60%, #E1F3FF 80%, #E4D7FF 90%, #005b96 100%);
    padding: 5px;
    margin-top: -25px;
    text-align: center;
    font-size: 0.8em;
    color: #fff;
    width: 100vw;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.login-button {
    width: 60px;
    padding: 4px;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
    color: white;
    border-radius: 6px;
    margin-top: -5px;
    cursor: pointer;
    margin-right: 25px;
}
}

/* Styles for desktop view */
@media (min-width: 769px) {

  .hamburger {
      margin-left: 20px; /* Adjust spacing to keep it near the logo */
  }
  .dots-menu {
      display: none; /* Hide dots-menu on desktop view */
  }
  main {
      margin-left: 16%; /* Adjust main margin for the sidebar */
  }
}

#question-container {
  width: 73%;
 border: 2px dotted #09acbe;
  background-color: #F9F9F9;
  border-radius: 5px;
  padding: 5px;
  margin: 10px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  font-size: 12px;
  float: left;
}

#question-container a {
  text-decoration: none;
}

.rationale {
  color: #188C18;
  font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
    .sidebar h3 {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #0F5484;
    border-bottom: 2px solid #0F5484;
    padding-bottom: 0;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    color: #123992;
    margin-top: -15px;
}
    .exam-names a {
    font-size: 10px;
    color: #3498DB;
}
.category-title {
    font-size: 12px;
}
.sidebar h4 {
    font-weight: 700;
    font-size: 14px;
    color: #3498DB;
}
  .ads {
    display: none;
  }
  #question-container {
      border: 2px dotted #09acbe;
      margin-left:10%;
    width: 100%;
  }
  
  .sidebar {
      transform: translateX(-100%); /* Start hidden */
      transition: transform 0.3s ease;
      width: 50%; /* Fixed width on mobile */
  }
  .sidebar.show {
      transform : translateX(0); /* Slide in when shown */
  }
  .nav-list {
      display: none; /* Hide by default */
      flex-direction: column;
      position: absolute; /* Overlay position */
      background-color: white; /* Background color */
      top: 60px; /* Align below the header */
      left: 0;
      width: 100%; /* Full width */
      z-index: 1000;
      padding: 0;
      gap: 0;
  }
    .nav-list.show {
        margin-top: 5px;
        width: 88%;
        margin-left: 2%;
        border: 2px solid revert-layer;
        box-shadow: 2px 4px 6px 8px beige;
        display: flex;
    }
  .nav-list li {
      width: 100%; /* Full width for list items */
  }
  .dots-menu {
      display: block; /* Show dots menu only on mobile */
  }
  main {
      margin-left: 0; /* Reset margin on mobile */
  }
}

/* Styles for tablet view */
@media screen and (min-width: 769px) and (max-width: 1024px) {
     .copyright-new {
  margin-left:40%;
    color: white;
    align-self: center;
  }
  .title-new {
    margin-left: 10%;
    color: white;
    text-align: center;
    font-size: 20px;
}
.footer-links-new {
    margin-right: 150px;
    display: flex;
    gap: 5px;
    /* align-items: center; */
}
#footer-new {
    z-index:100;
    position: fixed;
    bottom: 0;
    width: 99%;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
    padding: 5px 20px;
    color: white;
}
   .test-container {
        max-width: 1000px;
        margin-left: 20%;
        padding: 20px;
    }
    header a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 10px;
}
.fas.fa-bars {
  font-size: 24px; /* Adjust icon size */
  color: #0F5484;
  margin-left:30%;
  padding: 10px;   /* Add padding around the icon */
  cursor: pointer; /* Make it look clickable */
}
    .bread{
        margin-left:15%;
    }
        header img {
  height: 20px;
  margin-right: 10px;
}
   .nav-list a {
               font-size: 8px;
    text-decoration: none;
    color: #0F5484;
    /* padding: 8px 12px; */
    transition: background-color 0.3s;
}
    .testbank-button {
    float: left;
    height: 8vh;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 25%;
    margin-left: 7%;
    padding: 10px;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
    color: white;
    border-radius: 12px;
    cursor: pointer;
}
    .subheader h4{
        font-size:16px;
    }
        .ads1{
        display:none;
    }
    .exam-names strong {

      /* line-height: 2.5; */
}
    .login-button {
    margin-top: -5px;
}
.subscribe-button {
    width: 50%;
    margin-left: 30%;
}
    .nav-list li {
    font-size: 10px;
    display: inline;
}
    .sidebar {
    width: 30%;
    background-color: white;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: fixed;
    z-index: 10;
    top: 78px;
    bottom: 0;
    overflow-y: auto;
}
    #question-container {
    width: 70%;
  border: 2px dotted #09acbe;
    background-color: #F9F9F9;
    border-radius: 5px;
    padding: 5px;
    margin-left: 25%;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    font-size: 12px;
    float: left;
}
    .ads {
    display: none;
    }
}
/* For tablets in landscape mode */


@media screen and (min-width: 1024px) and (max-width: 1100px) {
           header img {
  height: 30px;
  margin-right: 20px;
}
    .subheader h3{
        margin-left:10%;
    }
    .testbank-button {
    float: left;
    height: 10vh;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 25%;
    margin-left: 7%;
    padding: 15px;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
    color: white;
    border-radius: 12px;
    cursor: pointer;
}  
    .responsive-image {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow for depth */
    border-radius: 5px;      
    width: 22.5vw;                   /* Ensures the image takes full width */
    height: 40vh;                  /* Maintains aspect ratio */
    display: block;                /* Prevents bottom whitespace */
}

    .exam-names strong {
 
       line-height: 2.5; /* Adjust line height here */
}
    
      .login-button {
    margin-top: -5px;
}
.subscribe-button {
    width: 50%;
    margin-left: 30%;
}
    .nav-list li {
    font-size: 10px;
    display: inline;
}
    .sidebar {
    width: 30%;
    background-color: white;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: fixed;
    z-index: 10;
    top: 78px;
    bottom: 0;
    overflow-y: auto;
}
    #question-container {
    width: 70%;
    border: 2px dotted #09acbe;
    background-color: #F9F9F9;
    border-radius: 5px;
    padding: 5px;
    margin-left: 25%;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    font-size: 12px;
    float: left;
}
    .ads {
    display: none;
    }
    .ads1{
        display:none;
    }
}
@media screen and (min-width: 1301px) and (max-width: 1450px) {
           header img {
  height: 30px;
  margin-right: 20px;
}
    .ads1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    width: 22%;
    float: right;
    background-color: #09ACBE;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    margin-left: 60.5%;
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    top: calc(480px + 10px);
}
    .ads {
    width: 22%;
    float: right;
    background-color: #09ACBE;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    margin-left: 60.5%;
    padding-bottom: 10px;
    position: absolute;
    top: calc(200px + 10px);
}
    .exam-names a {
    margin-left: -35px;
    font-size: 12px;
    color: #3498DB;
}
    .ads-leaflet {
        background-color: white;
        color: #333;
        float: left;
        margin-left: 10px;
        width: 40%;
        padding-left: 0;
        font-size: 10px;
        border: 1px solid grey;
        padding: 5px;
        border-radius: 6px;
        height: 180px;
    }
    
.ads-leaflet .subscribe-button {
    width: auto;
    margin-left: 0;
    padding: 8px;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
    color: white;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
}
#question-container {
    border: 2px dotted #09acbe;
    width: 70%;
}
.subscribe-button {
    width: 50%;
}
     .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Create 2 equal columns */
    gap: 20px; /* Space between items */
}

.grid-item {
    width: 80%; /* Use full width of the grid column */
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
    color: white;
    border: 2px solid #00bfff;
    border-radius: 10px;
    padding: 7px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-left:2%;
}
     .responsive-image {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow for depth */
    border-radius: 5px;      
    width: 23vw;                   /* Ensures the image takes full width */
    height: 40vh;                  /* Maintains aspect ratio */
    display: block;                /* Prevents bottom whitespace */
}
   .others {
        background-image: none; /* Hide background image */
        color: #333; /* Change text color */
        padding:5px; /* Add padding */
        font-size: 1.2em; /* Increase font size */
        background-color: transparent; /* Add a transparent background for text readability */
    justify-content: space-between;
    width: 80%;
    font-weight: 700;
    margin-left: 5%;
    margin-top: -160px;
    height:10vh;
    }
    
    .others::before {
        display:none;
    }
   .others h3 {
    margin-left: 15%;
    margin-top: 58%;
    color:white;
}
}
@media screen and (min-width: 1450px) and (max-width: 1560px) {
           header img {
  height: 30px;
  margin-right: 20px;
}
    .ads-leaflet {
    background-color: white;
    color: #333;
    float: left;
    margin-left: 0; 
    /* width: 45%; */
    padding-left: 0;
    font-size: 10px;
    border: 1px solid grey;
    padding: 5px;
    border-radius: 6px;
}
.others {
    display: none;
}

}

@media screen and (min-width: 1101px) and (max-width: 1300px) {
           header img {
  height: 30px;
  margin-right: 20px;
}
    .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Create 2 equal columns */
    gap: 20px; /* Space between items */
}

.grid-item {
    width: 80%; /* Use full width of the grid column */
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
    color: white;
    border: 2px solid #00bfff;
    border-radius: 10px;
    padding: 7px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-left:2%;
}
     .responsive-image {
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: adds shadow for depth */
    border-radius: 5px;      
    width: 23vw;                   /* Ensures the image takes full width */
    height: 40vh;                  /* Maintains aspect ratio */
    display: block;                /* Prevents bottom whitespace */
}
   .others {
        background-image: none; /* Hide background image */
        color: #333; /* Change text color */
        padding:5px; /* Add padding */
        font-size: 1.2em; /* Increase font size */
        background-color: transparent; /* Add a transparent background for text readability */
    justify-content: space-between;
    width: 80%;
    font-weight: 700;
    margin-left: 5%;
    margin-top: -160px;
    height:10vh;
    }
    
    .others::before {
        display:none;
    }
   .others h3 {
    margin-left: 15%;
    margin-top: 65%;
    color:white;
}
.ads1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    width: 22%;
    float: right;
    background-color: #09ACBE;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    margin-left: 60.5%;
    padding-top: 30px;
    padding-bottom: 10px;
    position: fixed;
    top: calc(480px + 10px);
}
    .ads {
    width: 22%;
    float: right;
    background-color: #09ACBE;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    margin-left: 60.5%;
    padding-bottom: 10px;
    position: absolute;
    top: calc(200px + 10px);
}
        .exam-names a {
        margin-left: -45px;
        font-size: 10px;
        color: #012970;
    }
    .category-title {
    color: #2d4e89;
    width: 100%;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}
    .ads-leaflet {
        background-color: white;
        color: #333;
        float: left;
        margin-left: 10px;
        width: 40%;
        padding-left: 0;
        font-size: 10px;
        border: 1px solid grey;
        padding: 5px;
        border-radius: 6px;
        height: 180px;
    }
    
.ads-leaflet .subscribe-button {
    width: auto;
    margin-left: 0;
    padding: 8px;
    background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005bab 100%);
    color: white;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
}
#question-container {
    border: 2px dotted #09acbe;
    width: 70%;
}
.subscribe-button {
    width: 50%;
}
}
/*new section*/
 

  .mode-section {
        text-align: center;
        margin-top: 20px;
    }
    .mode-section h2 {
        text-align: center;
       font-weight: 700;
       color: #2c616c;
       text-decoration: underline;
        font-size: 1.5em;
        margin-bottom: 0.5em;
    }
    .mode-section p {
        font-size: 1em;
        color: #666;
        margin-bottom: 1em;
    }
    .mode-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    .mode-button {
        padding: 10px 20px;
        background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #09acbe 0%, #37474f 100%);
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
        transition: background-color 0.3s ease;
    }

    .mode-button:hover {
        background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005b96 100%);
    }
    .mode-button.active {
        background: radial-gradient(60.63% 60.63% at 57.15% 51.07%, #00aaff 0%, #005b96 100%);
        color: white;
    }
    
    .mode-description {
        max-width: 500px;
        margin: 20px auto;
        padding: 10px;
        background-color: #f1f1f1;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1.0em;
    }
    
    @media (max-width: 768px) {
         .mode-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
        .mode-button {
        flex: 1 1 calc(33.33% - 10px); /* 3 columns with gap adjustment */
        text-align: center;
        padding: 10px;
    }
   .mode-buttons {
            gap: 5px; /* Less space between columns on mobile */
        }

        .mode-button {
            padding: 8px; /* Smaller padding on mobile */
        }
      
    }