/* Gaza Health Fellowship Stylesheet */

/* Design Tokens & Variables */
:root {
    --primary-bg: #0b0f19;
    --secondary-bg: #111827;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-border: rgba(13, 148, 136, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --color-accent: #0d9488; /* Teal */
    --color-accent-hover: #0f766e;
    --color-accent-rgb: 13, 148, 136;
    
    --color-emerald: #10b981; /* Emerald */
    --color-emerald-light: rgba(16, 185, 129, 0.15);
    
    --color-gold: #f59e0b; /* Core highlight */
    --color-gold-light: rgba(245, 158, 11, 0.15);

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-en: 'Outfit', 'Inter', system-ui, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* Light Theme Variables */
body.theme-light {
    --primary-bg: #f8fafc;
    --secondary-bg: #ffffff;
    --card-bg: rgba(241, 245, 249, 0.7);
    --card-border: rgba(15, 23, 42, 0.08);
    --card-hover-border: rgba(13, 148, 136, 0.5);
    --text-main: #0f172a;
    --text-muted: #475569;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dynamic Fonts & Direction */
html[dir="rtl"] body {
    font-family: var(--font-ar);
}

html[dir="ltr"] body {
    font-family: var(--font-en);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Grid & Layout Containers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-btn-contact {
    border: 1px solid rgba(13, 148, 136, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-sm);
    color: var(--color-accent);
    background: rgba(13, 148, 136, 0.05);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Button */
.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

html[dir="rtl"] .lang-switch-btn {
    font-family: var(--font-en);
}
html[dir="ltr"] .lang-switch-btn {
    font-family: var(--font-ar);
}

.lang-switch-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.globe-icon {
    width: 16px;
    height: 16px;
}

/* Theme Switch Button */
.theme-switch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-switch-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.theme-icon {
    width: 18px;
    height: 18px;
}

/* Light Theme Overrides */
body.theme-light .navbar {
    background: rgba(248, 250, 252, 0.8);
}

body.theme-light .theme-switch-btn {
    background: rgba(15, 23, 42, 0.03);
}

body.theme-light .theme-switch-btn:hover {
    background: rgba(15, 23, 42, 0.08);
}

body.theme-light .lang-switch-btn {
    background: rgba(15, 23, 42, 0.03);
}

body.theme-light .lang-switch-btn:hover {
    background: rgba(15, 23, 42, 0.08);
}

body.theme-light .btn-secondary {
    border-color: rgba(15, 23, 42, 0.15);
}

body.theme-light .btn-secondary:hover {
    background-color: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.3);
}

body.theme-light .digital-cert {
    background: #ffffff;
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.theme-light .digital-cert::before {
    border-color: rgba(16, 185, 129, 0.12);
}

body.theme-light .digital-cert .cert-title,
body.theme-light .digital-cert .sig-name,
body.theme-light .digital-cert .cert-logo {
    color: #0f172a;
}

body.theme-light .digital-cert .cert-logo svg {
    color: var(--color-accent);
}

body.theme-light .footer {
    background: #f1f5f9;
}

body.theme-light .footer-disclosure {
    background: rgba(0, 0, 0, 0.01);
}

body.theme-light .hero-section {
    background: radial-gradient(circle at 50% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 60%);
}

body.theme-light .leader-avatar {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(16, 185, 129, 0.02) 100%);
}

body.theme-light .leader-role.clickable:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-main);
}

body.theme-light .partner-logo-placeholder {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .stats-bar {
    background: rgba(255, 255, 255, 0.7);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-bg);
    z-index: 999;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    border-top: 1px solid var(--card-border);
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mobile-nav-link:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 50% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 60%);
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.collab-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.badge-separator {
    color: var(--text-muted);
    font-weight: 300;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 1.5rem;
    max-width: 900px;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 5rem;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    gap: 2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--card-border);
}

html[dir="rtl"] .stat-card:not(:last-child)::after {
    left: -1rem;
}

html[dir="ltr"] .stat-card:not(:last-child)::after {
    right: -1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--card-hover-border);
    background: rgba(30, 41, 59, 0.6);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(13, 148, 136, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.pillar-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Curriculum Section */
.tab-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-main);
}

.tab-btn.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

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

.module-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-hover-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.module-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.module-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.module-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.module-badge.core {
    background: var(--color-gold-light);
    color: var(--color-gold);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.module-badge.elective {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid var(--card-border);
}

.module-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.partner-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
    position: relative;
}

.partner-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
}

.partner-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.partner-logo-placeholder svg {
    width: 32px;
    height: 32px;
}

.partner-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.partner-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pending-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-gold-light);
    color: var(--color-gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.leader-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 2rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.leader-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
}

.leader-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid rgba(13, 148, 136, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.leader-initials {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

.leader-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.leader-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.leader-card.editable {
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.leader-role.clickable {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.leader-role.clickable:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Certificate Verification Section */
.verify-box {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.verify-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.verify-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-group {
    display: flex;
    gap: 1rem;
}

.input-group input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 12px rgba(13, 148, 136, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

html[dir="rtl"] .input-group input {
    font-family: var(--font-en); /* Keep cert codes always geometric/English styled */
    direction: ltr;
}

.hint-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

html[dir="rtl"] .hint-text {
    text-align: right;
}
html[dir="ltr"] .hint-text {
    text-align: left;
}

/* Verification Loader */
.verify-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

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

/* Verification Results */
.verify-result {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--card-border);
    animation: fadeIn 0.4s ease;
}

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

.result-card {
    border-radius: var(--border-radius-md);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.result-card.success {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.result-card.error {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.success .result-icon {
    background: var(--color-emerald-light);
    color: var(--color-emerald);
}

.error .result-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.result-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.success .result-header h4 {
    color: var(--color-emerald);
}

.error .result-header h4 {
    color: #ef4444;
}

/* Digital Certificate Mock Card */
.digital-cert {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    margin-top: 1.5rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.digital-cert::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(16, 185, 129, 0.08);
    pointer-events: none;
}

.cert-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.cert-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.cert-logo svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.cert-id-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(13, 148, 136, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-en);
}

.cert-body {
    text-align: center;
    margin-bottom: 2rem;
}

.cert-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.cert-recipient {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-emerald);
    margin: 1rem 0;
}

.cert-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.cert-signatures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.sig-block {
    text-align: center;
}

.sig-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.sig-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.error-details p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

/* Contact Us Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--border-radius-sm);
    background: rgba(13, 148, 136, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
}

.contact-details h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.contact-details p, .contact-details a {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.contact-details a:hover {
    color: var(--color-accent);
}

.contact-summary-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

.contact-summary-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.75rem;
}

.partnership-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.partnership-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.partnership-list li strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

.partnership-list li span {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Footer styling */
.footer {
    background: #070a12;
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--card-border);
}

.footer-disclosure {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
}

.footer-disclosure p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Breakpoints */

@media (max-width: 1024px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .stat-card:nth-child(2)::after {
        display: none;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .verify-box {
        padding: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group button {
        width: 100%;
    }
    
    .cert-signatures {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .stat-card::after {
        display: none !important;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .digital-cert {
        padding: 1.5rem;
    }
    
    .cert-recipient {
        font-size: 1.35rem;
    }
}

/* Mobile Menu Active State */
body.mobile-menu-active {
    overflow: hidden;
}

body.mobile-menu-active .mobile-nav-overlay {
    display: flex;
}

body.mobile-menu-active .mobile-menu-toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.mobile-menu-active .mobile-menu-toggle .bar:nth-child(2) {
    opacity: 0;
}

body.mobile-menu-active .mobile-menu-toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
