/* About Federation Page Specific Styles - Premium Redesign */

:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.section-padding {
    padding: 50px 50px;
}

/* Inner Banner */
.inner-banner {
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;

    background-size: cover;
    background-position: center 12%;
    background-repeat: no-repeat;}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 22, 91, 0.5), rgba(242, 98, 34, 0.4));
    z-index: 1;
}

.inner-banner .container {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-top: 20px;
}

/* Federation Info Section */
.fed-info-section {
    background: var(--white);
}

.fed-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.fed-image-box {
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f8f9fa;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
}

.slider-container:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.dot.active {
    background: var(--orange);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(242, 98, 34, 0.5);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--orange);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(242, 98, 34, 0.4);
    animation: float 5s ease-in-out infinite;
    z-index: 20;
}

.experience-badge h3 {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 5px;
}

.fed-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.fed-stats-row {
    display: flex;
    gap: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    margin-top: 30px;
}

.stat-item h4 {
    font-size: 28px;
    color: var(--orange);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

/* Core Values */
.values-section {
    background: var(--primary);
    color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 25px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-15px);
    border-color: var(--orange);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(242, 98, 34, 0.1);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
}

/* History Timeline */
.timeline-section {
    background: #f8f9fa;
}

.fed-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.fed-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--light-gray);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 50px;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.t-dot {
    position: absolute;
    top: 40px;
    width: 20px;
    height: 20px;
    background: var(--orange);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(242, 98, 34, 0.2);
    z-index: 2;
}

.timeline-item:nth-child(odd) .t-dot { right: -10px; }
.timeline-item:nth-child(even) .t-dot { left: -10px; }

.t-year {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.t-content {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Affiliations */
.affiliations-section {
    text-align: center;
}

.aff-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.aff-item {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    width: 280px;
    transition: var(--transition);
}

.aff-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.aff-item img {
    display: block;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 20px auto;
}

.aff-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--primary);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -20px); }
}

/* Responsive */
@media (max-width: 992px) {
    .fed-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .timeline-item { width: 100%; text-align: left !important; padding-left: 40px; }
    .fed-timeline::before { left: 20px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item .t-dot { left: 10px !important; }
    .banner-title { font-size: 44px; }
    .section-padding { padding: 50px 20px; }
}

@media (max-width: 768px) {
    .banner-title { font-size: 32px; }
    .inner-banner { height: 160px !important; }
    .values-grid { grid-template-columns: 1fr; gap: 15px; }
    .value-card { padding: 30px 20px; }
    .fed-stats-row { flex-direction: column; gap: 20px; padding: 20px; }
    .experience-badge { bottom: -15px; right: -10px; padding: 20px; }
    .experience-badge h3 { font-size: 28px; }
    .aff-logos { gap: 20px; }
    .aff-item { width: 100%; max-width: 260px; }
    .section-padding { padding: 40px 15px; }
    .fed-content p { font-size: 15px; }
}

@media (max-width: 480px) {
    .banner-title { font-size: 24px; }
    .inner-banner { height: 140px !important; }
    .values-grid { grid-template-columns: 1fr; }
    .experience-badge { display: none; }
    .aff-item { width: 100%; }
    .t-content { padding: 18px 15px; }
    .timeline-item { padding-left: 30px; }
}
