/* Top Header Running Line  */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    background-color: #AD35FA;
    color: white;
    width: 100%;
    padding: 10px 0;
    position: relative;
    display: flex;
  }
  
  .marquee_inner {
    display: flex;
    width: 200%;
    animation: marquee-scroll 10s linear infinite;
  }
  
  .marquee_content {
    flex: 0 0 50%;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-right: 50px; /* Add margin to create a gap */
  }
  
  .marquee:hover .marquee_inner {
    animation-play-state: paused;
  }
  
  @keyframes marquee-scroll {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-50%);
    }
  }
  
  .header {
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: visible; 
  }

  
  /* Marquee styles */
  .marquee {
    background: #AD35FA;
    color: white;
    padding: 8px 0;
    overflow: hidden;
  }
  
  .marquee_inner {
    display: flex;
    width: 200%;
    animation: marquee 20s linear infinite;
  }
  
  .marquee_content {
    flex: 0 0 50%;
    white-space: nowrap;
    padding: 0 20px;
  }
  
  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Navbar styles */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 60px;
    width: auto;
  }
  
  /* Desktop Menu */
  .desktopMenu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .link {
    color: darkblue;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
  }
  
  .link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: darkblue;
    transition: width 0.3s ease;
  }
  
  .link:hover::after {
    width: 100%;
  }
  
  /* Desktop Dropdown */
  .desktopDropdown {
    position: relative;
  }
  
  .dropdownTrigger {
    color: darkblue;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }
  
  .desktopDropdownContent {
    display:none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 100;
  }
  .desktopDropdown:hover .desktopDropdownContent {
  display: block;
}
  
  /* Nav Actions */
  .navActions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .searchButton {
    background: none;
    border: none;
    cursor: pointer;
    color: #444;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .searchButton:hover {
    background-color: rgba(46, 33, 131, 0.08); /* Light purple */
    color: #2e2183; /* Purple from logo */
    transform: scale(1.05);
  }
  .searchActive {
    color: #2e2183; /* Purple from logo */
    background-color: rgba(46, 33, 131, 0.08); /* Light purple */
  }
  .appointmentButton {
    background: linear-gradient(to right, #1a237e, #4285f4);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
  }
  
  .appointmentButton:hover {
    transform: translateY(-2px);
  }
  
  .appointmentButton i {
    transition: transform 0.2s ease;
  }
  
  .appointmentButton:hover i {
    transform: translateX(4px);
  }
  
  /* Mobile Menu Button */
  .menuButton {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .menuButton span {
    width: 100%;
    height: 2px;
    background: darkblue;
    transition: all 0.3s ease;
  }
  
  .menuButton.active span:first-child {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menuButton.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menuButton.active span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Mobile Menu */
  .mobileMenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  
  .mobileMenuOpen {
    transform: translateX(0);
  }
  
  .mobileHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
  }
  
  .mobileLogo {
    height: 40px;
    width: auto;
  }
  
  .closeButton {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .mobileNav {
    padding: 1.5rem;
    overflow-y: auto;
    height: calc(100vh - 180px);
  }
  
  .mobileLink {
    display: block;
    color: darkblue;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }
  
  /* Mobile Dropdown */
  .mobileDropdown {
    border-bottom: 1px solid #eee;
  }
  
  .dropdownButton {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: darkblue;
    font-size: 1.2rem;
    padding: 1rem 0;
    cursor: pointer;
  }
  
  .dropdownButton i {
    transition: transform 0.3s ease;
  }
  
  .rotate {
    transform: rotate(180deg);
  }
  
  .dropdownContent {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .dropdownContent.show {
    max-height: 500px;
  }
  
  .dropdownLink {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
  }
  
  .dropdownLink:last-child {
    border-bottom: none;
  }
  
  /* Mobile Footer */
  .mobileFooter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid #eee;
  }
  
  .mobileAppointmentBtn {
    width: 100%;
    background: linear-gradient(to right, #1a237e, #4285f4);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
  }
  
  .menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .navLinks {
    display: flex;
    align-items: center;
  }
  
  .menu .links {
    color: darkblue;
    margin: 10px;
    font-size: 18px;
    list-style: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
  }
  
  .links span {
    position: relative;
  }
  
  .links span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1e84b5;
    transition: width 0.3s ease;
  }
  
  .links:hover span::after {
    width: 100%;
  }
  
  .menu .links:hover {
    color: #1e84b5;
  }
  
  .dropdownContainer {
    position: relative;
  }
  
  .r_drop {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .r_drop i {
    font-size: 14px;
    transition: transform 0.3s ease;
  }
  
  .rotateIcon {
    transform: rotate(180deg);
  }
  
  .resourses_dropdown {
    position: absolute;
    display: none;
    min-width: 200px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .reOpenMenu {
    display: flex;
    flex-direction: column;
    top: 100%;
    left: 0;
    background-color: white;
    margin: auto;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    opacity: 1;
    transform: translateY(0);
  }
  
  .drop_links {
    color: darkblue;
    width: 100%;
    font-size: 18px;
    list-style: none;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    text-wrap: nowrap;
  }
  
  .drop_links:hover {
    background-color: darkblue;
    color: white;
    width: 100%;
    margin: auto;
  }
  
  .appointment_button {
    position: relative;
    padding: 5px 10px;
    border: none;
    background-color: darkblue;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    font-size: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.5s ease;
    margin-left: 10px;
  }
  
  .appointment_button::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(to right, rgb(5, 117, 230), rgb(2, 27, 121));
    transition: left 0.5s ease;
    z-index: 1;
    border-radius: 50px;
  }
  
  .appointment_button:hover::after {
    left: 0;
  }
  
  .appointment_button i {
    padding: 10px;
    background-color: white;
    color: #030077;
    border-radius: 100px;
    rotate: -45deg;
  }
  
  .appointment_button:hover i {
    rotate: 0deg;
    transition: 0.5s;
  }
  
  .appointment_button span {
    margin: 10px;
  }
  
  .appointment_button span,
  .appointment_button i {
    z-index: 2;
    transition: color 0.5s ease;
  }
  
  .appointment_button:hover span {
    color: white;
  }
  
  /* Menu toggle button */
  .menuToggle {
    background: #1e84b5;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .menuToggle:hover {
    background: #1667a0;
  }
  
  .menuToggle.active {
    background: #1667a0;
  }
  
  .bar {
    display: block;
    width: 22px;
    height: 3px;
    background-color: white;
    border-radius: 6px;
    margin: 2px auto;
    transition: all 0.3s ease-in-out;
  }
  
  .menuToggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menuToggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menuToggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Right side actions container */
  
  /* Search icon styling */
  .search_icon {
    cursor: pointer;
    font-size: 1.2rem;
    color: darkblue;
    margin-right: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
  
  .search_icon:hover {
    background-color: rgba(0, 0, 139, 0.08);
    transform: scale(1.05);
  }
  
  /* Mobile menu specific styles */
  .mobileHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
  }
  
  .mobileLogo img {
    max-width: 180px;
    height: auto;
  }
  
  .mobileCloseBtn {
    background: none;
    border: none;
    font-size: 24px;
    color: #444;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .mobileCloseBtn:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .mobileActions {
    display: none;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
  }
  
  .mobileAppointmentBtn {
    width: 100%;
    background: linear-gradient(to right, #1a237e, #4285f4);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
  }
  
  /* Tablet Specific Styles */
  @media only screen and (max-width: 1050px) and (min-width: 769px) {
    .header {
      z-index: 10000;
    }
  
    .navbar {
      width: 95%;
      padding: 0 15px;
    }
  
    .logo img {
      max-width: 220px;
    }
  
    .menu .links {
      font-size: 16px;
      margin: 8px 5px;
    }
  
    .appointment_button {
      font-size: 14px;
    }
  
    .appointment_button span {
      margin: 8px;
    }
  
    .appointment_button i {
      padding: 8px;
    }
  
    .search_icon {
      margin-right: 10px;
    }
  }
  
  /* Mobile Styles */
  @media only screen and (max-width: 768px) {
    .desktopMenu {
      display: none;
    }
  
    .appointmentButton {
      display: none;
    }
  
    .menuButton {
      display: flex;
    }
  
    .mobileMenu {
      display: block;
    }
  
    .header {
      z-index: 10000;
    }
  
    .navbar {
      width: 100%;
      padding: 10px 20px;
    }
  
    .logo img {
      width: 100%;
      max-width: 200px;
      padding: 10px 0;
    }
  
    .menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: white;
      z-index: 10000;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      overflow-y: auto;
      transform: translateX(100%);
      transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
  
    .menuOpen {
      display: flex;
      transform: translateX(0);
    }
  
    .mobileHeader {
      display: flex;
    }
  
    .navLinks {
      display: flex;
      flex-direction: column;
      padding: 20px 0;
      flex: 1;
    }
  
    .menu .links {
      margin: 0;
      padding: 15px 20px;
      font-size: 18px;
      border-bottom: 1px solid #f5f5f5;
      display: flex;
      justify-content: space-between;
      width: 100%;
    }
  
    .links span::after {
      display: none;
    }
  
    .r_drop {
      justify-content: space-between;
    }
  
    .resourses_dropdown {
      position: static;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      box-shadow: none;
      width: 100%;
    }
  
    .reOpenMenu {
      max-height: 500px;
      border-radius: 0;
    }
  
    .drop_links {
      padding: 15px 30px;
      background-color: #f9f9f9;
      border-bottom: 1px solid #eee;
    }
  
    .drop_links:last-child {
      border-bottom: none;
    }
  
    .mobileActions {
      display: block;
    }
  
    .menuToggle {
      display: none;
    }
  
    .appointment_button {
      display: none;
    }
  
    .search_icon {
      display: flex;
      margin-right: 15px;
    }
  }
  
  /* Large Desktop Styles */
  @media only screen and (min-width: 1051px) {
    .navbar {
      max-width: 1400px;
    }
  }
  
  /* Animation for mobile menu items */
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @media only screen and (max-width: 768px) {
    .mobileMenu {
      display: block;
    }
    .mobileMenuOpen .mobileLink {
      animation: slideIn 0.3s ease forwards;
    }
  
    .mobileMenuOpen .mobileLink:nth-child(1) {
      animation-delay: 0.1s;
    }
    .mobileMenuOpen .mobileLink:nth-child(2) {
      animation-delay: 0.2s;
    }
    .mobileMenuOpen .mobileLink:nth-child(3) {
      animation-delay: 0.3s;
    }
    .mobileMenuOpen .mobileLink:nth-child(4) {
      animation-delay: 0.4s;
    }
    .mobileMenuOpen .mobileDropdown {
      animation-delay: 0.5s;
    }
    .mobileMenuOpen .mobileLink:nth-child(6) {
      animation-delay: 0.6s;
    }
    .mobileMenuOpen .mobileLink:nth-child(7) {
      animation-delay: 0.7s;
    }
  
    .menuOpen .links {
      animation: fadeInRight 0.5s ease forwards;
      opacity: 0;
    }
  
    .menuOpen .links:nth-child(1) {
      animation-delay: 0.1s;
    }
    .menuOpen .links:nth-child(2) {
      animation-delay: 0.2s;
    }
    .menuOpen .links:nth-child(3) {
      animation-delay: 0.3s;
    }
    .menuOpen .links:nth-child(4) {
      animation-delay: 0.4s;
    }
    .menuOpen .dropdownContainer {
      animation: fadeInRight 0.5s ease forwards 0.5s;
      opacity: 0;
    }
    .menuOpen .links:nth-child(6) {
      animation-delay: 0.6s;
    }
    .menuOpen .links:nth-child(7) {
      animation-delay: 0.7s;
    }
  
    .menuOpen .mobileActions {
      animation: fadeInRight 0.5s ease forwards 0.8s;
      opacity: 0;
    }
  }
  
  /* Media Queries */
  @media (min-width: 769px) {
    .mobileMenu {
      display: none;
    }
  }
  
  