/* Preload critical fonts */
@font-face {
    font-family: 'Outfit';
    font-display: swap;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* ===== CSS Variables ===== */
:root {
    --primary-color: #1e3a8a;   /* Your logo's dark blue (use sparingly) */
    --secondary-color: #dc2626;   /* Nepal/American flag red (main accent) */
    --accent-color: #991b1b;      /* Deep red */
    --success-color: #059669;     /* Green for success states */
    --warning-color: #d97706;     /* Amber */
    --light-bg: #ffffff;         /* Clean white (dominant background) */
    --dark-text: #1f2937;        /* Dark gray/black */
    --light-text: #6b7280;       /* Medium gray */
    --white: #ffffff;
    --black-accent: #111827;      /* Football black */
    --light-gray: #f8fafc;
    --bs-mix: #A17193

    /* RGB versions */
    --primary-rgb: 30, 58, 138;
    --secondary-rgb: 220, 38, 38;
    --accent-rgb: 153, 27, 27;
}
/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

/* ===== Navigation Styles ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: var(--dark-text) !important;
    margin: 0 0.2rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Dropdown Menu Styling - Fixed */
.navbar-custom .dropdown-menu {
    background: white;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    padding: 5px;
    min-width: 200px;
    overflow: hidden; /* This prevents color overflow */
}

.navbar-custom .dropdown-item {
    padding: 12px 15px;
    color: var(--dark-text);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.navbar-custom .dropdown-item:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    /* Removed the translateX transform that was causing the issue */
    transform: scale(1.02); /* Use scale instead for a subtle effect */
}

.navbar-custom .dropdown-item.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.navbar-custom .dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

/* Dropdown arrow styling */
.navbar-custom .nav-link.dropdown-toggle::after {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.navbar-custom .nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Mobile dropdown adjustments */
@media (max-width: 991.98px) {
    .navbar-custom .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 0;
        overflow: visible;
    }

    .navbar-custom .dropdown-item {
        color: var(--dark-text);
        margin: 5px 0;
        padding: 8px 15px;
        transform: none;
    }

    .navbar-custom .dropdown-item:hover {
        background: rgba(52, 152, 219, 0.1);
        color: var(--secondary-color);
        transform: none;
    }
}

/* ===== Main Content ===== */
.main-content {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #003893);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ===== Cards ===== */
.feature-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    left: 100%;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-text {
    color: var(--light-text);
    line-height: 1.6;
}

/* ===== Buttons ===== */
.btn-custom {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
}

.btn-accent-custom {
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    color: var(--white);
}

.btn-success-custom {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: var(--white);
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--white);
    text-decoration: none;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-number.text-primary { color: var(--primary-color) !important; }
.stat-number.text-success { color: var(--success-color) !important; }
.stat-number.text-warning { color: var(--warning-color) !important; }
.stat-number.text-danger { color: var(--accent-color) !important; }

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light-text);
}

/* ===== Sections ===== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

/* ===== Footer ===== */
/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 5rem;
}

/* Footer Logo Styles */
.footer-logo-container {
    background: transparent;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-background {
    background: white;
    padding: 1px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-brand-text {
    text-align: center;
}

.footer-brand-text .brand-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1;
}

.footer-brand-text .brand-fc {
    font-weight: 700;
    font-size: 1.4rem;
    color: #e74c3c;
    line-height: 1;
    margin-top: 2px;
}

/* Footer Headings */
.footer h5 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Footer Contact List */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: #e74c3c;
    font-size: 1.2rem;
    width: 20px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}

/* Footer Divider */
.footer-divider {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Footer Bottom */
.footer-bottom {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #e74c3c;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .footer-logo {
        height: 60px;
    }

    .footer-brand-text .brand-name,
    .footer-brand-text .brand-fc {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .footer h5 {
        margin-top: 1.5rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .btn-custom {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.5rem;
    }
}

/* ===== Utility Classes ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Enhanced Logo & Brand Styling */
.navbar-brand {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(var(--accent-rgb), 0.4));
}

.brand-logo {
    transition: all 0.4s ease;
    filter: brightness(1);
}

.navbar-brand:hover .brand-logo {
    filter: brightness(1.2) saturate(1.3);
    transform: rotate(5deg);
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text {
    background: linear-gradient(45deg, var(--accent-color), var(--success-color));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Enhanced Navigation Hover Effects */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(-3px) scale(1.02);
}

/* Enhanced Button Hover Effects */
.btn-custom {
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-custom:hover {
    animation-duration: 0.5s;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Enhanced Card Hover Effects */
.feature-card {
    position: relative;
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-15px) rotateY(5deg) rotateX(5deg);
    box-shadow:
        0 25px 50px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.1);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--accent-color), var(--success-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.feature-card:hover::after {
    opacity: 0.1;
}

/* Footer Logo Enhancement */
.footer-logo {
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.footer-logo:hover {
    filter: brightness(1.2) drop-shadow(0 4px 15px rgba(255,255,255,0.3));
    transform: scale(1.1);
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 5rem;
}

/* Footer Section Spacing */
.footer .row > div {
    margin-bottom: 2rem; /* Add space below each column */
}

/* Footer Logo Section */
.footer-logo-container {
    background: transparent;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Add specific margins for larger screens */
@media (min-width: 992px) {
    .footer .col-lg-5 {
        padding-right: 3rem; /* Add space after logo section */
    }

    .footer .col-lg-3 {
        padding-left: 2rem; /* Add space before Quick Links */
    }

    .footer .col-lg-4 {
        padding-left: 2rem; /* Add space before Contact Info */
    }

    /* Add vertical dividers */
    .footer .col-lg-3::before,
    .footer .col-lg-4::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Rest of your footer CSS remains the same */


/* Hero Section with Background Banner */
.hero-section-balanced {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
                url('../images/nepal-dallas-banner.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Optional: If you want more control over the overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1;
}

.hero-section-balanced .container {
    position: relative;
    z-index: 2;
}

/* Make sure text is readable */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section-balanced {
        padding: 80px 0;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section-balanced {
        padding: 60px 0;
        min-height: 50vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* New Button Styles */
.btn-red-custom {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
}

.btn-white-custom {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-white-custom:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-white-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-white-outline:hover {
    background: white;
    color: var(--secondary-color);
}

/* Clean Stats Section */
.stats-section-clean {
    padding: 80px 0;
    background: var(--white);
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--white);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 2px solid #f1f5f9;
}

.stat-red {
    border-left: 4px solid var(--secondary-color);
}

.stat-blue {
    border-left: 4px solid var(--primary-color);
}

.stat-black {
    border-left: 4px solid var(--black-accent);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light-text);
}

/* Balanced Features Section */
.features-section-balanced {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title-balanced {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-subtitle-balanced {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

/* Light Feature Cards with Better Visibility */
.feature-card-light-red {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    color: var(--dark-text);
    border: 2px solid #fca5a5;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
}

.feature-card-white {
    background: white;
    color: var(--dark-text);
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card-light-blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--dark-text);
    border: 2px solid #93c5fd;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

/* Icon Colors for Better Contrast */
.feature-icon-red {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-icon-dark {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.feature-icon-blue {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Card Hover Effects */
.feature-card-light-red:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.2);
    border-color: var(--secondary-color);
}

.feature-card-white:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--light-text);
}

.feature-card-light-blue:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-color);
}

/* Card Title and Text Styling */
.feature-card-light-red .card-title,
.feature-card-white .card-title,
.feature-card-light-blue .card-title {
    color: var(--dark-text);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card-light-red .card-text,
.feature-card-white .card-text,
.feature-card-light-blue .card-text {
    color: var(--light-text);
    line-height: 1.6;
}

/* Red CTA Section */
/* CTA Section with Side Images */
.cta-with-side-images {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Left Side Image */
.cta-left-image {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 620px;
    background: url('../images/nepal-left-image.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

/* Right Side Image */
.cta-right-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 620px;
    background: url('../images/nepal-right-image.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

/* Ensure content stays above images */
.cta-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;

}



.designer-credit-center {
    padding: 10px 0;
}

.designed-by-center {
    color: rgba(white, 0.8);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.designed-by-center i.fa-palette {
    color: var(--secondary-color);
}

.designed-by-center i.fa-heart {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.designed-by-center strong {
    color: white;
    font-weight: 600;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


/* Tablet Responsive (768px to 1024px) */
@media (max-width: 1024px) {
    .cta-left-image,
    .cta-right-image {
        width: 200px;
        opacity: 0.2;
    }

    .cta-content {
        padding: 0 40px;
    }
}

/* Mobile Responsive (768px and below) */
@media (max-width: 768px) {
    .cta-left-image,
    .cta-right-image {
        width: 120px;
        opacity: 0.15;
    }

    .cta-content {
        padding: 0 30px;
    }

    .cta-with-side-images h3 {
        font-size: 1.5rem;
    }

    .cta-with-side-images .lead {
        font-size: 1rem;
    }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
    .cta-left-image,
    .cta-right-image {
        display: none; /* Hide side images on very small screens */
    }

    .cta-with-side-images {
        padding: 60px 0;
    }

    .cta-content {
        padding: 0 15px;
    }

}

/* Enhanced Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    animation: fadeIn 0.4s ease-out;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.popup-close:hover {
    background: rgba(231, 76, 60, 0.9);
    border-color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.5);
}

.popup-content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Loading Animation */
.popup-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-left: 4px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.popup-loading p {
    font-size: 1rem;
    font-weight: 500;
}

/* Main Image */
.popup-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.95);
    z-index: 2;
    position: relative;
}

.popup-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.popup-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* CTA Button Overlay */
.popup-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: slideUp 0.5s ease-out 1s forwards;
}

.cta-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFA500, #FF8C00);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes scaleOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .popup-container {
        width: 95vw;
        max-width: 95vw;
    }

    .popup-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .popup-cta {
        bottom: 15px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .popup-container {
        width: 80vw;
        max-width: 80vw;
    }
}

/* ===== Sponsors & Partners Section ===== */
.sponsors-partners-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sponsors-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

/* Sponsors Layer */
.sponsors-layer {
    margin-bottom: 4rem;
}

.sponsors-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sponsors-title i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.sponsors-subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Partners Layer */
.partners-layer {
    margin-top: 4rem;
}

.partners-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.partners-title i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.partners-subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Logo Items - Much bigger containers */
.sponsor-item,
.partner-item {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    height: 160px; /* Increased from 150px to 180px */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sponsor-item::before,
.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.sponsor-item:hover::before,
.partner-item:hover::before {
    left: 100%;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-color);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--secondary-rgb), 0.15);
    border-color: var(--secondary-color);
}

/* Logo Images - Much bigger and clearly visible */
.sponsor-logo,
.partner-logo {
    max-width: 100%;
    max-height: 170px; /* Increased from 110px to 140px */
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    /* Always bright and clear */
}

.sponsor-item:hover .sponsor-logo,
.partner-item:hover .partner-logo {
    /* Only scale on hover */
    transform: scale(1.05);
}

/* Divider */
.sponsors-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), var(--primary-color), var(--secondary-color), transparent);
    margin: 3rem 0;
    border-radius: 2px;
    position: relative;
}

.sponsors-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .sponsors-partners-section {
        padding: 4rem 0;
    }

    .sponsors-title,
    .partners-title {
        font-size: 1.8rem;
    }

    .sponsors-layer {
        margin-bottom: 3rem;
    }

    .partners-layer {
        margin-top: 3rem;
    }

    .sponsor-item,
    .partner-item {
        height: 140px; /* Increased from 130px */
        padding: 20px;
    }

    .sponsor-logo,
    .partner-logo {
        max-height: 150px; /* Increased from 90px */
    }
}

@media (max-width: 767.98px) {
    .sponsors-partners-section {
        padding: 3rem 0;
    }

    .sponsors-title,
    .partners-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }

    .sponsor-item,
    .partner-item {
        height: 130px; /* Increased from 120px */
        padding: 15px;
    }

    .sponsor-logo,
    .partner-logo {
        max-height: 130px; /* Increased from 80px */
    }

    .sponsors-layer {
        margin-bottom: 2rem;
    }

    .partners-layer {
        margin-top: 2rem;
    }

    .sponsors-divider {
        margin: 2rem 0;
    }
}

@media (max-width: 575.98px) {
    .sponsor-item,
    .partner-item {
        height: 110px; /* Increased from 100px */
        padding: 10px;
    }

    .sponsor-logo,
    .partner-logo {
        max-height: 110px; /* Increased from 70px */
    }
}

/* Animation for scroll-in effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sponsor-item,
.partner-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation delays */
.sponsor-item:nth-child(1) { animation-delay: 0.1s; }
.sponsor-item:nth-child(2) { animation-delay: 0.2s; }
.sponsor-item:nth-child(3) { animation-delay: 0.3s; }
.sponsor-item:nth-child(4) { animation-delay: 0.4s; }
.sponsor-item:nth-child(5) { animation-delay: 0.5s; }
.sponsor-item:nth-child(6) { animation-delay: 0.6s; }

.partner-item:nth-child(1) { animation-delay: 0.7s; }
.partner-item:nth-child(2) { animation-delay: 0.8s; }
.partner-item:nth-child(3) { animation-delay: 0.9s; }
.partner-item:nth-child(4) { animation-delay: 1.0s; }
.partner-item:nth-child(5) { animation-delay: 1.1s; }
.partner-item:nth-child(6) { animation-delay: 1.2s; }


/* Link Styling for Sponsors & Partners */
.sponsor-link,
.partner-link {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.sponsor-link:hover,
.partner-link:hover {
    text-decoration: none;
}

/* Add cursor pointer and subtle hover effects */
.sponsor-item,
.partner-item {
    cursor: pointer;
    position: relative;
}

/* Add a subtle "click me" indicator */
.sponsor-item::after,
.partner-item::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-item::after {
    background: var(--primary-color);
}

.partner-item::after {
    background: var(--secondary-color);
}

/* Show click indicator on hover */
.sponsor-link:hover .sponsor-item::after,
.partner-link:hover .partner-item::after {
    opacity: 1;
    transform: scale(1.1);
}

/* Add external link icon */
.sponsor-item::after,
.partner-item::after {
    content: '\f35d'; /* Font Awesome external link icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
}

/* Enhanced hover effect for clickable items */
.sponsor-link:hover .sponsor-item {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary-color);
}

.partner-link:hover .partner-item {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--secondary-rgb), 0.2);
    border-color: var(--secondary-color);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

/* Section Title */
.section-title-testimonials {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-title-testimonials i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.section-subtitle-testimonials {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary-color);
}

/* Testimonial Header */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

/* Player Image */
.player-image-container {
    position: relative;
    flex-shrink: 0;
}

.player-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover .player-image {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.player-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    border: 2px solid var(--white);
}

/* Player Info */
.player-info {
    flex: 1;
}

.player-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.player-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.playing-since,
.hometown {
    color: var(--light-text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.playing-since i,
.hometown i {
    color: var(--secondary-color);
    width: 12px;
}

/* Testimonial Content */
.testimonial-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.testimonial-text {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    padding-left: 20px;
}

.testimonial-highlight {
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .testimonials-section {
        padding: 4rem 0;
    }

    .section-title-testimonials {
        font-size: 2.2rem;
    }

    .testimonial-card {
        padding: 25px;
        margin-bottom: 30px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .player-details {
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .section-title-testimonials {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .player-image {
        width: 70px;
        height: 70px;
    }

    .player-name {
        font-size: 1.2rem;
    }

    .testimonial-text,
    .testimonial-highlight {
        font-size: 0.9rem;
    }

    .testimonial-text {
        padding-left: 15px;
    }
}

/* Animation Delays */
.testimonial-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.testimonial-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.testimonial-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.testimonial-card:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }
