:root {
    --bg: #06112b;
    --bg-accent: #0a1a3e;
    --surface: rgba(10, 22, 58, 0.95);
    --surface-strong: #0d1e4a;
    --text: #eef2ff;
    --muted: #a0aec8;
    --primary: #2a55cc;
    --primary-deep: #0a1f5c;
    --secondary: #f0b800;
    --border: rgba(240, 184, 0, 0.18);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.60);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(240, 184, 0, 0.10), transparent 35%),
        radial-gradient(circle at right center, rgba(42, 85, 204, 0.18), transparent 30%),
        linear-gradient(135deg, var(--bg) 0%, #08153a 52%, var(--bg-accent) 100%);
    overflow: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 16px;
}

/* ── Services nav bar ── */
.services-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 20px;
    background: rgba(10, 31, 92, 0.80);
    border: 1px solid rgba(240, 184, 0, 0.25);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.services-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--secondary);
    white-space: nowrap;
    padding-right: 10px;
    border-right: 1px solid rgba(240, 184, 0, 0.25);
}

.services-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(240, 184, 0, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #d4e0ff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.service-btn:hover {
    background: rgba(240, 184, 0, 0.16);
    border-color: var(--secondary);
    color: var(--secondary);
}

.service-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #06112b;
}

.svc-icon {
    font-size: 1rem;
    line-height: 1;
}

/* ── Feedback box ── */
.feedback-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.feedback-qr img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 3px solid rgba(240, 184, 0, 0.70);
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.feedback-caption {
    margin: 0;
    font-size: 0.80rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}

.feedback-link {
    display: block;
    width: 100%;
    padding: 9px 0;
    border-radius: 999px;
    background: var(--secondary);
    color: #06112b;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(135deg, #0a1f5c, #06112b);
    border-color: rgba(240, 184, 0, 0.30);
    color: #fff;
    box-shadow: var(--shadow);
}

.eyebrow,
.section-tag,
.card-label,
.meta-label,
.video-badge {
    margin: 0 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.eyebrow,
.section-tag,
.meta-label {
    color: var(--secondary);
}

.hero-header .eyebrow,
.hero-header .meta-label {
    color: #f5d060;
}

.hero-header .hero-copy,
.hero-header .meta-card strong {
    color: rgba(255, 255, 255, 0.9);
}

.hero-header .meta-card {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-header h1,
.panel-heading h2,
.video-placeholder h3,
.announcement-card h3,
.process-list h3,
.mini-panel h3 {
    margin: 0;
}

.hero-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 0.95;
    color: #f5d060;
}

.ictu-logo {
    height: 120px;
    width: auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-copy {
    max-width: 58ch;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.hero-svc-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #f5d060;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.18s;
}

.hero-svc-link:hover {
    color: var(--secondary);
}

.hero-svc-sep {
    margin: 0 12px;
    color: rgba(240, 184, 0, 0.45);
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.meta-card,
.panel,
.announcement-card,
.mini-panel {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.meta-card {
    padding: 14px 16px;
    border-radius: 18px;
}

.meta-card strong {
    display: block;
    font-size: 0.92rem;
}

.clock-card strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: #f0b800;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.7fr);
    gap: 24px;
    min-height: 0;
}

.panel {
    border-radius: 28px;
    padding: 28px;
    min-height: 0;
}

.panel-process {
    background: linear-gradient(180deg, #0a1a3e, #06112b);
    overflow: auto;
}

.panel-announcements {
    background: linear-gradient(180deg, #0d1e4a, #06112b);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.panel-heading {
    margin-bottom: 22px;
}

.panel-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.process-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
}

.process-list p,
.announcement-card p,
.video-placeholder p,
.quick-links a {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.step-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #c9a020, #a07810);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.mini-panel {
    margin-top: 28px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(240, 184, 0, 0.08);
    border-color: rgba(240, 184, 0, 0.20);
}

.mini-panels-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.mini-panel h3 {
    text-align: center;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: #f5d060;
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(240, 184, 0, 0.12);
}

.contact-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--secondary);
}

.contact-item a,
.contact-item span:last-child {
    font-size: 0.88rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--secondary);
    text-decoration: underline;
}
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 12px;
}

.quick-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(240, 184, 0, 0.10);
    color: var(--secondary);
    font-weight: 600;
}

.video-placeholder {
    position: relative;
    min-height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(10, 31, 92, 0.15), rgba(10, 31, 92, 0.88)),
        url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80') center/cover;
}

.video-badge,
.card-label {
    color: #fef3c7;
}

.cta-button {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d4a820, #a07810);
    color: #fff;
    font-weight: 700;
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* ── Announcement Carousel ── */
.announcement-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    min-height: 0;
    flex: 1;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-track > * {
    min-width: 100%;
    box-sizing: border-box;
    height: 100%;
}

.carousel-slide-media {
    border-radius: 22px;
    overflow: hidden;
    min-height: 320px;
}

.carousel-slide-media .video-placeholder {
    min-height: 380px;
    height: 100%;
}

.carousel-slide-image {
    position: relative;
    min-height: 380px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-color: #0a1a3e;
}

.carousel-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px);
    transform: scale(1.05);
    z-index: 0;
    opacity: 0.6;
}

.carousel-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.carousel-image-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 32px;
    background: linear-gradient(180deg, rgba(6, 17, 43, 0.0), rgba(6, 17, 43, 0.85));
    color: #fff;
    border-radius: 0 0 22px 22px;
}

.carousel-image-overlay .card-label {
    color: #fef3c7;
}

.carousel-image-overlay h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
}

.carousel-image-overlay p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 31, 92, 0.85);
    border: 1px solid rgba(240, 184, 0, 0.35);
    color: var(--secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, border-color 0.18s;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(240, 184, 0, 0.18);
    border-color: var(--secondary);
}

.carousel-prev {
    left: 14px;
}

.carousel-next {
    right: 14px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(240, 184, 0, 0.25);
    cursor: pointer;
    transition: background 0.18s, transform 0.18s;
}

.carousel-dot.active {
    background: var(--secondary);
    transform: scale(1.15);
}

.announcement-card {
    padding: 22px;
    border-radius: 22px;
    background: #0a1a3e;
    border-color: rgba(240, 184, 0, 0.15);
}

.announcement-card.highlight {
    background: linear-gradient(135deg, #c9900a, #8a6200);
    border-color: rgba(240, 184, 0, 0.4);
    color: #fff;
}

.announcement-card.highlight p {
    color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 920px) {
    body {
        overflow: auto;
    }

    .hero-header,
    .dashboard-grid,
    .announcement-grid {
        grid-template-columns: 1fr;
    }

    .mini-panels-row {
        grid-template-columns: 1fr;
    }

    .hero-header {
        align-items: start;
        flex-direction: column;
        padding: 28px;
    }

    .header-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ictu-logo {
        height: 80px;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .page-shell {
        min-height: auto;
        grid-template-rows: auto auto auto;
    }

    .services-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-label {
        border-right: none;
        border-bottom: 1px solid rgba(240, 184, 0, 0.25);
        padding-right: 0;
        padding-bottom: 8px;
        width: 100%;
    }

    .panel-announcements {
        grid-template-rows: auto 1fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        padding: 12px;
        gap: 12px;
    }

    .hero-header,
    .panel {
        padding: 22px;
        border-radius: 22px;
    }

    .process-list li {
        grid-template-columns: 1fr;
    }

    .step-count {
        width: 48px;
        height: 48px;
    }

    .video-placeholder {
        min-height: 260px;
        padding: 24px;
    }
}

/* ════════════════════════════════════════
   Citizen's Charter Modal
════════════════════════════════════════ */
.charter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(6px);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.charter-overlay.open {
    display: flex;
}
.charter-modal {
    background: #0d1e4a;
    border: 1px solid rgba(240, 184, 0, 0.38);
    border-radius: 24px;
    padding: 40px;
    width: min(1200px, 95vw);
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
}
.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.modal-close-btn:hover {
    background: rgba(240, 184, 0, 0.22);
    border-color: var(--secondary);
    color: var(--secondary);
}
.charter-modal-header {
    margin-bottom: 18px;
    padding-right: 44px;
}
.modal-eyebrow {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
}
.charter-modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin: 0;
    color: #f5d060;
    line-height: 1.2;
}
.charter-meta-bar {
    display: flex;
    flex-wrap: wrap;
    background: rgba(240, 184, 0, 0.06);
    border: 1px solid rgba(240, 184, 0, 0.18);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
}
.charter-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 18px;
    flex: 1;
    border-right: 1px solid rgba(240, 184, 0, 0.14);
}
.charter-meta-item:last-child {
    border-right: none;
}
.charter-meta-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--secondary);
}
.charter-meta-item > span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}
.charter-modal-body {
    font-size: 1.15rem;
}
.modal-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--secondary);
    margin: 24px 0 12px;
    border-bottom: 1px solid rgba(240, 184, 0, 0.18);
    padding-bottom: 8px;
}
.modal-req-label {
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(240, 184, 0, 0.78);
    margin: 12px 0 6px;
    font-weight: 600;
}
.modal-req-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.modal-req-list li {
    font-size: 1.05rem;
    color: var(--text);
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(240, 184, 0, 0.50);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}
.modal-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(240, 184, 0, 0.15);
    margin-top: 4px;
}
.modal-steps-table {
    width: 100%;
    border-collapse: collapse;
}
.modal-steps-table th {
    padding: 12px 14px;
    text-align: left;
    background: rgba(240, 184, 0, 0.13);
    color: var(--secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.modal-steps-table td {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
    vertical-align: top;
    line-height: 1.6;
    font-size: 1.05rem;
}
.modal-steps-table td.step-num {
    text-align: center;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    width: 40px;
}
.modal-total-bar {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(240, 184, 0, 0.10);
    border: 1px solid rgba(240, 184, 0, 0.28);
    border-radius: 12px;
}
.modal-total-bar > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.modal-total-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--secondary);
}
.modal-total-bar strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: #f5d060;
}

/* ── Clickable process list items ── */
.charter-item {
    cursor: pointer;
    border-radius: 12px;
    padding: 8px;
    margin: -8px;
    transition: background 0.18s, transform 0.14s;
}
.charter-item:hover {
    background: rgba(240, 184, 0, 0.08);
    transform: translateX(4px);
}
.charter-item h3::after {
    content: ' \203A';
    font-size: 0.85rem;
    color: rgba(240, 184, 0, 0.45);
    transition: color 0.18s;
}
.charter-item:hover h3::after {
    color: var(--secondary);
}

/* ── Panel hint text ── */
.panel-hint {
    font-size: 0.72rem;
    color: var(--muted);
    margin: 3px 0 0;
    font-style: italic;
    opacity: 0.8;
}

/* ── GAD Modal Media ── */
.gad-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(240, 184, 0, 0.18);
    margin-bottom: 18px;
    background: #000;
}

.gad-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gad-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.gad-gallery-item {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: 1px solid rgba(240, 184, 0, 0.18);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s, border-color 0.18s;
}

.gad-gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--secondary);
}

.gad-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(240, 184, 0, 0.18);
    margin-bottom: 18px;
    background: #000;
}

.gad-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gad-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d4a820, #a07810);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 18px;
    transition: background 0.18s, transform 0.14s;
}

.gad-portal-btn:hover {
    background: linear-gradient(135deg, #f0b800, #c9900a);
    transform: translateY(-2px);
}

.org-structure-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(240, 184, 0, 0.18);
    margin: 0 auto;
}

/* ── GAD Gallery Carousel ── */
.gad-carousel {
    position: relative;
    width: 100%;
    height: 320px;
    margin-bottom: 18px;
    perspective: 1200px;
    overflow: visible;
}

.gad-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.gad-carousel-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 280px;
    height: 100%;
    margin-left: -140px;
    border-radius: 20px;
    border: 3px solid rgba(240, 184, 0, 0.25);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.gad-carousel-card.active {
    transform: translateX(0) translateZ(0) rotateY(0deg);
    border-color: var(--secondary);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(240, 184, 0, 0.25);
    z-index: 3;
}

.gad-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 31, 92, 0.9);
    border: 1px solid rgba(240, 184, 0, 0.4);
    color: var(--secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, border-color 0.18s;
    z-index: 10;
}

.gad-carousel-btn:hover {
    background: rgba(240, 184, 0, 0.2);
    border-color: var(--secondary);
}

.gad-prev {
    left: -20px;
}

.gad-next {
    right: -20px;
}

/* ── CSPC Systems Modal ── */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.system-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(240, 184, 0, 0.18);
    background: rgba(10, 31, 92, 0.6);
    color: var(--text);
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, transform 0.14s;
}

.system-card:hover {
    background: rgba(240, 184, 0, 0.10);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.system-icon {
    font-size: 2rem;
    line-height: 1;
}

.system-card h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: #f5d060;
}

.system-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.system-link {
    margin-top: auto;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
    letter-spacing: 0.04em;
}