@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.px-4 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
}

.white{
    color: #fff;
}

.green{
    color: #027353;
}

.yellow{
    color: #FBBC16;
}

.gray{
    color: #737373;
}

.italic{
    font-style: italic;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li{
    display: flex;
}

.ml-2 {
    margin-left: 12px !important;
}

.mr-2 {
    margin-right: 12px !important;
}

.font-14 {
    font-size: 14px !important;
}

.mr-4 {
    margin-right: 35px;
}



body {
    background: #101312F2;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    font-weight: 400;
    font-style: normal;
}

/* Header Styles */
.header {
    background: #101312F2;
    border-bottom: 1px solid #404040;
}

.header .navbar {
    padding: 1rem 0;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #fff !important;
    transition: color 0.3s ease;
    padding: 0.5rem 0 !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}

.navbar-nav .nav-link:hover {
    color: #027353 !important;
    font-weight: 500;
}

.navbar-nav .nav-link.active {
    color: #027353 !important;
    font-weight: 500;
}

/* Dark Mode Button */
.dark-mode-btn {
    border: none !important;
    transition: opacity 0.3s ease;
}

.dark-mode-btn:hover {
    opacity: 0.7;
}

/* Download Button */
.download-btn {
    background-color: #027353 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.download-btn:hover {
    background-color: #45a049 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #404040;
    }
    
    .navbar-nav {
        gap: 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
    }
}

/* Main Styles */
main.main {
    padding: 50px 0 0;
    background: #101312F2;
}

.img-container {
    HEIGHT: fit-content;
    WIDTH: fit-content;
    PADDING: 11px;
    border-radius: 40px;
    background: linear-gradient(135deg, #1E2939 0%, #101828 100%);
    position: relative;
    z-index: 99;
}

img.img-fluid {
    border-radius: 40px;
}

.img-container::before {
    content: "";
    display: block;
    position: absolute;
    background: #101828;
    width: 80px;
    height: 17px;
    top: 20px;
    left: 120px;
    border-radius: 50px;
}

.img-container.img-container-2 {
    position: absolute;
    top: 50px;
    right: 85px;
    z-index: 1;
    height: 85%;
}

/* Phone Animation - Floating Effect */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatDownUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

.img-container {
    animation: floatUpDown 3s ease-in-out infinite;
}

.img-container.img-container-2 {
    animation: floatDownUp 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Bannar Styles */
.bannar p.title-line {
    border: 1px solid #E9E9E933;
    border-radius: 6px;
    font-size: 14px;
    line-height: 16px;
    color: #027353;
    width: fit-content;
    padding: 7px 8px;
}

h1.header-title {
    font-weight: 400;
    font-size: 42px;
    line-height: 60px;
}

.description {
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
}

.our-numbers-item {
    border-radius: 16px;
    border: 1px solid #FFC62133;
    padding: 16px;
    text-align: center;
    width: 160px;
    margin-top: 10px;
}

.our-numbers-item p.yellow {
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
}

.our-numbers-item p.green {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

/* Why Choose FantriX Styles */
.title {
    margin-bottom: 50px;
}

.title h2 {
    color: #F5F5F5;
    font-weight: 400;
    font-size: 36px;
    line-height: 40px;
}

.title::after {
    content: "";
    height: 4px;
    width: 80px;
    position: absolute;
    bottom: 0px;
    background: #027353;
    z-index: 99;
    align-items: center;
    right: 47%;
    border-radius: 15px;
}

.why-choose-item {
    position: relative;
    background: #1A1D1C;
    border-radius: 12px;
    padding: 30px 20px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px 0 #02735321, 0 0 20px #02735317;
}

.why-choose-item:hover::before {
    background: linear-gradient(135deg, #735f0280 0%, #02735380 100%);
}

.why-choose-item:hover .why-choose-item-title {
    color: #027353;
    transition: color 0.3s ease;
}

.why-choose-item:hover .why-choose-item-img {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.4s ease;
}

.why-choose-item-img {
    transition: transform 0.4s ease;
}

h3.why-choose-item-title {
    color: #F5F5F5;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin-top: 12px;
    margin-bottom: 5px;
}

p.why-choose-item-description {
    font-family: Cairo;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

/* Leagues Section Styles */
.leagues-subtitle {
    font-size: 16px;
    font-weight: 400px;
}

.check-leagues-link {
    color: #737373;
    position: relative;
    padding-bottom: 3px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.league-card {
    background: linear-gradient(135deg, rgba(15, 61, 19, 0.1) 0%, rgba(2, 115, 83, 0.2) 100%);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.league-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(2, 115, 83, 0.3) 0%, rgba(15, 61, 19, 0.3) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(2, 115, 83, 0.2);
}

.league-flag img {
    margin-bottom: 12px;
}

.league-card-title {
    color: #F5F5F5;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
}

.league-card-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}


/* Slider Styles */
.discover-app-container{
    background: #1A1D1C;
    padding-bottom: 1.5rem;
}

.slider-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 80px;
    margin-bottom: 0;
}

.slider-wrapper {
    overflow: visible;
    position: relative;
    padding: 90px 0 110px;
    min-height: 520px;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    left: 50%;
    width: fit-content;
    display: flex;
    justify-content: center;
    transition: transform 0.6s 
        cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s 
        ease, filter 0.6s 
        ease;
    filter: blur(1.5px);
    top: -9rem;
    opacity: 0;
    visibility: hidden;
}

.slider-item.active {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    filter: blur(0);
    z-index: 30;
    pointer-events: auto;
    visibility: visible;
}

.slider-item.prev,
.slider-item.next {
    opacity: 0.45;
    z-index: 20;
    visibility: visible;
}

.slider-item.prev {
    transform: translate(calc(-85% - 140px), 70px) scale(0.78);
}

.slider-item.next {
    transform: translate(calc(-15% + 140px), 70px) scale(0.78);
}

.slider-item.far-prev,
.slider-item.far-next {
    opacity: 0;
    transform: translate(-50%, 140px) scale(0.6);
    z-index: 0;
    visibility: hidden;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    transition: all 0.4s ease;
    z-index: 2;
}

.phone-mockup:hover {
    transform: scale(1.05);
}

.phone-screen {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFFCC;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    color: #1A1A1A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: #027353;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(2, 115, 83, 0.4);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 130px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A3A3A34D;
    cursor: pointer;
}

.dot:hover {
    background: #737373;
    transform: scale(1.15);
}

.dot.active {
    background: #027353;
    width: 38px;
    height: 8px;
    border-radius: 50px;
}

/* Contact Form Styles */
.contact-form {
    background: #1A1D1C;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid transparent;
    border-image-slice: 1;
    border-image-source: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
}

.form-title {
    color: #F5F5F5;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
}

.contact-input {
    border-radius: 8px;
    border-width: 1px;
    border: 1px solid #02735333;
    background: #0273531A;
    padding: 10px 15px;
}

.contact-input:focus {
    background: #101312;
    border-color: #027353;
    box-shadow: 0 0 0 3px rgba(2, 115, 83, 0.15);
    color: #F5F5F5;
}

.contact-input::placeholder {
    color: #737373;
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: #027353;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: #03a06a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 115, 83, 0.4);
}

.contact-submit-btn svg {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(4px) translateY(-4px);
}

/* Download App Section Styles */
.download-app-container{
    background: linear-gradient(135deg, rgba(15, 61, 19, 0.1) 0%, rgba(2, 115, 83, 0.2) 100%);
    margin: 3rem 0 0;
}

.download-app-container .title.position-relative:after {
    display: none;
}

.download-app-container .title{
    margin: 0;
}

.app-download-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-download-link:hover {
    transform: translateY(-4px);
}

.app-store-img {
    transition: all 0.3s ease;
}

.app-download-link:hover .app-store-img {
    filter: brightness(1.1);
}

.app-info-text {
    color: #737373;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

/* Footer Styles */
.site-footer {
    background: #0F1211;
    padding: 70px 0 40px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid transparent;
    border-image-slice: 1;
    border-image-source: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
}

.footer-brand {
    max-width: 80%;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-description {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.footer-heading {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #027353;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(2, 115, 83, 0.1);
    transition: all 0.3s ease;
}

.social-links{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.social-link:hover {
    transform: translateY(-4px);
    background: rgba(2, 115, 83, 0.2);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #000;
}

.footer-copy,
.footer-made {
    font-size: 14px;
    margin: 0;
}

.footer-ball {
    font-size: 16px;
}

.quick-links{
    padding-left: 100px;
}



.mobile-download-btn{
    display: none !important;
}

.header .navbar {
    padding: 1rem 0;
    position: relative;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .bannar p.title-line {
        font-size: 11px;
    }

    h1.header-title {
        font-size: 23px;
        line-height: 30px;
    }

    .description {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        text-align: justify;
    }

    .font-14 {
        font-size: 12px !important;
    }

    .ml-2 {
        margin-left: 10px !important;
    }

    .our-numbers-item p.yellow {
        font-weight: 600;
        font-size: 18px;
        line-height: 25px;
    }

    .our-numbers-item {
        padding: 12px 0px;
    }

    .our-numbers-item p.green {
        font-size: 13px;
        line-height: 24px;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .d-flex.gap-3.mt-5.pt-3 {
        margin-top: 0 !important;
    }

    .d-flex.gap-3.mt-5.pt-3 img {
        height: 37px;
    }

    .col-md-5.col-12.d-flex.position-relative {
        display: none !important;
    }

    .title h2 {
        font-size: 30px;
    }

    .title::after {
        right: 35%;
    }

    .quick-links {
        padding-left: 15px;
    }

    .social-links {
        align-items: start;
    }

    .footer-brand {
        max-width: 100%;
    }

    .img-container {
        width: 250px;
    }

    .slider-btn {
        top: 0%;
    }

    .slider-container {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .slider-btn-prev {
        left: -25px;
    }
    
    .slider-btn-next {
        right: -25px;
    }

    a.app-download-link img {
        height: 30px;
    }

    .d-flex.justify-content-center {
        flex-direction: column;
    }
        

    








    
    .phone-mockup {
        max-width: 350px;
    }
    
    .slider-item.active .phone-mockup {
        max-width: 350px;
    }
    
    .slider-item {
        padding: 10px;
    }
    
    .slider-item.active {
        transform: translate(-50%, 20px) scale(0.92);
    }
    
    .slider-item.prev,
    .slider-item.next {
        opacity: 0.6;
        filter: blur(1.8px);
    }

    .slider-item.prev {
        transform: translate(calc(-50% - 70px), 110px) scale(0.68);
    }

    .slider-item.next {
        transform: translate(calc(-50% + 70px), 110px) scale(0.68);
    }

    .slider-item.far-prev,
    .slider-item.far-next {
        transform: translate(-50%, 150px) scale(0.75);
        opacity: 0;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
        line-height: 24px;
    }
    
    .slider-wrapper {
        padding: 20px 0;
    }

    .slider-dots {
        margin-top: -80px;
    }
    
    .contact-form {
        padding: 15px 15px;
    }
    
    .form-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .contact-input {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .contact-submit-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .app-store-img {
        height: 48px;
    }
    
    .app-info-text {
        font-size: 12px;
        padding: 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .desktop-download-btn{
        display: none !important;
    }
    
    .mobile-download-btn{
        display: block !important;
    }

    .dark-mode {
        position: absolute;
        right: 90px;
        top: 20px;
    }
    
}

@media (min-width: 767px) and (max-width: 1024px) {
    .desktop-download-btn{
        display: none !important;
    }

    header.header {
        position: relative;
    }

    .dark-mode {
        position: absolute;
        top: 16px;
        right: 15%;
    }

    .mobile-download-btn {
        display: block !important;
    }

    .bannar p.title-line {
        font-size: 12px;
    }

    h1.header-title {
        font-size: 25px;
        line-height: 35px;
    }

    .description {
        font-size: 12px;
        line-height: 22px;
    }

    .font-14 {
        font-size: 12px !important;
    }

    .ml-2 {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .our-numbers-item p.yellow {
        font-size: 18px;
        line-height: 30px;
    }

    .our-numbers-item {
        padding: 16px 0;
    }

    .our-numbers-item p.green {
        font-size: 14px;
    }

    .img-container::before {
        left: 90px;
    }

    .img-container.img-container-2 {
        right: -35px;
        height: 76%;
    }

    .img-container.img-container-2 img{
        height: 100%;
    }

    .why-choose-item {
        min-height: 13rem;
    }

    .title h2 {
        font-size: 30px;
    }

    .leagues-section .justify-content-center {
        display: flex;
        width: 100%;
        justify-content: space-between !important;
    }

    .league-card {
        padding: 12px 20px;
        margin-bottom: 30px;
    }

    .leagues-section .col-md-5 {
        width: 47%;
    }

    .title {
        margin-bottom: 35px;
    }

    .slider-dots {
        margin-top: 0px;
    }

    .quick-links {
        padding-left: 15px;
    }

}

/* Scroll Animation Styles */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}





