*{
    margin: 0;
    padding: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(bold.jpeg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}
html{
    scroll-behavior: smooth;
}

ul li{
    display: inline-block;
}

ul li a{
    text-decoration: none;
    color: black;
    padding: 5px 20px;
    border: 1px solid transparent;
    transition: 0.5 ease;
    font-weight: bold;
    font-size: 35px;
}

ul li a:hover{
    background-color: #6d89ad;
    color:black;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img{
    width: 200px;
    height: auto;
    margin-right: 10px;
}
.brand-text{
    font-size: 26px;
    font-weight: bold;
    color: black;
    margin-top: 3px;
    letter-spacing: 1px;
}


.navbar-nav .nav-link{
    font-size: 38px;
    font-weight: 600;
    margin-left: 8px;
    color: black !important;
}


.navbar{
    box-shadow: none;
}

.logo-stack{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero {
    background-image: url(breath.jpg);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#home h1 {
    font-size: 70px;
}

#home h2 {
    font-size: 28px;
}

#home p {
    font-size: 40px;
    line-height: 1.6;
}
#home {
    color: white;
    text-shadow: 2px 2px 5px black;
}

.hero button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: #3e8e41;
}



    #backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block; /* temporarily force visible */
    padding: 12px 16px;
    font-size: 18px;
    border: none;
    border-radius: 50%;
    background-color: black;
    color: white;
    cursor: pointer;
    z-index: 9999; /* ensures it stays on top */
}

#splash {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: linear-gradient(green ,blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-content {
    text-align: center;
    color: white;
}

.splash-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}


.splash-logo {
    width: 200px;
    margin-bottom: 15px;
    animation: rotateIn 3s ease;
}

@keyframes rotateIn {
    from {
        transform: rotate(-180deg) scale(0.5);
        opacity: 0;
    }
    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

/* Center + positioning */
.center-loader {
    position: absolute;
    top: 70%; /* better balance under content */
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Outer ring */
.center-loader::before,
.center-loader::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
}

/* Big ring */
.center-loader::before {
    width: 50px;   /* size */
    height: 50px;
    border-top: 4px solid white;
    border-right: 4px solid white;
    animation: spin 1s linear infinite;
}

/* Small inner ring */
.center-loader::after {
    width: 30px;   /* smaller size */
    height: 30px;
    border-bottom: 4px solid rgba(255,255,255,0.7);
    border-left: 4px solid rgba(255,255,255,0.7);
    top: 10px;
    left: 10px;
    animation: spinReverse 0.8s linear infinite;
}

/* Animations */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    100% {
        transform: rotate(-360deg);
    }
}


#about{
    padding: 60px 0;
}

#about h2{
    font-weight: bold;
    font-size: 60px;
}

#about h5{
    font-weight: bold;
    font-size: 40px;
}

#about p{
    font-size: 25px;
}


#fitness .card{
    height:100%;
}

#fitness .card img{
    height:180px;
    object-fit:cover;
}

#fitness .card-body{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

challenge-scroll{
    display:flex;
    overflow-x:auto;
    gap:20px;
    padding:10px;
}

.challenge-card{
    min-width:220px;
    flex:0 0 auto;
}

.challenge-card img{
    height:160px;
    object-fit:cover;
}

#fitness h2{
    font-size: 60px;
    font-weight: bold;
}

#fitness h5{
    font-size: 25px;
}

#fitness p{
    font-size: 20px;
}

#fitness .card-body{
    font-size: 20px;
}
#fitness .card img{
    height: 160px;
    object-fit: contain;
    background-color: #f8f9fa;
}
#fitness .card-body{
    display:flex;
    flex-direction:column;
}

#fitness .card-title{
    margin-bottom:10px;
    font-weight:600;
}


#nutrition .card-img-top{
    height:180px;
    object-fit:cover;
}

#nutrition h2{
    font-size: 60px;
    font-weight: bold;
}

#nutrition h5{
    font-size: 30px;
}

#nutrition p{
    font-size: 20px;
}

#nutrition li{
    font-size: 20px;
}
#nutrition .card-img-top{
    height: 200px;
    width: 100%;
    object-fit: contain;
    background: #fff;
}


#mental .card-img-top{
    height: 180px;
    object-fit: contain;
    background: #f8f9fa;
}

#mental h2{
    font-size: 70px;
    font-weight: bold;
}

#mental h5{
    font-size: 25px;
}

#mental p{
    font-size: 20px;
}

#resources h2{
    font-size: 70px;
     font-weight: bold;
}

#resources h5{
    font-size: 25px;
}

#resources p,
#resources li{
    font-size: 20px;
}
#resources.card-img-top{
    height: 180px;
    object-fit: contain;
    background: #f8f9fa;
}

#resources .card{
    height: 100%;
    font-size: 15px;
}

#resources .card-img-top{
    height: 140px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 5px;
}

#resources .card-title{
    font-size: 20px;
}

#resources .btn{
    font-size: 14px;
    padding: 6px 12px;
}
html{
    scroll-behavior: smooth;
}


.footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px 10px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 250px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #ccc;
    display: inline-block;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Full section center */
.contact-section {
    min-height: 100vh;
    background: #f4f6f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Title */
.contact-section h2 {
    margin-bottom: 20px;
    font-size: 60px;
    font-weight: bold;
}

/* Card */
.contact-card {
    width: 100%;
    max-width: 750px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

/* Text */
.contact-card p {
    font-size: 25px;
    margin: 8px 0;
}


/* Mobile responsiveness */
@media (max-width: 600px) {
    .contact-card {
        padding: 25px;
    }

    .contact-section h2 {
        font-size: 24px;
    }
}