body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
}

.navbar {
    border-bottom: 1px solid #fff;
}

.navbar-brand .logo {
    max-width: 150px;
    max-height: 150px;
    margin: 0 auto;
    display: block;
}

.navbar-toggler {
    border-color: #fff;
}

.nav-link {
    color: #fff !important;
}

.nav-link.border {
    border: 2px solid #fff !important;
    border-radius: 5px;
}

.nav-link:hover {
    color: #ccc !important;
}

footer {
    border-top: 1px solid #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #ccc;
}

.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.05);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.btn {
    transition: all 0.2s;
}

.btn:hover {
    background-color: #333;
    color: #fff !important;
}

@media (max-width: 768px) {
    .navbar-brand .logo {
        margin-left: auto;
        margin-right: auto;
    }
    .navbar-collapse {
        text-align: center;
    }
    .card-img-top {
        height: 150px;
    }
}

/* Add to styles.css */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional styles for index.php */
.card {
    transition: all 0.3s ease;
}

.btn-outline-light {
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .player-card, .agent-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Add to your existing styles.css */
footer {
    background-color: white;
    border-top: 3px solid #000;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer .row {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
}

footer h5 {
    color: #000;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer a {
    color: #000;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #555;
    text-decoration: none;
}

footer p {
    color: #000;
    margin-top: 1.5rem;
}

/* Welcome section styling */
section.mb-5:first-of-type {
    background-color: #000;
    color: white;
    padding: 4rem 1rem;
    margin: 0 -15px 3rem -15px;
    text-align: center;
    border-bottom: 3px solid #fff;
}

section.mb-5:first-of-type h1 {
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

section.mb-5:first-of-type .lead {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Ensure other sections maintain white background */
.container-fluid {
    background-color: white;
    color: #000;
}

/* Make sure all text outside the welcome section is black */
body {
    color: #000;
}

/* Style the featured sections */
section.mb-5 {
    padding: 2rem 0;
    margin-bottom: 3rem !important;
}

/* Card styling for featured profiles */
.card {
    border: 1px solid #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    section.mb-5:first-of-type {
        padding: 3rem 1rem;
    }
    
    section.mb-5:first-of-type h1 {
        font-size: 2.5rem;
    }
    
    footer .row {
        padding: 1rem;
    }
}

/* Navigation Menu Fixes */
.navbar {
    background-color: white !important;
    border-bottom: 1px solid #000 !important;
}

.navbar-nav .nav-link {
    color: #000 !important;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #555 !important;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Special style for Subscribe button */
.nav-link.border {
    border: 2px solid #000 !important;
    color: #000 !important;
}

.nav-link.border:hover {
    background-color: #000 !important;
    color: white !important;
}

/* Ensure logo remains visible */
.navbar-brand .logo {
    filter: none !important;
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: white !important;
        padding: 1rem;
        border: 1px solid #000;
        margin-top: 1rem;
    }
}

.nav-item.active .nav-link {
    font-weight: bold;
    text-decoration: none;
}

/* Language Selector Styles */
footer .language-selector {
    background-color: #000;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

footer .language-selector a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer .language-selector a:hover {
    opacity: 0.8;
    text-decoration: none;
}

footer .language-selector .text-white {
    color: white !important;
}

form { 
    max-width: 500px; 
    margin: auto; 
    background: #fff; 
    padding: 20px; 
    border: 1px solid #000; 
}
label { 
    display: block; 
    margin-top: 10px; 
    color: #000; 
}
input, textarea, select { 
    width: 100%; 
    padding: 8px; 
    margin-top: 5px; 
    border: 1px solid #000; 
    background: #fff; 
    color: #000; 
}
input[type="file"] {
    padding: 3px;
}
button { 
    margin-top: 15px; 
    padding: 10px; 
    width: 100%; 
    background: #000; 
    color: #fff; 
    border: 1px solid #000; 
    cursor: pointer; 
}
button:hover { 
    background: #fff; 
    color: #000; 
}

/* Add to a global CSS file, e.g., styles.css in root, and link in header.php: <link rel="stylesheet" href="<?php echo BASE_URL; ?>/styles.css"> */

/* General card styling */
.profile-card {
    background-color: #fff; /* White background for visibility */
    color: #000; /* Black text */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 400px; /* Fixed width */
    height: 400px; /* Fixed height for square (adjust as needed; use aspect-ratio for responsive) */
    overflow-y: auto; /* Scroll if content overflows */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow */
    margin: 0 auto; /* Center */
}

/* Dark mode variant if theme toggles (optional) */
@media (prefers-color-scheme: dark) {
    .profile-card {
        background-color: #333; /* Dark bg */
        color: #fff; /* White text */
        border-color: #555;
    }
}

/* Images */
.profile-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Headings and paragraphs */
.profile-card h2, .profile-card h3 {
    color: inherit; /* Inherit from card */
}

.profile-card p {
    margin-bottom: 10px;
}

/* Forms */
.profile-card form {
    margin-top: 20px;
}

.profile-card textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.profile-card button {
    background-color: #000;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.profile-card button:hover {
    background-color: #333;
}

/* Bootstrap overrides */
.profile-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    background-color: #fff; /* Ensure white bg */
    color: #212529; /* Dark text */
    padding: 1.5rem;
}

.profile-card img {
    max-width: 500px;
    max-height: 500px;
    width: 100%; /* Responsive */
    height: auto;
    border-radius: 0.5rem;
    object-fit: contain; /* Fit without distortion */
}

.profile-card .subscribe-note {
    color: #dc3545; /* Red for emphasis */
    font-style: italic;
}

@media (max-width: 576px) {
    .profile-card img {
        max-width: 100%; /* Full width on mobile */
    }
}