/* Global styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f6f6f6;
    font-family: Arial, sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
}

.page-title {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    color: #1aac9b;
    font-size: 2em; 
}

.hidden-title {
    display: none;
}
/* Tournament Provider Features Section */
.tournament-provider-features-section .features-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.tournament-provider-features-section .features-title hr {
    width: 80px;
    height: 4px;
    background-color: #007BFF;
    border: none;
    margin: 0 auto;
}

/* Player Features Title Section */
.player-features-section .features-title {
    font-size: 2.5rem;     /* Font size */
    margin-top: 50px;      /* Top margin */
    margin-bottom: 1.5rem; /* Bottom margin */
}

/* Horizontal rule under Player Features Title */
.player-features-section .features-title hr {
    width: 80px;
    height: 4px;
    background-color: #007BFF;
    border: none;
    margin: 0 auto;
}

/* Header styles */
.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('https://cdn.midjourney.com/bbc465be-d78e-48e2-9cc1-bd59a5e84eab/0_2.png') center/cover no-repeat;
}

.header .content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    text-align: center;
    color: #1aac9b;
}

.header .content h1, .header .content p {
    margin: 0;  
}

/* Navigation styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 115px;
    background-color: #178f78;
    z-index: 1000;
}

.navbar-brand {
    color: #fbeade !important;
}

.navbar-brand.logo img {
    max-width: 200px;
    max-height: 100px;
    height: auto;
    position: relative;
    top: -10px;
}

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

/* Chat support styles */
.btn-chat-support {
    border-radius: 30px;
    padding: 10px 20px;
    color: #fff;
}

/* Section styles */
.section {
    background-color: #f0f4f5;
    padding: 120px 40px 40px;
    color: #1aac9b;
}

.carousel-item {
    background-color: rgb(255, 255, 255);
    min-height: 600px; 
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); /* semi-transparent white */
    border-radius: 50%; /* make it circular */
}
.carousel-indicators .active {
    background-color: #ffffff; /* solid white for the active slide */
}

.carousel-item .img-fluid {
    max-height: 600px; 
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%231aac9b' viewBox='0 0 16 16'%3e%3cpath d='M5.146 1.646a.5.5 0 0 1 .708 0L11.207 7.5l-5.353 5.354a.5.5 0 0 1-.708-.708L10.293 8 5.146 2.854a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.25)); /* Add a slight shadow for better visibility */
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  fill: #1aac9b;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-next {
    z-index: 2; /* To ensure the control is above the carousel items */
}

.carousel-control-next-icon::before {
    content: '';
    display: inline-block;
    border-top: .5em solid transparent;
    border-bottom: .5em solid transparent;
    border-left: .5em solid white;
    position: relative;
    top: .15em;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.25)); /* Add a slight shadow for better visibility */
}

.carousel-control-next-icon::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: -1;
}


/* Hero Section Styles */
#hero-slider {
    background-color: #ffffff;
    color: #FF6B6B; /* Coral/Orange color */
    min-height: 500px; /* Adjust as needed */
    z-index: 10;
    margin-top: 115px; /* Same as the navbar height */
}

#hero-slider .swiper-pagination {
    position: absolute; /* Make the position absolute */
    bottom: 160px; /* Adjust the distance from the bottom of the hero slider */
    left: 50%; /* Center the indicators */
    transform: translateX(-50%); /* Align the center of the indicators with the center of the container */
    z-index: 1000; /* Ensure the indicators are above other elements */
}

#hero-slider .swiper-pagination-bullet {
    width: 12px; /* Adjust the width of the dots */
    height: 12px; /* Adjust the height of the dots */
    background-color: #FF6B6B; /* Adjust the color of the dots */
    opacity: 0.8; /* Adjust the opacity of the dots */
    margin: 0 5px; /* Adjust the spacing between the dots */
}

#hero-slider .swiper-pagination-bullet-active {
    background-color: #E55A5A; /* Adjust the color of the active dot */
}

#hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 20px;
}

#hero-slider .carousel-caption h2 {
    font-size: 2.5em;
}

#hero-slider .carousel-caption p {
    font-size: 1.2em;
}

#hero-slider .carousel-content-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-slider .carousel-caption-content,
#hero-slider .carousel-caption-image {
    flex: 1;
    padding: 20px;
}

#hero-slider .swiper-button-next,
#hero-slider .swiper-button-prev {
    color: #1aac9b;
}

#hero-slider .swiper-pagination-bullet {
    background-color: #1aac9b;
}

.carousel .carousel-control-prev-icon,
.carousel .carousel-control-next-icon {
    opacity: 1 !important;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    background-color: #1aac9b; /* Use a darker color */
    width: auto;
    height: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.carousel-control-prev-icon::before,  
.carousel-control-next-icon::before {
    background-color: #1aac9b; /* Match arrow bg */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    fill: #fff; 
}

.carousel-control-next {
    z-index: 10;
}

.carousel-control-prev-icon::before, .carousel-control-next-icon::before {
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-next::before,
.carousel-control-next::after {
    right: 0;
}
}

/* Flexbox-based Styles for Hero Slider */
.carousel-content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-caption-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carousel-caption-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-caption {
    z-index: 9999;
    text-align: left;
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    color: rgb(220, 140, 11) !important;
    top: 50%;
    transform: translateY(-50%);
    min-width: 300px; 
    width: 100%; 
    min-height: 100px;
}

.carousel-btn {
    background-color: #FF6B6B;
    color: white; 
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary, .btn-secondary {
    background-color: #000000; 
    border-color: #000000;
    color: #ffffff; 
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #e5b556;
    border-color: #e5b556;
}

.carousel-btn:hover {
    background-color: #E55A5A; 
    text-decoration: none;
}

/* Footer styles */
.footer {
    background-color: #178f78;
    color: #f6c667;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

/* Button styles */
.btn-register {
    border-radius: 30px;
    padding: 10px 20px;
    background-color: #1aac9b;
    color: #fbeade;
    border: none;
}

/* Form styles */

/* All labels */ 
label {
    cursor: pointer;
  }
.registration-form {
    margin-top: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.registration-form label {
    font-weight: bold;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.registration-form textarea {
    resize: vertical;
}

/* Subscribe to Newsletter */
.subscribe-group {
    display: flex;
    align-items: center;
  }
  
  .subscribe-input {
    margin-right: 10px; 
  }

  .subscribe-input {
    accent-color: #1aac9b;
  }

.checkbox-label {
    display: inline-block;
    vertical-align: middle; /* Align the label vertically with the checkbox */
    margin-left: 10px; /* Add some space between the checkbox and label */
    color: #888; /* Lighter shade of grey */
}
/* Subscribe Checkbox */
.subscribe-input {
    accent-color: #1aac9b;
  }

.registration-form .checkbox-group input {
    margin-top: 3px;
}


.registration-form .align-left label {
    margin-right: 10px;
    margin-top: 3px;
}

.registration-form .align-left input {
    margin-top: 5px;
}

/* Lighter hint text color */
.registration-form input::placeholder,
.registration-form select::placeholder,
.registration-form textarea::placeholder {
    color: #ccc;
}

.registration-form button {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background-color: #1aac9b;
    color: #fbeade;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.registration-form button:hover {
    background-color: #E55A5A;
}

/* Features Grid */
.features-grid {
    display: flex;
    flex-direction: column;
}

.feature-row {
    display: flex;
}

.feature-column {
    flex: 0 0 calc(33.33% - 20px); /* Subtracting 20px for the gap */
    gap: 20px;
    padding: 20px;
    border-radius: 5px;
}

/* Add thin borders on the left and right of the second column */
.feature-column:nth-child(2) {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

/* Feature icons color */
.icon-tournament,
.icon-league,
.icon-register,
.icon-payment,
.icon-app,
.icon-management,
.icon-communication,
.icon-sponsorship,
.icon-desk,
.icon-scheduling,
.icon-scoring,
.icon-volunteer {
    color: #000; /* Black color */
}
.fa, .fas, .far, .fal, .fad, .fab {
    color: black;
}


@media (max-width: 768px) {
    .feature-column {
        flex: 0 0 100%; /* Make it full width on small screens */
        margin-bottom: 10px; /* Add some spacing between rows on mobile */
        border: none; /* Remove borders */
    }

    #hero-slider .carousel-caption-content {
        padding-top: 20px; /* Adjust this value as needed */
    }

    .carousel-caption-content, .carousel-caption-image {
        width: 100%;
        padding: 10px 0;
    }

    .section {
        margin-top: 10px;
    }

    .features-title hr {
        width: 50%;
        margin: 0 auto;
        border-top: 2px solid #1aac9b;
    }

    .features-title h2 {
        font-size: 100px; /* Adjust the value as needed */
    }

    .feature-heading {
        text-align: center;
        color: #1aac9b;
        margin-bottom: 10px;
    }

    .feature-list {
        list-style: none;
        padding: 0;
    }

    .feature-list li {
        margin-bottom: 10px;
        font-size: 18px;
    }

    /* Adjust logo image on small screens */
    .navbar-brand.logo img {
        max-width: 150px;
        max-height: 75px;
        top: -5px;
    }

    /* Hide the default chat support button */
    .navbar .btn-chat-support .btn {
        display: none;
    }

    /* Display only the link for chat support */
    .navbar .btn-chat-support .nav-link {
        display: inline-block;
        padding: 10px 20px;
    }

    /* Adjust body padding to make it full width */
    body, html {
        width: 100%;
        overflow-x: hidden;
    }

    /* Responsive styling for features title */
    .features-title h2 {
        font-size: 3em;
    }

    .features-title hr {
        width: 80%;
    }
}
