/* ==============================================================================
   UGCMS - Public Pages Styles
   الصفحات العامة: Hero + About + Conferences + Conference Page
   ============================================================================== */

/* ============ Hero Public ============ */
.hero-public {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(10,61,31,0.94) 0%, rgba(15,68,34,0.88) 50%, rgba(212,160,23,0.55) 100%),
        radial-gradient(circle at 70% 30%, rgba(212,160,23,0.18), transparent 55%),
        linear-gradient(135deg, var(--uofg-green-900), var(--uofg-green-800));
    color: #fff;
    overflow: hidden;
    padding: 80px 0;
}

.hero-public::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 85%, rgba(212,160,23,0.15), transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.08), transparent 40%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.25));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    animation: fadeInUp 0.8s ease-out;
}

/* الشعارات في Hero */
.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 36px;
}

.logo-uofg-hero {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
    animation: float 7s ease-in-out infinite;
}

.logo-conf-hero {
    height: 140px;
    width: auto;
    filter: drop-shadow(0 12px 30px rgba(212,160,23,0.4));
    animation: float 8s ease-in-out infinite;
    animation-delay: -3s;
}

.logo-divider {
    width: 2px;
    height: 90px;
    background: linear-gradient(to bottom, transparent, rgba(212,160,23,0.6), transparent);
}

.hero-badge {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(212,160,23,0.18);
    border: 1px solid rgba(212,160,23,0.45);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--uofg-gold-100);
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 22px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255,255,255,0.92);
    max-width: 780px;
    margin: 0 auto 38px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat { text-align: center; }

.hero-stat-value {
    font-size: 46px;
    font-weight: 900;
    color: var(--uofg-gold-500);
    line-height: 1;
    text-shadow: 0 4px 20px rgba(212,160,23,0.35);
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    margin-top: 8px;
    font-weight: 600;
}

/* ============ Section Tag ============ */
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--uofg-green-50);
    color: var(--uofg-green-800);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.section-tag.center {
    display: table;
    margin: 0 auto 14px;
}

.section-title {
    font-size: 34px;
    font-weight: 900;
    color: var(--uofg-green-900);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray-500);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
    line-height: 1.75;
}

/* ============ About Section ============ */
.about-section {
    padding: 90px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.about-text h2 {
    font-size: 34px;
    margin-bottom: 22px;
    line-height: 1.3;
}

.about-text > p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    gap: 18px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--uofg-green-700);
    transition: all var(--t-base);
}

.about-feature:hover {
    background: var(--uofg-green-50);
    transform: translateX(-4px);
}

[dir="ltr"] .about-feature:hover { transform: translateX(4px); }

.feature-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-size: 15px;
    color: var(--uofg-green-900);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

.about-image-frame {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, var(--uofg-green-50), var(--uofg-gold-100));
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-image-frame img {
    max-width: 340px;
    width: 100%;
}

/* ============ Conferences Section ============ */
.conferences-section {
    padding: 90px 0;
    background: var(--gray-50);
}

.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.conference-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--t-base);
}

.conference-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--uofg-green-600);
}

.conference-card.featured {
    border-color: var(--uofg-gold-500);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15), var(--shadow-md);
}

.featured-ribbon {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    z-index: 3;
    background: linear-gradient(135deg, var(--uofg-gold-600), var(--uofg-gold-500));
    color: var(--uofg-green-900);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

.conference-card-header {
    position: relative;
    padding: 30px 24px 22px;
    background: linear-gradient(135deg, var(--uofg-green-900), var(--uofg-green-800));
    text-align: center;
}

.conference-logo-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    padding: 8px;
}

.conference-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

.status-badge.status-registration_open { background: rgba(34,197,94,0.25); color: #bbf7d0; border-color: rgba(34,197,94,0.5); }
.status-badge.status-ongoing           { background: rgba(212,160,23,0.25); color: #fef3c7; border-color: rgba(212,160,23,0.5); }
.status-badge.status-published         { background: rgba(59,130,246,0.25); color: #dbeafe; border-color: rgba(59,130,246,0.5); }
.status-badge.status-completed         { background: rgba(100,116,139,0.3); color: #e2e8f0; border-color: rgba(148,163,184,0.4); }

.conference-card-body {
    padding: 24px 24px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.conference-year {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    color: var(--uofg-gold-700);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.conference-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--uofg-green-900);
    line-height: 1.4;
    margin-bottom: 10px;
}

.conference-subtitle {
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
}

.conference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--gray-600);
    font-weight: 600;
}

.meta-icon { font-size: 14px; }

.conference-stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.conf-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conf-stat strong {
    font-size: 22px;
    font-weight: 900;
    color: var(--uofg-green-700);
    line-height: 1;
}

.conf-stat span {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 700;
    margin-top: 4px;
}

.conference-card-footer {
    padding: 0 24px 24px;
}

/* ============ Empty State ============ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.empty-icon { font-size: 60px; margin-bottom: 16px; opacity: 0.6; }
.empty-state h3 { font-size: 20px; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; color: var(--gray-500); }

/* ============ CTA Section ============ */
.cta-section {
    padding: 0 0 90px;
}

.cta-box {
    background: linear-gradient(135deg, var(--uofg-green-900) 0%, var(--uofg-green-800) 60%, var(--uofg-gold-700) 140%);
    color: #fff;
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,160,23,0.18), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
    position: relative;
}

.cta-box p {
    font-size: 15px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================================
   CONFERENCE PAGE
   ============================================================ */

/* ============ Conference Hero ============ */
.conf-hero {
    position: relative;
    padding: 70px 0 80px;
    background:
        linear-gradient(135deg, var(--conf-theme, var(--uofg-green-900)) 0%, rgba(10,61,31,0.95) 100%),
        radial-gradient(circle at 80% 20%, rgba(212,160,23,0.18), transparent 50%);
    color: #fff;
    overflow: hidden;
}

.conf-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.25));
    pointer-events: none;
}

.conf-hero-content { position: relative; z-index: 2; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--conf-accent, var(--uofg-gold-500)); }
.breadcrumb span { opacity: 0.6; }

.conf-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
}

.conf-hero-text { animation: fadeInUp 0.7s ease-out; }

.conf-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212,160,23,0.2);
    border: 1px solid rgba(212,160,23,0.45);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--uofg-gold-100);
    margin-bottom: 20px;
}

.conf-hero-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.3);
}

.conf-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 26px;
    font-style: italic;
}

.conf-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 32px;
    font-size: 14px;
}

.conf-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
}

.conf-meta-icon { font-size: 16px; }

.conf-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.conf-hero-logo {
    text-align: center;
    animation: float 7s ease-in-out infinite;
}

.conf-hero-logo img {
    max-width: 320px;
    width: 100%;
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.35));
}
/* ============================================================
   COUNTDOWN (النسخة المُحسَّنة - عدّان + شريط تقدم)
   ============================================================ */

.conf-countdown {
    background: linear-gradient(135deg, var(--uofg-green-900) 0%, var(--uofg-green-800) 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.conf-countdown::before {
    content: '';
    position: absolute;
    top: -40%;
    inset-inline-end: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(212,160,23,0.12), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.conf-countdown .container {
    position: relative;
    z-index: 1;
}

/* ============ Header ============ */
.countdown-header {
    text-align: center;
    margin-bottom: 40px;
}

.countdown-header h2 {
    font-size: 28px;
    color: var(--uofg-gold-500);
    font-weight: 900;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.countdown-header p {
    font-size: 14.5px;
    color: #bbf7d0;
    margin: 0;
    font-weight: 600;
}

/* ============ Grid (عدّان متوازيان) ============ */
.countdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.countdown-grid.countdown-single {
    grid-template-columns: 1fr;
    max-width: 560px;
}

@media (max-width: 768px) {
    .countdown-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ Card ============ */
.countdown-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.countdown-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* عدّاد الملخص (أحمر) */
.countdown-card-abstract {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(255, 255, 255, 0.08));
}

.countdown-card-abstract:hover {
    border-color: rgba(239, 68, 68, 0.7);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.25);
}

/* عدّاد المؤتمر (أخضر) */
.countdown-card-conference {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(255, 255, 255, 0.08));
}

.countdown-card-conference:hover {
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25);
}

/* ============ Card Header ============ */
.countdown-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.countdown-card-abstract .countdown-card-icon {
    background: linear-gradient(135deg, #dc2626, #f87171);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.countdown-card-conference .countdown-card-icon {
    background: linear-gradient(135deg, #15803d, #22c55e);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.countdown-card-title {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-card-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ============ Timer ============ */
.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.timer-box {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s;
}

.countdown-card-abstract .timer-box {
    border-color: rgba(239, 68, 68, 0.3);
}

.countdown-card-conference .timer-box {
    border-color: rgba(34, 197, 94, 0.3);
}

.timer-number {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: 'Courier New', monospace;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.timer-label {
    font-size: 10.5px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ Progress Bar ============ */
.countdown-progress-wrapper {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 10.5px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.countdown-progress-percent {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    font-family: 'Courier New', monospace;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}

.countdown-progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.countdown-progress-fill {
    height: 100%;
    border-radius: 999px;
    position: relative;
    transition: width 1s ease-out;
}

.countdown-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    border-radius: 999px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.countdown-progress-fill-abstract {
    background: linear-gradient(90deg, #dc2626, #f87171, #f97316);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.countdown-progress-fill-conference {
    background: linear-gradient(90deg, #15803d, #22c55e, #4ade80);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.countdown-progress-status {
    font-size: 11.5px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    line-height: 1.5;
}

/* ============ Footer (CTA) ============ */
.countdown-card-footer {
    text-align: center;
    margin-top: auto;
}

.countdown-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: var(--uofg-green-900);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.countdown-card-abstract .countdown-cta-btn {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
}

.countdown-card-conference .countdown-cta-btn {
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #fff;
}

.countdown-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.countdown-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.countdown-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* ============ Ended State ============ */
.countdown-ended {
    text-align: center;
    padding: 30px;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    max-width: 600px;
    margin: 0 auto;
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
    .conf-countdown { padding: 40px 0; }
    .countdown-header h2 { font-size: 22px; }
    .countdown-card { padding: 18px; }
    .timer-number { font-size: 24px; }
    .timer-label { font-size: 9px; }
    .countdown-timer { gap: 6px; }
    .timer-box { padding: 10px 4px; border-radius: 10px; }
    .countdown-card-icon { width: 40px; height: 40px; font-size: 20px; }
    .countdown-card-title { font-size: 12.5px; }
    .countdown-progress-wrapper { padding: 10px 12px; }
}
/* ============ Dates Section ============ */
.conf-dates-section {
    padding: 70px 0;
    background: var(--gray-900);
    color: #fff;
}

.conf-dates-section .section-title { color: var(--uofg-gold-500); }

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.date-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-align: center;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}

.date-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 4px;
    height: 100%;
}

.date-card-urgent::before  { background: var(--uofg-gold-500); }
.date-card-info::before    { background: #10b981; }
.date-card-warning::before { background: var(--uofg-gold-500); }
.date-card-success::before { background: #38bdf8; }

.date-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.date-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.date-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 6px;
}

.date-value {
    font-size: 16px;
    font-weight: 900;
    color: var(--uofg-gold-100);
}

/* ============ About Conference ============ */
.conf-about-section {
    padding: 80px 0;
    background: #fff;
}

.conf-about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: start;
}

.conf-about-main h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.conf-about-main p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.95;
}

.conf-vm-cards {
    display: grid;
    gap: 20px;
}

.vm-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: #fff;
    transition: all var(--t-base);
}

.vm-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.vm-vision  { border-top: 5px solid var(--uofg-green-700); }
.vm-mission { border-top: 5px solid var(--uofg-gold-600); }

.vm-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.vm-card h3 {
    font-size: 19px;
    color: var(--uofg-green-900);
    margin-bottom: 10px;
}

.vm-card p {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ============ Objectives ============ */
.conf-objectives-section {
    padding: 70px 0;
    background: var(--gray-50);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.objective-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--t-base);
}

.objective-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--uofg-green-600);
}

.objective-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uofg-green-900), var(--uofg-green-700));
    color: var(--uofg-gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
}

.objective-card p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.75;
    margin: 0;
}

/* ============ Tracks ============ */
.conf-tracks-section {
    padding: 90px 0;
    background: #fff;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 26px;
    margin-top: 20px;
}

.track-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}

.track-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--uofg-green-700);
}

.track-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.track-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--uofg-green-50), var(--uofg-gold-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 2px solid var(--uofg-green-100);
}

.track-code {
    font-size: 11px;
    font-weight: 900;
    color: var(--uofg-gold-700);
    letter-spacing: 1px;
    background: var(--uofg-gold-100);
    padding: 4px 10px;
    border-radius: 6px;
}

.track-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--uofg-green-900);
    line-height: 1.45;
    margin-bottom: 12px;
}

.track-description {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.track-sdgs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 16px;
}

.sdg-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-500);
    text-transform: uppercase;
}

.sdg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    background: linear-gradient(135deg, var(--uofg-green-700), var(--uofg-green-600));
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
}

.track-subtracks {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.subtracks-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--uofg-green-800);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.subtracks-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.subtracks-list li {
    font-size: 12.5px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============ Committee ============ */
.conf-committee-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.committee-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all var(--t-base);
}

.committee-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--uofg-gold-500);
}

.committee-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uofg-green-800), var(--uofg-green-700));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    overflow: hidden;
    border: 3px solid var(--uofg-gold-500);
    box-shadow: 0 6px 20px rgba(15,68,34,0.2);
}

.committee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.committee-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--uofg-green-900);
    margin-bottom: 6px;
    line-height: 1.35;
}

.committee-title {
    font-size: 12px;
    color: var(--uofg-gold-700);
    font-weight: 700;
    margin-bottom: 6px;
}

.committee-institution {
    font-size: 11.5px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 8px;
}

.committee-role {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    color: var(--uofg-green-800);
    background: var(--uofg-green-50);
    padding: 3px 10px;
    border-radius: 999px;
    margin-top: 4px;
}

/* ============ Publication ============ */
.conf-publication-section {
    padding: 80px 0;
    background: #fff;
}

.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.publication-card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 22px;
    background: linear-gradient(135deg, var(--gray-50), #fff);
    border: 1px solid var(--gray-200);
    border-inline-start: 4px solid var(--uofg-green-700);
    border-radius: var(--radius-md);
    transition: all var(--t-base);
}

.publication-card:hover {
    border-inline-start-color: var(--uofg-gold-600);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

[dir="ltr"] .publication-card:hover { transform: translateX(4px); }

.publication-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.publication-card p {
    font-size: 13.5px;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
    font-weight: 600;
}

/* ============ Conference CTA ============ */
.conf-cta-section {
    padding: 0 0 90px;
}

.conf-cta-box {
    background: linear-gradient(135deg, var(--uofg-gold-600) 0%, var(--uofg-gold-500) 60%, var(--uofg-green-800) 140%);
    color: var(--uofg-green-900);
    padding: 55px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.conf-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    inset-inline-start: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.conf-cta-box h2 {
    color: var(--uofg-green-900);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    position: relative;
}

.conf-cta-box p {
    font-size: 15px;
    color: var(--uofg-green-800);
    font-weight: 600;
    margin-bottom: 26px;
    position: relative;
}

.conf-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.conf-cta-box .btn-ghost {
    color: var(--uofg-green-900);
    border-color: var(--uofg-green-900);
}

.conf-cta-box .btn-ghost:hover {
    background: rgba(15,68,34,0.08);
}

/* ============ Error Pages ============ */
.error-page {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--uofg-green-700);
}

.error-403 { border-top-color: var(--sd-red); }
.error-404 { border-top-color: var(--uofg-gold-600); }

.error-code {
    font-size: 90px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--uofg-green-900), var(--uofg-gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-box h1 {
    font-size: 24px;
    color: var(--uofg-green-900);
    margin-bottom: 12px;
}

.error-box p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 26px;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ الاستجابة ============ */
@media (max-width: 900px) {
    .about-grid,
    .conf-about-grid,
    .conf-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-frame { max-width: 320px; margin: 0 auto; }
    .conf-hero-logo img { max-width: 240px; }
}

@media (max-width: 640px) {
    .hero-public { padding: 60px 0; min-height: auto; }
    .hero-stats { gap: 30px; }
    .hero-stat-value { font-size: 34px; }
    .logo-uofg-hero { height: 70px; }
    .logo-conf-hero { height: 90px; }
    .logo-divider { height: 60px; }
    .section-title { font-size: 24px; }
    .tracks-grid,
    .conferences-grid { grid-template-columns: 1fr; }
    .timer-box { padding: 16px 20px; min-width: 95px; }
    .timer-number { font-size: 30px; }
    .timer-label { font-size: 11px; }
    .conf-cta-box, .cta-box { padding: 40px 24px; }
    .cta-box h2, .conf-cta-box h2 { font-size: 22px; }
}