/* Existing styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bebas Neue', sans-serif;
    /* Just for demo to show sticky effect */
    
}



.animate-pop {
    animation: popIn 3s cubic-bezier(.17,.67,.42,.79) both;
    transform-origin: center;
    opacity: 0;
    
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    30% {
        transform: scale(1.15); /* Slightly bigger peak for more dramatic effect */
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* Navbar styles - Always shows hamburger */
/* Existing navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    height: 60px;
    font-family: 'Bebas Neue', sans-serif; /* Applied to entire navbar */
}

/* "BUY SESSIONS" link - visible on desktop only */
.navbar > .nav-link {
    color: #e4572e;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    margin-right: 0px; /* Space between the two links */
}

.nav-link {
    color: #e4572e !important; /* Force orange color */
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #c9c8c8 !important; /* Hover color */
}

.nav-links-left {
    display: flex;
    color: #e4572e;
    gap: 0px; /* Reduced from 20px */
    align-items: center;
}

.nav-separator {
    color: #e4572e;
    margin: 0 2px; /* Reduced from 0 5px */
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    height: 100%;
}


.navbar > .nav-link:first-child {
    margin-left: 10px; /* Add some left margin */
}


.navbar > .nav-link:hover {
    color: #c9c8c8;
}


.logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    height: 30px;
    width: auto;
    border-radius: 0 !important;
    object-fit: contain;
    display: block;
}

/* Optional hover effect */
.logo-link:hover .logo {
    opacity: 0.9;
}

/* Hamburger menu - always visible */
.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #e4572e;
    transition: all 0.3s ease;
}

.opening-hours {
    padding: 20px 15px; /* Reduced padding */
    color: #fff;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15); /* More subtle border */
    width: 100%;
    margin-top: auto;
    font-family: Arial, sans-serif;
}

.opening-hours h4 {
    color: #e4572e;
    font-size: 1.1rem; /* Smaller heading (~17.6px) */
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px; /* Tighter spacing */
    text-align: left;
    max-width: 240px; /* Slightly narrower */
    margin: 0 auto;
}

.hours-grid p {
    margin: 0;
    font-size: 0.85rem; /* Smaller text (~13.6px) */
    line-height: 1.4; /* Slightly tighter line height */
}

.hours-grid .day {
    font-weight: bold;
    color: #f8f8f8;
}

.hours-grid .time {
    color: #cccccc;
    text-align: right;
}
/* Mobile menu - same for all screen sizes */
/* Nav Menu Container */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: right 0.5s ease;
    z-index: 1000;
    padding: 60px 0 20px; /* Added bottom padding */
    list-style: none;
}

/* Menu Items Container */
.menu-items-container {
    flex: 1;
    overflow-y: auto;
}

@media (min-width: 400px) {
    .opening-hours {
        padding: 20px; /* Still reduced from original */
    }
    
    .opening-hours h4 {
        font-size: 1.2rem; /* Slightly larger on bigger screens */
    }
    
    .hours-grid p {
        font-size: 0.9rem; /* Slightly larger on bigger screens */
    }
}
/* Adjust menu items spacing */
.nav-item {
    margin: 12px 0;
    text-align: center;
}

.nav-menu.active {
    right: 0;
}



.nav-menu .nav-link {
    font-size: 1.5rem;
    color: #e4572e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu .nav-link:hover {
    color: #c9c8c8;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mission-header-image {
    max-width: 400px; /* Adjust size as needed */
    width: 100%;
    height: auto;
    margin: 0 auto 30px; /* Centers image and adds space below */
    border-radius: 8px; /* Optional subtle rounding */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Optional subtle shadow */
  }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    font-family: 'Bebas Neue', sans-serif;
}

.modal-content {
    background-color: #000;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #e4572e;
    width: 300px; /* Fixed width */
    height: 300px; /* Same as width to make it square */
    text-align: center;
    position: relative;
    color: white;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(228, 87, 46, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distributes space evenly */
}

.close-modal {
    color: #e4572e;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
}

.modal-title {
    color: #e4572e;
    font-size: 2rem;
    margin-bottom: 10px; /* Reduced */
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-text {
    margin-bottom: 15px; /* Reduced */
    font-size: 1.2rem;
    color: #f8f8f8;
    letter-spacing: 1px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced */
    margin-top: auto; /* Pushes to bottom */
}

.modal-btn {
    padding: 10px 15px; /* Slightly reduced */
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}
  
/* Center the client logos */
#clients04-6f .row {
    justify-content: center !important; /* Center the logo items horizontally */
    margin: 0 auto; /* Center the entire row */
    max-width: 900px; /* Adjust based on your preferred maximum width */
}

/* Ensure each logo item takes equal space */
#clients04-6f .item.features-image {
    display: flex;
    justify-content: center;
    padding: 0 15px; /* Add some spacing between logos */
}

/* Make images responsive within their containers */
#clients04-6f .item-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
  /*new*/
/* Ensure Bebas Neue font is imported */

/* Footer navigation container */
.row-links {
    width: 100%;
    padding: 25px 0;
    font-family: 'Bebas Neue', sans-serif;
}

/* Menu list styles */
.header-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
}

/* Menu item styles */
.header-menu-item {
    padding: 5px 0;
}

/* Link styles with working hover */
.header-menu-item a {
    color: #e4572e !important;
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 1.2px;
    white-space: nowrap;
    padding: 8px 0;
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    position: relative; /* Needed for some hover effects */
    transition: all 0.3s ease !important; /* Force transition */
}

/* Hover effect that works */
.header-menu-item a:hover {
    color: #c9c8c8 !important;
    transform: translateY(-2px); /* Subtle lift effect */
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hover effect for footer */
/* Copyright footer container */
.col-12.mt-5 {
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* optional divider */
}

/* Copyright wrapper */
.copyright {
    font-family: 'Bebas Neue', sans-serif;
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Copyright text */
.copyright-text {
    flex: 1;
    text-align: left;
}

/* Terms link */
.copyright-link {
    color: #e4572e !important;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
}

.copyright-link:hover {
    color: #c9c8c8 !important;
    text-decoration: underline;
}
/* Target both image sections */
#image08-6b, #image08-6e {
    padding: 2rem 0;
}

/* Image container styling - ensures consistent aspect ratio */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}

/* Desktop layout - fixed height with centered cropping */
@media (min-width: 992px) {
    .side-features .image-wrapper {
        height: 400px; /* Fixed height for desktop */
    }
    .side-features .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center; /* Crucial: crops from center */
    }
}

/* Mobile layout - flexible height with centered content */
@media (max-width: 991px) {
    .image-wrapper {
        height: 300px; /* Reduced height for mobile */
    }
    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center; /* Crucial: crops from center */
    }
    
    /* Stack layout for mobile */
    .col-lg-4, .col-lg-8 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .col-lg-4 {
        margin-bottom: 2rem;
    }
}
/* Mobile responsiveness - centered */
@media (max-width: 768px) {
    .copyright {
        flex-direction: column;
        align-items: center; /* Center both items */
        text-align: center;
        gap: 10px;
    }
    
    .copyright-text,
    .copyright-link {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
    
    .copyright-text {
        margin-bottom: 5px;
    }
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .header-menu {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .header-menu-item a {
        font-size: 1.8rem;
        padding: 12px 20px;
        transition: all 0.2s ease !important; /* Slightly faster on mobile */
    }
    
    .header-menu-item a:hover {
        transform: translateY(-1px); /* Smaller lift on mobile */
    }
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .header-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .header-menu-item {
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }
    
    /* Fix for the item containing multiple inline links */
    .header-menu-item:has(> a + a) {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .header-menu-item a {
        white-space: normal; /* Allow text wrapping */
        padding: 8px 15px;
    }
}
  /* Mobile responsiveness */
  @media (max-width: 480px) {
    .modal-content {
        width: 280px;
        height: 280px;
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-text {
        font-size: 1rem;
    }
    
    .modal-btn {
        padding: 8px 12px;
        font-size: 1rem;
    }
}
  @media (max-width: 768px) {
    .mission-header-image {
      max-width: 280px; /* Smaller on mobile */
      margin-bottom: 20px;
    }
  }
/* Hide "BUY SESSIONS" on mobile */
@media (max-width: 768px) {
    .navbar > .nav-link {
        display: none; /* Hide both links on mobile */
    }
    
    .nav-links-left {
        display: none; /* This hides both links AND the separator */
    }
    
    /* Adjust logo positioning when links are hidden */
    .logo-link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 100%; /* Take full navbar height */
        display: flex;
        align-items: center; /* Vertically center logo */
    }
    
    .navbar {
        padding: 20px 15px;
        height: 70px; /* Taller navbar */
    }
    
    .logo {
        height: 35px; /* Slightly larger logo */
    }
    
    .hamburger {
        margin-left: auto; /* Pushes to far right */
        margin-right: 0;
        order: 2; /* Ensures it stays on right */
    }
    .hamburger span {
        height: 4px; /* Thicker hamburger lines */
    }
    

 
    
}