

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    padding-top: 76px; /* Pre fixed navbar */
}


.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    transition: all 0.3s;
}

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

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

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


.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    background-image: url('images/gym.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.85) 0%, rgba(10, 88, 202, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}


.feature-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15) !important;
}

.card-body {
    padding: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.sport-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sport-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.sport-icon {
    font-size: 3rem;
    color: #0d6efd;
}

.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
}


section {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}


footer {
    margin-top: auto;
}

footer a:hover {
    color: #0d6efd !important;
    opacity: 0.8;
}

footer .text-white {
    color: #ffffff !important;
}

footer .text-white:hover {
    color: #0d6efd !important;
    opacity: 1;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}


.card {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
}

.card-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-radius: 20px 20px 0 0 !important;
    padding: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 56px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .sport-icon {
        font-size: 2.5rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
}

@media (prefers-reduced-motion: no-preference) {
    .card, .gallery-item, .sport-card {
        opacity: 0;
        animation: fadeIn 0.6s ease-out forwards;
    }
}
