:root {
            --primary-color: #1e3d59;
            --secondary-color: #ff6e40;
            --pitch-green: #2a5c45;
        }

        .hero-section {
            background: linear-gradient(135deg, var(--primary-color), var(--pitch-green));
            color: white;
            padding: 100px 0;
            position: relative;
            overflow: hidden;
            margin-top: -70px;
            /* أو حسب ارتفاع الـ navbar */
            padding-top: 170px;
            /* يعوض المسافة المقطوعة */
        }

        /* Stadium lights effect */
        .stadium-lights {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.1), transparent 30%),
                radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.1), transparent 30%);
            animation: lightFlicker 5s infinite alternate;
        }

        /* Animated pitch effect */
        .animated-pitch {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40%;
            background: linear-gradient(0deg, var(--pitch-green), transparent);
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
            background-size: 40px 40px;
            opacity: 0.3;
            animation: pitchMove 20s linear infinite;
        }

        /* Floating balls effect */
        .floating-balls {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
        }

        .floating-balls:before,
        .floating-balls:after {
            content: "";
            position: absolute;
            width: 30px;
            height: 30px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            animation: floatBall 15s linear infinite;
        }

        .floating-balls:before {
            top: 20%;
            left: 10%;
        }

        .floating-balls:after {
            top: 50%;
            left: 80%;
            animation-delay: 5s;
            width: 40px;
            height: 40px;
        }

        /* Crowd noise effect */
        .crowd-noise {
            position: absolute;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5" d="M0,50 Q25,30 50,50 T100,50"/></svg>');
            opacity: 0.1;
            animation: crowdWave 8s infinite alternate;
        }

        /* Animations */
        @keyframes lightFlicker {

            0%,
            100% {
                opacity: 0.8;
            }

            50% {
                opacity: 0.5;
            }
        }

        @keyframes pitchMove {
            0% {
                background-position: 0 0;
            }

            100% {
                background-position: 80px 80px;
            }
        }

        @keyframes floatBall {
            0% {
                transform: translateY(0) translateX(0);
            }

            25% {
                transform: translateY(-50px) translateX(20px);
            }

            50% {
                transform: translateY(0) translateX(40px);
            }

            75% {
                transform: translateY(-30px) translateX(20px);
            }

            100% {
                transform: translateY(0) translateX(0);
            }
        }

        @keyframes crowdWave {
            0% {
                background-position: 0 0;
            }

            100% {
                background-position: 100px 50px;
            }
        }

        .hero-section h1 {
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 2;
        }

        .hero-section p {
            position: relative;
            z-index: 2;
        }

        /* Phone mockup styles */
        .phone-mockup-container {
            position: relative;
            max-width: 100%;
            margin: 0 auto;
            padding: 20px;
        }

        .phone-mockup {
            position: relative;
            max-width: 300px;
            margin: 0 auto;
        }

        .phone-frame {
            position: relative;
            z-index: 1;
            height: auto;
            max-height: 600px;
        }

        .app-screenshots {
            position: absolute;
            top: 4.0%;
            left: 6.9%;
            width: 80.2%;
            height: 92.6%;
            border-radius: 16px;
            overflow: hidden;
        }

        .app-screenshots img {
            position: absolute;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            border-radius: 12px;
        }

        .app-screenshots img.active {
            opacity: 1;
        }

        /* Responsive styles */
        @media (max-width: 992px) {
            .hero-section {
                padding: 60px 0;
            }

            .phone-mockup-container {
                margin-top: 40px;
            }

            .phone-frame {
                max-height: 500px;
            }
        }

        @media (max-width: 768px) {
            .phone-frame {
                max-height: 600px;
            }
        }

        @media (max-width: 576px) {
            .phone-frame {
                max-height: 550px;
            }
        }

        /* Features section */
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* Match schedule */
        .match-card {
            border-left: 4px solid var(--primary-color);
            transition: transform 0.3s;
        }

        .match-card:hover {
            transform: translateY(-5px);
        }

        .team-logo {
            height: 40px;
            width: auto;
        }

        .logo-spacing {
            margin-top: -8px;
        }

        /* Responsive navbar adjustments */
        @media (min-width: 992px) {
            .logo-spacing {
                margin-right: 0;
            }
            
            .navbar-nav {
                margin-left: auto;
            }
        }

        @media (max-width: 991px) {
            .navbar-brand {
                flex-grow: 1;
                margin-right: 0;
            }

            .navbar-toggler {
                order: 2;
                margin-left: auto;
                border: 2px solid rgba(255, 255, 255, 0.2);
            }
            
            .navbar-collapse {
                margin-top: 15px;
                padding: 20px;
                background: rgba(32, 105, 112, 0.95);
                border-radius: 15px;
                backdrop-filter: blur(10px);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            }
        }

        @media (max-width: 767px) {
            .container {
                padding-left: 15px;
                padding-right: 15px;
            }
        }

        .navbar .nav-link {
            color: #ffffff !important;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            border-radius: 25px;
            padding: 8px 20px !important;
            margin: 0 5px;
            font-weight: 500;
        }

        /* Hover effect with animated underline */
        .navbar .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b35, #ffa726);
            transition: all 0.4s ease;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .navbar .nav-link:hover::before,
        .navbar .nav-link.active::before {
            width: 80%;
        }

        /* Glowing background effect */
        .navbar .nav-link::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 107, 53, 0.2));
            opacity: 0;
            transition: all 0.3s ease;
            border-radius: 25px;
            z-index: -1;
        }

        .navbar .nav-link:hover::after {
            opacity: 1;
            transform: scale(1.05);
        }

        /* Text shadow and glow */
        .navbar .nav-link:hover {
            color: #ffffff !important;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
        }

        /* Active state */
        .navbar .nav-link.active {
            background: rgba(255, 255, 255, 0.15);
            color: #ffffff !important;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        /* Navbar toggle button effects */
        .navbar-toggler {
            border: none;
            padding: 8px;
            transition: all 0.3s ease;
            border-radius: 8px;
        }

        .navbar-toggler:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
        }

        /* Animated hamburger icon */
        .navbar-toggler-icon {
            transition: all 0.3s ease;
            filter: brightness(0) invert(1);
        }

        .navbar-toggler:hover .navbar-toggler-icon {
            transform: rotate(180deg);
        }

        /* Mobile menu animation */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: rgba(32, 105, 112, 0.95);
                margin-top: 10px;
                border-radius: 15px;
                padding: 20px;
                backdrop-filter: blur(10px);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            }

            .navbar .nav-link {
                margin: 5px 0;
                text-align: center;
            }

            .navbar .nav-link::before {
                width: 0;
                height: 2px;
                bottom: 5px;
            }

            .navbar .nav-link:hover::before {
                width: 60%;
            }
        }

        /* Logo hover effect */
        .navbar-brand img {
            transition: all 0.3s ease;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
        }

        .navbar-brand:hover img {
            transform: scale(1.05);
            filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.4));
        }

        /* Navbar background animation */
        #mainNavbar {
            background: linear-gradient(135deg, #206970, #2a8892);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            box-shadow: 0 2px 20px rgba(32, 105, 112, 0.3);
        }

        #mainNavbar.scrolled {
            background: linear-gradient(135deg, rgba(32, 105, 112, 0.95), rgba(42, 136, 146, 0.95));
            backdrop-filter: blur(15px);
            box-shadow: 0 5px 30px rgba(32, 105, 112, 0.4);
        }

        /* Features Section Styles */
        .feature-card {
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(32, 105, 112, 0.15) !important;
        }

        .feature-icon-bg {
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .feature-card:hover .feature-icon-bg {
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .feature-bg-effect {
            transition: all 0.3s ease;
        }

        .feature-card:hover .feature-bg-effect {
            transform: scale(1.2);
            opacity: 0.8;
        }

        /* Animated pulse effect for icons */
        @keyframes pulseGlow {
            0% {
                box-shadow: 0 0 0 0 rgba(32, 105, 112, 0.7);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(32, 105, 112, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(32, 105, 112, 0);
            }
        }

        .feature-icon-bg:hover {
            animation: pulseGlow 2s infinite;
        }

        /* Additional responsive features */
        @media (max-width: 768px) {
            .feature-card {
                margin-bottom: 20px;
            }
        }

        /* Section header enhancement */
        .section-header h2 {
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: linear-gradient(135deg, #206970, #ff6b35);
            border-radius: 2px;
        }

        /* Football Leagues Slider Styles */
        .leagues-slider-container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .leagues-slider {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
        }

        .league-slide {
            display: none;
            width: 100%;
        }

        .league-slide.active {
            display: block;
            animation: slideIn 0.8s ease-in-out;
        }

        .league-card {
            transition: all 0.5s ease;
            border: 3px solid transparent;
            position: relative;
        }

        .league-card::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            border-radius: inherit;
            z-index: 0;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .league-card:hover::before {
            opacity: 1;
        }

        .league-card:hover {
            border-color: #206970;
            transform: scale(1.02);
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(32, 105, 112, 0.2);
        }

        /* Floodlight effects for each league */
        .league-slide:nth-child(1) .league-background::after {
            background-image:
                radial-gradient(circle at 25% 25%, rgba(138, 43, 226, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 75% 75%, rgba(138, 43, 226, 0.2) 1px, transparent 1px);
        }

        .league-slide:nth-child(2) .league-background::after {
            background-image:
                radial-gradient(circle at 30% 30%, rgba(255, 140, 0, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 70% 70%, rgba(255, 69, 0, 0.2) 1px, transparent 1px);
        }

        .league-slide:nth-child(3) .league-background::after {
            background-image:
                radial-gradient(circle at 20% 40%, rgba(255, 215, 0, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 80% 60%, rgba(0, 0, 0, 0.2) 1px, transparent 1px);
        }

        .league-slide:nth-child(4) .league-background::after {
            background-image:
                radial-gradient(circle at 35% 25%, rgba(0, 51, 153, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 65% 75%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
        }

        .league-slide:nth-child(5) .league-background::after {
            background-image:
                radial-gradient(circle at 40% 30%, rgba(255, 102, 0, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 60% 70%, rgba(255, 165, 0, 0.2) 1px, transparent 1px);
        }

        .league-slide:nth-child(6) .league-background::after {
            background-image:
                radial-gradient(circle at 25% 35%, rgba(0, 32, 96, 0.3) 2px, transparent 2px),
                radial-gradient(circle at 75% 65%, rgba(237, 41, 57, 0.2) 1px, transparent 1px);
        }

        .league-background {
            position: relative;
            transition: all 0.5s ease;
        }

        .league-background:before {
            background:
                radial-gradient(ellipse at top, rgba(255, 255, 255, 0.1), transparent 50%),
                radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.05), transparent 50%),
                rgba(0, 0, 0, 0.3);
        }

        /* Stadium crowd silhouette effect */
        .league-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            z-index: 2;
            pointer-events: none;
        }

        /* Dynamic lighting based on hover */
        .league-card:hover .league-background:before {
            background:
                radial-gradient(ellipse at top, rgba(255, 255, 255, 0.2), transparent 50%),
                radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.1), transparent 50%),
                rgba(0, 0, 0, 0.1);
        }

        /* Football field lines overlay */
        .league-background:after {
            background-size: 60px 60px, 80px 80px, 40px 40px;
            animation: footballPattern 20s linear infinite;
            z-index: 1;
            opacity: 0.3;
        }

        .league-card:hover .league-background:after {
            opacity: 0.5;
            animation-duration: 15s;
        }

        /* Football-specific background effects */
        .league-background::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image:
                radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
                radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 60px 60px, 80px 80px, 40px 40px;
            animation: footballPattern 20s linear infinite;
            z-index: 1;
            opacity: 0.6;
        }

        @keyframes footballPattern {
            0% {
                transform: translate(0, 0) rotate(0deg);
            }

            100% {
                transform: translate(20px, 20px) rotate(360deg);
            }
        }

        /* Stadium atmosphere effects */
        .league-background {
            position: relative;
            transition: all 0.5s ease;
        }

        .league-background:before {
            background:
                radial-gradient(ellipse at top, rgba(255, 255, 255, 0.1), transparent 50%),
                radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.05), transparent 50%),
                rgba(0, 0, 0, 0.3);
        }

        .league-content {
            position: relative;
            z-index: 2;
            padding: 2rem;
        }

        /* Logo image specific styles */
        .logo-circle img {
            transition: all 0.3s ease;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
        }

        .league-card:hover .logo-circle img {
            transform: scale(1.05);
            filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
        }

        .league-title {
            font-size: 2.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
        }

        .league-card:hover .league-title {
            transform: translateY(-5px);
        }

        .league-description {
            font-size: 1.1rem;
            opacity: 0.9;
            transition: all 0.3s ease;
        }

        .league-card:hover .league-description {
            opacity: 1;
            transform: translateY(-3px);
        }

        .league-stats {
            margin-top: 1rem;
        }

        .stat-item {
            text-align: center;
            transition: all 0.3s ease;
        }

        .league-card:hover .stat-item {
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 1.8rem;
            color: #fff;
        }

        .stat-label {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* Navigation Buttons */
        .slider-nav {
            width: 50px;
            height: 50px;
            border: none;
            background: rgba(255, 255, 255, 0.9) !important;
            color: #206970;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .slider-nav:hover {
            background: #206970 !important;
            color: white;
            transform: scale(1.1);
        }

        .prev-btn {
            margin-left: -25px;
        }

        .next-btn {
            margin-right: -25px;
        }

        /* Dots Indicator */
        .slider-dots {
            margin-top: 2rem;
        }

        .dot {
            height: 15px;
            width: 15px;
            margin: 0 5px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active,
        .dot:hover {
            background-color: #206970;
            transform: scale(1.2);
        }

        /* Animations */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(100px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        /* Enhanced Navbar Styles */
        .navbar-brand {
            transition: all 0.3s ease;
        }

        .navbar-brand:hover {
            transform: scale(1.02);
        }

        .navbar-nav .nav-link {
            font-size: 1.1rem;
            font-weight: 500;
            padding: 10px 18px !important;
            margin: 0 3px;
            transition: all 0.3s ease;
        }

        /* Brand icon animation */
        .navbar-brand i {
            animation: rotateBall 3s linear infinite;
        }

        @keyframes rotateBall {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Enhanced responsive design */
        @media (max-width: 991px) {
            .navbar-nav {
                padding-top: 1rem;
            }
            
            .navbar-nav .nav-link {
                text-align: center;
                padding: 12px 20px !important;
                margin: 3px 0;
                border-radius: 10px;
                background: rgba(255, 255, 255, 0.1);
            }
            
            .navbar-nav .nav-link:hover {
                background: rgba(255, 255, 255, 0.2);
            }
        }

        @media (max-width: 767px) {
            .navbar-brand img {
                width: 140px;
                height: auto;
            }
            
            .navbar-brand i {
                font-size: 1.3rem;
            }
        }

        @media (max-width: 575px) {
            .navbar-brand img {
                width: 120px;
                height: auto;
            }
            
            .navbar-brand i {
                font-size: 1.1rem;
            }
            
            .navbar-nav .nav-link {
                font-size: 1rem;
                padding: 10px 15px !important;
            }
        }

        /* Social Media Icons Fix */
        .social-link {
            text-decoration: none !important;
            display: inline-block;
            transition: all 0.3s ease;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            margin: 0 5px;
        }

        .social-link:hover {
            color: #4dd0e1 !important;
            transform: translateY(-3px);
            text-decoration: none !important;
            background: rgba(77, 208, 225, 0.2);
            box-shadow: 0 5px 15px rgba(77, 208, 225, 0.3);
        }

        .social-link:focus {
            text-decoration: none !important;
            outline: none;
        }

        .social-link i {
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .social-link:hover i {
            transform: scale(1.1);
        }

        /* Remove underline from all footer links */
        .footer-links a {
            text-decoration: none !important;
        }

        .footer-links a:hover {
            text-decoration: none !important;
        }

        /* Contact info link fix */
        .contact-info p {
            text-decoration: none !important;
        }