:root {
  /* Font Families */
  --default-font: "Times New Roman", "Georgia", "Merriweather", serif; /* Body font (serif) */
  --heading-font: "Roboto Slab", "Georgia", serif; /* Serif font for headings (more academic) */

  /* Global Colors */
  --background-color: #ffffff; /* Clean white background for professionalism */
  --default-color: #212121; /* Dark gray text for better readability */
  --heading-color: #003366; /* Dark blue for headings to keep an academic tone */
  --accent-color: #1A68AF; /* Brighter blue for interactive elements (buttons, links) */
  --accent-color-rgba: rgba(26, 104, 175, 0.2); /* Adjusted accent color with opacity */
  --surface-color: #f4f4f4; /* Light gray for cards/sections to contrast with white background */
  --contrast-color: #ffffff; /* White text for high contrast (buttons, important elements) */
  --border-color: #d1d1d1; /* Subtle gray border for a polished, professional look */

  /* Navigation Colors */
  --nav-color: var(--default-color); /* Text color for navigation links */
  --nav-hover-color: #004b87; /* Bright blue for navigation hover state */
  --nav-dropdown-background-color: var(--surface-color); /* Dropdown background color */
  --nav-dropdown-color: var(--default-color); /* Dropdown text color */
  --nav-dropdown-hover-color: var(--accent-color); /* Dropdown hover color */
  --nav-mobile-background-color: var(--surface-color); /* Mobile nav background color */
}

  
  /* Global Styles */
  body {
    font-family: var(--default-font);
    color: var(--default-color);
    background-color: var(--surface-color);
    line-height: 1.6;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin: 1rem 0;
  }
  
  a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s;
  }
  
  a:hover {
    color: var(--btn-primary-hover);
  }
  section:nth-child(even) {
    background-color: var(--accent-color-rgba) !important;
  }
/* Navigation Menu Styles */
li.menu-item a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--default-color);
  z-index: 1;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px; /* More subtle rounded corners for a professional look */
}

@media (max-width: 1200px) {

  /* Add a margin to the first menu item */
  li.menu-item:first-child a {
    margin-top: 80px; /* Adjust the left margin as desired */
  }

  /* Menu item links */
  li.menu-item a {
    position: relative;
    display: inline-block;
    padding: 14px 28px; /* Slightly increased padding for better button size */
    text-decoration: none;
    color: var(--heading-color); /* Text color matching the theme */
    background-color: var(--surface-color); /* Light accent background */
    box-shadow: 2px 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow with more depth */
    border-color: var(--accent-color); /* Accent border on hover */
    border-radius: 4px; /* More rounded corners for a modern look */
    z-index: 1;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    border: 1px solid transparent; /* Transparent border initially */
  }

  /* Right arrow icon inside a rounded box */
  li.menu-item a::after {
    content: "→"; /* Unicode right arrow symbol */
    position: absolute;
    right: 12px; /* Spacing for the arrow */
    font-size: 18px; /* Adjust size for modern look */
    color: var(--heading-color); /* Arrow color */
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover effects */
    display: inline-block; /* Make sure it behaves like a block */
  }

  /* Hover effect for links */
  li.menu-item a:hover {
    background-color: var(--surface-color); /* Soft hover background */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow with more depth */
    border-color: var(--accent-color); /* Accent border on hover */
    transform: scale(1.05); /* Slightly enlarge the link for hover effect */
  }

  /* Hover effect for arrow inside link */
  li.menu-item a:hover::after {
    transform: translateX(8px); /* Move the arrow to the right */
    color: var(--accent-color); /* Change arrow color on hover */
    background-color: var(--hover-background); /* Change background color on hover */
  }

  /* Active state for selected buttons */
  li.menu-item a.active {
    color: var(--accent-color) !important; /* Ensure text is readable in active state */
    background-color: var(--heading-color); /* Dark background for active state */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); /* Larger shadow for active button */
    transform: translateY(-2px); /* Lift effect for active state */
    animation: activeAnimation 0.3s ease-in-out; /* Add animation when active */
  }

  /* Add bottom border (horizontal line) */
  li.menu-item a {
    border: 2px solid var(--heading-color); /* Light line under the button */
    transition: border-bottom 0.3s ease; /* Smooth transition for border effect */
  }

  /* Border color on hover */
  li.menu-item a:hover {
    border: 2px solid var(--accent-color); /* Add bottom border on hover */
  }

  /* Focus effect for accessibility */
  li.menu-item a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); /* Focus ring for accessibility */
  }

  /* Mobile Navigation Menu */
  .navmenu ul {
    padding: 10px 0;
    margin: 0;
    border-radius: 8px; /* Softer rounded corners */
    background-color: var(--surface-color-light); /* Light background for better readability */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    z-index: 999;
    text-align: center;
  }

  /* Mobile Navigation Menu when active */
  .navmenu.mobile-nav-toggle-active ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Mobile Toggle Button */
  .mobile-nav-toggle {
    color: var(--heading-color); /* Icon color */
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    margin-left: auto;
    cursor: pointer;
    transition: color 0.3s ease; /* Smooth transition for icon color */
  }

  /* Toggle Button Active State */
  .mobile-nav-toggle.active {
    color: var(--accent-color); /* Change color when active */
  }

  /* Animation for active state */
  @keyframes activeAnimation {
    0% {
      transform: translateY(-2px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
}






/* Active Menu Item */


/* Ensuring hover effect for active item */
li.menu-item a.active:hover {
  background-color: var(--heading-color); /* Keeps the same background color on hover */
}

  /* Button Styles */
  .btn-blue {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-blue:hover {
    background-color: #004080; /* Slightly darker blue for hover */
  }
  
  .bi-search {
    color: var(--contrast-color);
  }

  /*Search */
  /* Search Form Container */
#search-form {
  display: flex;
  justify-content: flex-end; /* Align the search form to the right */
  width: 100%; /* Make sure the form takes full available width */
  margin: 10px 0; /* Some space at the top and bottom of the form */
}



/* Search Form Container */
#search-form {
  display: flex;
  justify-content: flex-end; /* Align the search form to the right */
  width: 100%; /* Make sure the form takes full available width */
  margin: 10px 0; /* Some space at the top and bottom of the form */
}

/* Input Group Styling */
.input-group {
  display: flex;
  align-items: center;
  width: 200px; /* Full width */
  border-radius: 4px; /* Rounded corners */
  overflow: hidden; /* Ensure elements inside stay within the container */
}

/* Search Text Input Styling */
#search-input {
  flex-grow: 1; /* Make the input take available space */
  padding: 10px 15px; /* Padding inside the input for better spacing */
  border: 1px solid #ccc; /* Subtle border for the input */
  border-right: none; /* Remove the right border to blend with the button */
  border-radius: 4px 0 0 4px; /* Rounded left corner */
  font-size: 17px; /* Default text size */
  color: #333; /* Text color */
}


/* Search Button Styling */
#search-form .btn {
  background-color: var(--accent-color); /* Button background color */
  color: var(--contrast-color); /* White color for text/icon */
  border-radius: 0 4px 4px 0; /* Rounded right corner */
  padding: 10px 20px; /* Reduced padding to match the input size */
  font-size: 13px; /* Ensure the text inside the button is legible */
  cursor: pointer; /* Pointer cursor to indicate it's clickable */
  display: flex;
  align-items: center; /* Center the icon inside the button */
  justify-content: center; /* Ensure the icon is centered */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover */
}




/* Style for the download link */
/* Style for the download link */
.download-link {
  text-decoration: none; /* Remove underline from the link */
  display: inline-flex; /* Use inline-flex to keep the icon and text inline */
  align-items: center; /* Align the icon and text vertically */
  font-size: 16px; /* Font size for text */
  transition: color 0.3s ease; /* Smooth color transition */
  color: var(--accent-color); /* Default color */
}

/* Hover effect with darker color */
.download-link:hover {
  color: darken(var(--accent-color), 20%); /* Make the color darker on hover */
}

/* Style for the icon */
.download-link i {
  margin-right: 3px; /* Space between icon and text */
  font-size: 18px; /* Icon size */
  transition: color 0.3s ease; /* Smooth icon color transition */
}

/* Hover effect for the icon */
.download-link:hover i {
  color: darken(var(--accent-color), 20%); /* Darken the icon color too */
}

/* Visibility of the input group */
#search-input-group {
  visibility: visible; /* Ensure the input group is visible */
}

/* Optional: Make the search form responsive on smaller screens */
@media (max-width: 1199px) {
  #search-form {
      margin: 10px; /* Adjust margins for smaller screens */
  }

  #search-input-group {
    margin:auto;
    width: 60% !important;/* Ensure the input group is visible */
  }

  #search-input {
      font-size: 14px; /* Slightly smaller text size */
      padding: 8px 12px; /* Reduce padding for smaller screens */
  }

  #search-form .btn {
      font-size: 13px; /* Ensure the button text remains proportional */
      padding: 8px 12px; /* Reduce button padding for smaller screens */
  }
}


  /* Section Title */
  .section-title {
    text-align: left;
    margin: 0 auto;
  }
  
  .section-title h2, .section-title p {
    text-align: left;
    margin-left: 0;
  }
  
  .section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    margin: 0;
  }
  
  .section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
  }
  
  /* Smooth Scroll */
  :root {
    scroll-behavior: smooth;
  }
  
  /* Flags Section */
  .flags {
    display: flex;
    gap: 10px;
  }
  
  .flags .nav-link {
    padding: 5px;
  }
  
  /* Dropdown Fixes */
  .dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  @media (max-width: 991px) {
    .flags {
      justify-content: center;
    }
  
    .dropdown ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      width: auto;
      max-width: 90vw;
      padding: 0;
      margin: 0;
      z-index: 1000;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
    }
  
    .dropdown:hover ul,
    .dropdown:focus-within ul {
      display: block;
    }
  
    .dropdown ul li {
      list-style: none;
    }
  
    .dropdown ul li a {
      display: block;
      padding: 10px 15px;
      text-align: left;
      white-space: nowrap;
    }
  
    .dropdown ul li a:hover {
      background-color: rgba(0, 0, 0, 0.05);
    }
  }
  
  /* Hero Image and Section Styles */
  .hero-bg img {
    width: 100%;
    height: auto;
  }
  
  .hero-img {
    width: 100%;
    height: auto;
  }
  
  
  
  .text-content {
    position: relative;
    z-index: 1;
  }
  
  /* Accordion Styles */
  .faq-item {
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  .faq-content {
    display: none;
    padding-top: 10px;
  }
  
  .faq-active .faq-content {
    display: block;
  }
  
  .faq-toggle {
    transition: transform 0.3s ease;
  }
  
  .faq-active .faq-toggle {
    transform: rotate(90deg);
  }
  
  .tab-pane ul {
    list-style-type: none;
  }
  
  /* Fade-In Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in-up {
    animation: fadeInUp 0.5s forwards;
  }
  
  /* Form Control Styles */
  .form-control {
    border: 1px solid var(--accent-color) !important;
    box-shadow: none;
  }
  
  .form-control:focus {
    border-color: var(--accent-color) !important;
    outline: none;
    box-shadow: none;
  }
  
  /* Icon Sizes */
  .icon-size {
    font-size: 1.5em;
    margin-right: 10px;
    vertical-align: middle;
  }
  
  /* Accordion Button */
  .accordion-button {
    color: var(--default-color) !important;
    text-decoration: none;
  }
  
  .accordion-button:hover,
  .accordion-button:focus {
    color: var(--default-color) !important;
    box-shadow: none;
    text-decoration: none;
  }
/* Content Area Styling - Updated to Match Service Box and Help Box */
#content-area {
    background-color: var(--surface-color); /* Matching the background color to service box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a soft effect */
    padding: 20px; /* Same padding as service box */
    margin: 20px auto; /* Centering the content and giving it margin */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    height: fit-content; /* Ensures the content area height fits its content */
    border-radius: 4px; /* Rounded corners for consistency */
    margin-top: 0; /* Removed top margin */
  }
  /* Add margin-top for mobile devices */
@media (max-width: 767px) {
  #content-area {
      margin-top: 20px; /* Add desired top margin */
  }
}
  /* Headings in the Content Area */
  #content-area h1, #content-area h2, #content-area h3, #content-area h4 {
    font-size: 24px; /* Setting font size for headings */
    font-weight: 700;
    color: var(--heading-color); /* Updated to use the heading color */
    margin-bottom: 15px; /* Spacing after headings */
  }
  
  #content-area p {
    font-size: 16px;
    color: var(--text-color); /* Set text color for paragraphs */
    line-height: 1.6;
    margin-bottom: 15px; /* Spacing after paragraphs */
  }
  #content-area img {
    max-width: 100%; /* Ensures the image doesn't exceed the width of its container */
    height: auto; /* Maintains the aspect ratio */
    display: block; /* Removes any extra space below the image */
    margin: 0 auto; /* Centers the image horizontally */
}
  
  /* Make the service-details container larger and more visually distinct */
  #service-details {
    padding: 2rem; /* Add padding around the content */
    background-color: #f8f9fa; /* Light background to differentiate from the page */
    border-radius: 4px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    margin: 2rem auto; /* Add vertical spacing */
    max-width: 1200px; /* Limit the width for better readability */
  }
  
  /* Text alignment and sizing */
  #service-details h3 {
    font-size: 1.75rem; /* Increase heading size */
    font-weight: bold; /* Emphasize the title */
    text-align: center; /* Center-align the heading */
    margin-bottom: 1rem; /* Add space below the heading */
  }
  
  #service-details p {
    font-size: 1rem; /* Standardize text size */
    line-height: 1.6; /* Improve readability */
    color: #333; /* Use a neutral, darker text color */
    text-align: justify; /* Justify text for a polished look */
  }
  
  /* Adjust spacing within the section */
  #service-details .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* For smaller screens */
  @media (max-width: 768px) {
    #service-details {
        padding: 1.5rem;
        margin: 1rem;
    }
  }
  
  /* Card Body Styling */
  /* Center the text when there is no image */
  .no-image .card-body {
    justify-content: center;
    align-items: center;
    text-align: center; /* Center-align the text */
    background-color: var(--surface-color);
  }
  .card-body .list-group{
    background-color: var(--surface-color);
  }
  
  /* Ensure proper styling for the title and description in centered layout */
  .no-image .card-title {
    margin-bottom: 10px;
    font-size: 1.5rem; /* Slightly larger font for better balance */
  }
  
  .no-image .card-text {
    font-size: 1rem; /* Adjust text size if necessary */
  }
  
  /* Card Component Styling */
  .card {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1); /* Matches help-box shadow */
    border: none;
    border-radius: 4px; /* Same rounded corners as help-box */
    background-color: var(--surface-color); /* Matches help-box background */
    color: var(--contrast-color); /* Ensure consistent text color */
    overflow: hidden; /* Handles overflow for rounded corners */
    margin: 15px 0; /* Adds vertical spacing between cards */
  }
  
  .card img {
    object-fit: cover;
    width: 100%; /* Ensures the image covers the card width */
    height: auto; /* Adjusts height proportionally */
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  /* Card Body Styling */
  .card-body {
    padding: 20px; /* Matches help-box padding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    color: black;
    background-color: var(--surface-color); /* Matches help-box background */
  }
  .card-body .list-group {
    background-color: var(--surface-color); /* Matches help-box background */
}

.card-body .list-group-item {
  background-color: var(--surface-color); /* Matches help-box background */
}
  /* Card Title Styling */
  .card-title {
    margin-top: 0; /* Removes top margin */
    margin-bottom: 15px; /* Consistent spacing with help-box headings */
    font-size: 1.25rem; /* Aligns with help-box font size */
    font-weight: 700; /* Matches the heading weight in help-box */
    color: var(--heading-color); /* Consistent with help-box heading color */
    text-transform: uppercase; /* Optional: Aligns with help-box headings */
    letter-spacing: 1px; /* Adds slight spacing for readability */
  }
  
  /* Links inside the card */
  .card a {
    color: var(--default-color); /* Consistent with help-box link color */
    text-decoration: none;
  }
  
  .card a:hover {
    color: var(--accent-color); /* Matches help-box link hover color */
  }

  /* Style the card-header with the accent color */
.card-header {
  background-color: var(--surface-color); /* Accent color for the background */
  color: var(--contrast-color); /* White color for the text to create contrast */
  padding: 15px; /* Add some padding for spacing */
  border-bottom: 1px solid var(--default-color); /* Optional: Add a subtle border at the bottom */
  font-size: 18px; /* Adjust font size for card header */
  font-weight: 600; /* Bold text for the header */
  border-top-left-radius: 4px; /* Rounded top-left corner */
  border-top-right-radius: 4px; /* Rounded top-right corner */
}

/* Optionally, add hover effect for card-header */
.card-header:hover {
  background-color: var(--accent-color-dark); /* Slightly darker shade on hover */
  color: var(--contrast-color); /* Ensure the text remains visible */
}

  
  /* Prevents any column from pushing content too far */
  .row.g-0 {
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Ensures that the column with the image does not push text content */
  .col-md-4, .col-md-8, .col-md-12 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content from the top */
  }
  
  /* Fix margin issues for paragraph text inside .card-body */
  .card-body p {
    margin-bottom: 10px; /* Adds space below each paragraph */
  }
  
  /* Ensures proper alignment of the "Read More" button */
  .card-body a {
    margin-top: auto; /* Push the button to the bottom of the card */
  }
  
  /* Optional: Adjust styles for smaller screens */
  @media (max-width: 767px) {
    .card-body {
      padding: 10px; /* Adjust padding for smaller screens */
    }
  
    .card-title {
      font-size: 1.1rem; /* Smaller title for mobile screens */
    }
  }
  
  .btn-link {
    color: var(--accent-color);
    text-decoration: none;
  }
  
  .btn-link:hover {
    text-decoration: underline;
  }
  
  /* General Layout for Contact Boxes */
  .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  /* Contact Box Style */
  #contacts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between contact boxes */
  }
  
  /* Ensure contact boxes do not overlap and have sufficient spacing */
.contact-box {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Optional: Add hover effect to contact boxes */
.contact-box:hover {
  transform: translateY(-10px); /* Lift the box on hover */
}

/* Add style for the contact box titles and texts */
.contact-box h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.contact-box .address,
.contact-box .phone,
.contact-box .email {
  font-size: 1rem;
  color: #555;
  display: flex; /* Ensure text and icons are aligned horizontally */
  align-items: center; /* Center the icon and text vertically */
  margin-bottom: 10px; /* Add some spacing between items */
}

.contact-box .address i, 
.contact-box .phone i, 
.contact-box .email i {
  margin-right: 10px; /* Add spacing between icon and text */
}

/* Optional: Add spacing between the contact boxes */
.contact-box .opening-hours {
  margin-top: 15px;
}

.contact-box .table td {
  padding: 5px 10px;
}

.contact-box .table th {
  padding: 5px 10px;
  text-align: left;
}

  
  /*--------------------------------------------------------------
  # General Styling & Shared Classes
  --------------------------------------------------------------*/

  a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
  }
  
  a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
  }
  
  /*--------------------------------------------------------------
  # Global Header
  --------------------------------------------------------------*/
  .header {
    color: var(--default-color);
    background-color: #ffffff; /* Set the default background to white */
    padding: 20px 0;
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition for background and shadow */
    z-index: 997;

  }
  .header + * {
    margin-top: 60px; /* Adds margin to the first element right after the header */
}
  .header .logo {
    line-height: 1;
    margin-left: -240px;  /* Shift the logo to the left */
  }
  
  .header .logo img {
    max-height: 36px;
    margin-right: 8px;
  }
  
  .header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
  }
  
  /* Responsive adjustments for header */
@media (max-width: 1280px) { /* Medium screens and smaller */
  .header .logo {
    margin-left: 20px; /* Add margin to the left for medium screens */
  }
}

@media (max-width: 768px) { /* Small screens and smaller */
  .header .logo {
    margin-left: 20px; /* Increase left margin for small screens */
  }
}

  
  .header .btn-getstarted,
  .header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
  }
  
  .header .btn-getstarted:hover,
  .header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
  }
  
  /* Ensure box shadow only applies when scrolled */
  .scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  }
  
  .index-page .header {
    background-color: #ffffff; /* Always white */
  }
  
  .index-page.scrolled .header {
    background-color: #ffffff; /* Keep the background white on scroll */
  }
/*--------------------------------------------------------------
# Pagination Styles with Hover as Active Button
--------------------------------------------------------------*/

#pagination-container {
    margin-top: 20px;
  }
  
  #pagination-container .btn {
    font-size: 14px; /* Consistent button font size */
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 8px; /* Margin between the buttons */
  }
  
  /* All Pagination Buttons (First, Prev, Next, Last) Style */
  #pagination-container .btn {
    background-color: var(--accent-color); /* Accent color for background */
    color: var(--surface-color); /* Surface color for text */
    border: 1px solid var(--accent-color); /* Border color to match button background */
  }
  
  /* Active Button Style (Highlight current page) */
  #pagination-container .btn.active {
    background-color: var(--surface-color); /* Active button background */
    color: var(--accent-color); /* Active button text color */
  }
  
  /* Disabled Button Style */
  #pagination-container .btn:disabled {
    background-color: var(--default-color); /* Disabled button background */
    color: var(--surface-color); /* Disabled button text color */
    cursor: not-allowed; /* Prevent hover effect on disabled buttons */
  }
  
  /* Pagination Buttons Hover Effect (Make buttons look like active on hover) */
  #pagination-container .btn:hover,
  #pagination-container .btn:focus {
    background-color: var(--surface-color); /* Hover button background like active */
    color: var(--accent-color); /* Hover button text color like active */
  }
  
  /* Specific Styles for 'First' and 'Last' Buttons (Non-changeable) */
  #pagination-container .btn:first-of-type,
  #pagination-container .btn:last-of-type {
    background-color: var(--accent-color); /* Same as active background */
    color: var(--surface-color); /* Same as active text color */
    cursor: pointer; /* Ensure pointer cursor on hover */
  }
  
  #pagination-container .btn:first-of-type:disabled,
  #pagination-container .btn:last-of-type:disabled {
    background-color: var(--default-color); /* Disabled state for first and last */
    color: var(--surface-color); /* Disabled state text color */
  }
  /* Make the pagination container a single row on small screens */
  #pagination-container {
      justify-content: center; /* Center pagination buttons */
  }

  /* Styling for individual page buttons */
  #page-buttons {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between page number buttons */
  }
  
  #page-buttons .btn {
    background-color: var(--accent-color); /* Default inactive state */
    color: var(--surface-color); /* Default inactive text color */
    border: 1px solid var(--accent-color); /* Border color to match button background */
  }
  
  #page-buttons .btn.active {
    background-color: var(--surface-color); /* Highlight the active page */
    color: var(--accent-color); /* Active page text color */
  }
  
  #page-buttons .btn:hover,
  #page-buttons .btn:focus {
    background-color: var(--surface-color); /* Hover background like active */
    color: var(--accent-color); /* Hover text color like active */
  }
  
  @media (max-width: 768px) {
    #pagination-container .btn {
      font-size: 12px; /* Adjust button size for mobile */
      padding: 6px 12px; /* Smaller padding on mobile */
      margin: 0 6px; /* Smaller margin on mobile */
    }
  }
  
  /*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
  
  /* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus,
  .navmenu a:active {
    color: var(--nav-color);
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 4px; /* Make buttons rounded */
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a:hover {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}
@media (max-width: 1199px) {
  /* Mobile Toggle Button */
  .main-text{
    margin-top: 5% !important;
  }
  }
/* Mobile Navigation */
@media (max-width: 1199px) {
  /* Mobile Toggle Button */
  .mobile-nav-toggle {
    color: var(--accent-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    margin-left:auto;
    cursor: pointer;
    transition: color 0.3s;
  }

  /* Navigation Menu */
  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 4px;
    background-color: var(--surface-color); /* Lighter background for better readability */
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the links */
  }

  /* Navigation Links */
  .navmenu a,
  .navmenu a:focus {
    
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 18px;
    font-weight: 500;
    display: block; /* Ensure each link takes full width */
    
    border-radius: 4px; /* Rounded corners */
    margin: 5px auto; /* Center links and ensure consistent spacing */
    width: calc(100% - 40px); /* Adjust width with padding to avoid shifting */
    max-width: 400px; /* Limit max width for better usability on larger devices */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    color: var(--nav-dropdown-color); /* Change color on hover */
    background-color: var(--accent-color); /* Subtle background on hover */
  }

  /* Remove unnecessary transitions on links */
  .navmenu a,
  .navmenu a:focus {
    transition: background-color 0.3s, color 0.3s; /* Limit transitions */
  }

  /* Hover Effect for Links in Mobile */
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-color);
    background-color: var(--accent-color-rgba);
  }

  /* Mobile Menu Toggle */
  .navmenu.mobile-nav-toggle-active ul {
    display: flex;
    flex-direction: column; /* Stack the links vertically */
    justify-content: center; /* Ensure they are centered vertically */
    align-items: center; /* Align links to the center */
  }

  /* Dropdown Menu */
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    text-align: left; /* Left align the dropdown items */
  }

  /* Make dropdowns visible */
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}



/*--------------------------------------------------------------
# Dropdown Styles
--------------------------------------------------------------*/

/* Nested Dropdown Items */
.navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1); /* Light background for nested dropdowns */
  }
  
  /* Active Dropdown Menu */
  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03); /* Slightly darker background for active dropdown */
  }
  
  /* Mobile Navigation Active State */
  .mobile-nav-active {
    overflow: hidden; /* Prevent scrolling when mobile nav is active */
  }
  
  /* Mobile Navigation Toggle (When Active) */
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  
  /* Mobile Navigation Menu (When Active) */
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8); /* Dark background for mobile menu */
    transition: 0.3s;
  }
  
  /* Show Navigation Links When Active */
  .mobile-nav-active .navmenu > ul {
    display: block;
  }
  
  /*--------------------------------------------------------------
  # Global Footer
  --------------------------------------------------------------*/
  .footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
  }
  
  .footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
    color: var(--default-color); /* Ensure proper text contrast */
  }
  
  .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Increased width for larger icons */
    height: 60px; /* Increased height for larger icons */
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 28px; /* Increased font size for larger icons */
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
  }
  
  .footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
  }
  
  .footer .footer-links {
    margin-bottom: 30px;
  }
  
  .footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
  }
  
  .footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
  
  .footer .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  .footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
    transition: 0.3s;
  }
  
  .footer .footer-links ul a:hover {
    color: var(--accent-color);
  }
  
  .footer .footer-contact p {
    margin-bottom: 5px;
  }
  
  /* Custom icon font size for footer social media */
  .footer .footer-about .social-links i {
    font-size: 32px; /* Increase icon size directly */
  }
  
  /* Media Queries for responsiveness */
  @media (max-width: 767px) {
    .footer .social-links a {
      width: 50px; /* Adjust size for smaller screens */
      height: 50px; /* Adjust size for smaller screens */
      font-size: 24px; /* Adjust font size for smaller screens */
    }
  
    .footer h4 {
      font-size: 14px; /* Smaller heading size for mobile */
    }
  
    .footer .footer-links ul li {
      padding: 8px 0; /* Adjust list item padding for mobile */
    }
  }
  
  
  /*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: white; /* White background */
    border: 2px solid var(--accent-color); /* Border with accent color */
    width: 60px; /* Adjusted width for a more rounded button */
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease; /* Smoother transitions */
    border-radius: 50%; /* Rounded shape */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  }

  
  .scroll-top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .scroll-top i {
    font-size: 24px;
    color: var(--primary-color); /* Primary color for the icon */
    line-height: 0;
  }
  
  .scroll-top .scroll-top-text {
    font-size: 12px;
    color: var(--primary-color); /* Primary color for the text */
    margin-top: 4px;
    font-weight: bold;
  }
  
  /* Hover effect */
  .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%); /* Light hover effect */
    border-color: var(--accent-color); /* Border color on hover */
    color: var(--primary-color); /* Text color on hover */
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2); /* Subtle shadow effect on hover */
  }
  
  /* Remove sharp effect when clicked - keep consistent appearance */
  .scroll-top:active {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%); /* Keep same background */
    border-color: var(--accent-color); /* Keep same border color */
    color: var(--primary-color); /* Keep text color the same */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Return to original subtle shadow */
    transform: none; /* Ensure no scale or move effect */
  }
  
  /* Active state visibility */
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
  }
  
  /* Styling for the arrow icon */
  .scroll-top i {
    font-size: 20px;
  }
  
  /* Optional: Add transition for the text */
  .scroll-top .scroll-top-text {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: bold;
    transition: opacity 0.4s;
  }
  
  .scroll-top:hover .scroll-top-text {
    opacity: 1;
  }
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/
  /*--------------------------------------------------------------
  # Section Styling
  --------------------------------------------------------------*/
  section,
  .section {
    color: var(--default-color); /* Darker text color for readability */
    background-color: var(--surface-color);
    padding: 80px 0; /* Increased padding for a spacious layout */
    scroll-margin-top: 120px; /* Ensure a proper scroll margin */
    overflow: clip; 
    box-sizing: border-box;
    line-height: 1.8; /* Better readability */
  }
  
  /* Adjustments for smaller screens */
  @media (max-width: 1199px) {
    section, .section {
      scroll-margin-top: 80px; 
      padding: 60px 0;
    }
  }
  
  @media (max-width: 768px) {
    section, .section {
      padding: 50px 0; 
      scroll-margin-top: 60px;
    }
  }
  
  @media (max-width: 480px) {
    section, .section {
      padding: 40px 0; 
      scroll-margin-top: 40px;
    }
  }
  
  /*--------------------------------------------------------------
  # Global Section Titles
  --------------------------------------------------------------*/
  .hero .btn-get-started {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 16px; /* Slightly bigger font for better readability */
    letter-spacing: 1px;
    display: inline-block;
    padding: 14px 35px;
    transition: 0.4s ease-in-out;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 30px;
    border: 2px solid var(--accent-color); /* Subtle border to keep the academic feel */
  }
  
  .hero .btn-get-started:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 10%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
  }

  .hero{
    background-color: var(--surface-color);
  }
  
  @media (max-width: 640px) {
    .hero .btn-get-started {
      font-size: 14px;
      padding: 12px 25px; 
    }
  }
  
  @media (max-width: 640px) {
    .hero {
      padding: 80px 0;
    }
  
    .hero h1 {
      font-size: 32px; /* Increased size for clarity */
      line-height: 38px;
    }
  
    .hero p {
      font-size: 20px;
      line-height: 28px;
      margin-bottom: 30px;
    }
  
    .hero .btn-get-started {
      font-size: 14px;
      padding: 12px 25px;
    }
  
    .hero .text-content {
      margin-left: 0;
      padding: 1rem;
    }
  }
  
  @media (min-width: 768px) {
    .hero .text-content {
      margin-left: -80px; /* Adjusted margin for large screens */
    }
  }
  
  /*--------------------------------------------------------------
  # Featured Services Section - New Design
  --------------------------------------------------------------*/
  .featured-services {
    padding: 80px 0;
    background-color: var(--surface-color);
    text-align: center;
  }
  
  .featured-services .service-item {
    position: relative;
    padding: 35px 20px;
    border-radius: 4px;
    background-color: #f5f5f5; /* Lighter background to feel more academic */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .featured-services .service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }
  
  .featured-services .service-item .icon {
    background-color: #f5f5f5; /* Lighter background to feel more academic */
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .featured-services .service-item .icon i {
    color: white;
    font-size: 50px; /* Larger icon for emphasis */
  }
  
  .featured-services .service-item .title {
    font-size: 22px;
    font-weight: bold;
    color: var(--heading-color); 
    margin-bottom: 15px;
  }
  
  .featured-services .service-item .title a {
    color: var(--heading-color);
    transition: color 0.3s;
  }
  
  .featured-services .service-item .title a:hover {
    color: var(--accent-color);
  }
  
  .featured-services .service-item .description {
    font-size: 18px;
    color: var(--default-color);
    line-height: 1.7;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .featured-services .service-item:hover .icon {
    background-color: var(--contrast-color); /* Subtle hover effect */
  }
  
  .featured-services .service-item:hover .icon i {
    color: var(--accent-color);
  }
  
  /* Responsive Design for Smaller Screens */
  @media (max-width: 768px) {
    .featured-services {
      padding: 50px 20px;
    }
  
    .featured-services .service-item {
      padding: 25px;
      margin-bottom: 30px;
    }
  
    .featured-services .service-item .title {
      font-size: 20px;
    }
  
    .featured-services .service-item .icon {
      width: 70px;
      height: 70px;
      font-size: 40px;
    }
  
    .featured-services .service-item .description {
      font-size: 16px;
    }
  }
        /*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about {
  padding-bottom: 60px;
  background-color: var(--surface-color); /* Soft background color */
}

.about .content .who-we-are {
  text-transform: uppercase;
  margin-bottom: 25px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 1.5rem; /* Slightly larger text for better emphasis */
}

.about .content h3 {
  font-size: 2.8rem; /* Larger font for heading */
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 25px;
}

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

.about .content ul li {
  padding-bottom: 14px;
  font-size: 1.1rem; /* Slightly larger text for clarity */
  color: var(--default-color);
  display: flex;
  align-items: center;
}

.about .content ul li i {
  font-size: 1.8rem; /* Larger icon for better visibility */
  margin-right: 15px; /* Slightly bigger gap between icon and text */
  color: var(--accent-color);
}

.about .content {
  margin-bottom: 0;
  font-size: 1.1rem; /* Slightly larger font for paragraph */
  color: var(--default-color);
  line-height: 1.8; /* Increased line height for better readability */
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: 'Times New Roman', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-radius: 35px; /* Softer rounded corners */
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  text-transform: uppercase;
  cursor: pointer;
}

.about .content .read-more i {
  font-size: 20px;
  margin-left: 12px;
  line-height: 0;
  transition: margin-left 0.3s ease, transform 0.3s ease;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 35px; /* More space for smoother hover effect */
}

.about .content .read-more:hover i {
  margin-left: 18px;
  transform: rotate(15deg);
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .about .content h3 {
      font-size: 2.2rem;
  }

  .about .content .read-more {
      font-size: 16px;
      padding: 12px 24px;
  }

  .about .content ul li {
      padding-bottom: 10px;
  }

  .about .content ul li i {
      font-size: 1.5rem;
      margin-right: 10px;
  }
}

  
  /*--------------------------------------------------------------
  # Features Section
  --------------------------------------------------------------*/
  
  .features .nav-tabs {
    border: 0;
    margin-bottom: 30px;
  }

  /* Add margin-top for mobile devices */
@media (max-width: 767px) {
  .features .nav-tabs {
      margin-top: 20px; /* Adjust the value as needed */
  }
}
  
  .features .nav-item {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .features .nav-link {
    color: var(--heading-color);
    border: 0;
    padding: 20px;
    transition: 0.3s ease;
    border-radius: 4px;
    display: flex;
    cursor: pointer;
    align-items: flex-start;
    background-color: var(--surface-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .features .nav-link i {
    background-color: var(--surface-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    flex-shrink: 0;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s ease;
  }
  
  .features .nav-link:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    transform: scale(1.05);
  }
  
  .features .nav-link.active {
    background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
    color: var(--contrast-color);
    transform: scale(1.05);
  }
  
  .features .nav-link h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--heading-color);
  }
  
  .features .nav-link p {
    font-size: 15px;
    margin: 0;
    color: var(--subheading-color);
  }
  
  .features .tab-pane {
    padding: 25px;
    background-color: var(--surface-color);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .features .tab-pane img {
    border-radius: 15px;
    width: 100%;
    height: auto;
  }
  
  .features .tab-pane i {
    color: var(--accent-color);
    font-size: 1.1rem;
  }

  .features .tab-pane span {
    font-size: 1.1rem;
  }
  
  .features .tab-pane i:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .features .nav-link {
      padding: 18px;
    }
  
    .features .nav-link i {
      width: 45px;
      height: 45px;
      font-size: 22px;
    }
  
    .features .nav-link h4 {
      font-size: 18px;
    }
  
    .features .nav-link p {
      font-size: 14px;
    }
  
    .features .tab-pane {
      padding: 20px;
    }
  }
  
  
  /*--------------------------------------------------------------
  # Services Section
  --------------------------------------------------------------*/
  
  .services .service-item {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    height: 100%;
    padding: 35px;
    transition: 0.3s ease;
    border-radius: 4px;
    display: flex;
  }
  
  .services .service-item .icon {
    font-size: 36px;
    border-radius: 4px;
    position: relative;
    margin-right: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
  
  .services .service-item h3 {
    color: color-mix(in srgb, var(--heading-color), transparent 25%);
    font-weight: 700;
    font-size: 24px;
  }
  
  .services .service-item p {
    margin-bottom: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
  }
  
  .services .service-item .read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    font-size: 16px;
  }
  
  .services .service-item .read-more i {
    margin-left: 12px;
  }
  
  .services .service-item:hover {
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  }
  
  .services .service-item:hover h3 {
    color: var(--heading-color);
  }
  
  .services .service-item:hover p {
    background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  }
  
  /*--------------------------------------------------------------
# Faq Section - First FAQ Style
--------------------------------------------------------------*/
.faq{
  background-color: var(--surface-color);
}
/* Section Title */
.faq .section-title {
    padding-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--default-color);
    text-align: center;
    margin-bottom: 40px;
  }
  
  /* FAQ Item */
  .faq .faq-container .faq-item {
    position: relative;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--surface-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  /* FAQ Item Hover Effect */
  .faq .faq-container .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  }
  
  /* FAQ Item Header */
  .faq .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-color);
    position: relative;
  }
  
  /* Number Style in FAQ */
  .faq .faq-container .faq-item h3 .num {
    color: var(--accent-color);
    padding-right: 10px;
    font-size: 20px;
  }
  
  /* FAQ Header Hover Effect */
  .faq .faq-container .faq-item h3:hover {
    color: var(--accent-color);
  }
  
  /* FAQ Content */
  .faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    opacity: 0;
    padding-top: 15px;
    transition: 0.3s ease-in-out;
  }
  
  .faq .faq-container .faq-item .faq-content p {
    margin: 0;
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
    overflow: hidden;
  }
  
  /* FAQ Toggle Button */
  .faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 20px;
    transition: 0.3s;
    cursor: pointer;
    color: var(--text-color);
  }
  
  .faq .faq-container .faq-item .faq-toggle:hover {
    color: var(--accent-color);
  }
  
  /* Active FAQ Item - Background changes to White */
  .faq .faq-container .faq-active {
    background-color: white; /* Change to white when active */
    border-color: var(--accent-color); /* Accent color for the border */
  }
  
  .faq .faq-container .faq-active h3 {
    color: var(--accent-color);
  }
  
  .faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
  }
  
  .faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
  }
  
  /* Accordion Toggle Animation */
  .faq .faq-container .faq-item h3:after {
    content: '+';
    font-size: 20px;
    color: var(--accent-color);
    transition: 0.3s;
    display: inline-block;
  }
  
  .faq .faq-container .faq-item.faq-active h3:after {
    content: '-';
    font-size: 22px;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .faq .faq-container .faq-item {
      padding: 20px;
    }
  
    .faq .faq-container .faq-item h3 {
      font-size: 16px;
    }
  
    .faq .faq-container .faq-item .faq-toggle {
      font-size: 18px;
      right: 15px;
    }
  }
  
  
  /*--------------------------------------------------------------
  # Contact Section
  --------------------------------------------------------------*/
  
  /* Contact Info Item */
  .contact .info-item {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  /* Add margin-bottom for mobile devices */
@media (max-width: 767px) {
  .contact .info-item {
      margin-bottom: 20px; /* Adjust the value as needed */
  }
}
  .contact .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .contact .info-item i {
    font-size: 28px;
    color: var(--accent-color);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color-light);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
  }
  
  .contact .info-item i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  
  .contact .info-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--default-color);
    margin: 15px 0;
  }
  
  .contact .info-item p {
    font-size: 16px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
  }
  
  /* Contact Form */
  .contact .php-email-form {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .contact .php-email-form:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
  }
  
  @media (max-width: 575px) {
    .contact .php-email-form {
      padding: 30px;
    }
  }
  
  .contact .php-email-form input[type="text"],
  .contact .php-email-form input[type="email"],
  .contact .php-email-form textarea {
    font-size: 16px;
    padding: 15px;
    box-shadow: none;
    border-radius: 4px;
    color: var(--default-color);
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }
  
  .contact .php-email-form input[type="text"]:focus,
  .contact .php-email-form input[type="email"]:focus,
  .contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px var(--accent-color);
  }
  
  /* Placeholder Styling */
  .contact .php-email-form input[type="text"]::placeholder,
  .contact .php-email-form input[type="email"]::placeholder,
  .contact .php-email-form textarea::placeholder {
    color: var(--text-color-light);
    font-size: 14px;
  }
  
  .contact .php-email-form textarea {
    height: 150px;
    resize: none;
  }
  
  /* Submit Button */
  .contact .php-email-form button[type="submit"] {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    border: 0;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s ease;
    width: auto;
    margin-top: 10px;
  }
  
  .contact .php-email-form button[type="submit"]:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-2px);
  }
  
  .contact .php-email-form button[type="submit"]:active {
    transform: translateY(1px);
  }
  
  /* Button Disabled State */
  .contact .php-email-form button[type="submit"]:disabled {
    background-color: var(--gray-color);
    cursor: not-allowed;
  }
  
  /* Error & Success Message */
  .contact .php-email-form .error-message,
  .contact .php-email-form .sent-message {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    border-radius: 4px;
  }
  
  .contact .php-email-form .error-message {
    background-color: var(--error-color);
    color: var(--contrast-color);
  }
  
  .contact .php-email-form .sent-message {
    background-color: var(--success-color);
    color: var(--contrast-color);
  }
  
  /*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

/* Overall Section Background */
.service-details {
  background-color: var(--background-color); /* Subtle background for academic look */
    padding: 40px 20px;
    border-radius: 4px;
    
    margin-bottom: 40px; /* Optional: Adding some bottom margin for spacing */
  }
  
  /* Service Box Styling */
  .service-details .service-box {
    background-color: var(--surface-color);
    padding: 20px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }
  
  /* Headings in the Service Box */
  .service-details .service-box h4 {
    font-size: 22px;
    font-weight: 700;
    border-bottom: 3px solid var(--default-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--heading-color);
  }

  /* Services List Styling */
  .service-details .services-list {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  }
  
  /* Styling for individual service links */
  .service-details .services-list a {
    color: var(--default-color);
    background-color: var(--surface-color);
    display: flex;
    align-items: center;
    padding: 14px 20px;
    margin-top: 12px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
  }
  .enroll-btn {
    color: var(--background-color) !important;
    background-color: var(--accent-color) !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 14px 20px !important;
    margin-top: 12px !important;
    border: 2px solid transparent !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    transition: all 0.3s ease-in-out !important;
    box-sizing: border-box !important;
    text-decoration: none !important; /* Ensures no underline */
    width: 250px;
}


.enroll-btn i{
  margin-right: 40px !important;
}

  .service-details .services-list a:first-child {
    margin-top: 0;
  }
  
  .service-details .services-list a i {
    font-size: 18px;
    margin-right: 12px;
    color: var(--accent-color);
  }
  
  /* Active Link */
  .service-details .services-list a.active {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
  }
  
  .service-details .services-list a.active i {
    color: var(--contrast-color);
  }
  
 /* Hover Effect */
.service-details .services-list a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color); /* Text and icon color */
  border-color: var(--accent-color);
  transform: translateX(5px);
}

/* Specific styling for the icon within the link */
.service-details .services-list a:hover i {
  color: var(--contrast-color); /* Ensure icon color is white */
}
  
  /* Help Box Styling */
  .service-details .help-box {
    background-color: var(--surface-color);
    color: var(--contrast-color);
    padding: 20px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 30px;
  }
  
  /* Headings in the Help Box */
  .service-details .help-box h4 {
    font-size: 22px;
    font-weight: 700;
    border-bottom: 3px solid var(--default-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--heading-color);
  }
  
  .service-details .help-box a {
    color: var(--default-color);
    text-decoration: none;
  }
  
  .service-details .help-box a:hover {
    color: var(--accent-color);
  }
  
  /* Service Image Styles */
  .service-details .services-img {
    margin-bottom: 20px;
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* Text Content Styles */
  .service-details h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--default-color);
  }
  
  .service-details p {
    font-size: 15px;
    line-height: 1.6;
  }
  
  .service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
  }
  
  .service-details ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
  }
  
  .service-details ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
  }
  
  /* Horizontal Links */
  .horizontal-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  
  .horizontal-links a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
  }
  
  .horizontal-links a:hover {
    color: white;
    background-color: #007bff;
    border-radius: 4px;
  }
  
  /* Style for the toggle link */
  .expand-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
  }
  
  .expand-toggle span {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .arrow-toggle {
    margin-left: auto;
    transition: transform 0.3s ease-in-out;
  }
  
  .expand-toggle.active .arrow-toggle {
    transform: rotate(180deg);
  }
  
  /* Expanded Links */
  .expand-links {
    padding-left: 20px;
    margin-top: 10px;
    display: none; /* Hidden by default */
  }
  
  .expand-toggle.active + .expand-links {
    display: block; /* Show when active */
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .service-details {
      padding: 30px 15px;
    }
  
    .service-details .service-box,
    .service-details .help-box {
      padding: 15px;
    }

    .service-details .help-box {
      margin-bottom: 30px;
    }
  
    .service-details h3 {
      font-size: 22px;
    }
  
    .service-details p,
    .service-details ul li {
      font-size: 14px;
    }
  
    .horizontal-links {
      flex-direction: column;
      gap: 10px;
    }
  
    .horizontal-links a {
      padding: 10px 20px;
    }
  }
  
  @media (max-width: 576px) {
    .service-details .services-list a {
      font-size: 14px;
      padding: 12px 16px;
    }
  
    .service-details .services-list a i {
      font-size: 16px;
    }
  }
  .help-box i {
    margin-right: 10px; /* Adjust this value as needed */
}
.clickable-image {
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.3s ease-in-out;
}

.clickable-image:hover {
  opacity: 0.8;
}



.clickable-image:hover::after {
  opacity: 1;
}
.about .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about .features-list li {
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center; /* Vertical centering */
  text-align: center;
  width:100%;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 8px; /* Rounded corners */
  background-color: #f5f5f5; /* Light background */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.about .features-list li:hover {
  transform: translateY(-5px); /* Slight upward movement */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
}

.about .features-list li i {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff; /* White background inside the icon */
  color: #007bff; /* Icon color */
  font-size: 24px; /* Icon size */
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Make the icon circular */
  margin-right: 15px; /* Space between the icon and text */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for icon */
}

.about .features-list li b {
  font-size: 18px; /* Bold text size */
  color: #333; /* Text color */
}

.about .features-list li p {
  margin: 0;
  color: #555; /* Slightly muted text color */
}


.featured-services .about-paragraph {
  
  width: auto; /* Fit the content */
  margin: 10px auto; /* Add vertical spacing and center it */
  text-align: center; /* Center the text */
  font-size:1.1rem;
}



.featured-services .service-item .description {
  font-size: 1rem; /* Adjust description font size */
  line-height: 1.5; /* Standard line height */
  margin: 0; /* Avoid excessive spacing */
}



.featured-services.second .service-item {
  background-color: #ffffff; /* White background for contrast */
  border: 1px solid var(--accent-color); /* Accent border for differentiation */
}

.featured-services .service-item {
  border: 1px solid var(--accent-color); /* Accent border for differentiation */
}

.featured-services.second .service-item:hover {
  transform: scale(1.05); /* Slight scale effect */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Stronger hover shadow */
}

.featured-services.second .service-item .icon {
  background-color: var(--accent-color); /* Accent color for icons */
}

.featured-services .service-item .icon {
  background-color: var(--accent-color); /* Accent color for icons */
}

.featured-services.second .service-item .icon i {
  color: #ffffff; /* White icon color for contrast */
}

.featured-services.second .service-item:hover .icon {
  background-color: var(--contrast-color); /* Change icon background on hover */
}

.featured-services.second .service-item:hover .icon i {
  color: var(--heading-color); /* Change icon color on hover */
}
/* Course Info Box Style */
#course-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background-color: var(--surface-color) !important; 
  
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#course-info h3 {
  font-size: 1.8rem;
  color: var(--heading-color);
  text-align: center;
}

#course-info p, #course-info ul {
  font-size: 1rem;
  color: black;
}

#course-info ul {
  list-style-type: none;
  padding: 0;
}

#course-info ul li {
  margin-bottom: 10px;
}

#course-info table {
  width: 100%;
  border-collapse: collapse;
}

#course-info table th, #course-info table td {
  padding: 10px;
  text-align: left;
}

#course-info table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#course-info table th {
  background-color: #f1f1f1;
}

#back-button{
  background-color: var(--accent-color);
}