:root {
    /* Brand */
    --accent: #ff7a2f;
    --accent-hover: #ff5c00;

    /* Dark backgrounds */
    --bg-main: #141414;
    --bg-section1: #2f2f2f;
    --bg-card: #3a3a3a;
    --bg-section2: #222222;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;

    /* Borders & lines */
    --border: #444444;

    /* Shadows */
    --shadow: rgba(0, 0, 0, 0.5);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f5f5;
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
.logo,
.btn {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Inter', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 80px;
    background-color: var(--bg-main);
    display: flex;
    justify-content: space-between;
    /* ONLY here */
    align-items: center;
    box-shadow: 0 5px 15px var(--shadow);
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    /* controls spacing perfectly */
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-hover);
    font-weight: 600;
}

.nav-links a:active {
    color: var(--accent);
    font-weight: 600;
}

.nav-links i {
    margin-right: 8px;
    color: var(--text-secondary);
    border: 3px solid var(--text-secondary);
    border-radius: 100%;
    padding: 5px;
}

.nav-links i:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
}

.logo {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 700;

    letter-spacing: 1px;
    text-decoration: none;
}

.logo:hover {
    color: var(--accent-hover);
}

/*hero section*/
.hero {
    height: 100vh;
    background: url('images/heroimage2.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    color: var(--text-primary);
    font-size: 5rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: 500;
    margin: 20px 0;
}

.hero .btn {
    background-color: var(--accent);
    color: var(--text-primary);
    padding: 10px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
    margin: 30px 0;
}

.hero .btn:hover {
    background-color: var(--accent-hover);
}

/*process section*/
.process {
    padding: 80px 20px;
    background-color: var(--bg-section1);
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    align-items: center;
    justify-content: space-between;
}

.container h2 {
    color: var(--text-primary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    background-color: var(--bg-card);
    padding: 30px;
    border: 2px solid var(--border);
    border-radius: 10px;
    flex: 1;
    min-width: 250px;

}

.step .icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;


}

.step .icon i {
    background-color: var(--accent);
    padding: 20px;
    border-radius: 50%;
    align-items: center;
}

.step p {
    color: var(--text-secondary);
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/*facilities section*/
.facility {
    padding: 80px 20px;
    background-color: var(--bg-section2);
    text-align: center;
}

.facilities-list {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.facility-item {
    background-color: var(--bg-section2);
    padding: 40px 5px;
    border-right: 2px solid var(--border);
    flex: 1;
    min-width: 200px;
}

.facility-item:last-child {
    border-right: none;
}

.facility-item i {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.facility-item h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.facility-item p {
    color: var(--accent-hover);
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

/*trainers section*/
.trainers {
    padding: 80px 20px;
    background-color: var(--bg-section1);
    text-align: center;
}

.trainers-list {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.trainer-card {
    background-color: transparent;
    /*padding: 20px;*/
    width: 30%;
    height: 500px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
}

.trainer-card .img {
    width: 100%;
    height: 400px;
    /* fixed box height */
    overflow: hidden;
    display: flex;
    align-items: center;
    /* centers vertically */
    justify-content: center;
    /* centers horizontally */
    border-radius: 10px;
}

.trainer-card .img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top center;
    /* focus on upper part */
    border-radius: 10px;
}

.trainer-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0 5px;
}

.trainer-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.trainer-card .social-media {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.trainer-card .social-media a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: 0.3s;
}

.trainer-card .social-media a:hover {
    color: var(--accent-hover);
}
.trainers .container .trainers-count {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent);
    margin-top: 30px;
}

/*testimonials section*/
.testimonials {
    padding: 80px 20px;
    background: url("images/testimonials.jpg") no-repeat center center/cover;
    text-align: center;
}

.testimonials-list {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: transparent;
    padding: 30px;
    flex: 1;
    min-width: 250px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    min-width: 250px;
}

.testimonial-card .user {
    display: block;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.testimonial-card .user img {
    width: 150px;
    height: 150px;
    border: 2px solid var(--accent-hover);
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
}

.testimonial-card .user h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

.testimonial-card .user i {
    color: yellow;
    font-size: 1.5rem;
    margin-top: 10px;
}


/*footer section*/
footer {
    background-color: var(--bg-section2);
    padding: 40px 20px;
    text-align: center;

}

footer .container {
    display: block;
    align-items: center;
    justify-content: space-between;
}

footer .footer-content {
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    gap: 60px;

}

.footer-section {
    flex: 1;
    min-width: 250px;
    align-items: center;
    justify-content: space-between;

}

.footer-section h2 {
    color: var(--text-primary);
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;

}

.footer-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    text-align: left;
    margin-bottom: 20px;
}

.footer-section.about .brand {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-section.links {
    display: block;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-section.links li {
    list-style: none;
}

.footer-section.links a {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    text-align: left;
    display: block;
    transition: 0.3s;
    margin-bottom: 10px;
}

.footer-section.links a:hover {
    color: var(--accent-hover);
}

.footer-section.contact {
    display: block;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-section.contact .social-media {
    display: flex;
    gap: 15px;
}

.footer-section.contact .social-media a {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    text-align: left;
    display: flex;
    transition: 0.3s;
}

.footer-section.contact a i {
    margin-right: 10px;
    color: var(--text-secondary);
    border: 3px solid var(--text-secondary);
    border-radius: 100%;
    padding: 5px;
}

.footer-section.contact .social-media a:hover {
    color: var(--accent-hover);
}

.footer-section.subsc {
    display: block;
    align-items: center;
    padding: 10px;
    width: 100%;
    margin-right: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

form {
    display: block;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

form input[type="email"] {
    flex: 1;
    padding: 10px 40px 10px 10px;
    border: 2px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: transparent;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.footer-section.subsc button {
    padding: 10px 20px;
    background-color: var(--accent);
    color: var(--text-primary);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.footer-section.subsc button:hover {
    background-color: var(--accent-hover);
}

.footer-bottom {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 1280px) {

    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 5.5rem;
    }

    .hero p {
        font-size: 2.2rem;
    }

    .process-steps,
    .trainers-list,
    .facilities-list {
        gap: 40px;
    }
}

@media (max-width: 1066px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        background: var(--bg-main);
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 12px 0;
    }

    /* NAVBAR */


    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
    }

    .container {
        max-width: 1100px;
    }

    /* NAVBAR */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
    }
}

@media (max-width: 1024px) {

    header {
        padding: 20px 40px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.6rem;
    }

    .trainer-card {
        width: 45%;
    }

    .facility-item {
        min-width: 180px;
    }

    footer .footer-content {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 768px) {


    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        background: var(--bg-main);
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 12px 0;
    }

    /* NAVBAR */


    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
    }

    /* HERO */
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    /* PROCESS */
    .process-steps {
        justify-content: center;
    }

    .step {
        width: 100%;
    }

    /* FACILITIES */
    .facilities-list {
        justify-content: center;
    }

    .facility-item {
        border-right: none;
        border-bottom: 2px solid var(--border);
    }

    .facility-item:last-child {
        border-bottom: none;
    }

    /* TRAINERS */
    .trainers-list {
        justify-content: center;
    }

    .trainer-card {
        width: 100%;
        max-width: 350px;
    }

    /* FOOTER */
    footer .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section h2,
    .footer-section p,
    .footer-section.subsc {
        text-align: center;
    }

    .footer-section.links {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section.links a {
        display: inline-block;
        margin-bottom: 10px;
    }

    .footer-section.contact .social-media {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        height: auto;
        padding: 120px 20px 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .btn {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .container h2 {
        font-size: 2.2rem;
    }

    .testimonial-card p {
        font-size: 1rem;
    }

    .footer-section {
        min-width: 100%;
    }

    form input[type="email"] {
        width: 100%;
    }

    .footer-section.subsc button {
        width: 100%;
    }
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}