:root {
    --primary-color: #A3E635; /* Soft Neon Green - Eye-catching but not harsh */
    --secondary-color: #38BDF8; /* Vibrant Blue - Stands out on dark background */
    --tertiary-color: #F87171; /* Warm Red - Complements the theme */
    --bg-color: #0F172A; /* Deep Navy Blue - True dark mode */
    --bg-color-2: #1f2738;
    --text-color: #E2E8F0; /* Soft Light Gray - Easy on the eyes */
    --font-primary: 'Poppins', sans-serif; /* Adjust as needed */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

html, body {
    height: 100%; /* Ensure HTML and body take up full height */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.tertiary{
    color: var(--tertiary-color);
}


h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Before & After Underline Effect */
h2::before,
h2::after {
    content: "";
    position: absolute;
    height: 4px;
    background-color: var(--secondary-color);
    width: 100%;
    bottom: -8px;
    transition: width 0.3s ease-in-out;
}

h2::before {
    left: -30px;
}

h2::after {
    right: -30px;
}



h3 {
    color: var(--tertiary-color);
    font-size: 1.75rem;
}

h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

button {
    cursor: pointer;
    border: none;
}

header {
    position: fixed; /* Make the nav fixed at the top */
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color); /* Background color */
    z-index: 1000; /* Ensure it stays above other content */
    /* padding: 1rem 2rem; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a small shadow for effect */
}

main {
    padding-top: 80px; /* Adjust this value based on the height of your nav */
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 20px;
    background-color: var(--bg-color-2);
    height: 50px;
}

nav a img {
    height: 50px; /* Adjust logo size */
}

/* Desktop Nav */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

/* Contact Button */
.btn {
    background-color: var(--primary-color);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    color: var(--bg-color);
}

.btn a {
    text-decoration: none;
    color: var(--bg-color);
    font-weight: 600;
}

.btn:hover {
    background-color: var(--tertiary-color);
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 30px;
    height: 4px;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    background-color: var(--bg-color);
    min-height: 100vh; /* Full viewport height */
    padding: 4rem 2rem;
}

/* Container for Alignment */
.hero-container {
    display: flex;
    align-items: center; /* Vertically aligns content */
    justify-content: center; /* Centers both elements */
    gap: 1rem; /* Adds spacing */
    max-width: 900px;
    width: 100%;
}

/* Hero Text */
.hero-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
    text-align: center;
}

.hero-content p{
    margin-top: 1rem;
}

.hero-content .btn{
    margin-top: 2rem;
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}



/* Programs Section */
.programs {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--bg-color);
}

.programs h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Programs Grid */
.programs-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Program Card */
.program-card {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    width: 300px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Program Icons */
.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Program Titles */
.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.programs h2{
    color: var(--primary-color)
}

/* Program Description */
.program-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--bg-color);
}

/* Buttons */
.programs .btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: var(--tertiary-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: var(--secondary-color);
}


/* Success Snapshots Section */
.success-snapshots {
    background-color: var(--bg-color);
    padding: 4rem 2rem;
    text-align: center;
}

.success-snapshots .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-snapshots .section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.snapshot-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* Allows for wrapping on smaller screens */
}

.snapshot-item {
    position: relative;
    max-width: 250px;
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.snapshot-item:hover {
    transform: scale(1.05); /* Hover effect to make items pop */
}

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

.snapshot-text {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Fast Action Button */
.fast-action {
    margin: 0rem 0rem 2rem; /* Space between snapshots and button */
    text-align: center;

}


.fast-action .btn:hover {
    background-color: var(--tertiary-color);
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--dark-bg);
    color: var(--light-text);
}

.testimonials h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Swiper */
.testimonials-slider {
    max-width: 700px;
    margin: auto;
}

.testimonial {
    background: var(--tertiary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-weight: bold;
    color: var(--primary-color);
}

/* Swiper Navigation & Pagination */
.swiper-pagination {
    margin-top: 1rem;
}

.swiper-button-prev, .swiper-button-next {
    color: var(--primary-color);
}


/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 2rem 1rem;
    text-align: center; 
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--bg-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--tertiary-color);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--tertiary-color);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p{
    color: var(--bg-color-2);
}



/* about us  */

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* About Hero */
.about-hero {
    padding: 3rem 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)), url('../img/programs-bg.jpg') center/cover;
    margin-top: -28px;
}

.about-hero h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* Why Train With Us Section */
.why-train {
    background-color: var(--primary-color);
    color: var(--bg-color);
    text-align: center;
    padding: 4rem 2rem;
}

.why-train h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--bg-color)
}

.why-train h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* FLEXBOX GRID */
.train-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers items in the row */
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Train Item Box */
.train-item {
    background: var(--tertiary-color);
    padding: 1.5rem;
    border-radius: 10px;
    width: calc(33.333% - 1.5rem); /* 3 items per row */
    min-width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.train-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Font Awesome Icons */
.train-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.train-item p {
    font-size: 1rem;
    font-weight: bold;
}

/* Fun Facts Section */
.fun-facts {
    background: var(--bg-color);
    color: var(--bg-color);
    text-align: center;
    padding: 4rem 2rem;
}

.fun-facts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Grid Layout */
.facts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Individual Fact Box */
.fact {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.fact:hover {
    transform: scale(1.05);
}

/* Fact Numbers */
.fact h3 {
    font-size: 2rem;
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
}

/* Fact Description */
.fact p {
    font-size: 1rem;
    opacity: 0.9;
}

/* About CTA Section */
.about-cta {
    background: var(--bg-color);
    color: var(--bg-color);
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Centering the Content */
.about-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* CTA Heading */
.about-cta h2 {
    font-size: 2rem;
    max-width: 600px;
    font-weight: 700;
}

/* CTA Button */
.about-cta .btn {
    background: var(--tertiary-color);
    color: var(--bg-color);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.about-cta .btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}



/* pricing  */
/* Base pricing styles */
.pricing {
    background-color: var(--bg-color);
    padding: 4rem 2rem;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Pricing Grid */
.pricing-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Pricing Card */
.pricing-card {
    background: var(--secondary-color);
    padding: 1.3rem;
    border-radius: 8px;
    width: 35%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-card ul li {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.pricing-card button {
    padding: 1rem;
    background-color: var(--tertiary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.pricing-card a{
    color: #fff;
}

.pricing-card button:hover {
    background-color: var(--primary-color);
}


/* Programs Hero Section */
.programs-hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)), url('../img/programs-bg.jpg') center/cover;
    text-align: center;
    padding: 4rem 2rem;
    color: white;
    margin-top: -28px;
}

.programs-hero h1 {
    font-size: 2.5rem;
}

.programs-hero h1 span {
    color: var(--primary-color);
}

.programs-hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
}


/* Programs Section */
.programs {
    padding: 4rem 2rem;
    text-align: center;
}

.programs h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Programs Grid */
.programs-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.program-card {
    background: var(--secondary-color);
    padding: 2rem;
    width: 250px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.program-card p {
    font-size: 1rem;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Call to Action */
.cta {
    text-align: center;
    padding: 3rem;
    background-color: var(--tertiary-color);
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta .btn {
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.cta .btn:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* Transformations Hero Section */
.transformations-hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)), url('../img/programs-bg.jpg') center/cover;
    color: var(--bg-color);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: -28px;
}

.transformations-hero h1 {
    font-size: 2.5rem;
}

.transformations-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}


/* Transformation Image Grid */
.transformation-grid {
    text-align: center;
    padding: 4rem 2rem;
}

.transformation-grid h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Grid Layout with Controlled Image Sizes */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    align-items: center;
}

/* Ensure all images are uniform in size */
.grid img {
    width: 100%;
    max-width: 350px; /* Ensures consistent width */
    height: 400px; /* Fixed height for all images */
    object-fit: cover; /* Ensures images fill space without stretching */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.grid img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--dark-bg);
    color: var(--light-text);
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Contact Grid */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--tertiary-color);
    color: var(--light-text);
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--light-text);
    opacity: 0.8;
}

.contact-form button {
    width: 100%;
}

/* Contact Info */
.contact-info {
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .pricing-card {
        width: 45%; /* 2 items per row on tablets */
    }
}

/* Tablet (medium screens) */
@media (max-width: 991.98px) {
    .pricing-card {
      width: 45%;
    }
  }
/* Mobile Styles */

@media (min-width: 768px) {
    .contact-grid {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-form {
        max-width: 45%;
    }

    .contact-info {
        max-width: 45%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 300px;
        height: 50vh;
        background-color: var(--bg-color-2);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.5s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Animate burger menu to X */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-container {
        flex-direction: column-reverse; /* Reverse the order for mobile */
        text-align: center; /* Center text */
        gap: 1.5rem; /* Adjust gap for smaller screens */
    }

    .hero-content {
        max-width: 90%; /* Allow content to take up most of the screen width */
    }

    .hero-image img {
        width: 200px;
        height: 200px; /* Adjust image size for mobile */
    }

    .hero-content .btn {
        margin-top: 1.5rem;
    }

    .snapshot-container {
        gap: 1.5rem;
    }

    .snapshot-item {
        max-width: 100%;
    }

    .fast-action .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        margin-top: 1rem;
        justify-content: center;
    }

    .footer-social {
        margin-top: 1rem;
        justify-content: center;
    }

    .why-train {
        padding: 3rem 1.5rem;
    }

    .train-grid {
        flex-direction: column; /* Stack items on mobile */
        align-items: center;
    }

    .train-item {
        width: 90%;
        padding: 1.2rem;
    }

    .facts-grid {
        flex-direction: column;
        align-items: center;
    }

    .fact {
        width: 100%;
        max-width: 300px;
    }

    .about-cta {
        padding: 3rem 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.8rem;
    }

    .about-cta .btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .grid img {
        max-width: 100%;
        height: 300px; /* Slightly smaller images on mobile */
    }
    
}

 /* Mobile (small screens) */
 @media (max-width: 575.98px) {
    .pricing-card {
      width: 100%;
    }
  }

@media (max-width: 480px) {
    .success-snapshots .section-title {
        font-size: 2rem; /* Slightly smaller title on mobile */
    }

    .success-snapshots .section-subtitle {
        font-size: 1rem; /* Adjust subtitle size for mobile */
    }

    .snapshot-item {
        max-width: 100%; /* Ensure snapshots take full width */
    }

    .train-grid {
        flex: 1;
        /* justify-content: center; */
    }

    .pricing h2 {
        font-size: 1.5rem;
    }
    .pricing-card h3 {
        font-size: 1.5rem;
    }
    .pricing-card p {
        font-size: 1.2rem;
    }
    .pricing-card ul li {
        font-size: 1rem;
    }
}
    

