:root {
    --primary-orange: #ff6b35;
    --dark-orange: #e55a2b;
    --bg-black: #0a0a0a;
    --card-black: #1a1a1a;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated gradient background */
.hero-bg {
    background: linear-gradient(135deg, var(--bg-black) 0%, var(--card-black) 50%, var(--bg-black) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-orange) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    //background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ff6b35" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

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

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 1s ease-out 0.6s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* hero-test */
.hero-test
{
    background:url(https://www.hellofitnessmagazine.com/image/catalog/blog/health/guide_to_hiit_workouts_by_hfm.jpeg) no-repeat center center fixed;
}

/* Section Styling */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog Section */
.blog-card {
    background: var(--card-black);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-orange);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-card .card-body {
    padding: 2rem;
}

.blog-card h5 {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.blog-card .btn-outline-primary {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.blog-card .btn-outline-primary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

/* Programs Section */
.programs {
    background: linear-gradient(135deg, var(--card-black) 0%, var(--bg-black) 100%);
}

.program-card {
    background: var(--bg-black);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.program-card:hover::before {
    opacity: 0.1;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.program-card .icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.program-card:hover .icon {
    transform: scale(1.2) rotate(10deg);
}

.program-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.program-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.program-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: var(--card-black);
}

.contact-form {
    background: var(--bg-black);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.form-control {
    background: var(--card-black);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--text-light);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 1rem;
}

.form-control:focus {
    background: var(--card-black);
    border-color: var(--primary-orange);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-black);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Custom hr element between the specialties items */
.custom-hr {
    width: 85%;
    margin: 1.5rem auto;
    border: none;
    border-top: 1px solid #ccc;
}

/* Specialties section */
/* Initial hidden state */
.feature-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible state */
.feature-row.show {
  opacity: 1;
  transform: translateY(0);
}

.feature-row h3 {
    text-decoration: underline;
    text-decoration-color: var(--primary-orange);
}

.order-6 {
    order: 6;
}
