/* Enhanced Youth Club Page Animations */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.page-header__inner {
    animation: fadeInDown 0.8s ease-out;
}

.page-header__inner h3 {
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-shadow {
    position: relative;
    overflow: hidden;
}

.hover-shadow::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;
    z-index: 1;
    pointer-events: none;
}

.hover-shadow:hover::before {
    left: 100%;
}

.card {
    position: relative;
    z-index: 0;
}

.card:hover {
    z-index: 10;
}

.hover-shadow:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.transition {
    transition: all 0.3s ease-in-out;
}

/* ============================================
   Enhanced Page Header - COMPLETE OVERRIDE
   Override ALL old styles from afro CSS files
   ============================================ */

/* Override ALL page-header styles completely */
.enhanced-page-header,
section.enhanced-page-header,
.page-header.enhanced-page-header,
section.page-header.enhanced-page-header,
.page-header.enhanced-page-header,
.page-header {
    position: relative !important;
    padding: 100px 0 80px !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    overflow: hidden !important;
    min-height: 350px !important;
    display: flex !important;
    align-items: center !important;
    background-color: transparent !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    z-index: 1 !important;
    border: none !important;
    box-shadow: 0 0 50px rgba(65, 105, 225, 0.3) inset !important;
    padding-top: 100px !important;
    padding-bottom: 80px !important;
}

.enhanced-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 4s infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Completely remove old page-header__bg from afro CSS */
.enhanced-page-header .page-header__bg,
.page-header.enhanced-page-header .page-header__bg,
.page-header .page-header__bg,
.page-header__bg {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* Remove old page-header shapes */
.enhanced-page-header .page-header__shape-1,
.enhanced-page-header .page-header__shape-2,
.page-header .page-header__shape-1,
.page-header .page-header__shape-2,
.page-header__shape-1,
.page-header__shape-2 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Ensure no white bands, extra sections, or pseudo-elements (except shimmer) */
.enhanced-page-header::after,
.page-header.enhanced-page-header::after,
.page-header::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Override old padding from afro CSS (175px 0 168px) */
section.page-header.enhanced-page-header,
section.page-header {
    padding: 100px 0 80px !important;
    padding-top: 100px !important;
    padding-bottom: 80px !important;
    background-color: transparent !important;
    background-image: inherit !important;
}

/* Ensure no background color from old CSS */
.enhanced-page-header,
.page-header.enhanced-page-header,
.page-header {
    background-color: transparent !important;
}

/* Remove any white space or gaps */
.enhanced-page-header + *,
.page-header.enhanced-page-header + *,
.page-header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.75) 0%, rgba(0, 123, 255, 0.75) 100%);
    z-index: 1;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.page-header__particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.particle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 30%;
    animation-delay: 6s;
    animation-duration: 20s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-40px) translateX(30px) rotate(90deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-80px) translateX(-30px) rotate(180deg) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-40px) translateX(40px) rotate(270deg) scale(1.15);
        opacity: 0.8;
    }
}

.page-header__inner {
    position: relative;
    z-index: 3;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(65, 105, 225, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.2;
    animation: title-glow 3s ease-in-out infinite;
    position: relative;
}

@keyframes title-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(65, 105, 225, 0.8), 2px 2px 8px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(65, 105, 225, 1), 0 0 40px rgba(65, 105, 225, 0.6), 2px 2px 8px rgba(0, 0, 0, 0.5);
    }
}

.page-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.95;
    margin-top: 0.5rem;
    line-height: 1.5;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: subtitle-fade 2s ease-in-out infinite;
}

@keyframes subtitle-fade {
    0%, 100% {
        opacity: 0.95;
    }
    50% {
        opacity: 1;
    }
}

.page-header__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 80px;
    overflow: hidden;
    display: block;
}

.page-header__wave-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 60px;
    overflow: hidden;
    display: none;
}

.wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    min-height: 80px;
    animation: wave-animation 3s ease-in-out infinite;
}

@keyframes wave-animation {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25px);
    }
}

.wave-svg-mobile {
    width: 100%;
    height: 100%;
    display: block;
    min-height: 60px;
}

.page-header__wave svg path {
    transition: d 0.3s ease;
}

.fade-in-down {
    animation: fadeInDown 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.page-header__bg {
    opacity: 0.1;
}

/* Empty State Styles */
.empty-state-youth-club {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.empty-state-youth-club.unified-empty-state {
    min-height: 600px;
    padding: 5rem 2rem;
}

.empty-state-youth-club::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    animation: pulse-background 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-background {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.empty-state-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.empty-state-icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0d6efd 0%, #28a745 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

.empty-state-icon-circle.cadets-icon {
    background: linear-gradient(135deg, #28a745 0%, #0d6efd 100%);
}

.empty-state-icon-circle.unified-icon {
    background: linear-gradient(135deg, #0d6efd 0%, #28a745 50%, #ffc107 100%);
    width: 140px;
    height: 140px;
    animation: rotate-gradient 3s ease-in-out infinite;
}

@keyframes rotate-gradient {
    0%, 100% {
        background: linear-gradient(135deg, #0d6efd 0%, #28a745 50%, #ffc107 100%);
    }
    33% {
        background: linear-gradient(225deg, #28a745 0%, #ffc107 50%, #0d6efd 100%);
    }
    66% {
        background: linear-gradient(315deg, #ffc107 0%, #0d6efd 50%, #28a745 100%);
    }
}

.empty-state-icon-circle i {
    font-size: 3rem;
    color: white;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-state-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid rgba(13, 110, 253, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
    z-index: 1;
}

.unified-empty-state .empty-state-pulse {
    width: 140px;
    height: 140px;
    border-width: 4px;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.empty-state-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #003b4f;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.empty-state-message {
    font-size: 1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.empty-state-submessage {
    font-size: 1rem;
    color: #868e96;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.empty-state-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.empty-state-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.empty-state-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Fade in up animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature items for unified empty state */
.empty-state-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 150px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.feature-item span {
    font-weight: 600;
    color: #003b4f;
    font-size: 0.95rem;
}

/* Section animations */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.section-title {
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #003b4f;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd 0%, #28a745 100%);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.5s both;
}

/* Enhanced Section Heading */
.section-heading {
    color: #002946 !important;
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 41, 70, 0.1);
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #002946, #28a745, #002946);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: expandUnderline 1s ease-out 0.5s both, gradient-slide 3s ease infinite;
}

@keyframes expandUnderline {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

@keyframes gradient-slide {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-heading i {
    color: #28a745;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 0.5rem;
    color: #6c757d;
    font-weight: 400;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* Modern Card Redesign */
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    margin-bottom: 1.5rem;
    border-radius: 16px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(0, 59, 79, 0.08);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #28a745, #0d6efd);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.card:hover::before {
    transform: scaleX(1);
    animation: gradient-slide 2s ease infinite;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.2);
    border-color: #28a745;
}

/* Youth Club Card Specific */
.youth-club-card::before {
    background: linear-gradient(90deg, #0d6efd, #28a745, #0d6efd);
}

/* Cadets Card Specific */
.cadets-card::before {
    background: linear-gradient(90deg, #28a745, #0d6efd, #28a745);
}

/* Card Image Wrapper */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-img-top {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.card:hover .card-img-top {
    transform: scale(1.15);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 59, 79, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover .card-overlay {
    opacity: 1;
}

.card-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
    position: relative;
    overflow: hidden;
}

.cadets-card .card-placeholder {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.card-placeholder i {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.card-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Card Body - Redesigned */
.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Card Badges */
.card-badge-youth,
.card-badge-cadets {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-badge-youth {
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
    color: white;
}

.card-badge-cadets {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

.card:hover .card-badge-youth,
.card:hover .card-badge-cadets {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Card Title - Modern Style */
.card-title {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    line-height: 1.4;
    color: #002946 !important;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: #0d6efd;
}

/* Card Description */
.card-text {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    color: #5a6c7d !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Info Container */
.card-info-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid #0d6efd;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-info-container.cadets-info {
    border-left-color: #28a745;
}

.card:hover .card-info-container {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cadets-card:hover .card-info-container {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

/* Info Items - Redesigned */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:hover {
    transform: translateX(4px);
    padding-left: 0.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.info-icon.icon-cadets {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.info-item:hover .info-icon.icon-cadets {
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #002946;
    line-height: 1.4;
}

/* Contact Section */
.card-contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: auto;
    border-top: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.card:hover .card-contact-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f4f8 100%);
    border-top-color: #0d6efd;
}

.cadets-card:hover .card-contact-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-top-color: #28a745;
}

.contact-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-header i {
    color: #0d6efd;
    font-size: 1.1rem;
}

.contact-header strong {
    color: #002946;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-person,
.contact-phone,
.contact-email {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #495057;
    margin: 0;
    transition: all 0.3s ease;
}

.contact-person i,
.contact-phone i,
.contact-email i {
    color: #0d6efd;
    width: 20px;
    flex-shrink: 0;
}

.contact-person:hover,
.contact-phone:hover,
.contact-email:hover {
    transform: translateX(4px);
    color: #002946;
}

.contact-phone a,
.contact-email a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: #002946;
    text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
        max-width: 95%;
    }

    .enhanced-page-header {
        padding: 90px 0 70px;
        min-height: 320px;
        background-attachment: scroll;
    }

    .page-header__wave {
        height: 60px;
    }

    .wave-svg {
        min-height: 60px;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .section-heading {
        font-size: 1.75rem !important;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .card-img-top {
        height: 100%;
    }

    .card-title {
        font-size: 0.95rem !important;
    }

    .card-text {
        font-size: 0.75rem !important;
    }

    .card-body .mb-2 {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.75rem;
        line-height: 1.2;
        padding: 0 1rem;
        margin-bottom: 0.75rem;
    }

    .page-subtitle {
        font-size: 0.875rem;
        padding: 0 1.5rem;
        line-height: 1.4;
        max-width: 100%;
    }

    .enhanced-page-header {
        padding: 70px 0 50px;
        min-height: 260px;
        background-attachment: scroll;
    }

    .page-header__particles {
        display: none; /* Hide particles on mobile for performance */
    }

    .page-header__wave {
        display: none;
    }

    .page-header__wave-mobile {
        display: block;
        height: 50px;
    }

    .wave-svg-mobile {
        min-height: 50px;
    }

    .page-header__inner {
        padding-bottom: 0;
    }

    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .section-title {
        font-size: 1.35rem !important;
        margin-bottom: 0.5rem !important;
    }

    .section-title::after {
        width: 40px;
        height: 2px;
    }

    .section-heading {
        font-size: 1.5rem !important;
        padding-bottom: 0.75rem;
    }

    .section-heading::after {
        width: 60px;
        height: 3px;
    }

    .section-description {
        font-size: 1rem;
    }

    .section-fade-in {
        margin-bottom: 2rem;
    }

    /* Card mobile improvements */
    .card {
        margin-bottom: 1.25rem;
        border-radius: 12px !important;
    }

    .card-image-wrapper {
        height: 180px;
    }

    .card-img-top {
        height: 100%;
        border-radius: 12px 12px 0 0 !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .card-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3;
    }

    .card-text {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
    }

    .card-body .mb-2 {
        font-size: 0.75rem !important;
        margin-bottom: 0.4rem !important;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .card-body .mb-2 i {
        width: 14px;
        font-size: 0.8rem;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .card-body .mb-2 strong {
        font-size: 0.65rem !important;
        font-weight: 600;
        word-break: break-word;
        flex: 1;
        min-width: 0;
        line-height: 1.25;
        display: block;
    }

    .card-body .mb-2 span {
        word-break: break-word;
        flex: 1;
        min-width: 0;
    }

    .card-body hr {
        margin: 0.5rem 0;
    }

    .card-body .text-muted.small {
        font-size: 0.7rem !important;
    }

    /* Empty state mobile */
    .empty-state-youth-club {
        padding: 2.5rem 1.5rem;
        margin: 1.5rem 0;
        border-radius: 16px;
    }

    .empty-state-title {
        font-size: 1.35rem;
        padding: 0 1rem;
    }

    .empty-state-message {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .empty-state-submessage {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }

    .empty-state-icon-circle {
        width: 90px;
        height: 90px;
    }

    .empty-state-icon-circle i {
        font-size: 2rem;
    }

    .empty-state-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0 1rem;
    }

    .empty-state-actions .btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.65rem 1.5rem;
    }

    .empty-state-features {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1.5rem 0;
        width: 100%;
        padding: 0 0.5rem;
    }

    .feature-item {
        min-width: auto;
        width: 100%;
        padding: 1rem;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .feature-item span {
        font-size: 0.85rem;
    }

    .empty-state-icon-circle.unified-icon {
        width: 100px;
        height: 100px;
    }

    .unified-empty-state .empty-state-pulse {
        width: 100px;
        height: 100px;
    }

    /* Row spacing on mobile */
    .row.g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }

    /* Section spacing */
    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5.pt-5 {
        margin-top: 2rem !important;
        padding-top: 2rem !important;
    }
}

@media (max-width: 575px) {
    .page-title {
        font-size: 1.5rem;
        padding: 0 0.75rem;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        font-size: 0.8rem;
        padding: 0 1rem;
        line-height: 1.4;
    }

    .enhanced-page-header {
        padding: 60px 0 45px;
        min-height: 240px;
    }

    .page-header__wave-mobile {
        height: 45px;
    }

    .wave-svg-mobile {
        min-height: 45px;
    }
}

    .section-title {
        font-size: 1.2rem !important;
    }

    .section-heading {
        font-size: 1.35rem !important;
        padding-bottom: 0.5rem;
    }

    .section-heading::after {
        width: 50px;
        height: 3px;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .card-image-wrapper {
        height: 160px;
    }

    .card-img-top {
        height: 100%;
    }

    .card-title {
        font-size: 0.95rem !important;
    }

    .card-text {
        font-size: 0.75rem !important;
        -webkit-line-clamp: 2;
    }

    .card-info-container {
        padding: 0.75rem;
    }

    .card-body .mb-2 {
        font-size: 0.7rem !important;
    }

    .card-body .mb-2 strong {
        font-size: 0.65rem !important;
        line-height: 1.25;
    }

    .card-body .mb-2 span {
        font-size: 0.7rem !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .card-contact-section {
        padding: 0.5rem;
    }

    .empty-state-youth-club {
        padding: 2rem 1rem;
    }

    .empty-state-title {
        font-size: 1.2rem;
    }

    .empty-state-message {
        font-size: 0.85rem;
    }
}

