/* Add these styles to fix the mobile issues */

/* Make hamburger menu visible on mobile */
#mobile-menu-button {
    color: #0066b2; /* Changed to blue for white background */
    display: block;
    z-index: 50;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Sticky header for mobile */
  #navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white !important; /* Force white background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Logo styling */
  .logo-text {
    display: flex;
    flex-direction: column;
  }
  
  .skyhigh {
    color: #0066b2 !important; /* Blue color */
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .studies {
    color: #d4af37 !important; /* Gold color */
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  /* Navbar links for white background */
  #navbar nav a:not(.bg-secondary) {
    color: #0066b2 !important; /* Blue color for better contrast */
  }
  
  #navbar nav a:not(.bg-secondary):hover {
    color: #d4af37 !important; /* Gold color on hover */
  }
  
  /* Tablet and Mobile Responsive Adjustments */
  @media (max-width: 1023px) {
    /* Adjust language switcher position */
    .language-switcher {
      position: absolute;
      top: 50%;
      right: 70px;
      transform: translateY(-50%);
      z-index: 50;
    }
  
    /* Ensure logo and text are properly aligned */
    .logo-text {
      font-size: 0.9rem;
    }
  
    /* Improve mobile menu appearance */
    #mobile-menu {
      max-height: 80vh;
      overflow-y: auto;
    }
  
    /* Ensure the header has proper positioning for absolute elements */
    #navbar .container {
      position: relative;
    }
  
    /* Adjust padding for better spacing on tablets */
    .container {
      padding-left: 20px;
      padding-right: 20px;
    }
  
    /* Improve grid layouts for tablets */
    .grid {
      gap: 16px;
    }
  
    /* Adjust font sizes for better readability on tablets */
    h1 {
      font-size: 2.5rem;
    }
  
    h2 {
      font-size: 2rem;
    }
  
    /* Adjust service cards for better tablet layout */
    .service-card {
      height: 100%;
    }
  
    /* Improve team member display on tablets */
    .team-member {
      height: 100%;
    }
  
    /* Adjust gallery items for better tablet display */
    .gallery-item {
      height: 250px;
    }
  }
  
  /* Specific tablet breakpoint adjustments */
  @media (min-width: 768px) and (max-width: 1023px) {
    /* Show hamburger menu on tablets */
    #mobile-menu-button {
      display: block;
    }
  
    /* Hide desktop navigation on tablets */
    nav.hidden.md\:flex {
      display: none;
    }
  
    /* Adjust hero section for tablets */
    #home {
      height: 80vh;
    }
  
    /* Adjust stats grid for tablets - 2 columns instead of 4 */
    #stats .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Adjust services grid for tablets - 2 columns instead of 4 */
    #services .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Adjust gallery grid for tablets - 3 columns */
    #gallery .grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    /* Adjust testimonial slider for tablets */
    .testimonial-slider .swiper-slide {
      width: 48%;
    }
  
    /* Adjust footer layout for tablets */
    footer .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Improve timeline styling for "Our Application Process" section */
  .timeline-container {
    position: relative;
    margin-left: 20px;
  }
  
  .timeline-container::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 0;
    margin-left: 0;
  }
  
  .timeline-item {
    position: relative;
    width: 100%;
    padding: 10px 40px;
    margin-bottom: 30px;
  }
  
  .timeline-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary);
    border: 4px solid var(--primary);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
  }
  
  .timeline-left::after,
  .timeline-right::after {
    left: -10px;
  }
  
  .timeline-right {
    left: 0;
  }
  
  /* Add some spacing for the content area to account for fixed header */
  body {
    padding-top: 80px;
    overflow-x: hidden;
  }
  
  #home {
    margin-top: -80px;
  }
  
  /* Fix for horizontal scrollbar */
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Improve mobile menu toggle for tablets */
  @media (max-width: 1023px) {
    #mobile-menu-button {
      display: block;
    }
  
    .md\:hidden {
      display: block;
    }
  
    .md\:flex {
      display: none;
    }
  }
  
  /* Adjust image sizes for better tablet display */
  @media (min-width: 768px) and (max-width: 1023px) {
    .gallery-item img,
    .team-member img {
      height: 220px;
    }
  
    .service-card img {
      height: 180px;
    }
  }
  
  /* Add these styles to fix the image cutoff issues */
  
  /* Fix team member images */
  .team-member img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top center; /* Position from the top to show faces better */
  }
  
  /* Fix testimonial profile images */
  .testimonial-card .flex img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    object-position: center 30%; /* Position to better show faces */
    border-radius: 50%;
  }
  
  /* Adjust image sizes for different screen sizes */
  @media (max-width: 767px) {
    .team-member img {
      height: 220px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1023px) {
    .team-member img {
      height: 200px;
    }
  
    .gallery-item img {
      height: 220px;
    }
  }
  
  @media (min-width: 1024px) {
    .team-member img {
      height: 240px;
    }
  }
  
  /* Fix gallery images */
  .gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
  }
  
  /* Ensure proper image display in service cards */
  .service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
  }
  
  /* Fix timeline images */
  .timeline-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
  }
  
  @media (min-width: 1024px) {
    .lg\:hidden {
        display: none !important;
    }
 }

 .fix-btn {
    margin-right: -20px !important;
  }