/* Custom CSS Reset */
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Nunito&family=Playfair+Display&family=Yeseva+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --primary-font: "Yeseva One", serif;
    --body-font: "Lato", sans-serif;
    --normal-font: "Playfair Display", serif;
    --peragraph-font: "Nunito", sans-serif;
    --primary-color: #02348d;
    --secondary-color: #e74c3c;
    --font-family: "Arial", sans-serif;
    --base-font-size: 16px;
    --poppins-font: "Poppins", sans-serif;
}

/* Remove default margin and padding */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dd,
ol,
ul,
figure,
hr {
    margin: 0;
    padding: 0;
}

/* Set the default font family and size */
body {
    font-family: var(--body-font);
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

p,
a,
.btn {
    font-family: var(--peragraph-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--body-font);
}

label {
    font-family: var(--body-font);
}

/* Remove default button styles */
button,
input,
select {
    margin: 0;
}

/* Box sizing for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.logo {
    height: 80px !important;
    width: 80px !important;
}

.header {
    background-color: var(--primary-color);
}

.mainTitle {
    font-family: var(--poppins-font) !important;
    font-size: 62px;
}

.mainImg {
    height: 200px;
    width: 200px;
    text-align: center !important;
}

.subTitle {
    font-weight: 100;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.8);
}

.navbar-toggler {
    border: none;
    /* Remove border */
    background: transparent;
    /* Remove background */
    outline: none;
    /* Remove focus outline */
}

/* Change the toggler icon color */
.navbar-toggler-icon {
    background-color: white;
    /* Make the icon white */
}

.navbar {
    background-color: var(--primary-color);
}

.navbar-brand {
    font-family: --primary-font;
    font-size: 28px;
}

.navbar-brand img {
    height: 80px;
}

.nav-link {
    color: #fff !important;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #ffffff9a !important;
}

.navbar-brand {
    font-weight: 800 !important;
    color: #fff !important;
}

.site-description {
    color: #fff;
}

.overlay {
    /* background-color: rgba(red, green, blue, alpha); */
    /* Set the background color */
    /* padding: 50px 0; */
    /* Adjust the padding as needed */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    color: white;
    text-align: center;
}

.team-card-container {
    background: linear-gradient(
        137.7deg,
        rgba(15, 29, 51, 0.8) 1%,
        rgba(15, 29, 51, 0.8) 110.83%
    );
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 270px !important;
}

.team-logo {
    position: absolute;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 0 0 50% 50%;
    outline: none;
    height: 160px;
    display: flex;
    justify-content: center;
}

.team-image {
    position: absolute;
    width: 150px;
    height: 160px;
    margin-top: 10px;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}

.team-name {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.team-name h2 {
    padding: 20px 10px;
    color: white;
}

.header-image {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: block;
    background: #bdc3c7;
    background: -webkit-linear-gradient(to right, #2c3e50, #277bb3);
    background: linear-gradient(to right, #2c3e50, #277bb3);
    background-image: url("/assets/imgs/header.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

#imageCarousel {
    height: 75vh;
    /* Adjust the height as needed */
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: linear-gradient(
        rgba(48, 45, 45, 0.48),
        rgba(59, 50, 50, 0.601)
    );
    color: #fff;
    text-align: left;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-caption h5 {
    font-size: 42px;
}

.service-card:hover {
    transform: scale(1.05);
}

.errimg {
    max-width: 300px;
}

section {
    opacity: 0;
    transform: translateY(20px);
    /* Optional: Add a subtle upward motion */
    transition: opacity 1s ease, transform 1s ease;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.501);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.spinner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-image: url("/assets/imgs/logo-wbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.spinner-sector {
    border-radius: 50%;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid transparent;
    /* mix-blend-mode: overlay; */
}

.spinner-text {
    animation: loading-opacity 3s ease-in-out infinite;
    font-size: 1em;
    margin-top: 20px;
}

.spinner-sector-blue {
    animation: rotate 2s ease-out infinite;
    border-top: 10px solid rgb(4, 154, 255);
}

.spinner-sector-red {
    animation: rotate 2.5s ease-in infinite;
    border-top: 10px solid rgb(74, 112, 3);
}

.spinner-sector-green {
    animation: rotate 1.5s ease-in-out infinite;
    border-top: 10px solid rgb(2, 27, 255);
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes loading-opacity {
    0%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.1;
    }
}

#page-content {
    display: none;
    /* Hide the content initially */
}

/* team page css */
.team-header {
    position: relative;
    height: 200px;
    background-color: black;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.team-info {
    position: absolute;
    bottom: -60px;
}

.team-header h3 {
    color: #ffffff;
}

.players-container {
    padding-top: 100px;
}

.player-card {
    height: 250px;
    margin: 10px 0;
}

.player-card img {
    width: 150px;
    height: 150px;
    padding: 10px 10px;
    transition: transform 0.2s ease-in-out;
}

.player-img {
    width: 150px;
    height: 150px;
    padding: 10px 10px;
}

.player-card:hover img {
    transform: scale(0.9);
    /* Adjust the scale factor as needed */
}
.step-progress .nav-link {
    position: relative;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin: 0 0.3rem;
    background-color: #e9ecef;
    color: #495057;
    font-weight: 500;
    cursor: default;
    transition: all 0.3s;
}

/* Active step */
.step-progress .nav-link.active {
    background-color: #0d6efd;
    /* Blue */
    color: #fff;
    font-weight: 600;
}

/* Completed step */
.step-progress .nav-link.completed {
    background-color: #198754;
    /* Green */
    color: #fff;
    font-weight: 600;
}

/* Disabled step */
.step-progress .nav-link.disabled {
    background-color: #dee2e6;
    color: #6c757d;
    opacity: 0.7;
}

/* Add checkmark for completed steps */
.step-progress .nav-link.completed::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #198754;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
/* Custom Styles for Mobile Responsiveness */
@media (max-width: 600px) {
    .overlay {
        top: 0;
        left: 0;
        transform: translate(0, 0);
        color: white;
        text-align: center;
        margin: 10px 10px;
        padding: 10px;
    }

    #imageCarousel {
        height: 250px;
    }

    h1 {
        line-height: 1.3 !important;
    }

    p {
        font-size: 14px;
    }

    h2 {
        font-size: 16px;
    }

    .navbar-brand img {
        height: 60px;
    }

    label,
    .form-control {
        font-size: 14px;
        line-height: 16px;
    }

    .team-header {
        height: 100px;
    }

    .team-info {
        bottom: -10px;
    }

    .players-container {
        padding-top: 50px;
    }

    .player-card {
        height: 175px;
        padding: 5px;
    }

    .player-card img {
        width: 100px;
        height: 100px;
        padding: 5px;
    }

    .mainTitle {
        font-size: 24px;
        line-height: 30px;
        text-align: center;
    }

    .mainImg {
        height: 100px;
        width: 100px;
        text-align: center !important;
    }

    .subTitle {
        font-size: 18px;
        text-align: center;
    }

    .registrationTitle {
        font-size: 20px;
        font-weight: 100 !important;
        line-height: 30px;
    }
}
