*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f4f4f4;
    color:#333;
}

header{
    background:#111;
    color:white;
    padding:20px 50px;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#ff4d00;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-weight:600;
}

.hero{
    height:100vh;
    background:url('../images/home-gym1.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-content h1 {
    font-size:60px;
    color:#ff6b00;
}

.hero-content p{
    margin:20px 0;
    font-size:20px;
    color: #ff6b00;
}

.btn{
    background:#ff4d00;
    color:white;
    padding:12px 25px;
    text-decoration:none;
    border-radius:5px;
}

.section{
    padding:70px 10%;
}

.section h2{
    text-align:center;
    margin-bottom:40px;
    color:#ff4d00;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-content{
    padding:20px;
}

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:20px;
}

.contact-form{
    max-width:700px;
    margin:auto;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
}

.contact-form button{
    background:#ff4d00;
    color:white;
    border:none;
    padding:12px 25px;
    cursor:pointer;
}
.hero{
    background:url('../images/hero.jpg');
    max-height: 100%;
}

.why-us{
display:flex;
align-items:center;
justify-content:center;
gap:50px;
padding:80px 10%;
background:#111;
color:white;
}

.why-image img{
width:500px;
border-radius:20px;
}

.why-content{
max-width:500px;
}

.why-content h2{
font-size:40px;
margin-bottom:20px;
}
.trainer-section{
display:flex;
align-items:center;
justify-content:center;
padding:80px 10%;
gap:50px;
background:#1a1a1a;
color:white;
}

.trainer-image img{
width:450px;
border-radius:20px;
}

/*    nutrition styling  */
/* Nutrition Section */

.nutrition{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 100px 10%;
    background: #0d0d0d;
    color: #fff;
    flex-wrap: wrap;
}

.nutrition-image img{
    width: 500px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    transition: 0.4s ease;
}

.nutrition-image img:hover{
    transform: scale(1.05);
}

.nutrition-content{
    max-width: 550px;
}

.nutrition-content h2{
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ff6b00;
    position: relative;
}

.nutrition-content h2::after{
    content: "";
    width: 80px;
    height: 4px;
    background: #ff6b00;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.nutrition-content p{
    font-size: 1.1rem;
    line-height: 1.8;
    color: #dcdcdc;
    margin-top: 25px;
    margin-bottom: 30px;
}

.nutrition-btn{
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.nutrition-btn:hover{
    background: #ffffff;
    color: #ff6b00;
}



/* services next section */
.service-card{
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.service-card img{
width:100%;
height:250px;
object-fit:cover;
}

.service-card h3{
padding:15px;
}

/* trainers styling in services page */
/* Trainers Section */

.trainers{
    padding: 100px 10%;
    background: #111;
    text-align: center;
    color: #fff;
}

.trainers h2{
    font-size: 3rem;
    margin-bottom: 50px;
    color: #ff6b00;
    position: relative;
    display: inline-block;
}

.trainers h2::after{
    content: "";
    width: 80px;
    height: 4px;
    background: #ff6b00;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

/* Trainer Cards Container */

.trainer-cards{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual Card */

.card{
    background: #1a1a1a;
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

.card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255,107,0,0.4);
}

/* Trainer Image */

.card img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.4s ease;
}

.card:hover img{
    transform: scale(1.05);
}

/* Trainer Name */

.card h3{
    font-size: 1.5rem;
    margin-top: 20px;
    color: #fff;
}

/* Trainer Role */

.card p{
    color: #ccc;
    font-size: 1rem;
    margin: 10px 0 25px;
}

/* cardio fitnest p,h tag styling */
/* Service Card Content */

.service-card h3{
    font-size: 1.8rem;
    color: #ff6b00;
    margin: 20px 0 10px;
    text-align: center;
    font-weight: 700;
}

.service-card p{
    font-size: 1rem;
    color: #413737;
    line-height: 1.8;
    text-align: center;
    padding: 0 20px 25px;
}

/* about section-1 */
.about-hero{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    padding:100px 10%;
    background:#111;
    color:white;
    flex-wrap:wrap;
}

.about-content{
    max-width:550px;
}

.about-content h1{
    font-size:3.5rem;
    color:#ff6b00;
    margin-bottom:20px;
}

.about-content p{
    font-size:1.1rem;
    line-height:1.8;
    color:#ddd;
}

.about-btn{
    display:inline-block;
    margin-top:25px;
    padding:12px 30px;
    background:#ff6b00;
    color:white;
    text-decoration:none;
    border-radius:30px;
    transition:.3s;
}

.about-btn:hover{
    background:white;
    color:#ff6b00;
}

.about-image img{
    width:500px;
    max-width:100%;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(255,107,0,.3);
}
/* about-our mission */
.mission-vision{
    display:flex;
    justify-content:center;
    gap:30px;
    padding:80px 10%;
    background:#0d0d0d;
    flex-wrap:wrap;
}

.box{
    width:450px;
    background:#1a1a1a;
    padding:40px;
    border-radius:20px;
    color:white;
    text-align:center;
}

.box h2{
    color:#ff6b00;
    margin-bottom:15px;
}
/*  about-section -3 */
.stats{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    padding:80px 10%;
    background:#111;
}

.stat-box{
    width:220px;
    padding:30px;
    text-align:center;
    background:#1a1a1a;
    color:white;
    border-radius:15px;
}

.stat-box h2{
    color:#ff6b00;
    font-size:3rem;
}
/* about section -4 */
.why-members{
    padding:80px 10%;
    text-align:center;
    background:#0d0d0d;
    color:white;
}

.why-members h2{
    color:#ff6b00;
    margin-bottom:40px;
}

.reasons{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.reason{
    width:300px;
    background:#1a1a1a;
    padding:30px;
    border-radius:15px;
}

/* about - gym community section */
.community{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    padding:100px 10%;
    background:#111;
    color:white;
    flex-wrap:wrap;
}

.community-image img{
    width:500px;
    max-width:100%;
    border-radius:20px;
}

.community-content{
    max-width:500px;
}

.community-content h2{
    color:#ff6b00;
    margin-bottom:20px;
}

/* home page last section styling */
.success-stories{
    padding:100px 10%;
    background:#0d0d0d;
    color:white;
    text-align:center;
}

.success-stories h2{
    font-size:3rem;
    color:#ff6b00;
    margin-bottom:15px;
}

.section-subtitle{
    color:#ccc;
    margin-bottom:50px;
    font-size:1.1rem;
}

.stories-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.story-card{
    width:320px;
    background:#1a1a1a;
    border-radius:20px;
    overflow:hidden;
    transition:0.4s;
    box-shadow:0 8px 20px rgba(0,0,0,0.4);
}

.story-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(255,107,0,0.4);
}

.story-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.story-card h3{
    margin:20px 0 10px;
    color:#ff6b00;
}

.story-card p{
    padding:0 20px 25px;
    color:#ddd;
    line-height:1.7;
}


/* carousel to homepage */
/* Carousel Section */
.gym-carousel {
    width: 100%;
    padding: 60px 0;
    background: #111;
}

.slider {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 15px;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 102, 0, 0.8);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background: #ff6600;
}