/* affiliation.css - Enhanced Version */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
    font-family: 'Playfair Display', serif;
}

/* Enhanced Icon Wrapper with Advanced Animation */
.icon-wrapper {
    height: 180px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.icon-wrapper img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.25));
}

.affiliation-card:hover .icon-wrapper img {
    transform: scale(1.15) translateY(-8px);
    filter: drop-shadow(0 15px 35px rgba(212, 175, 55, 0.4));
}

/* Enhanced Page Header with Gradient Animation */
.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(42, 52, 62, 0.75) 100%),
                url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600');
    padding: 50px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1); 
    }
    50% { 
        transform: translateY(-40px) translateX(30px) scale(1.1); 
    }
}

/* Animated Background Particles */
.page-header .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.header-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 300;
    letter-spacing: 2px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.breadcrumb-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s;
}

.breadcrumb-nav a:hover::after {
    width: 100%;
}

.breadcrumb-nav a:hover {
    color: #d4af37;
}

.breadcrumb-nav span:last-child {
    color: rgba(255, 255, 255, 0.6);
}

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

/* Main Content with Enhanced Background */
.affiliation-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
}

.affiliation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(42, 82, 152, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Intro Section */
.intro-section {
    margin-bottom: 80px;
    text-align: center;
}

.section-title {
    font-size: 42px;
    
    color: #1e2a38;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    border-radius: 10px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.9;
    color: #475569;
    max-width: 900px;
    margin: 35px auto 0;
}

.intro-text strong {
    color: #d4af37;
    font-weight: 700;
}

/* Enhanced Network Section */
.network-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 30px;
    padding: 70px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.network-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.stat-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d67c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.stat-box:hover .stat-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.stat-icon i {
    font-size: 38px;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

/* Enhanced Affiliation Cards */
.affiliation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.affiliation-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 2px solid #f1f5f9;
}

.affiliation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.affiliation-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
    border-color: #d4af37;
}

.affiliation-card:hover::before {
    opacity: 1;
}

.card-header {
    background: linear-gradient(135deg, #d4af37 0%, #c29d2e 100%);
    padding: 50px 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(15px); }
}

.card-logo {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.4s;
}

.affiliation-card:hover .card-logo {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.card-logo i {
    font-size: 55px;
    color: #d4af37;
}

.card-title {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.card-country {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.card-body {
    padding: 35px;
}

.card-description {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px;
}

.card-features {
    list-style: none;
    padding: 0;
}

.card-features li {
    padding: 12px 0;
    color: #334155;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li:hover {
    padding-left: 8px;
    color: #d4af37;
}

.card-features li i {
    color: #d4af37;
    font-size: 14px;
    transition: transform 0.3s;
}

.card-features li:hover i {
    transform: scale(1.2);
}

.card-link {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #d4af37 0%, #c29d2e 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    color: white;
}

/* Enhanced Benefits Section */
.benefits-section {
    margin-bottom: 80px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 45px 35px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d4af37, #f4d67c);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-15px);
    border-color: #d4af37;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d67c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: all 0.6s;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.benefit-icon i {
    font-size: 38px;
    color: white;
}

.benefit-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.benefit-card:hover h4 {
    color: #d4af37;
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* Enhanced Map Section */
.map-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 30px;
    padding: 70px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(15, 23, 42, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    border: 2px solid #f1f5f9;
}

.map-placeholder::before {
    content: '🌍';
    font-size: 150px;
    opacity: 0.15;
    animation: rotate 20s linear infinite;
}

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

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.map-overlay h3 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.map-overlay p {
    font-size: 18px;
    color: #64748b;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2a5298 100%);
    padding: 80px 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d67c 100%);
    color: #0f172a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.5);
    color: #0f172a;
}

.cta-btn i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .network-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .affiliation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .network-section,
    .map-section,
    .cta-section {
        padding: 50px 25px;
        border-radius: 20px;
    }

    .map-placeholder {
        height: 350px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 17px;
    }

    .affiliation-section {
        padding: 60px 0;
    }

    .intro-section {
        margin-bottom: 50px;
    }

    .icon-wrapper img {
        width: 140px;
        height: 140px;
    }

    .icon-wrapper {
        height: 160px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-title {
        font-size: 48px;
    }
}