* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Arial', sans-serif;
    background: #1a1a1a;
    color: #fff;
}

/* Add this to your existing CSS */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile navigation improvements */
@media (max-width: 991.98px) {
    .navbar-nav {
        background: rgb(34 34 34 / 90%);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem !important;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0.3rem 0;
        display: block;
        text-align: center;
        color: #fff !important;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(42, 95, 59, 0.9);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .navbar-nav .nav-item .login-btn,
    .navbar-nav .nav-item .shop-btn {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem !important;
        margin: 0.3rem 0;
        text-align: center;
        display: block;
        border-radius: 8px;
        text-decoration: none;
        color: #fff !important;
    }

    .navbar-nav .nav-item .login-btn {
        background: rgba(42, 95, 59, 0.8);
        border: 2px solid #2A5F3B;
    }

    .navbar-nav .nav-item .shop-btn {
        background: rgba(220, 53, 69, 0.8);
        border: 2px solid #dc3545;
    }

    .navbar-nav .nav-item .login-btn:hover {
        background: #2A5F3B;
        transform: none;
        box-shadow: none;
    }

    .navbar-nav .nav-item .shop-btn:hover {
        background: #dc3545;
        transform: none;
        box-shadow: none;
    }
}

/* Navigation */
.navbar {
    /* background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), 
                        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80'); */
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(6px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: #00A6B2 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover {
    background: rgba(42, 95, 59, 0.8);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    height: 100vh;

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: slideInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: slideInUp 1s ease-out;
}

.btn-primary {
    background: linear-gradient(45deg, #00A6B2, #2A5F3B);
    border: none;
    padding: 0.4rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 166, 178, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 166, 178, 0.6);
}

.btn-danger {
    border: none;
    padding: 0.4rem 1rem;
    font-size: 1.rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(178, 0, 0);
}

/* Media Slider */
.media-slider {
    padding: 4rem 0;
    background: #222;
}

.carousel-item img,
.carousel-item video {
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b35;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.filter-buttons {
    margin-bottom: 0;
    /* Change from 2rem to 0 */
}

.filter-btn {
    background: transparent;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

.search-bar {
    max-width: 500px;
    margin: 0 auto;
    /* Remove the 2rem bottom margin */
}

.search-bar input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #444;
    color: #fff;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
}

.search-bar input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff6b35;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.badge-custom {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1C2B3A, #1a1a1a);
    padding: 3rem 0 1rem 0;
    border-top: 2px solid #595F61;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 166, 178, 0.1);
    border: 2px solid #00A6B2;
    border-radius: 50%;
    color: #00A6B2;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00A6B2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 166, 178, 0.4);
}

.footer-content {
    text-align: center;
    border-top: 1px solid #595F61;
    padding-top: 1rem;
    color: #fff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00A6B2;
}

/* Login Button */
.login-btn {
    background: rgba(42, 95, 59, 0.8);
    border: 2px solid #2A5F3B;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Shop Button */
.shop-btn {
    background: rgba(220, 53, 69, 0.8);
    border: 2px solid #dc3545;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-btn:hover {
    background: #e91e63;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}


.login-btn:hover {
    background: #2A5F3B;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 95, 59, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

/* Page content for other sections */
.page-content {
    padding: 6rem 0 4rem 0;
    min-height: 80vh;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.coming-soon {
    text-align: center;
    padding: 4rem 0;
}

.coming-soon i {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 2rem;
}

/* TEAM members styleing */
.team-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 0;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 166, 178, 0.3);
}

.team-card-header {
    position: relative;
    height: 80%;
    min-height: 250px;
    overflow: hidden;
}

.team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-member-photo {
    transform: scale(1.05);
}

.team-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(40, 167, 69, 0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 15px 15px;
    z-index: 1;
}

.team-member-name {
    color: #fff;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.team-card-body {
    padding: 15px;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-member-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-align: left;
    margin-bottom: 5px;
}

.team-member-info i {
    width: 16px;
    margin-right: 8px;
}

.team-member-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 10px;
}

/* Member apply style */

.form-control:focus,
.form-select:focus {
    border-color: #2A5F3B;
    box-shadow: 0 0 0 0.2rem rgba(42, 95, 59, 0.25);
}

.btn:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.card {
    transition: all 0.3s ease;
}

.progress-bar {
    transition: width 0.6s ease;
}

.badge {
    font-size: 0.9em;
}

.btn-close-white {
    filter: invert(1);
}

/* Add to your existing CSS */
.application-form .form-control,
.application-form .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.application-form .form-control:focus,
.application-form .form-select:focus {
    border-color: #2A5F3B;
    box-shadow: 0 0 0 0.2rem rgba(42, 95, 59, 0.25);
}

.step-indicator {
    background: linear-gradient(90deg, #2A5F3B 0%, #00A6B2 100%);
    height: 4px;
    border-radius: 2px;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #2A5F3B 0%, #1C2B3A 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 95, 59, 0.3);
}

.bike-photo-add-card {
    width: 120px;
    height: 120px;
    border: 2px dashed #2A5F3B;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2A5F3B;
    transition: all 0.3s ease;
}

.bike-photo-add-card:hover {
    background-color: rgba(42, 95, 59, 0.1);
    border-color: #1C2B3A;
}

.bike-photo-preview-card {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.bike-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 25px;
    height: 25px;
}

.social-media-item {
    width: 100%;
    margin-bottom: 10px;
}

.bike-photo-add-card.border-danger {
    border-color: #dc3545 !important;
    color: #dc3545;
}

/* Trail and map related  */
.trail-card {
    transition: transform 0.2s;
    border: none;
}

.trail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.trail-image-container {
    position: relative;
}

.stars .fas,
.stars .far {
    font-size: 0.8rem;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 8px;
}

.trail-info-window {
    max-width: 300px;
}

.trail-info-window h6 {
    margin-bottom: 5px;
    color: #333;
}

.trail-info-window .badge {
    font-size: 0.7rem;
}

.waypoint-info {
    max-width: 250px;
}

.waypoint-info h6 {
    color: #333;
    margin-bottom: 8px;
}

.waypoint-info .small {
    margin-bottom: 4px;
}

/* Event filter buttons mobile responsive */
@media (max-width: 768px) {
    .filter-buttons {
        text-align: center !important;
        margin-top: 1rem;
    }

    .filter-buttons .filter-btn {
        margin: 0.2rem;
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

.me-corner-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    /* Increased from 15 */
    border-radius: 0 0 0 20px;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.crown-style {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.5);
    animation: shine 3s infinite;
}

.crown-style i {
    font-size: 0.8rem;
    color: #ffd700;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8));
}

/* Make sure the team-card-header has relative positioning */
.team-card-header {
    position: relative;
}

/* Make sure the image doesn't have a higher z-index */
.team-member-photo {
    position: relative;
    z-index: 1;
}

@keyframes shine {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.thats-me-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: proud-pulse 2s infinite;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes proud-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.phone-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.phone-verification-modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
}

.phone-verification-modal .modal-header {
    background: linear-gradient(135deg, #2A5F3B 0%, #1C2B3A 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.phone-verification-modal .modal-body {
    padding: 30px;
}

.cooldown-display {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #6c757d;
}

.cooldown-display .fas {
    margin-right: 8px;
}


.dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: #fff !important;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.dropdown-item i {
    margin-right: 0.5rem;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}