/* Academy Specific Styling - Matches Super Division Theme */

/* Header & Accents */
.section-subtitle {
    color: #dc3545; /* Bootstrap Danger Red */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: #dc3545;
    margin: 1.5rem 0;
}

/* Feature Cards */
.academy-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.academy-card:hover {
    transform: translateY(-5px);
}

.academy-card .card-header {
    background-color: #1a2533; /* Match your main-nav color */
    color: white;
    border-radius: 0;
    border-bottom: 4px solid #dc3545;
    padding: 1.25rem;
}

/* Table Styling */
.table-academy thead {
    background-color: #1a2533;
    color: white;
}

.table-academy th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 15px;
}

/* Notice Box */
.rules-box {
    border-left: 5px solid #dc3545;
    background-color: #f8f9fa;
    padding: 2rem;
}

/* Icons */
.feature-icon {
    color: #dc3545;
    margin-right: 10px;
}

/* Additional styling for Rules & Regulations */
.rules-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    list-style: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.rules-list li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #dc3545; /* Danger Red */
}

.rules-category-title {
    background: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #1a2533;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.team-section {
    background-color: #ffffff;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: #dc3545; /* Red theme */
    margin-top: 15px;
}

.team-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid #777;
    margin: 10px 10px 0px 10px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-img-container {
    height: 380px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio while filling the square */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    object-position: top;
}

.team-card:hover .team-img-container img {
    filter: grayscale(0%);
}

.team-info {
    padding: 20px;
}

.team-socials a {
    color: #888;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.2s;
}

.team-socials a:hover {
    color: #dc3545;
}

.join-us-section {
    /* Using a dark gradient to simulate a professional stadium atmosphere */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.join-content {
    border: 1px solid rgba(255, 193, 7, 0.2); /* Subtle gold border */
    backdrop-filter: blur(10px); /* Modern glassmorphism */
    border-radius: 20px;
}

.text-gold {
    color: #ffc107;
    letter-spacing: 3px;
}

/* The Grand Button */
.btn-join-grand {
    background: linear-gradient(135deg, #dc3545 0%, #800000 100%);
    color: #fff;
    padding: 18px 45px;
    font-weight: 700;
    border: 2px solid #ffc107;
    border-radius: 0px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.btn-join-grand:hover {
    transform: translateY(-5px) scale(1.05);
    color: #ffc107;
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.4);
}

.btn-join-grand span {
    letter-spacing: 1px;
}

.tracking-widest {
    letter-spacing: 0.2rem;
}