/* General Reset */
body {
  margin: 0;
  font-family:"futura";
  background-color: #f8f9fa;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 575.98px) {
  /* Extra small devices (phones, less than 576px) */
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Hero sections mobile optimization */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* Button responsive sizing */
  .btn {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }
  
  /* Card spacing on mobile */
  .card-body {
    padding: 1.5rem !important;
  }
  
  /* Image responsive constraints */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Headings mobile optimization */
  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.3rem !important; }
  h4 { font-size: 1.1rem !important; }
  h5 { font-size: 1rem !important; }
  
  /* Text sizing */
  .lead { font-size: 1rem !important; }
  p { font-size: 0.9rem !important; }
  
  /* Grid spacing */
  .row > * {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  /* Small devices (landscape phones, less than 768px) */
  
  /* Navigation mobile improvements */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0 !important;
  }
  
  /* Section spacing optimization */
  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* Card grid responsive */
  .col-md-4, .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  /* Image constraints for mobile */
  .floating-img, .img-fluid {
    max-height: 250px !important;
  }
  
  /* Remove line breaks on mobile */
  br.d-none.d-md-block {
    display: none !important;
  }
  
  /* Center content on mobile */
  .text-md-end {
    text-align: center !important;
  }
  
  /* Mobile button full width */
  .btn-mobile-full {
    width: 100% !important;
    margin-top: 1rem !important;
  }
}

@media (max-width: 991.98px) {
  /* Medium devices (tablets, less than 992px) */
  
  /* Typography adjustments */
  .display-4 { font-size: 2.5rem !important; }
  .display-3 { font-size: 3rem !important; }
  
  /* Spacing adjustments */
  .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  
  /* Grid adjustments */
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Responsive text utilities */
.text-responsive-sm { font-size: clamp(0.8rem, 2vw, 1rem); }
.text-responsive-md { font-size: clamp(1rem, 2.5vw, 1.25rem); }
.text-responsive-lg { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.text-responsive-xl { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.text-responsive-xxl { font-size: clamp(2rem, 5vw, 3.5rem); }

/* Responsive spacing utilities */
.spacing-responsive-sm { margin: clamp(0.5rem, 2vw, 1rem); }
.spacing-responsive-md { margin: clamp(1rem, 3vw, 2rem); }
.spacing-responsive-lg { margin: clamp(1.5rem, 4vw, 3rem); }

/* Touch-friendly interactions */
@media (max-width: 991.98px) {
  .btn, .nav-link, .dropdown-item {
    min-height: 44px; /* Apple's recommended touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
}

/* Navbar Styles */
.navbar {
  z-index: 1030;
}

.navbar-brand img {
  max-height: 40px;
}

.nav-link {
  margin-right: 10px;
  font-weight: 500;
  color: #222;
}

.nav-link:hover {
  color: #0d6efd;
}

.navbar-nav .nav-link.active {
  background-color: #e6f0ff;
  color: #0d6efd !important;
}

.language-switcher .btn {
  font-size: 14px;
  padding: 5px 15px;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
  .language-switcher {
    margin-top: 10px;
  }
}

.custom-footer {
    background: linear-gradient(to bottom right, #12001b, #1a0033);
    color: #fff;
    padding: 50px 0 0 0;
    position: relative;
    font-size: 15px;
}

.footer-container {
    padding-bottom: 30px;
    border-bottom: 1px solid #555;
}

.custom-footer h5 {
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-footer p,
.custom-footer a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
}

.custom-footer a:hover {
    color: #fff;
}

.footer-logo {
    max-width: 180px;
}

.partner-logo {
    max-width: 100px;
    margin-left: 5px;
}

.social-icons a {
    color: #fff;
    margin: 0 8px;
    font-size: 18px;
}

.footer-bottom {
    background: #000;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .custom-footer {
        text-align: center;
    }

    .footer-logo,
    .partner-logo {
        display: block;
        margin: 10px auto;
    }

    .text-md-end {
        text-align: center !important;
    }
}

.custom-footer {
    background: #3f00ff;
    color: #fff;
    padding: 50px 0 0 0;
    position: relative;
    font-size: 15px;
}

/* .footer-container {
    padding-bottom: 30px;
    border-bottom: 1px solid #1a009a;
} */

.custom-footer h5 {
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-footer p,
.custom-footer a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
}

.custom-footer a:hover {
    color: #fff;
}

.footer-logo {
    max-width: 180px;
}

.partner-logo {
    max-width: 100px;
    margin-left: 5px;
}

.social-icons a {
    color: #fff;
    margin: 0 8px;
    font-size: 18px;
}

.footer-bottom {
    background: #000;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .custom-footer {
        text-align: center;
    }

    .footer-logo,
    .partner-logo {
        display: block;
        margin: 10px auto;
    }

    .text-md-end {
        text-align: center !important;
    }
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    flex-shrink: 0;
}

/* Burger Icon Custom (if needed) */
.custom-toggler {
  border: none;
  background: transparent;
}

/* Prevent menu from going off-screen on any device */
@media screen {
  .side-menu {
    /* Ensure menu never goes beyond screen boundaries */
    min-width: 250px;
    max-width: min(320px, 90vw);
  }
}

/* Force correct positioning on page load */
.side-menu:not(.open) {
  right: -100vw !important;
  visibility: hidden;
}

/* Mobile Menu Backdrop */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.menu-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile Slide-in Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -320px; /* Fixed value to ensure consistent positioning */
  width: 280px;
  max-width: 90vw;
  height: 100vh;
  background-color: white;
  color: #333;
  transition: right 0.3s ease-in-out;
  z-index: 9999;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Force hardware acceleration for smoother animation */
  transform: translateZ(0);
  will-change: right;
}

/* Show menu */
.side-menu.open {
  right: 0;
}

/* Additional mobile-specific fixes */
@media (max-width: 480px) {
  .side-menu {
    width: calc(100vw - 40px); /* Leave some space on very small screens */
    right: calc(-100vw);
    max-width: none;
  }
}

/* Close button inside menu */
.side-menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  background-color: #f8f9fa;
}

.side-menu .close-btn {
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  background: none;
  border: none;
  padding: 0.5rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-menu .close-btn:hover {
  color: #007bff;
  background-color: #e9ecef;
  border-radius: 4px;
}

/* Links inside side menu */
.side-menu .nav-link {
  color: #333;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  min-height: 44px;
}

.side-menu .nav-link:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.side-menu .nav-link i {
  font-size: 1.2rem;
}

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  width: 50px;
  height: 50px;
  font-size: 22px;
  padding: 0;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background-color 0.3s ease;
}
#backToTopBtn:hover {
  background-color: #1a009a;
}

 /* Custom styles for Google Translate and other elements */
    
    /* --- The core fix for the Google Translate banner --- */
    .goog-te-banner-frame.skiptranslate,
    .goog-te-gadget-icon,
    .goog-te-menu-value {
      display: none !important;
    }
    
    body {
      top: 0px !important;
    }
    
    /* --- Styles for the translate dropdown --- */
    .goog-te-gadget {
      font-size: 0px !important;
    }
    .goog-te-combo {
      padding: 5px;
      border-radius: 30px;
    }

    /* Additional side menu mobile styles */
    .side-menu .dropdown {
      margin-bottom: 1rem;
    }
    .side-menu .dropdown-menu {
      position: static !important;
      transform: none !important;
      box-shadow: none;
      border: 1px solid #eee;
      margin-top: 0.5rem;
    }
    .side-menu .dropdown-menu .dropdown-item {
      padding: 0.75rem 1rem;
      min-height: 44px;
      display: flex;
      align-items: center;
    }
    .side-menu .dropdown-menu .dropdown-item:hover {
      background-color: #f8f9fa;
      color: #007bff;
    }
    
    /* Footer styles */
    .custom- {
      background-color: #333;
      color: #fff;
      padding: 4rem 0;
    }
    .footer-logo {
      height: 70px;
      width: 140px;
    }
    .custom-footer a {
      color: #fff;
      text-decoration: none;
    }
    .custom-footer a:hover {
      text-decoration: underline;
    }
    .partner-logo {
      height: 50px;
    }
    .social-icons a {
      font-size: 1.5rem;
      margin: 0 10px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 1rem;
      margin-top: 2rem;
    }
    .animate-left-right {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 1s ease forwards;
  }

  @keyframes slideInFromLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes slideInLeft {
    0% {
      opacity: 0;
      transform: translateX(-60px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .animate-left {
    animation: slideInLeft 1s ease-out both;
  }
  .card-custom {
    height: 28 0px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: transform 0.3s ease;
    background-color: #ffffff;
  }

  .card-custom:hover {
    transform: translateY(-8px);
  }

  .card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .card-title {
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hides overflow text */
    text-overflow: ellipsis; /* Adds ellipsis for overflow text */
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column; /* Stack nav items on smaller screens */
    }
}


  .card-img-top-rounded {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
  }

  .card-body-custom {
    margin-top: 20px;
    font-size: 15px;
    color: #555;
  }

  body {
    overflow-x: hidden;
  }

  @keyframes rightToLeft {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
  }

  .animate-right-to-left {
  animation: rightToLeft 1s ease-out forwards;
  }
    .hover-zoom {
    transition: transform 0.4s ease-in-out;
    display: inline-block;
  }

  .hover-zoom:hover {
    transform: scale(1.08);
  }

    .animate-left-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-in-out;
  }

  .animate-left-right.show {
    opacity: 1;
    transform: translateX(0);
  }

  .success-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
  }

  .success-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .success-card img {
    transition: transform 0.3s ease;
  }

  .success-card:hover img {
    transform: scale(1.05);
  }

  .trainer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50px;
    width: 260px;
    height: 200px;
    padding: 20px;
  }

  .trainer-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }

  .trainer-img-container {
    width: 200px;
    height: 200px;
    border-radius: 80%;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .trainer-img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .trainer-card:hover .trainer-img {
    transform: scale(1.05);
  }

  .accordion-button .toggle-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.accordion-button:not(.collapsed) .toggle-icon::before {
  content: "−";
}
.accordion-button.collapsed .toggle-icon::before {
  content: "+";
}
.accordion-button span:last-child {
  flex: 1;
}

/* Animate.css (optional CDN) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

/* Lift hover effect */
.floating-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.floating-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Animated Button Hover */
.custom-cta-btn {
  background: linear-gradient(to right, #3f00ff, #a020f0);
  border: none;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 0 transparent;
}
.custom-cta-btn:hover {
  box-shadow: 0 0 15px #a020f0;
  transform: scale(1.05);
}

/* Legal Hero Gradient Background */
.legal-hero-section {
  height: 60vh;
  background: linear-gradient(to bottom right, #3f00ff, #8d00c7);
  color: white;
  position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .legal-hero-section {
    height: auto;
    padding: 60px 20px;
  }
  .legal-hero-section h1 {
    font-size: 2rem;
  }
  .legal-hero-section p {
    font-size: 1rem;
  }
}

.legal-notice-content {
  min-height: 70vh;
  background: linear-gradient(to bottom right, #3f00ff, #8d00c7);
}

@media (max-width: 768px) {
  .legal-notice-content .lead {
    font-size: 1rem;
  }
}

.legal-notice-content {
  min-height: 70vh;
  background: linear-gradient(to bottom right, #3f00ff, #8d00c7);
}

.rental-bike-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform, box-shadow;
  }

  .rental-bike-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  /* Hover effect on button */
  .hover-grow {
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  .hover-grow:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
    color: #3f00ff;
  }

  /* Floating animation on image */
  .floating-img {
    animation: floatUpDown 4s ease-in-out infinite;
  }

  @keyframes floatUpDown {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-12px);
    }
  }

  .animated-image {
    transition: transform 0.3s ease, max-height 0.3s ease;
}

.animated-image:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Increase size on desktop */
@media (min-width: 768px) {
    .animated-image {
        max-height: 200px; /* Increase max height for desktop */
    }
}

.gallery-img {
  transition: transform 0.4s ease, filter 0.3s ease;
  border-radius: 12px;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.07);
  filter: brightness(1.1);
}

.stats-card {
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  }

  @media (max-width: 768px) {
    .dropdown-menu {
        width: 100%; /* Make dropdown full width on mobile */
    }
}

/* ===== RESPONSIVE FOOTER LOGO OVERRIDES ===== */
/* These rules override any previous logo sizing */
.footer-logo {
    max-width: clamp(120px, 20vw, 180px) !important;
    width: clamp(120px, 20vw, 180px) !important;
    height: auto !important;
}

.partner-logo {
    max-width: clamp(50px, 12vw, 80px) !important;
    width: clamp(50px, 12vw, 80px) !important;
    height: auto !important;
    margin-left: 5px;
}

/* Specific mobile breakpoints for logos */
@media (max-width: 768px) {
    .footer-logo {
        max-width: clamp(100px, 25vw, 140px) !important;
        width: clamp(100px, 25vw, 140px) !important;
    }
    
    .partner-logo {
        max-width: clamp(60px, 15vw, 80px) !important;
        width: clamp(60px, 15vw, 80px) !important;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        max-width: clamp(80px, 30vw, 120px) !important;
        width: clamp(80px, 30vw, 120px) !important;
    }
    
    .partner-logo {
        max-width: clamp(45px, 20vw, 65px) !important;
        width: clamp(45px, 20vw, 65px) !important;
    }
}

/* Additional logo class for the OCN logo */
.logo {
    max-width: clamp(80px, 20vw, 150px) !important;
    width: clamp(80px, 20vw, 150px) !important;
    height: auto !important;
}

@media (max-width: 480px) {
    .logo {
        max-width: clamp(60px, 25vw, 100px) !important;
        width: clamp(60px, 25vw, 100px) !important;
    }
}