/* Design System */
:root {
    /* Exact colors from user images */
    --primary-navy: #232055;
    --accent-gold: #ecb02e;
    --secondary-olive: #bac378;
    --pure-white: #ffffff;
    
    /* Semantic Colors */
    --font-color: var(--primary-navy);
    --bg-color: var(--pure-white);
    --light-gray: #f8f9fa;
    --white: #ffffff;
    
    --shadow: 0 10px 40px rgba(35, 32, 85, 0.06);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--font-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Typography Helpers */
.text-gold { color: var(--accent-gold); }
.text-navy { color: var(--primary-navy); }
.text-center { text-align: center; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.mt-50 { margin-top: 50px; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 10px;
}

.text-center .section-title::after {
    inset-inline-start: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.hero-badge {
    background: rgba(236, 176, 46, 0.1);
    color: var(--accent-gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(236, 176, 46, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #34307a 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(35, 32, 85, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(35, 32, 85, 0.25);
    background: linear-gradient(135deg, #34307a 0%, var(--primary-navy) 100%);
}

/* Header */
.main-header {
    padding: 0.8rem 0;
    background: rgba(248, 244, 235, 0.98); /* Polished Beige with slight transparency */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(236, 176, 46, 0.15);
    box-shadow: 0 4px 30px rgba(35, 32, 85, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.club-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.club-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-navy);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1.1rem;
    position: relative;
    padding: 0.4rem 0;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-navy);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Quote Section */
.quote-section {
    padding: 180px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
    background-image: radial-gradient(circle, rgba(255,255,255,0.85) 40%, rgba(255,255,255,1) 80%), 
                      url('../assets/Gemini_Generated_Image_iqtmieiqtmieiqtm.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ط·آ­ط·آ°ط¸ظ¾ط¸â€ ط·آ§ ط·آ§ط¸â€‍ط¸â‚¬ ::before ط·آ¨ط·آ§ط¸â€‍ط¸ئ’ط·آ§ط¸â€¦ط¸â€‍ ط¸â€‍ط·آ¶ط¸â€¦ط·آ§ط¸â€  ط·آ¹ط·آ¯ط¸â€¦ ط¸ث†ط·آ¬ط¸ث†ط·آ¯ ط·آ£ط¸ظ¹ ط·آ­ط·آ±ط¸ئ’ط·آ© */


.quote-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quote-text {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-navy);
    margin-bottom: 2.5rem;
    /* ط·ع¾ط·آ£ط·آ«ط¸ظ¹ط·آ± ط·آ§ط¸â€‍ط·آ¥ط·آ¶ط·آ§ط·طŒط·آ© ط·آ§ط¸â€‍ط·آ®ط¸â€‍ط¸ظ¾ط¸ظ¹ط·آ© ط¸â€‍ط¸â€‍ط¸â€ ط·آµ ط¸â€‍ط¸ظ¹ط·آ¨ط·آ±ط·آ² ط·آ¨ط¸ظ¾ط·آ®ط·آ§ط¸â€¦ط·آ© */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
}

.quote-text .highlight {
    color: var(--accent-gold);
}

.quote-author {
    font-size: 1.6rem;
    color: var(--secondary-olive);
    font-weight: 700;
}

/* Slider Styles */
.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 500px;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-navy);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    color: var(--primary-navy);
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--accent-gold);
    color: var(--white);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(35, 32, 85, 0.2);
    cursor: pointer;
}

.dot.active {
    background: var(--accent-gold);
    width: 30px;
    border-radius: 10px;
}

/* Booklet Section */
.bg-light { background-color: var(--light-gray); }

.booklet-mockup {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(236, 176, 46, 0.15);
    box-shadow: 0 20px 50px rgba(35, 32, 85, 0.08);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Simple About Section */
.about-simple-section {
    background-color: #fdfbf7;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.about-card {
    background: var(--white);
    padding: 3.5rem 2rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(35, 32, 85, 0.1);
    box-shadow: 0 0 30px rgba(236, 176, 46, 0.2); 
    transition: var(--transition);
    position: relative;
    cursor: default; /* ط·آ§ط¸â€‍ط¸â€¦ط·آ¤ط·آ´ط·آ± ط·آ¹ط·آ§ط·آ¯ط¸ظ¹ ط·آ¹ط¸â€‍ط¸â€° ط·آ§ط¸â€‍ط·آ¨ط·آ·ط·آ§ط¸â€ڑط·آ© */
}

.card-arrow {
    position: absolute;
    bottom: 25px;
    inset-inline-end: 25px;
    width: 45px;
    height: 45px;
    background: rgba(236, 176, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: var(--transition);
    border: 1px solid rgba(236, 176, 46, 0.2);
    cursor: pointer; /* ط·آ§ط¸â€‍ط¸â€¦ط·آ¤ط·آ´ط·آ± ط¸ظ¹ط·ع¾ط·ط›ط¸ظ¹ط·آ± ط¸â€‍ط¸ظ¹ط·آ¯ ط¸ظ¾ط¸â€ڑط·آ· ط·آ¹ط¸â€ ط·آ¯ ط·آ§ط¸â€‍ط·آ³ط¸â€،ط¸â€¦ */
    text-decoration: none;
}

.about-card:hover .card-arrow {
    background: var(--accent-gold);
    color: var(--white);
    transform: rotate(-15deg) scale(1.1);
}

.about-card.highlight .card-arrow {
    background: rgba(35, 32, 85, 0.1);
    color: var(--primary-navy);
    border-color: rgba(35, 32, 85, 0.1);
}

.about-card.highlight:hover .card-arrow {
    background: var(--primary-navy);
    color: var(--white);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 45px rgba(236, 176, 46, 0.35);
}

.about-card.highlight {
    background: #ffcb5c;
    color: var(--primary-navy);
    transform: scale(1.05);
    /* ط·ع¾ط¸ث†ط¸â€،ط·آ¬ ط¸ئ’ط·آ­ط¸â€‍ط¸ظ¹ ط·آ¹ط¸â€¦ط¸ظ¹ط¸â€ڑ ط¸ث†ط¸â€‍ط¸ئ’ط¸â€  ط¸â€ ط·آ§ط·آ¹ط¸â€¦ */
    box-shadow: 0 0 40px rgba(35, 32, 85, 0.3); 
}

.about-card.highlight h3, .about-card.highlight p {
    color: var(--primary-navy);
}

.about-card.highlight:hover {
    transform: translateY(-10px) scale(1.05);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    background: rgba(236, 176, 46, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.about-card.highlight .card-icon {
    background: rgba(35, 32, 85, 0.1);
    color: var(--primary-navy);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.85;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-card.highlight {
        transform: scale(1);
    }
    .about-card.highlight:hover {
        transform: translateY(-10px) scale(1);
    }
}

/* Main Footer */
.main-footer {
    padding: 80px 0 40px;
    background-color: var(--primary-navy); /* ط·آ§ط¸â€‍ط·آ¹ط¸ث†ط·آ¯ط·آ© ط¸â€‍ط¸â€‍ط¸ث†ط¸â€  ط·آ§ط¸â€‍ط¸ئ’ط·آ­ط¸â€‍ط¸ظ¹ ط·آ§ط¸â€‍ط·آµط·آ§ط¸ظ¾ط¸ظ¹ */
    color: var(--white);
    position: relative;
    border-top: 4px solid var(--accent-gold);
}

/* ط·ع¾ط¸â€¦ ط·آ¥ط·آ²ط·آ§ط¸â€‍ط·آ© ط·آ§ط¸â€‍ط·آ®ط¸â€‍ط¸ظ¾ط¸ظ¹ط·آ© ط·آ§ط¸â€‍ط¸â€¦ط¸â€ ط¸â€ڑط¸ث†ط·آ´ط·آ© (Pattern) ط¸â€‍ط·آ¬ط·آ¹ط¸â€‍ ط·آ§ط¸â€‍ط·ع¾ط·آµط¸â€¦ط¸ظ¹ط¸â€¦ "ط·آ¹ط·آ§ط·آ¯ط¸ظ¹" ط¸ث†ط·آ¨ط·آ³ط¸ظ¹ط·آ· */


.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.footer-col h3.footer-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-col h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 60%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: default;
}

.footer-list li i {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.footer-logo-col {
    display: flex;
    justify-content: flex-end;
}

.footer-logo-img {
    height: 150px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
    
    .footer-logo-col {
        justify-content: center;
        grid-column: span 2;
    }
    
    .footer-col h3.footer-title::after {
        inset-inline-start: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .footer-list li {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* =========================================================================
   DEVELOPMENT DEPARTMENT STYLES
   ========================================================================= */

/* Hero Section */
/* Hero Section - Compact & Elegant */
.dev-hero {
    background-color: var(--primary-navy);
    padding: 60px 0 40px; /* ط·ع¾ط¸â€ڑط¸â€‍ط¸ظ¹ط¸â€‍ ط·آ§ط¸â€‍ط¸â€¦ط·آ³ط·آ§ط·آ­ط·آ© ط·آ¨ط·آ´ط¸ئ’ط¸â€‍ ط¸ئ’ط·آ¨ط¸ظ¹ط·آ± ط·آ¬ط·آ¯ط·آ§ط¸â€¹ */
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(236, 176, 46, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(236, 176, 46, 0.05) 0%, transparent 40%);
}

.dev-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Section Header - Centered & Large Description */
.section-desc {
    color: var(--primary-navy);
    font-size: 1.5rem; /* ط·آ®ط·آ· ط¸ئ’ط·آ¨ط¸ظ¹ط·آ± ط¸ث†ط¸ث†ط·آ§ط·آ¶ط·آ­ ط·آ¬ط·آ¯ط·آ§ط¸â€¹ */
    max-width: 800px;
    margin: 1rem auto 3rem;
    opacity: 0.9;
    font-weight: 600;
    line-height: 1.6;
    position: relative;
    padding-bottom: 25px;
    text-align: center;
}

.section-desc::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* ط·ع¾ط·آ·ط¸ث†ط¸ظ¹ط¸â€‍ ط·آ§ط¸â€‍ط·آ®ط·آ· ط·آ§ط¸â€‍ط·آ°ط¸â€،ط·آ¨ط¸ظ¹ ط¸â€ڑط¸â€‍ط¸ظ¹ط¸â€‍ط·آ§ط¸â€¹ ط¸â€‍ط¸ظ¹ط·ع¾ط¸â€ ط·آ§ط·آ³ط·آ¨ ط¸â€¦ط·آ¹ ط·آ­ط·آ¬ط¸â€¦ ط·آ§ط¸â€‍ط·آ®ط·آ· */
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
    display: block;
}

/* About Grid */
.dev-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(236, 176, 46, 0.1);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.dev-lead-text {
    font-size: 1.4rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dev-sub-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.8;
}

/* Images Collage layout */
.dev-about-images {
    position: relative;
    height: 450px;
}

.img-wrapper {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(35, 32, 85, 0.1);
    transition: var(--transition);
    border: 3px solid var(--white);
    background: var(--light-gray);
}

.img-wrapper.img-1 {
    width: 65%;
    height: 70%;
    top: 0;
    inset-inline-start: 0;
    z-index: 2;
}

.img-wrapper.img-2 {
    width: 55%;
    height: 60%;
    bottom: 0;
    inset-inline-end: 0;
    z-index: 1;
}

.img-wrapper:hover {
    z-index: 3;
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    opacity: 0.5;
    background: rgba(35, 32, 85, 0.03);
}

.placeholder-img i {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.dev-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Premium Flip Cards - Balanced 3+2 Layout */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px; /* ط·ع¾ط·آ­ط·آ¯ط¸ظ¹ط·آ¯ ط·آ¹ط·آ±ط·آ¶ ط·آ§ط¸â€‍ط¸â€ڑط·آ³ط¸â€¦ ط¸â€‍ط¸ظ¹ط¸ئ’ط¸ث†ط¸â€  ط·آ£ط·آ±ط·آ´ط¸â€ڑ */
    margin-inline-end: auto;
    margin-inline-start: auto;
}

.program-card {
    background-color: transparent;
    height: 320px; /* ط·ع¾ط¸â€ڑط¸â€‍ط¸ظ¹ط¸â€‍ ط·آ§ط¸â€‍ط·آ§ط·آ±ط·ع¾ط¸ظ¾ط·آ§ط·آ¹ */
    perspective: 1000px;
    grid-column: span 2;
}

/* ط·آ¢ط·آ®ط·آ± ط¸ئ’ط·آ±ط·ع¾ط¸ظ¹ط¸â€  ط¸ظ¹ط·آ£ط·آ®ط·آ°ط·آ§ط¸â€  3 ط·آ£ط·آ¹ط¸â€¦ط·آ¯ط·آ© ط¸â€‍ط¸ئ’ط¸â€‍ ط¸ث†ط·آ§ط·آ­ط·آ¯ (ط·آ§ط¸â€‍ط¸â€¦ط·آ¬ط¸â€¦ط¸ث†ط·آ¹ 6) ط¸â€‍ط¸â€¦ط¸â€‍ط·طŒ ط·آ§ط¸â€‍ط·آµط¸ظ¾ ط·آ¨ط·آ§ط¸â€‍ط¸ئ’ط·آ§ط¸â€¦ط¸â€‍ */
.program-card:nth-child(4),
.program-card:nth-child(5) {
    grid-column: span 3;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.program-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(35, 32, 85, 0.05);
    border: 1px solid rgba(236, 176, 46, 0.1);
    background-color: var(--white);
}

.card-back {
    background-color: var(--primary-navy);
    transform: rotateY(180deg);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(236, 176, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(236, 176, 46, 0.1) 0%, transparent 50%);
}

.card-back h3 {
    color: var(--accent-gold);
    font-size: 1.5rem; /* ط·ع¾ط·آµط·ط›ط¸ظ¹ط·آ± ط·آ§ط¸â€‍ط·آ¹ط¸â€ ط¸ث†ط·آ§ط¸â€  ط·آ§ط¸â€‍ط·آ®ط¸â€‍ط¸ظ¾ط¸ظ¹ */
    margin-bottom: 1rem;
    font-weight: 800;
}

.card-back p {
    color: var(--white);
    font-size: 1rem; /* ط·ع¾ط·آµط·ط›ط¸ظ¹ط·آ± ط·آ§ط¸â€‍ط¸â€ ط·آµ ط·آ§ط¸â€‍ط·آ®ط¸â€‍ط¸ظ¾ط¸ظ¹ */
    line-height: 1.6;
    opacity: 0.95;
}

.program-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.prog-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.program-name {
    font-size: 1.4rem; /* ط·ع¾ط·آµط·ط›ط¸ظ¹ط·آ± ط·آ§ط·آ³ط¸â€¦ ط·آ§ط¸â€‍ط·آ¨ط·آ±ط¸â€ ط·آ§ط¸â€¦ط·آ¬ ط·آ§ط¸â€‍ط·آ£ط¸â€¦ط·آ§ط¸â€¦ط¸ظ¹ */
    font-weight: 800;
    color: var(--primary-navy);
}

/* Premium Ticket Styles */
.meetings-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.ticket-card {
    display: flex;
    background: var(--white);
    border-radius: 25px;
    overflow: visible; /* ط·ع¾ط·ط›ط¸ظ¹ط¸ظ¹ط·آ±ط¸â€،ط·آ§ ط¸â€‍ط¸â‚¬ visible ط¸â€‍ط¸â€‍ط·آ³ط¸â€¦ط·آ§ط·آ­ ط·آ¨ط·آ¸ط¸â€،ط¸ث†ط·آ± ط·آ§ط¸â€‍ط·ع¾ط¸ث†ط¸â€،ط·آ¬ ط·آ®ط¸â€‍ط¸ظ¾ ط·آ§ط¸â€‍ط·آ­ط¸ث†ط·آ§ط¸ظ¾ */
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(236, 176, 46, 0.2);
    z-index: 1;
}

/* 3D Ticket Design - Clean & Premium */
.meetings-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 950px;
    margin: 0 auto;
    perspective: 2000px; /* ط·آ§ط¸â€‍ط·آ¹ط¸â€¦ط¸â€ڑ ط·آ§ط¸â€‍ط¸â€¦ط·آ·ط¸â€‍ط¸ث†ط·آ¨ ط¸â€‍ط¸â€‍ط¸â€¦ط¸ظ¹ط¸â€‍ط·آ§ط¸â€  */
}

.ticket-card {
    display: flex;
    background: var(--primary-navy); /* Premium Navy Background */
    color: var(--white);
    border-radius: 25px;
    position: relative;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; /* ط·آ­ط·آ±ط¸ئ’ط·آ© ط·آ³ط·آ±ط¸ظ¹ط·آ¹ط·آ© ط¸â€‍ط¸â€‍ط¸â€¦ط·آ§ط¸ث†ط·آ³ */
    border: 1px solid rgba(236, 176, 46, 0.3);
    z-index: 1;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
}

.ticket-card:hover {
    box-shadow: 0 45px 100px rgba(35, 32, 85, 0.12);
}

/* ط¸â€‍ط¸â€¦ط·آ¹ط·آ© ط·آ²ط·آ¬ط·آ§ط·آ¬ط¸ظ¹ط·آ© ط·ع¾ط·ع¾ط·آ¨ط·آ¹ ط·آ§ط¸â€‍ط¸â€¦ط·آ§ط¸ث†ط·آ³ (Glare) */
.ticket-glare {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,0.4) 0%, transparent 60%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}

.ticket-card:hover .ticket-glare {
    opacity: 0;
}

/* ط·آ­ط·آ±ط¸ئ’ط·آ© ط·آ¨ط·آ³ط¸ظ¹ط·آ·ط·آ© ط¸â€‍ط·آ²ط·آ± ط·آ§ط¸â€‍ط·ع¾ط·آ³ط·آ¬ط¸ظ¹ط¸â€‍ ط¸â€‍ط·ع¾ط·آ¹ط·آ·ط¸ظ¹ ط·آ¥ط¸ظ¹ط·آ­ط·آ§ط·طŒ ط·آ¨ط·آ§ط¸â€‍ط·آ¥ط¸â€ڑط¸â€‍ط·آ§ط·آ¹ */
.ticket-card:hover .ticket-action {
    animation: button-pulse 1.5s infinite;
}

@keyframes button-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(236, 176, 46, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(236, 176, 46, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(236, 176, 46, 0); }
}

@keyframes led-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ticket-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(35, 32, 85, 0.15);
}

.ticket-main {
    flex: 3;
    padding: 2rem 2.5rem;
    position: relative;
}

.ticket-divider {
    width: 2px;
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.dashed-line {
    height: 100%;
    border-inline-end: 2px dashed rgba(255, 255, 255, 0.3);
}

.cutout-top, .cutout-bottom {
    width: 30px;
    height: 30px;
    background: #ffffff; /* Page background color to simulate hole */
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.cutout-top { top: -15px; }
.cutout-bottom { bottom: -15px; }

.ticket-side {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.ticket-id {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.6;
    writing-mode: vertical-rl;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.ticket-action {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.ticket-action:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.ticket-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.ticket-image {
    width: 160px;
    height: 210px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    position: relative;
    transition: var(--transition);
}

.ticket-image::after {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(35, 32, 85, 0.4));
    pointer-events: none;
}

.ticket-poster {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.ticket-card:hover .ticket-image {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 20px 45px rgba(236, 176, 46, 0.3);
}

.ticket-details {
    flex: 1;
}

.ticket-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.ticket-info-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.ticket-action {
    background: var(--accent-gold);
    color: var(--primary-navy);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 800;
    transition: var(--transition);
    white-space: nowrap;
}

.ticket-action:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-5px);
}

.ticket-action.watch {
    background: #e0e0e0;
    color: var(--text-dark);
}

.ticket-available {
    color: #28a745;
}

/* Responsive Tickets */
@media (max-width: 768px) {
    .ticket-card {
        flex-direction: column;
    }
    .ticket-divider {
        width: 100%;
        height: 2px;
        flex-direction: row;
    }
    .dashed-line {
        width: 100%;
        height: 2px;
        border-inline-end: none;
        border-top: 2px dashed rgba(35, 32, 85, 0.15);
    }
    .cutout-top, .cutout-bottom {
        width: 30px;
        height: 30px;
        top: 50%;
        transform: translateY(-50%);
    }
    .cutout-top { inset-inline-end: -15px; }
    .cutout-bottom { inset-inline-start: -15px; inset-inline-end: auto; }
    .ticket-side {
        flex-direction: row;
        writing-mode: horizontal-tb;
    }
    .ticket-id {
        writing-mode: horizontal-tb;
        margin-bottom: 0;
        margin-inline-end: 2rem;
    }
    .ticket-content {
        flex-direction: column;
        text-align: center;
    }

    /* Fix for Expired Ticket on Mobile */
    .ticket-card.separated {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .ticket-card.separated .ticket-main, 
    .ticket-card.separated .ticket-side {
        width: 100% !important;
        min-height: auto !important;
        transform: none !important;
        clip-path: none !important;
        padding: 30px 20px !important;
        border-radius: 20px !important;
        text-align: center !important;
    }
    .ticket-card.separated .expired-stamp {
        font-size: 1.6rem !important;
        padding: 8px 20px !important;
        left: 50% !important;
        top: 25% !important;
        width: fit-content;
        margin: 0 auto;
    }
}
/* Ticket Modal Styles */
.ticket-modal-overlay {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 32, 85, 0.4);
    backdrop-filter: blur(8px); /* ط·ع¾ط·آ£ط·آ«ط¸ظ¹ط·آ± ط·آ¶ط·آ¨ط·آ§ط·آ¨ط¸ظ¹ ط¸â€‍ط¸â€‍ط·آ®ط¸â€‍ط¸ظ¾ط¸ظ¹ط·آ© */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.ticket-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ticket-modal-content {
    background: var(--primary-navy); /* Premium Navy Modal */
    color: var(--white);
    width: 90%;
    max-width: 850px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transform: translateY(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.ticket-modal-overlay.active .ticket-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    inset-inline-start: 20px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--primary-navy);
}

.modal-body {
    display: flex;
    min-height: 500px;
}

.modal-poster-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 20px;
}

.modal-poster-side {
    flex: 1.2;
    background: #0f0d2b !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-inline-end: 2px solid var(--accent-gold);
}

.modal-info-side {
    flex: 1;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
}

#modalTitle {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    line-height: 1.3;
}

#modalGuest {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.modal-meta {
    margin-bottom: 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.modal-btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-navy);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    transition: var(--transition);
}

.modal-btn:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: scale(1.05);
}

.modal-btn.watch {
    background: #e0e0e0;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    .modal-poster-side {
        height: 350px;
    }
    .modal-info-side {
        padding: 2.5rem 2rem;
    }
    #modalTitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 1100px) {
    .program-card {
        grid-column: span 3;
    }
    .program-card:nth-child(5) {
        grid-column: span 6;
    }
}

@media (max-width: 992px) {
    .dev-about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .dev-about-images {
        height: 350px;
        margin-top: 3rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        inset-inline-end: 0;
        inset-inline-start: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .dev-title {
        font-size: 2.2rem;
    }
    .programs-grid, .meetings-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .program-card {
        grid-column: span 1 !important;
        margin-inline-end: 0 !important;
        transform: none !important;
        height: 350px;
    }
    .program-card:nth-child(4),
    .program-card:nth-child(5) {
        grid-column: span 1 !important;
    }
}

/* Stats Section - Circular Design */
.dev-stats {
    background-color: #fcfaf5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--white);
    width: 210px; /* ط·آ¬ط·آ¹ط¸â€‍ ط·آ§ط¸â€‍ط·آ¹ط·آ±ط·آ¶ ط¸ث†ط·آ§ط¸â€‍ط·آ§ط·آ±ط·ع¾ط¸ظ¾ط·آ§ط·آ¹ ط¸â€¦ط·ع¾ط·آ³ط·آ§ط¸ث†ط¸ظ¹ط¸ظ¹ط¸â€  ط¸â€‍ط¸â€‍ط·آ¯ط·آ§ط·آ¦ط·آ±ط·آ© */
    height: 210px;
    border-radius: 50%; /* ط·ع¾ط·آ­ط¸ث†ط¸ظ¹ط¸â€‍ط¸â€،ط·آ§ ط¸â€‍ط·آ¯ط·آ§ط·آ¦ط·آ±ط·آ© ط¸ئ’ط·آ§ط¸â€¦ط¸â€‍ط·آ© */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(236, 176, 46, 0.1);
    box-shadow: 0 15px 40px rgba(35, 32, 85, 0.05);
    transition: var(--transition);
    position: relative;
    padding: 1rem;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(236, 176, 46, 0.2);
}

.stat-icon {
    font-size: 1.5rem; /* ط·ع¾ط·آµط·ط›ط¸ظ¹ط·آ± ط·آ§ط¸â€‍ط·آ£ط¸ظ¹ط¸â€ڑط¸ث†ط¸â€ ط·آ© ط¸â€ڑط¸â€‍ط¸ظ¹ط¸â€‍ط·آ§ط¸â€¹ ط¸â€‍ط·ع¾ط¸â€ ط·آ§ط·آ³ط·آ¨ ط·آ§ط¸â€‍ط·آ¯ط·آ§ط·آ¦ط·آ±ط·آ© */
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.2rem; /* ط·آ­ط·آ¬ط¸â€¦ ط¸â€¦ط¸â€ ط·آ§ط·آ³ط·آ¨ ط·آ¯ط·آ§ط·آ®ط¸â€‍ ط·آ§ط¸â€‍ط·آ¯ط·آ§ط·آ¦ط·آ±ط·آ© */
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .stat-card {
        width: 180px;
        height: 180px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .dev-about-grid {
        grid-template-columns: 1fr;
    }
    .dev-about-images {
        margin-top: 2rem;
    }
    .stats-grid, .programs-grid {
        grid-template-columns: 1fr;
    }
    .empty-state {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-logo-col {
        grid-column: span 1;
    }
}

/* Responsive - Minimalist Elite Design */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
        background: none;
        border: none;
        padding: 12px;
        color: var(--accent-gold);
        font-size: 2.4rem; /* ط·ع¾ط¸ئ’ط·آ¨ط¸ظ¹ط·آ± ط·آ§ط¸â€‍ط·آ²ط·آ± ط¸â€‍ط¸ظ¹ط¸ئ’ط¸ث†ط¸â€  ط·آ£ط¸ث†ط·آ¶ط·آ­ ط¸ث†ط·آ£ط·آ³ط¸â€،ط¸â€‍ ط¸â€‍ط¸â€‍ط¸â€¦ط·آ³ */
        cursor: pointer;
        z-index: 1001;
        transition: var(--transition);
    }

    .main-header {
        padding: 0.6rem 0; /* لمسة بسيطة ليعطي مساحة للشعار الأكبر */
        background: #f8f4eb; /* Solid Polished Beige - ensures mix-blend-mode works 100% on all mobile devices */
        border-bottom: 1px solid rgba(236, 176, 46, 0.15);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        inset-inline-end: 0;
        width: 100%;
        height: 100vh;
        background: rgba(35, 32, 85, 0.95); /* ط¸ئ’ط·آ­ط¸â€‍ط¸ظ¹ ط¸â€¦ط¸â€‍ط¸ئ’ط¸ظ¹ ط·آ´ط¸ظ¾ط·آ§ط¸ظ¾ */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%); /* ط¸ظ¹ط·آ¯ط·آ®ط¸â€‍ ط¸â€¦ط¸â€  ط·آ§ط¸â€‍ط¸ظ¹ط¸â€¦ط¸ظ¹ط¸â€  ط·آ¨ط·آ´ط¸ئ’ط¸â€‍ ط·آ£ط¸ظ¾ط·آ®ط¸â€¦ */
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        color: var(--white);
        font-size: 1.8rem; /* ط·آ±ط¸ث†ط·آ§ط·آ¨ط·آ· ط¸ئ’ط·آ¨ط¸ظ¹ط·آ±ط·آ© ط¸ث†ط¸ث†ط·آ§ط·آ¶ط·آ­ط·آ© */
        font-weight: 800;
    }

    .main-header .container-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
    }

    .club-logo {
        height: 60px; /* تكبير الشعار ليكون واضحاً ومهيباً */
        object-fit: contain;
        mix-blend-mode: multiply !important;
    }

    .slider {
        height: 300px;
    }

    .quote-section {
        padding: 80px 0;
    }

    .quote-text {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .booklet-info {
        max-width: 100% !important;
        margin-bottom: 3rem;
    }

    /* ط·آ¥ط·آ¹ط·آ§ط·آ¯ط·آ© ط·ع¾ط¸â€ ط·آ³ط¸ظ¹ط¸â€ڑ ط·آ§ط¸â€‍ط¸ئ’ط·ع¾ط¸ظ¹ط·آ¨ ط·آ§ط¸â€‍ط·ع¾ط·آ¹ط·آ±ط¸ظ¹ط¸ظ¾ط¸ظ¹ ط¸â€‍ط¸ظ¹ط¸ئ’ط¸ث†ط¸â€  ط·آ£ط¸ئ’ط·آ«ط·آ± ط¸ظ¾ط·آ®ط·آ§ط¸â€¦ط·آ© ط¸ث†ط¸â€ ط·آ¹ط¸ث†ط¸â€¦ط·آ© */
    .dev-about-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
        padding-top: 2rem;
    }

    .booklet-info {
        max-width: 100% !important;
        order: 2; /* ط·آ§ط¸â€‍ط¸â€ ط·آµ ط¸ظ¹ط·آ£ط·ع¾ط¸ظ¹ ط·آ¨ط·آ¹ط·آ¯ ط·آ§ط¸â€‍ط·آµط¸ث†ط·آ±ط·آ© */
    }

    .dev-about-images {
        width: 100%;
        max-width: 420px; /* ط·آ­ط·آ¬ط¸â€¦ ط·آ£ط·آµط·ط›ط·آ± ط¸ث†ط¸ظ¹ط·آ¯ط¸â€‍ ط·آ¹ط¸â€‍ط¸â€° ط·آ§ط¸â€‍ط·آ£ط¸ظ¹ط¸â€ڑط¸ث†ط¸â€ ط·آ© ط·آ§ط¸â€‍ط¸ظ¾ط·آ®ط¸â€¦ط·آ© */
        height: 350px;
        order: 1; /* ط·آ§ط¸â€‍ط·آµط¸ث†ط·آ±ط·آ© (ط·آ§ط¸â€‍ط·آ£ط¸ظ¹ط¸â€ڑط¸ث†ط¸â€ ط·آ©) ط·ع¾ط¸ئ’ط¸ث†ط¸â€  ط¸ظ¾ط¸ظ¹ ط·آ§ط¸â€‍ط·آ¨ط·آ¯ط·آ§ط¸ظ¹ط·آ© ط¸ظ¾ط¸ث†ط¸â€ڑ ط·آ§ط¸â€‍ط·آ¹ط¸â€ ط¸ث†ط·آ§ط¸â€  */
        margin: 0 auto;
        background: none;
        margin-bottom: 2.5rem; /* ط·آ®ط¸â€‍ط¸ظ¾ط¸ظ¹ط·آ© ط·آ®ط¸ظ¾ط¸ظ¹ط¸ظ¾ط·آ© ط·آ¬ط·آ¯ط·آ§ط¸â€¹ ط¸â€‍ط¸â€‍ط·آµط¸ث†ط·آ±ط·آ© */
        border-radius: 0;
        padding: 0;
    }

    .section-title {
        font-size: 1.8rem; /* ط·ع¾ط·آµط·ط›ط¸ظ¹ط·آ± ط·آ§ط¸â€‍ط·آ¹ط¸â€ ط¸ث†ط·آ§ط¸â€  ط¸â€‍ط¸ظ¹ط¸ئ’ط¸ث†ط¸â€  ط·آ£ط¸ئ’ط·آ«ط·آ± ط·ع¾ط¸â€ ط·آ§ط·آ³ط¸â€ڑط·آ§ط¸â€¹ */
        margin-bottom: 1.5rem;
    }

    .btn-primary {
        width: auto; /* ط·آ§ط¸â€‍ط·آ¹ط¸ث†ط·آ¯ط·آ© ط¸â€‍ط¸â€‍ط·آ­ط·آ¬ط¸â€¦ ط·آ§ط¸â€‍ط·آ·ط·آ¨ط¸ظ¹ط·آ¹ط¸ظ¹ ط·آ§ط¸â€‍ط·آ£ط¸â€ ط¸ظ¹ط¸â€ڑ */
        padding: 0.8rem 2.5rem;
        margin: 0 auto;
    }
    
}

/* =========================================================================
   ABOUT PAGE STYLES (Isolated)
   ========================================================================= */

/* Hero Section */
.ap-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a1740 100%);
    padding: 140px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ap-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.ap-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* About Story Grid */
.ap-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.story-p {
    font-size: 1.15rem;
    color: var(--primary-navy);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.ap-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.ap-badge-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-inline-start: 4px solid var(--accent-gold);
    transition: var(--transition);
}

.ap-badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.ap-badge-item i {
    color: var(--accent-gold);
}

.ap-badge-item span {
    font-weight: 700;
    color: var(--primary-navy);
}

/* Image Side */
.ap-placeholder-img {
    width: 100%;
    height: 450px;
    background: #fcfaf5;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed rgba(236, 176, 46, 0.2);
}

.ap-placeholder-img i {
    font-size: 5rem;
    color: var(--accent-gold);
    opacity: 0.3;
}

/* VMV Grid Cards */
.ap-vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.ap-vmv-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 176, 46, 0.1);
    border-radius: 30px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(35, 32, 85, 0.03);
}

.ap-vmv-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(35, 32, 85, 0.1);
}

.ap-vmv-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-navy);
    color: var(--accent-gold);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.8rem;
    transition: var(--transition);
}

.vmv-card:hover .vmv-icon {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: scale(1.1) rotate(5deg);
}

.vmv-card h3 {
    font-size: 1.7rem;
    color: var(--primary-navy);
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.vmv-card p {
    color: var(--primary-navy);
    opacity: 0.8;
    line-height: 1.7;
    font-weight: 500;
}

/* Responsive for About */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .about-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    .vmv-grid {
        grid-template-columns: 1fr;
    }
    .about-hero {
        padding: 100px 0 60px;
    }
}

/* Goals Section Styles */
.ap-goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.goal-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(35, 32, 85, 0.05);
}

.goal-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.goal-item h4 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 800;
}

.goal-item p {
    font-size: 1rem;
    color: var(--primary-navy);
    opacity: 0.7;
    line-height: 1.6;
}

.goal-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(35, 32, 85, 0.08);
    border-color: var(--accent-gold);
}

/* Gallery Styles (Premium Layout) */
.ap-gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-img {
    height: 500px;
}

.gallery-item-group .gallery-item {
    height: 242px;
}

.placeholder-overlay {
    position: absolute;
    bottom: 20px;
    inset-inline-start: 20px;
    background: rgba(35, 32, 85, 0.8);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    backdrop-filter: blur(5px);
    z-index: 2;
}

@media (max-width: 992px) {
    .ap-gallery-grid {
        grid-template-columns: 1fr;
    }
    .main-img {
        height: 350px;
    }
}

/* Featured Image Styles */
.ap-image-side {
    position: relative;
    z-index: 1;
}

.ap-featured-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(35, 32, 85, 0.1);
    background: var(--light-gray);
    aspect-ratio: 3 / 2; /* ط¸â€¦ط·آ³ط·ع¾ط·آ·ط¸ظ¹ط¸â€‍ ط·آ§ط·آ­ط·ع¾ط·آ±ط·آ§ط¸ظ¾ط¸ظ¹ ط·آ¹ط·آ±ط·آ¶ط¸ظ¹ */
    border: 8px solid var(--white); /* ط·آ¥ط·آ·ط·آ§ط·آ± ط·آ£ط·آ¨ط¸ظ¹ط·آ¶ ط¸ظ¾ط·آ®ط¸â€¦ ط¸ظ¹ط·آ¹ط·آ·ط¸ظ¹ ط·آ·ط·آ§ط·آ¨ط·آ¹ ط·آ§ط¸â€‍ط·آµط¸ث†ط·آ±ط·آ© ط·آ§ط¸â€‍ط¸â€¦ط·آ·ط·آ¨ط¸ث†ط·آ¹ط·آ© */
}

.ap-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* ط¸â€‍ط·آ¶ط¸â€¦ط·آ§ط¸â€  ط·آ¸ط¸â€،ط¸ث†ط·آ± ط·آ§ط¸â€‍ط¸ث†ط·آ¬ط¸ث†ط¸â€، ط¸ث†ط·آ§ط¸â€‍ط¸â€‍ط¸ث†ط·ط›ط¸ث† ط·آ¨ط¸ث†ط·آ¶ط¸ث†ط·آ­ */
    display: block;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.ap-featured-img-wrapper:hover .ap-featured-img {
    transform: scale(1.05);
}

.ap-img-decoration {
    position: absolute;
    top: -20px;
    inset-inline-end: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent-gold);
    opacity: 0.1;
    border-radius: 20px;
    z-index: -1;
    animation: rotate 10s linear infinite;
}

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

/* Mission Box Section (Legacy Content Revived) */
.mission-card {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 15px 45px rgba(35, 32, 85, 0.05);
    border: 1px solid rgba(236, 176, 46, 0.2);
}

.mission-logo {
    height: 80px;
    margin-bottom: 2rem;
    object-fit: contain;
}

.mission-text {
    font-size: 1.6rem;
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Official Goals Grid (3+2 Layout) */
.goals-official-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.goal-card-official {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(186, 195, 120, 0.2); /* ط²ظٹطھظˆظ†ظٹ ظ‡ط§ط¯ط¦ */
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
}

.goal-card-official p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.5;
}

.goal-card-official:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(236, 176, 46, 0.1);
}

.goals-official-grid .centered-item {
    grid-column: span 1;
    /* ظ„طھظˆط³ظٹط· ط§ظ„ط¹ظ†طµط±ظٹظ† ط§ظ„ط³ظپظ„ظٹظٹظ† */
}

@media (min-width: 993px) {
    .goals-official-grid .centered-item:nth-of-type(4) {
        margin-inline-end: -50%;
        grid-column-start: 2;
    }
    .goals-official-grid .centered-item:nth-of-type(5) {
        grid-column-start: 3;
        margin-inline-end: -50%;
    }
}

/* Modern Gallery for Achievements */
.ap-gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.gallery-card-modern {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.gallery-card-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    background: linear-gradient(to top, rgba(35, 32, 85, 0.9), transparent);
    color: var(--white);
    padding: 2rem 1rem 1rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-card-modern:hover img {
    transform: scale(1.1);
}

.gallery-card-modern:hover .gallery-label {
    transform: translateY(0);
    background: linear-gradient(to top, var(--primary-navy), transparent);
}

@media (max-width: 992px) {
    .goals-official-grid, .ap-gallery-grid-modern {
        grid-template-columns: 1fr;
    }
    .goals-official-grid .centered-item {
        margin-inline-end: 0 !important;
    }
}

/* =========================================================================
   PREMIUM ACHIEVEMENTS PAGE STYLES (v2)
   ========================================================================= */

.achievements-hero-v2 {
    background: var(--primary-navy);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.achievements-hero-v2::before {
    content: '';
    position: absolute;
    top: 0; inset-inline-end: 0; inset-inline-start: 0; bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(236, 176, 46, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(186, 195, 120, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.hero-badge {
    display: none;
}

.hero-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    color: var(--accent-gold);
}

.hero-sub-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Timeline Design */
.timeline-section {
    background: #fff;
    padding: 80px 0;
}

.main-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.main-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 60px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-gold) 15%, var(--accent-gold) 85%, transparent);
}

.timeline-block {
    position: relative;
    padding-inline-start: 170px;
    margin-bottom: 120px;
}

.timeline-year-label {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 120px;
    height: 120px;
    background: var(--primary-navy);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 15px 40px rgba(35, 32, 85, 0.2);
    z-index: 10;
    transition: transform 0.3s ease;
}

.timeline-year-label:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(236, 176, 46, 0.3);
}

/* Award Card Premium */
.major-award-showcase {
    background: #fff;
    border-radius: 35px;
    padding: 0; /* Removing padding to allow image to flush or handle padding in grid */
    box-shadow: 0 30px 80px rgba(35, 32, 85, 0.05);
    border: 1px solid rgba(35, 32, 85, 0.02);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.major-award-showcase:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 100px rgba(35, 32, 85, 0.1);
    border-color: rgba(236, 176, 46, 0.3);
}

.award-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
}

.award-text {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
}

.award-image {
    position: relative;
    overflow: hidden;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.major-award-showcas.timeline-item:hover .timeline-img-wrapper img {
    transform: scale(1.02);
}

/* Mobile Responsiveness for Members Page */
@media (max-width: 768px) {
    .members-premium-page {
        padding: 60px 0;
    }

    .star-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        transform: rotate(0deg) !important; /* Remove rotation on mobile for cleaner look */
    }

    .best-dept-card {
        width: 100% !important;
        max-width: 350px !important;
    }

    .timeline-year {
        font-size: 1.5rem;
        bottom: 15px;
    }

    .timeline-item {
        padding: 15px 15px 60px 15px;
        transform: rotate(0deg) !important;
    }

    .star-img-wrapper {
        height: 200px;
    }

    .timeline-img-wrapper img {
        max-height: 400px;
    }

    .star-info h3 {
        font-size: 1rem;
    }
}

.award-badge {
    background: rgba(236, 176, 46, 0.1);
    color: var(--accent-gold);
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    font-weight: 900;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.major-award-showcase h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.major-award-showcase p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

.award-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(35, 32, 85, 0.05);
    color: var(--secondary-olive);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 992px) {
    .award-grid {
        grid-template-columns: 1fr;
    }
    .award-image {
        height: 300px;
        order: -1; /* Image on top in mobile */
    }
}

/* Award Image Placeholder */
.award-image-placeholder {
    background: #f8f9fa;
    border: 2px dashed rgba(236, 176, 46, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    transition: all 0.3s ease;
}

.placeholder-content {
    text-align: center;
    color: #999;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.placeholder-content span {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.major-award-showcase:hover .award-image-placeholder {
    border-color: var(--accent-gold);
    background: #fffdf9;
}

/* Stats Grid v2 */
.stats-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.stat-box-v2 {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-box-v2:hover {
    transform: translateY(-15px);
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(236, 176, 46, 0.1);
}

.stat-val {
    display: block;
    font-size: 2.2rem;
    font-weight: 950;
    color: var(--primary-navy);
    margin-bottom: 0.3rem;
}

.stat-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #999;
}

.highlight-stat {
    background: var(--primary-navy);
    border: none;
}

.highlight-stat .stat-val { color: var(--accent-gold); }
.highlight-stat .stat-name { color: rgba(255,255,255,0.4); }

.wide-stat {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem;
    text-align: start;
}

/* Cards Grid */
.achievement-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.glass-card {
    background: #fff;
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}

.glass-card:hover {
    transform: scale(1.03);
    border-color: var(--accent-gold);
}

.card-icon-v2 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.glass-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

/* Join Legacy Section */
.join-the-legacy {
    background: var(--primary-navy);
    padding: 150px 0;
    color: #fff;
    text-align: center;
}

.legacy-title {
    font-size: 4.5rem;
    font-weight: 950;
    margin-bottom: 2rem;
}

.btn-lg {
    padding: 1.5rem 4rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.3rem;
}

/* Responsiveness */
@media (max-width: 1100px) {
    .main-timeline::before { inset-inline-start: 40px; }
    .timeline-block { padding-inline-start: 100px; }
    .timeline-year-label { width: 100px; height: 100px; font-size: 1.6rem; }
    .major-award-showcase { padding: 3rem; }
}

@media (max-width: 992px) {
    .stats-showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .wide-stat { grid-column: span 2; }
    .major-award-showcase h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .main-timeline::before { display: none; }
    .timeline-block { padding-inline-start: 0; padding-top: 60px; }
    .timeline-year-label { inset-inline-start: auto; left: 50%; right: auto; transform: translateX(-50%); top: -40px; }
    .achievement-cards-grid { grid-template-columns: 1fr; }
    .stats-showcase-grid { grid-template-columns: 1fr; }
    .wide-stat { grid-column: span 1; flex-direction: column; text-align: center; gap: 1rem; }
    .hero-main-title { font-size: 3rem; }
    .legacy-title { font-size: 3rem; }
}

/* =======================================================
   EVENT CHRONICLES (GALLERY BY EVENT)
   ======================================================= */
.event-chronicle-item {
    margin-bottom: 120px;
}

.event-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid rgba(236, 176, 46, 0.2);
    padding-bottom: 1.5rem;
}

.event-collab {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-collab span {
    font-size: 0.9rem;
    color: var(--primary-navy);
    opacity: 0.6;
    font-weight: 700;
}

.collab-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
}

.event-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin: 0;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.event-gallery-grid.invert {
    grid-template-columns: 1fr 2fr;
}

.event-img-box {
    border-radius: 25px;
}

.event-img-box.main {
    grid-row: span 2;
}

.event-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.event-img-box:hover img {
    transform: scale(1.08);
}

.event-info-bar {
    display: flex;
    gap: 3rem;
    background: var(--primary-navy);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 20px;
    width: max-content;
    margin-inline-start: auto;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
}

.info-item i {
    color: var(--accent-gold);
    width: 20px;
}

@media(max-width: 992px) {
    .event-meta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .event-main-title {
        font-size: 1.8rem;
    }
    .event-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .event-img-box {
        height: 300px;
    }
    .event-img-box.main {
        grid-row: span 1;
    }
    .event-info-bar {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
}

/* =======================================================
   SIMPLE FLIP GALLERY
   ======================================================= */
.flip-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.flip-card {
    height: 350px;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flip-card:hover {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-back {
    background: var(--primary-navy);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transform: rotateY(180deg);
    border: 2px solid var(--accent-gold);
}

.flip-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.flip-back p {
    font-size: 1rem;
    opacity: 0.9;
}

/* =======================================================
   PREMIUM MASONRY WALL (FOR LARGE PHOTO ARCHIVES)
   ======================================================= */
.moments-masonry-wall {
    columns: 4;
    column-gap: 1.5rem;
    padding: 2rem 0;
}

.moment-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.moment-item img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.moment-overlay {
    position: absolute;
    top: 0; inset-inline-end: 0; inset-inline-start: 0; bottom: 0;
    background: rgba(35, 32, 85, 0.85);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

.moment-item:hover {
    transform: scale(1.02);
}

.moment-item:hover .moment-overlay {
    opacity: 0;
    transform: rotateY(0deg);
}

.moment-overlay h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.moment-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Response for Mobile */
@media(max-width: 1200px) { .moments-masonry-wall { columns: 3; } }
@media(max-width: 900px) { .moments-masonry-wall { columns: 2; } }
@media(max-width: 600px) { .moments-masonry-wall { columns: 1; } }

/* =======================================================
   CINEMATIC MOMENTS SLIDER (TRUE INFINITE LOOP)
   ======================================================= */
.moments-slider-container {
    overflow: hidden;
    padding: 3rem 0;
    background: var(--bg-light);
    width: 100%;
    position: relative;
}

.moments-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: scrollMoments 60s linear infinite;
}

@keyframes scrollMoments {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(50% + 1rem)); } 
}

.moment-slide {
    width: 550px;
    height: 350px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #eee;
}

.moment-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.moments-slider-container:hover .moments-track {
    animation-play-state: paused;
}

/* Response for Mobile */
@media(max-width: 768px) {
    .moment-slide {
        width: 250px;
        height: 350px;
    }
    font-size: 2rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--accent-gold);
    color: var(--white);
    transform: scale(1.1);
}

.stat-card:hover .stat-icon i {
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-olive);
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-card::after {
        display: none !important;
    }
}

/* Key Achievements Grid */
.year-group {
    position: relative;
    padding: 2rem 0;
}

.year-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.year-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, rgba(236, 176, 46, 0.3), transparent);
    margin-inline-start: 2rem;
}

.year-tag {
    background: var(--primary-navy);
    color: var(--accent-gold);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(35, 32, 85, 0.2);
    border: 2px solid var(--accent-gold);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.achievement-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(35, 32, 85, 0.05);
    border: 1px solid rgba(35, 32, 85, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(236, 176, 46, 0.15);
    border-color: rgba(236, 176, 46, 0.3);
}

.achievement-image-wrapper {
    position: relative;
    height: 250px;
    background: var(--light-gray);
    overflow: hidden;
}


.achievement-image-wrapper .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-navy);
    opacity: 0.2;
    transition: var(--transition);
}

.achievement-card:hover .placeholder-img {
    transform: scale(1.1);
    opacity: 0.4;
    color: var(--accent-gold);
}

.achievement-card:hover .placeholder-img i {
    color: var(--accent-gold);
}


.achievement-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achievement-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.achievement-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

/* Call to Action Section */
.cta-section {
    background-color: var(--white);
    background-image: radial-gradient(circle at 50% 100%, rgba(236, 176, 46, 0.1) 0%, transparent 50%);
    border-top: 1px solid rgba(35, 32, 85, 0.05);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Yearly Achievement Highlights & Stats */
.achievement-highlight-card {
    background: linear-gradient(135deg, var(--white) 0%, #fffdf9 100%);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(236, 176, 46, 0.2);
    box-shadow: 0 15px 40px rgba(35, 32, 85, 0.06);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.achievement-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(236, 176, 46, 0.12);
}

.highlight-icon {
    width: 90px;
    height: 90px;
    background: var(--accent-gold);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(236, 176, 46, 0.3);
}

.highlight-content h3 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 800;
}

.highlight-content p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.yearly-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.y-stat-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(35, 32, 85, 0.05);
    box-shadow: 0 10px 25px rgba(35, 32, 85, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.y-stat-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(236, 176, 46, 0.1);
}

.y-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 0.8rem;
    display: block;
}

.y-stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 700;
    line-height: 1.4;
}

/* Stat color variations */
.text-navy { color: var(--primary-navy) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-olive { color: var(--secondary-olive) !important; }

@media (max-width: 992px) {
    .yearly-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .achievement-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }
}

@media (max-width: 576px) {
    .yearly-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Partners Panorama Styles */
.partners-panorama {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.panorama-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-weight: 800;
    margin-bottom: 15px;
}

.panorama-viewport {
    position: relative;
    padding: 40px 0;
}

.panorama-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 30px 100px rgba(35, 32, 85, 0.08);
    border: 1px solid rgba(236, 176, 46, 0.15);
    overflow: hidden;
    transition: all 0.5s ease;
}

.panorama-container:hover {
    box-shadow: 0 50px 120px rgba(35, 32, 85, 0.12);
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.panorama-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners-master-image {
    width: 100%;
    height: auto;
    max-width: 1000px;
    object-fit: contain;
    transition: transform 10s ease-in-out;
}

.panorama-container:hover .partners-master-image {
    transform: scale(1.05); /* Subtle Ken Burns effect */
}

.panorama-overlay {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(255,255,255,0.4) 100%);
    pointer-events: none;
}

/* Floating Particles */
.floating-particle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent-gold);
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0.3;
    z-index: 1;
    animation: float-particle 10s infinite ease-in-out;
}

.p1 { top: 10%; inset-inline-end: 5%; width: 25px; height: 25px; animation-duration: 12s; }
.p2 { top: 80%; inset-inline-end: 15%; width: 15px; height: 15px; animation-duration: 8s; }
.p3 { top: 20%; inset-inline-start: 10%; width: 20px; height: 20px; animation-duration: 15s; }
.p4 { top: 70%; inset-inline-start: 5%; width: 30px; height: 30px; animation-duration: 10s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(90deg); }
    66% { transform: translate(-20px, 40px) rotate(180deg); }
}

@media (max-width: 768px) {
    .panorama-container {
        padding: 30px 20px;
        border-radius: 25px;
    }
    .panorama-title {
        font-size: 2rem;
    }
}

.disabled-btn {
    opacity: 0.7;
    cursor: not-allowed !important;
    pointer-events: none;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: rgba(255,255,255,0.6) !important;
}

/* =========================================================================
   ABOUT US PAGE STYLES (Premium Redesign)
   ========================================================================= */

/* Hero Section */
.premium-hero {
    background-color: var(--primary-navy);
    padding: 40px 0 30px;
    text-align: center;
    color: var(--white);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(236, 176, 46, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(236, 176, 46, 0.05) 0%, transparent 40%);
}

.hero-large-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-large-mission {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

/* Premium Story Layout */
.story-elegant-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.story-image-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(35, 32, 85, 0.15);
}

.story-img-elegant {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.story-image-box:hover .story-img-elegant {
    transform: scale(1.05);
}

.story-text-box {
    flex: 1;
    min-width: 300px;
}

.premium-section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.premium-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.text-center .premium-section-title::after {
    inset-inline-start: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.premium-p {
    font-size: 1.15rem;
    line-height: 2;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

/* Premium Goals List */
.goals-elegant-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.goal-elegant-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(35, 32, 85, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(236, 176, 46, 0.1);
}

.goal-elegant-row:hover {
    transform: translateX(-10px);
    box-shadow: 0 15px 40px rgba(236, 176, 46, 0.15);
    border-color: var(--accent-gold);
}

.goal-big-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(35, 32, 85, 0.1);
    background: linear-gradient(135deg, var(--accent-gold), #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.goal-elegant-row p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
}

/* Cinematic Moments Slider */
.premium-moments {
    overflow: hidden;
}

.premium-subtitle {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.moments-slider-container {
    width: 100vw;
    margin-inline-end: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.moments-slider-container::before,
.moments-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.moments-slider-container::before {
    inset-inline-end: 0;
    background: linear-gradient(to right, var(--light-gray) 0%, transparent 100%);
}

.moments-slider-container::after {
    inset-inline-start: 0;
    background: linear-gradient(to left, var(--light-gray) 0%, transparent 100%);
}

.moments-track {
    display: flex;
    width: max-content;
    animation: scroll-moments 60s linear infinite;
}

.moments-track:hover {
    animation-play-state: paused;
}

.moment-slide {
    width: 400px;
    height: 250px;
    margin: 0 15px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(35, 32, 85, 0.1);
    transition: var(--transition);
}

.moment-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(236, 176, 46, 0.2);
}

.moment-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll-moments {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@media (max-width: 768px) {
    .story-elegant-layout {
        flex-direction: column;
    }
    .goal-elegant-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .goal-elegant-row:hover {
        transform: translateY(-5px);
    }
    .moment-slide {
        width: 280px;
        height: 180px;
    }
}

/* --- Activities Page Styles --- */

.activities-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a1744 100%);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: var(--pure-white);
}

.activities-hero .hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(236, 176, 46, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(236, 176, 46, 0.2);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
}

.activities-hero .hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.activities-hero .hero-sub-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

.activities-hero .hero-shapes .shape-1 {
    position: absolute;
    top: -50px;
    inset-inline-start: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236,176,46,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.activities-hero .hero-shapes .shape-2 {
    position: absolute;
    bottom: -100px;
    inset-inline-end: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

/* Tracks Section */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.track-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.track-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-gold);
}

.track-icon {
    width: 80px;
    height: 80px;
    background: rgba(236, 176, 46, 0.1);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}
.track-icon i { width: 40px; height: 40px; }

.track-icon.alt-bg {
    background: rgba(35, 32, 85, 0.05);
    color: var(--primary-navy);
}
.track-icon.olive-bg {
    background: rgba(186, 195, 120, 0.15);
    color: var(--secondary-olive);
}

.track-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.track-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: 0 15px 45px rgba(35, 32, 85, 0.1);
    transform: translateY(-3px);
}

.event-date {
    background: var(--primary-navy);
    color: var(--pure-white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    text-align: center;
}

.event-date.secondary {
    background: rgba(35, 32, 85, 0.05);
    color: var(--primary-navy);
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 1.2rem;
    margin-top: 5px;
}

.event-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.event-meta span i { width: 16px; }

.event-details h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-details p {
    color: #666;
    margin-bottom: 0;
}

.event-action {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border-inline-start: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }
    .event-date {
        min-height: 120px;
    }
    .event-action {
        border-inline-start: none;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
}

/* Past Events Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent-gold);
    border-color: rgba(236,176,46,0.3);
}
.gallery-item i { width: 48px; height: 48px; }

.bg-navy { background-color: var(--primary-navy); }
.text-white { color: var(--pure-white) !important; }

/* Refined Premium Torn Ticket Design */

.ticket-card.separated {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    gap: 12px;
    perspective: 1200px;
    align-items: center;
    cursor: pointer;
}

.ticket-card.separated .ticket-main {
    background: var(--primary-navy);
    border: 1px solid rgba(236, 176, 46, 0.3);
    border-radius: 25px;
    transform: rotate(-1.5deg) translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.5);
    flex: 3;
    position: relative;
    overflow: visible;
    padding-inline-end: 40px;
    min-height: 250px;
    /* Tear on the LEFT side (where it meets the stub in RTL) */
    clip-path: polygon(
        100% 0%, 2% 0%, 
        3% 5%, 1% 10%, 4% 15%, 2% 20%, 5% 25%, 1% 30%, 6% 35%, 2% 40%, 5% 45%, 0% 50%, 6% 55%, 2% 60%, 7% 65%, 3% 70%, 6% 75%, 2% 80%, 5% 85%, 1% 90%, 4% 95%, 0% 100%, 100% 100%
    );
}

.ticket-card.separated .ticket-divider {
    display: none;
}

.ticket-card.separated .ticket-side {
    background: var(--primary-navy);
    border: 1px solid rgba(236, 176, 46, 0.3);
    border-radius: 25px;
    transform: rotate(2.5deg) translateY(12px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    flex: 1;
    position: relative;
    overflow: visible;
    padding-inline-start: 30px;
    min-height: 250px;
    /* Tear on the RIGHT side (where it meets the main part in RTL) */
    clip-path: polygon(
        0% 0%, 98% 0%, 
        97% 5%, 99% 10%, 96% 15%, 98% 20%, 95% 25%, 99% 30%, 94% 35%, 98% 40%, 95% 45%, 100% 50%, 94% 55%, 98% 60%, 93% 65%, 97% 70%, 94% 75%, 98% 80%, 95% 85%, 99% 90%, 96% 95%, 100% 100%, 0% 100%
    );
}

.ticket-card.separated .expired-stamp {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(-15deg);
    border: 5px solid #ff4d4d;
    color: #ff4d4d;
    padding: 10px 35px;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 12px;
    opacity: 0.8;
    z-index: 10;
    pointer-events: none;
    background: rgba(0,0,0,0.1);
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.2);
}

/* Redesigned Premium Ticket Modal */
.event-modal {
    position: fixed;
    top: 0; inset-inline-end: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 18, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(20px);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.event-modal.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--primary-navy);
    width: 100%;
    max-width: 1150px;
    max-height: 88vh;
    border-radius: 40px;
    border: 1px solid rgba(236, 176, 46, 0.4);
    position: relative;
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(236, 176, 46, 0.15);
    transform: scale(0.7) rotateX(20deg);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.event-modal.active .modal-container {
    transform: scale(1) rotateX(0);
}

/* Cinematic Entrance for Pieces */
.modal-main-piece {
    flex: 3;
    padding: 0; /* Removing padding to allow image/content split */
    position: relative;
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr); /* Image on one side, text on other */
    min-height: 0;
}

.modal-poster-side {
    height: 100%;
    background: #0f172a;
    border-inline-end: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.modal-poster-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

.modal-content-side {
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow-y: auto;
}

.modal-side-piece {
    flex: 0 0 200px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
    border-inline-start: 2px dashed rgba(236, 176, 46, 0.3);
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.event-modal.active .modal-main-piece,
.event-modal.active .modal-side-piece {
    transform: translateX(0);
    opacity: 1;
}

/* Shimmering Gold Glow Effect */
.modal-container::after {
    content: '';
    position: absolute;
    top: -2px; inset-inline-end: -2px; inset-inline-start: -2px; bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(236, 176, 46, 0.4), transparent);
    background-size: 200% 100%;
    z-index: -1;
    border-radius: 42px;
    animation: border-shimmer 4s linear infinite;
    pointer-events: none;
}

@keyframes border-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Status-specific Modal Button Styles */
.modal-reg-btn.disabled {
    background: #222 !important;
    color: #555 !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
    border: 1px solid #333;
}

.modal-reg-btn.soon {
    background: rgba(236, 176, 46, 0.05) !important;
    color: var(--accent-gold) !important;
    border: 1px solid var(--accent-gold);
}

/* Ticket Cutouts in Modal */
.modal-side-piece::before, .modal-side-piece::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(2, 6, 18, 1);
    border-radius: 50%;
    inset-inline-start: -20px;
}

.modal-side-piece::before { top: -20px; border: 1px solid rgba(236, 176, 46, 0.4); }
.modal-side-piece::after { bottom: -20px; border: 1px solid rgba(236, 176, 46, 0.4); }

.modal-close {
    position: absolute;
    top: 30px;
    inset-inline-start: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 11;
}

.modal-title-full {
    font-size: 2.6rem;
    color: var(--accent-gold);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
}

.modal-desc-full {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.9;
    margin-bottom: 30px;
    white-space: pre-line;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-info-box {
    background: rgba(255,255,255,0.03);
    padding: 16px 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.modal-info-box i {
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.modal-info-box span {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.5;
}

.modal-id-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: rgba(255,255,255,0.2);
    font-size: 1.2rem;
    letter-spacing: 5px;
    margin-bottom: 40px;
}

.modal-reg-btn {
    width: 100%;
    padding: 20px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    text-align: center;
    font-weight: 900;
    font-size: 1.3rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-reg-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(236, 176, 46, 0.4);
}

@media (max-width: 900px) {
    /* ── Event modal on phones: a full-screen sheet, not a shrunken ticket ── */
    .event-modal {
        padding: 0;
        align-items: flex-end;
    }
    .modal-container {
        flex-direction: column;
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: 100%;
        border: none;
        border-radius: 0;
        overflow: hidden; /* the body scrolls, the button stays put */
    }
    .modal-container::after { display: none; }
    .event-modal .modal-container { transform: translateY(40px); }
    .event-modal.active .modal-container { transform: translateY(0); }

    /* Scrollable body: poster + text */
    .modal-main-piece {
        flex: 1 1 auto;
        display: block;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .modal-poster-side {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        max-height: 44vh;
        display: flex;
        align-items: center;
        justify-content: center;
        border-inline-end: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        background: #05070f;
    }
    .modal-poster-side img {
        object-fit: contain !important;
        opacity: 1 !important;
    }
    .modal-content-side {
        padding: 24px 20px 30px;
        text-align: center;
        overflow: visible;
        justify-content: flex-start;
    }
    .modal-title-full {
        font-size: 1.65rem;
        margin-bottom: 12px;
    }
    .modal-desc-full {
        font-size: 1rem;
        line-height: 1.85;
        margin-bottom: 22px;
    }
    /* Two compact tiles per row instead of one tall column */
    .modal-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .modal-info-box {
        flex-direction: column;
        gap: 8px;
        padding: 14px 10px;
        text-align: center;
        justify-content: center;
    }
    .modal-info-box span {
        font-size: 0.9rem;
    }

    /* Register button pinned to the bottom of the screen */
    .modal-side-piece {
        flex: 0 0 auto;
        flex-direction: row-reverse;
        align-items: center;
        gap: 14px;
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
        border-inline-start: none;
        border-top: 1px dashed rgba(236, 176, 46, 0.3);
        background: rgba(6, 10, 26, 0.97);
        backdrop-filter: blur(10px);
    }
    .modal-side-piece::before,
    .modal-side-piece::after { display: none; }
    .modal-id-vertical {
        writing-mode: horizontal-tb;
        margin-bottom: 0;
        opacity: 0.35;
        font-size: 0.8rem;
        letter-spacing: 2px;
        flex-shrink: 0;
    }
    .modal-reg-btn {
        flex: 1;
        width: auto;
        padding: 16px;
        font-size: 1.05rem;
        border-radius: 14px;
    }
    .modal-reg-btn:hover { transform: none; }

    /* Close button floats above the sheet, never scrolls away */
    .modal-close {
        position: fixed;
        top: 14px;
        inset-inline-start: 14px;
        font-size: 1.8rem;
        background: rgba(0,0,0,0.55);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(5px);
        z-index: 20;
    }
}

/* ═══════════════════════════════════════════════ */
/*  PREMIUM ACTIVITIES HEADER (FLOATING HUB)      */
/* ═══════════════════════════════════════════════ */

.activities-header {
    padding: 80px 0 40px;
    background: radial-gradient(circle at top, rgba(236, 176, 46, 0.05) 0%, transparent 70%);
    position: relative;
    overflow: visible;
}

.premium-label {
    background: rgba(35, 32, 85, 0.05);
    color: var(--primary-navy);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(35, 32, 85, 0.1);
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--primary-navy);
    margin: 0;
    line-height: 1.2;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #ecb02e 0%, #f3cf7a 50%, #ecb02e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.header-subtitle {
    color: #64748b;
    font-size: 1.2rem;
    margin: 20px auto 0;
    max-width: 600px;
    font-weight: 500;
}

/* Category Hub (Modern Floating Cards) */
.category-hub {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.hub-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 25px 35px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 160px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.hub-icon {
    width: 54px;
    height: 54px;
    background: #f8fafc;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.4s ease;
}

.hub-icon i { width: 26px; height: 26px; }

.hub-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748b;
    transition: all 0.4s ease;
}

.hub-indicator {
    position: absolute;
    bottom: 12px;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hub Card Hover & Active States */
.hub-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(35, 32, 85, 0.1);
    border-color: rgba(236, 176, 46, 0.3);
}

.hub-card.active {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    box-shadow: 0 15px 35px rgba(35, 32, 85, 0.2);
}

.hub-card.active .hub-icon {
    background: rgba(236, 176, 46, 0.2);
    color: var(--accent-gold);
}

.hub-card.active .hub-label {
    color: var(--white);
}

.hub-card.active .hub-indicator {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--accent-gold);
}

@media (max-width: 768px) {
    .hub-card { padding: 20px; min-width: 140px; }
    .main-title { font-size: 2.2rem; }
}

/* ═══════════════════════════════════════════════ */
/*  TESTIMONIALS SECTION                          */
/* ═══════════════════════════════════════════════ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(35, 32, 85, 0.08);
    border-color: rgba(236, 176, 46, 0.2);
}

.quote-icon {
    color: var(--accent-gold);
    margin-bottom: 25px;
    opacity: 0.3;
}

.quote-icon i { width: 40px; height: 40px; }

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--primary-navy);
    font-weight: 500;
    margin-bottom: 30px;
}

.testimonial-author h4 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════ */
/*  FAQ SECTION                                   */
/* ═══════════════════════════════════════════════ */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(35, 32, 85, 0.08);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 30px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 20px 0;
    line-height: 1.7;
    color: #64748b;
}

/* Active State */
.faq-item.active {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(236, 176, 46, 0.1);
}

.faq-item.active .faq-question {
    background: var(--white);
    color: var(--accent-gold);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

/* Filtering Animations */
.ticket-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticket-card.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    display: none;
}

/* New Members Page Styles */
.members-premium-page {
    background-color: var(--light-gray);
    padding: 80px 0;
}

/* Stars Grid */
.stars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
}

.star-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(35,32,85,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.star-card::before {
    content: '';
    position: absolute;
    top: 0; inset-inline-end: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-navy));
}

.star-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(35,32,85,0.1);
}

.star-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--accent-gold), transparent);
}

.star-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--white);
}

.star-img.placeholder-logo {
    object-fit: contain;
    padding: 20px;
}

.star-badge {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    background: var(--primary-navy);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
}

.star-info h3 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.star-info p {
    color: #888;
    font-size: 0.95rem;
}

/* Members Hero Banner (Screenshot Style) */
.members-hero-banner {
    background-color: var(--primary-navy);
    padding: 100px 0;
    text-align: center;
    border-bottom: 4px solid var(--accent-gold);
}

.hero-dept-title {
    color: var(--accent-gold);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-dept-subtitle {
    color: var(--pure-white);
    font-size: clamp(1rem, 2vw, 1.4rem);
    opacity: 0.95;
    font-weight: 500;
}

/* Polaroid Album Style - Members Page */
.members-premium-page {
    background-color: #fbfbfc; /* Clean background consistent with site */
    padding: 100px 0;
}

/* Stars Grid */
.stars-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding: 40px 20px;
}

.star-card {
    background: var(--white);
    padding: 15px 15px 50px 15px; /* Bottom padding for "caption" */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    width: 280px;
    border-radius: 2px; /* Slight radius for paper look */
}

.star-card:nth-child(even) { transform: rotate(2deg); }
.star-card:nth-child(odd) { transform: rotate(-2deg); }

.star-card:hover {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.star-card::before { display: none; } /* Remove old gradient bar */

.star-img-wrapper {
    width: 100%;
    height: 250px;
    margin: 0;
    border-radius: 0;
    background: #f9f9f9;
    overflow: hidden;
}

.star-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.star-img.placeholder-logo {
    object-fit: contain;
    padding: 40px;
    opacity: 0.6;
}

.star-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: var(--accent-gold);
    color: var(--white);
    width: 35px;
    height: 35px;
}

.star-info {
    margin-top: 15px;
}

.star-info h3 {
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 800;
}

/* Generations Timeline (Polaroid Style) */
.generations-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    margin-top: 80px;
}

.timeline-item {
    background: var(--white);
    padding: 20px 20px 80px 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    width: 100%;
    max-width: 900px;
    border-radius: 3px;
    position: relative;
    transition: transform 0.4s ease;
}

.timeline-item:nth-child(odd) { transform: rotate(-1.5deg); }
.timeline-item:nth-child(even) { transform: rotate(1.5deg); }

.timeline-item:hover {
    transform: rotate(0deg) scale(1.02);
}

.timeline-year {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: var(--primary-navy);
    font-size: 2rem;
    font-weight: 900;
    box-shadow: none;
    border: none;
    margin: 0;
    width: auto;
    font-family: 'Cairo', sans-serif;
}

.timeline-img-wrapper {
    border-radius: 0;
    border: 1px solid #f0f0f0;
}

.timeline-img-wrapper img {
    border-radius: 0;
    max-height: 700px;
}

/* Mobile Responsiveness for Members Page */
@media (max-width: 768px) {
    .members-premium-page {
        padding: 60px 0;
    }

    .star-card {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto;
        transform: rotate(0deg) !important;
    }

    .best-dept-card {
        width: 100% !important;
        max-width: 350px !important;
    }


    .timeline-item {
        padding: 10px 10px 50px 10px !important;
        transform: rotate(0deg) !important;
        width: 100%;
        max-width: 100%;
    }

    .timeline-img-wrapper {
        width: 100% !important;
        height: auto !important;
        overflow: hidden;
    }

    .timeline-img-wrapper img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        display: block;
    }

    .timeline-year {
        font-size: 1.2rem !important;
        bottom: 10px !important;
        position: relative !important;
        inset-inline: 0 !important;
        transform: none !important;
        margin-top: 15px !important;
        display: block !important;
    }

    .star-info h3 {
        font-size: 1rem !important;
    }
}

/* =========================================================================
   RADIAL INTERACTIVE HUB STYLES
   ========================================================================= */

.radial-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
    position: relative;
}

@media (max-width: 992px) {
    .radial-hub-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.radial-hub-visual-area {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.hub-system-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .hub-system-wrapper {
        width: 300px;
        height: 300px;
    }
}

.hub-center-logo {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 35px rgba(35, 32, 85, 0.15),
        inset 0 0 15px rgba(236, 176, 46, 0.12); /* 3D Inner Gold shadow */
    border: 4px solid var(--accent-gold);
    z-index: 10;
    padding: 15px; /* Perfect breathing space for the logo */
    transition: var(--transition);
}

@media (max-width: 480px) {
    .hub-center-logo {
        width: 110px;
        height: 110px;
        padding: 10px;
    }
}

.hub-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Perfect scale fitting */
    mix-blend-mode: multiply; /* Dynamically removes/empties the white square background */
    transition: var(--transition);
}

.hub-center-logo:hover {
    transform: scale(1.06);
    border-color: var(--primary-navy);
    box-shadow: 
        0 20px 45px rgba(236, 176, 46, 0.25),
        inset 0 0 20px rgba(35, 32, 85, 0.05);
}


.hub-glow {
    position: absolute;
    top: 0; inset-inline-end: 0; inset-inline-start: 0; bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,176,46,0.3) 0%, transparent 70%);
    animation: pulse-glow 3s infinite ease-in-out;
    z-index: -1;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0.9; }
}

.orbit-line {
    position: absolute;
    border: 2px dashed rgba(35, 32, 85, 0.1);
    border-radius: 50%;
    z-index: 1;
    animation: rotate-orbit 40s linear infinite;
}

.orbit-line.line-inner {
    width: 240px;
    height: 240px;
}

.orbit-line.line-outer {
    width: 360px;
    height: 360px;
    animation-direction: reverse;
    animation-duration: 60s;
}

@media (max-width: 480px) {
    .orbit-line.line-inner {
        width: 180px;
        height: 180px;
    }
    .orbit-line.line-outer {
        width: 260px;
        height: 260px;
    }
}

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

.hub-node-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
}

.hub-node-item.node-1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.hub-node-item.node-2 {
    bottom: 50px;
    inset-inline-start: 20px;
}

.hub-node-item.node-3 {
    bottom: 50px;
    inset-inline-end: 20px;
}

@media (max-width: 480px) {
    .hub-node-item.node-1 {
        top: -5px;
    }
    .hub-node-item.node-2 {
        bottom: 30px;
        inset-inline-start: 0px;
    }
    .hub-node-item.node-3 {
        bottom: 30px;
        inset-inline-end: 0px;
    }
}

.node-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid rgba(35, 32, 85, 0.1);
    box-shadow: 0 8px 20px rgba(35, 32, 85, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.4rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

@media (max-width: 480px) {
    .node-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

.node-label {
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-navy);
    background: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(236,176,46,0.1);
    transition: var(--transition);
}

@media (max-width: 480px) {
    .node-label {
        font-size: 0.8rem;
        padding: 3px 8px;
        margin-top: 5px;
    }
}

.node-pulse {
    position: absolute;
    top: 0; inset-inline-end: 0; width: 65px; height: 65px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    opacity: 0;
    z-index: 1;
    transition: var(--transition);
}

@media (max-width: 480px) {
    .node-pulse {
        width: 50px;
        height: 50px;
    }
}

.hub-node-item:hover .node-btn, 
.hub-node-item.active .node-btn {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-gold) 0%, #dca020 100%);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(236, 176, 46, 0.4);
    transform: scale(1.1);
}

.hub-node-item.active .node-pulse {
    animation: node-pulse-anim 2s infinite ease-out;
}

@keyframes node-pulse-anim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hub-node-item:hover .node-label,
.hub-node-item.active .node-label {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

.radial-hub-info-panel {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 30px;
    border: 1px solid rgba(236, 176, 46, 0.15);
    box-shadow: 0 20px 50px rgba(35, 32, 85, 0.06);
    position: relative;
    overflow: hidden;
    min-height: 330px;
    display: flex;
    align-items: center;
}

@media (max-width: 480px) {
    .radial-hub-info-panel {
        padding: 2rem;
        min-height: 280px;
    }
}

.info-panel-glow {
    position: absolute;
    top: -50px;
    inset-inline-end: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(236, 176, 46, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.info-panel-container {
    width: 100%;
}

.info-block {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.info-block.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.info-header {
    margin-bottom: 1.5rem;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(236, 176, 46, 0.1);
    color: var(--accent-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.info-block h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-navy);
}

@media (max-width: 480px) {
    .info-block h3 {
        font-size: 1.7rem;
    }
}

.info-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(35, 32, 85, 0.8);
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .info-desc {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.premium-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.1rem;
    transition: var(--transition);
}

.premium-hub-link i {
    transition: transform 0.3s ease;
}

.premium-hub-link:hover {
    color: var(--primary-navy);
}

.premium-hub-link:hover i {
    transform: translateX(-5px);
}

/* Click Indicator Ripple for Inactive Nodes */
.node-btn::after {
    content: '';
    position: absolute;
    top: -4px; inset-inline-end: -4px; inset-inline-start: -4px; bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(236, 176, 46, 0.4);
    opacity: 0;
    z-index: -1;
    animation: node-ripple-hint 3s infinite ease-out;
}

/* Stagger the ripple animation start for each node */
.hub-node-item.node-1 .node-btn::after { animation-delay: 0s; }
.hub-node-item.node-2 .node-btn::after { animation-delay: 1s; }
.hub-node-item.node-3 .node-btn::after { animation-delay: 2s; }

@keyframes node-ripple-hint {
    0% { transform: scale(1); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Explicit Click Instruction Badge */
.radial-hub-visual-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hub-instruction-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    padding: 8px 18px;
    background: rgba(35, 32, 85, 0.04);
    border: 1px dashed rgba(35, 32, 85, 0.15);
    color: var(--primary-navy);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.85;
    animation: gentle-bounce-hint 3s infinite ease-in-out;
    pointer-events: none; /* Decorative only */
}

.hub-instruction-hint i {
    font-size: 1rem;
    color: var(--accent-gold);
    animation: pulse-icon 1.5s infinite ease-in-out;
}

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

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

/* =========================================================================
   MOBILE INTERACTIVE HUB - Keyframes only (visibility handled by JS)
   ========================================================================= */

/* Hide back button by default - JS will show it when needed */
.hub-back-btn {
    display: none;
}

@keyframes premiumCardEntrance {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(25px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInSoft {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hub Back Button */
.hub-back-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #34307a 100%);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(35, 32, 85, 0.2);
    transition: var(--transition);
}

.hub-back-btn:hover {
    background: linear-gradient(135deg, #34307a 0%, var(--primary-navy) 100%);
    box-shadow: 0 8px 25px rgba(35, 32, 85, 0.3);
    transform: translateY(-2px);
}


