 :root {
    --primary: #167075;
    --secondary: #2F6862;
    --highlight: #D1882F;
    --bg: #EEF3F3;
    --card-bg: #ffffff;
    --text: #1a2e2e;
    --text-muted: #5a7070;
    --border: #c8dada;
    --wave1: #b8d4d4;
    --wave2: #d4b896;
    --success: #2e8b57;
    --font: 'DM Sans', 'Google Sans', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  a{text-decoration: none;}

  /* ─── PAGES ─────────────────────────────────── */
  .page { display: none; min-height: 100vh; }
  .page.active { display: flex; flex-direction: column; }

  /* ─── NAVBAR ─────────────────────────────────── */
  nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(12px);
  }

  .nav-left { display: flex; align-items: center; gap: 16px; }

  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 13px; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.3;
    padding: 6px 10px; border-radius: 6px;
    cursor: pointer;
  }

  .nav-logo-s {
    width: 28px; height: 28px; background: var(--primary);
    border-radius: 4px; display: flex; align-items: center;
    justify-content: center; color: white; font-weight: 800; font-size: 16px;
  }

  .nav-divider { width: 1px; height: 32px; background: var(--border); }

  .nav-gcci {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
  }

  .nav-logo img{height:50px;}
  .nav-gcci img{height:50px;}
  
  .gcci-bird {
    width: 36px; height: 28px;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 40%, #f39c12 100%);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 50% 75%, 18% 100%, 0% 38%);
    position: relative;
  }

  .gcci-text {
    font-size: 20px; font-weight: 800; color: #1a3a8c;
    letter-spacing: 2px;
  }

  .gcci-sub {
    font-size: 7px; color: #555; letter-spacing: 0.5px;
    line-height: 1.2; font-weight: 400;
  }

  .nav-links {
    display: flex; align-items: center; gap: 8px;
  }

  .nav-link {
    padding: 8px 14px; border-radius: 6px; cursor: pointer;
    font-size: 14px; font-weight: 500; color: var(--text);
    transition: all 0.2s; border: none; background: none;
  }

  .nav-link:hover, .nav-link.active-link {
    color: var(--primary); background: rgba(22,112,117,0.08);
  }

  .btn-primary {
    background: var(--primary); color: white;
    padding: 10px 20px; border-radius: 8px; border: none;
    cursor: pointer; font-size: 14px; font-weight: 600;
    transition: all 0.2s; font-family: var(--font);
    display: inline-flex; align-items: center; gap: 6px;
  }

  .btn-primary:hover {
    background: var(--secondary); transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22,112,117,0.3);
  }

  .btn-outline {
    background: transparent; color: var(--primary);
    padding: 10px 20px; border-radius: 8px;
    border: 1.5px solid var(--primary);
    cursor: pointer; font-size: 14px; font-weight: 600;
    transition: all 0.2s; font-family: var(--font);
  }

  .btn-outline:hover {
    background: var(--primary); color: white;
  }

  .btn-highlight {
    background: var(--highlight); color: white;
    padding: 10px 20px; border-radius: 8px; border: none;
    cursor: pointer; font-size: 14px; font-weight: 600;
    transition: all 0.2s; font-family: var(--font);
  }

  .btn-highlight:hover {
    background: #b8721f; transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(209,136,47,0.35);
  }

  /* ─── FOOTER ─────────────────────────────────── */
  footer {
    background: var(--text); color: rgba(255,255,255,0.7);
    padding: 20px 40px; display: flex;
    justify-content: space-between; align-items: center;
    font-size: 13px; margin-top: auto;
  }

  footer span { color: rgba(255,255,255,0.9); font-weight: 500; }

  /* ─── HOME PAGE ─────────────────────────────────── */
  .hero {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column;
  }

  .hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #e8f0f0 0%, #f0ebe0 50%, #dde8e8 100%);
    z-index: 0;
  }

  /* Wave decorations */
  .wave-deco {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 320px; z-index: 1; pointer-events: none;
  }

  .wave-deco svg { width: 100%; height: 100%; }

  .hero-content {
    position: relative; z-index: 2;
    flex: 1; display: flex; align-items: center;
    padding: 60px 40px 80px;
    max-width: 1200px; margin: 0 auto; width: 100%;
    gap: 60px;
  }

  .hero-left { flex: 1; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(22,112,117,0.1); color: var(--primary);
    padding: 6px 14px; border-radius: 100px;
    font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 24px;
    border: 1px solid rgba(22,112,117,0.2);
  }

  .hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--highlight); animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
  }

  .hero-title {
    font-size: 56px; font-weight: 700; line-height: 1.1;
    color: var(--text); margin-bottom: 8px;
    letter-spacing: -1px;
  }

  .hero-title .accent { color: var(--primary); }
  .hero-title .year { color: var(--highlight); }

  .hero-subtitle {
    font-size: 18px; color: var(--text-muted); margin-bottom: 32px;
    font-weight: 400; line-height: 1.6;
  }

  .hero-meta {
    display: flex; gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
  }

  .hero-meta-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--text-muted);
  }

  .hero-meta-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: white; display: flex; align-items: center;
    justify-content: center; font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

  .hero-right {
    flex: 0 0 420px;
    display: flex; flex-direction: column; gap: 16px;
  }

  .stat-card {
    background: white; border-radius: 16px;
    padding: 24px; box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    position: relative; overflow: hidden;
  }

  .stat-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%; background: var(--primary);
  }

  .stat-card.orange::before { background: var(--highlight); }

  .stat-number {
    font-size: 36px; font-weight: 700; color: var(--primary);
    line-height: 1;
  }

  .stat-card.orange .stat-number { color: var(--highlight); }
  .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

  .stat-row { display: flex; gap: 16px; }
  .stat-row .stat-card { flex: 1; }

  /* ─── SECTION GENERIC ─────────────────────────── */
  .section-page { flex: 1; padding: 60px 40px; max-width: 1200px; margin: 0 auto; width: 100%; }

  .section-header { margin-bottom: 48px; }

  .section-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--highlight);
    margin-bottom: 12px;
  }

  .section-title {
    font-size: 42px; font-weight: 700; color: var(--text);
    letter-spacing: -0.5px; line-height: 1.2;
  }

  .section-title .accent { color: var(--primary); }

  .section-desc {
    font-size: 16px; color: var(--text-muted);
    margin-top: 12px; max-width: 560px; line-height: 1.7;
  }

  /* ─── ABOUT PAGE ─────────────────────────────────── */
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    margin-bottom: 48px;
  }

  .about-card {
    background: white; border-radius: 20px; padding: 32px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

  .about-card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 20px;
  }

  .about-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
  .about-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

  .about-mission {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px; padding: 48px;
    display: flex; align-items: center; gap: 40px;
    color: white;
  }

  .mission-text { flex: 1; }
  .mission-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
  .mission-text p { font-size: 15px; opacity: 0.85; line-height: 1.8; }

  .mission-stat { flex: 0 0 200px; text-align: center; }
  .mission-stat .big { font-size: 64px; font-weight: 800; color: rgba(255,255,255,0.2); }
  .mission-stat .label { font-size: 13px; opacity: 0.7; }

  /* ─── SPONSORS PAGE ─────────────────────────────────── */
  .sponsor-tier {
    margin-bottom: 48px;
  }

  .tier-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
    margin-bottom: 24px;
  }

  .tier-platinum { background: linear-gradient(135deg, #e8e8f0, #d0d0e0); color: #555; }
  .tier-gold { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
  .tier-silver { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; }

  .sponsor-grid { display: flex; gap: 16px; flex-wrap: wrap; }

  .sponsor-card {
    background: white; border-radius: 16px; padding: 32px;
    border: 1px solid var(--border); display: flex;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 12px; min-width: 180px;
    transition: all 0.2s; cursor: pointer;
  }

  .sponsor-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(22,112,117,0.12);
    transform: translateY(-2px);
  }

  .sponsor-logo-placeholder {
    width: 80px; height: 40px; border-radius: 8px;
    background: linear-gradient(135deg, var(--bg), var(--border));
  }

  .sponsor-name { font-size: 13px; font-weight: 600; color: var(--text-muted); }

  .sponsor-cta {
    background: linear-gradient(135deg, #f8fafa, #f0f5f5);
    border: 2px dashed var(--border); border-radius: 20px;
    padding: 40px; text-align: center; margin-top: 32px;
  }

  .sponsor-cta h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
  .sponsor-cta p { color: var(--text-muted); margin-bottom: 20px; font-size: 14px; }

  /* ─── CONTACT PAGE ─────────────────────────────────── */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }

  .contact-info { display: flex; flex-direction: column; gap: 20px; }

  .contact-item {
    display: flex; align-items: flex-start; gap: 16px;
    background: white; border-radius: 16px; padding: 20px;
    border: 1px solid var(--border);
  }

  .contact-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
  }

  .contact-item h4 { font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; }
  .contact-item p { font-size: 15px; font-weight: 500; }

  .contact-form-card {
    background: white; border-radius: 20px; padding: 36px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  }

  .contact-form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }

  /* ─── FORM ELEMENTS ─────────────────────────────────── */
  .form-group { margin-bottom: 20px; }

  .form-label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 8px; letter-spacing: 0.3px;
  }

  .form-label .req { color: var(--highlight); margin-left: 3px; }

  .form-control {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 14px; font-family: var(--font);
    color: var(--text); background: white;
    transition: all 0.2s; outline: none;
    appearance: none;
  }

  .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,112,117,0.1);
  }

  .form-control::placeholder { color: #aab8b8; }

  select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23167075' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 40px; cursor: pointer;
  }

  textarea.form-control { resize: vertical; min-height: 100px; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  /* ─── REGISTRATION PAGE ─────────────────────────────────── */
  .reg-wrapper {
    flex: 1; padding: 40px;
    display: flex; align-items: flex-start;
    justify-content: center;
  }

  .reg-card {
    background: white; border-radius: 24px;
    width: 100%; max-width: 680px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    position: relative; overflow: hidden;
  }

  .reg-card::after {
    content: ''; position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(22,112,117,0.05), rgba(47,104,98,0.05));
    pointer-events: none;
  }

  .reg-header {
    text-align: center; margin-bottom: 36px;
    padding-bottom: 28px; border-bottom: 1px solid var(--border);
    position: relative;
  }

  .reg-header::after {
    content: ''; position: absolute; bottom: -1px; left: 50%;
    transform: translateX(-50%); width: 60px; height: 2px;
    background: var(--primary);
  }

  .reg-header h2 {
    font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 4px;
  }

  .reg-header .reg-title {
    font-size: 28px; font-weight: 700; color: var(--primary);
    letter-spacing: -0.5px;
  }

  .reg-section-title {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--highlight);
    margin-bottom: 16px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }

  /* ─── PROFILE DASHBOARD ─────────────────────────────────── */
  .dashboard-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 24px;
    padding: 32px 40px; flex: 1; max-width: 1280px;
    margin: 0 auto; width: 100%;
  }

  .dashboard-sidebar {
    display: flex; flex-direction: column; gap: 12px;
    position: sticky; top: 80px; align-self: flex-start;
  }

  .profile-card-mini {
    background: white; border-radius: 20px; padding: 24px;
    border: 1px solid var(--border); text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  }

  .avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: white;
    margin: 0 auto 12px;
  }

  .profile-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
  .profile-email { font-size: 12px; color: var(--text-muted); }
  .profile-org { font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 8px; }

  .sidebar-menu { background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }

  .sidebar-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; cursor: pointer; transition: all 0.2s;
    border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 500;
    border: none; background: none; width: 100%; text-align: left;
    font-family: var(--font); color: var(--text);
  }

  .sidebar-item:last-child { border-bottom: none; }

  .sidebar-item:hover { background: var(--bg); color: var(--primary); }

  .sidebar-item.active { background: rgba(22,112,117,0.06); color: var(--primary); font-weight: 600; }

  .sidebar-item-icon { font-size: 18px; }

  .sidebar-badge {
    margin-left: auto; background: var(--highlight); color: white;
    font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 100px;
  }

  .sidebar-badge.done { background: var(--success); }

  .dashboard-main { display: flex; flex-direction: column; gap: 20px; }

  /* Dashboard Panels */
  .dash-panel {
    background: white; border-radius: 20px; padding: 32px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  }

  .dash-panel.hidden { display: none; }

  .panel-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
  }

  .panel-title { font-size: 20px; font-weight: 700; }
  .panel-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

  .panel-badge {
    padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
  }

  .badge-pending { background: #fef3c7; color: #92400e; }
  .badge-complete { background: #d1fae5; color: #065f46; }

  /* Progress bar */
  .progress-wrap { margin-bottom: 20px; }
  .progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
  .progress-bar { height: 6px; background: var(--bg); border-radius: 100px; overflow: hidden; }
  .progress-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width 0.5s; }

  /* Questionnaire Q items */
  .q-item {
    margin-bottom: 20px; background: var(--bg); border-radius: 14px;
    padding: 20px; border: 1px solid transparent; transition: border-color 0.2s;
  }

  .q-item:focus-within { border-color: var(--primary); }

  .q-num {
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px;
  }

  .q-text { font-size: 15px; font-weight: 600; margin-bottom: 14px; }

  .q-dynamic { margin-top: 16px; display: none; }
  .q-dynamic.visible { display: block; }

  /* Certificate */
  .cert-wrapper {
    background: white; border-radius: 20px;
    padding: 32px; border: 1px solid var(--border);
  }

  .certificate {
    max-width: 760px; margin: 0 auto;
    border: 3px solid var(--primary);
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 8px 40px rgba(22,112,117,0.15);
  }

  .cert-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 32px; text-align: center; color: white;
    position: relative;
  }

  .cert-header::before, .cert-header::after {
    content: ''; position: absolute;
    width: 120px; height: 120px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
  }

  .cert-header::before { top: -40px; left: -40px; }
  .cert-header::after { bottom: -40px; right: -40px; }

  .cert-logos { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .cert-logo-box {
    background: rgba(255,255,255,0.15); padding: 8px 16px;
    border-radius: 8px; font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
  }

  .cert-eyebrow {
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    opacity: 0.7; margin-bottom: 8px;
  }

  .cert-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }

  .cert-body { padding: 40px; text-align: center; }

  .cert-declare {
    font-size: 13px; color: var(--text-muted); letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 16px;
  }

  .cert-name {
    font-size: 36px; font-weight: 800; color: var(--primary);
    margin-bottom: 4px; letter-spacing: -1px;
  }

  .cert-org { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }

  .cert-desc {
    font-size: 14px; color: var(--text-muted); line-height: 1.8;
    max-width: 480px; margin: 0 auto 28px;
  }

  .cert-footprint-box {
    display: inline-block;
    background: linear-gradient(135deg, var(--bg), white);
    border: 2px solid var(--primary); border-radius: 16px;
    padding: 20px 40px; margin-bottom: 28px;
  }

  .cert-footprint-label { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
  .cert-footprint-value { font-size: 40px; font-weight: 800; color: var(--primary); }
  .cert-footprint-unit { font-size: 14px; color: var(--text-muted); }

  .cert-divider {
    border: none; border-top: 1px solid var(--border);
    margin: 24px 0;
  }

  .cert-footer-row {
    display: flex; justify-content: space-between; align-items: flex-end;
    padding: 0 40px 28px;
  }

  .cert-sig { text-align: center; }
  .cert-sig-line { width: 140px; height: 1px; background: var(--text-muted); margin: 0 auto 6px; }
  .cert-sig-name { font-size: 12px; font-weight: 700; }
  .cert-sig-title { font-size: 10px; color: var(--text-muted); }

  .cert-seal {
    width: 80px; height: 80px; border-radius: 50%;
    border: 3px solid var(--highlight); display: flex;
    align-items: center; justify-content: center; flex-direction: column;
    color: var(--highlight); font-size: 9px; font-weight: 700;
    letter-spacing: 0.5px; text-align: center; line-height: 1.3;
    text-transform: uppercase;
  }

  .cert-date { font-size: 11px; color: var(--text-muted); text-align: right; }

  /* ─── ALERTS & TOASTS ─────────────────────────────────── */
  .alert-success {
    background: #d1fae5; border: 1px solid #a7f3d0; border-radius: 12px;
    padding: 16px 20px; display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: #065f46; margin-bottom: 20px;
  }

  .QR-img{width:300px}

  /* ─── RESPONSIVE ─────────────────────────────────── */
  @media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }

    .QR-img{width:100%}

    .nav-logo img{height:40px;}
    .nav-gcci img{height:40px;}

    .hero-content { flex-direction: column; padding: 40px 20px 60px; gap: 32px; }
    .hero-title { font-size: 36px; }
    .hero-right { flex: none; width: 100%; }

    .section-page { padding: 40px 20px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-mission { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .reg-wrapper { padding: 20px; }
    .reg-card { padding: 28px 20px; }

    .dashboard-layout { grid-template-columns: 1fr; padding: 20px; }
    .dashboard-sidebar { position: static; }

    .cert-footer-row { flex-direction: column; gap: 20px; align-items: center; }
    .cert-name { font-size: 26px; }
    footer { flex-direction: column; gap: 8px; text-align: center; }
    
  }

  /* ─── ANIMATIONS ─────────────────────────────────── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .fade-up { animation: fadeUp 0.5s ease forwards; }
  .fade-up-2 { animation: fadeUp 0.5s 0.1s ease both; }
  .fade-up-3 { animation: fadeUp 0.5s 0.2s ease both; }

  /* ─── HAMBURGER ─────────────────────────────────── */
  .hamburger {
    display: none; background: none; border: none;
    cursor: pointer; flex-direction: column; gap: 4px; padding: 4px;
  }

  .hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

  @media (max-width: 768px) {
    .hamburger { display: flex; }
  }

  .mobile-menu {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 16px; z-index: 99; flex-direction: column; gap: 4px;
  }

  .mobile-menu.open { display: flex; }
  .mobile-menu .nav-link { width: 100%; padding: 12px 16px; }

  /* Dot step indicator */
  .step-dots {
    display: flex; gap: 8px; align-items: center; margin-bottom: 28px;
  }

  .step-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--border); transition: all 0.3s;
  }

  .step-dot.done { background: var(--success); }
  .step-dot.active { background: var(--primary); transform: scale(1.3); }

  .step-label { font-size: 12px; color: var(--text-muted); margin-left: 4px; }

#about {
    scroll-margin-top: 80px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
}

.text-danger{color: red;font-size: 14px;}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 280px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    animation: slideIn 0.4s ease;
    position: relative;
    overflow: hidden;
}

.toast.success { background: #28a745; }
.toast.error { background: #ff4d4f; }
.toast.info { background: #167075; }

.toast .content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast .icon {
    font-size: 18px;
}

.toast .close {
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255,255,255,0.5);
    animation: progressBar 7s linear forwards;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes progressBar {
    from { width: 100%; }
    to { width: 0%; }
}


.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.custom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── AVATAR + DROPDOWN ── */
  .av-wrap{position:relative}
  .av-btn{
    width:36px;height:36px;border-radius:50%;cursor:pointer;border:2px solid transparent;
    transition:border-color 0.2s,transform 0.15s;overflow:hidden;
    background:#065f46;
    padding:0;
    display:flex;align-items:center;justify-content:center;
  }
  .av-btn:hover{border-color:var(--acc);transform:scale(1.06)}
  .av-btn img{width:100%;height:100%;object-fit:cover;border-radius:50%}
  .av-initials{
    width:36px;height:36px;border-radius:50%;background:var(--p);
    color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;
    font-family:var(--font);flex-shrink:0;
  }
  .av-indicator{
    position:absolute;bottom:0;right:0;width:9px;height:9px;border-radius:50%;
    background:#22c55e;border:2px solid var(--color-background-primary);
  }

  /* ── DROPDOWN ── */
  .av-drop{
    position:absolute;top:calc(100% + 10px);right:0;
    background:#fff;
    border:0.5px solid #ccc;
    border-radius:12px;
    width:200px;
    overflow:hidden;
    opacity:0;
    transform:translateY(-6px) scale(0.97);
    pointer-events:none;
    transition:opacity 0.18s ease,transform 0.18s ease;
    transform-origin:top right;
  }
  .av-drop.open{opacity:1;transform:translateY(0) scale(1);pointer-events:all}

  .drop-user{
    padding:12px 14px;border-bottom:0.5px solid #065f46;
    display:flex;align-items:center;gap:10px;
  }
  .drop-user-av{width:32px;height:32px;border-radius:50%;background:#065f46;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
  .drop-user-info{overflow:hidden}
  .drop-user-name{font-size:13px;font-weight:600;color:#065f46;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .drop-user-email{font-size:11px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}

  .drop-items{padding:5px}
  .drop-item{
    display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:7px;
    font-size:13px;font-weight:500;color:#6b7280;
    cursor:pointer;transition:background 0.12s,color 0.12s;border:none;background:none;
    width:100%;font-family:var(--font);text-align:left;
  }
  .drop-item:hover{background:color-mix(in srgb,#065f46 8%,transparent);color:#065f46}
  .drop-item:hover svg{stroke:#065f46}
  .drop-item svg{width:15px;height:15px;stroke:#6b7280;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;transition:stroke 0.12s}
  .drop-sep{height:0.5px;background:#e5e7eb;margin:5px 0}
  .drop-item.logout{color:#c0392b}
  .drop-item.logout svg{stroke:#c0392b}
  .drop-item.logout:hover{background:color-mix(in srgb,#c0392b 8%,transparent);color:#c0392b}

