/* ========================================
   ACOA – County Devolution Excellence Awards
   Complete Enhanced Stylesheet
   ======================================== */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0b2a41;
    --primary-medium: #1a3d5a;
    --primary-light: #2a5070;
    --gold: #c9a84c;
    --gold-light: #e8c969;
    --gold-pale: #f5edc8;
    --gold-gradient: linear-gradient(135deg, #c9a84c, #e8c969);
    --text-dark: #1e2a3a;
    --text-medium: #2d4055;
    --text-light: #4a5b6e;
    --text-muted: #7a8a9e;
    --bg-white: #ffffff;
    --bg-light: #f8f9fb;
    --bg-gray: #f2f4f7;
    --border-light: #e8ecf1;
    --border-medium: #d6dce3;
    --shadow-sm: 0 2px 8px rgba(11, 42, 65, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 42, 65, 0.10);
    --shadow-lg: 0 16px 48px rgba(11, 42, 65, 0.14);
    --shadow-xl: 0 24px 64px rgba(11, 42, 65, 0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--gold);
    color: var(--primary-dark);
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.text-gold {
    color: var(--gold);
}
.text-center {
    text-align: center;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   DEADLINE BANNER
   ======================================== */
.deadline-banner {
    background: var(--primary-dark);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    border-bottom: 3px solid var(--gold);
    transition: background 0.4s, border-color 0.4s;
    position: relative;
    z-index: 1001;
}

.deadline-banner i {
    color: var(--gold-light);
    margin-right: 8px;
}

.deadline-banner strong {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 2px 16px;
    border-radius: 20px;
    font-weight: 700;
    margin: 0 4px;
}

.deadline-banner .banner-icon {
    display: inline-block;
    animation: pulse-icon 2s ease-in-out infinite;
}

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

.deadline-banner.warning {
    background: #8b1a1a;
    border-color: #ff6b6b;
}

.deadline-banner.warning strong {
    background: #ff6b6b;
    color: #1a1a1a;
    animation: pulse-warning 1.5s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    background: var(--bg-white);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.4s, padding 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ===== LOGO IMAGE STYLES ===== */
.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    background: var(--primary-dark);
    padding: 4px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-text span {
    color: var(--gold);
    font-weight: 300;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.2px;
    margin-top: -2px;
}

.nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    flex-wrap: wrap;
    gap: 12px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.tagline .dot {
    color: var(--gold);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 500;
    color: var(--text-dark);
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    padding: 4px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a.active {
    color: var(--gold);
    font-weight: 600;
}

.nav-cta {
    background: var(--primary-dark);
    color: white !important;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-medium) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 42, 65, 0.25);
}

.nav-cta i {
    transition: transform 0.3s;
}

.nav-cta:hover i {
    transform: translateX(4px);
}

.nav-cta.active {
    background: var(--primary-medium);
    color: white !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.3s;
}

.hamburger:hover {
    color: var(--gold);
}

/* ========================================
   HERO CAROUSEL
   ======================================== */
.hero {
    position: relative;
    overflow: hidden;
    height: 80vh;
    min-height: 480px;
    max-height: 700px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 42, 65, 0.7) 0%, rgba(11, 42, 65, 0.3) 100%);
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 48px;
    color: white;
    animation: fadeSlideUp 1s ease forwards;
}

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

.carousel-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.carousel-content h1 span {
    color: var(--gold-light);
    position: relative;
}

.carousel-content .hero-sub {
    font-size: 1.15rem;
    max-width: 560px;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
}

.hero-cta i {
    transition: transform 0.3s;
}

.hero-cta:hover i {
    transform: translateX(4px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 20px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    z-index: 10;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
    left: 24px;
}
.carousel-btn.next {
    right: 24px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dots span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.carousel-dots span:hover {
    background: rgba(255, 255, 255, 0.6);
}

.carousel-dots span.active {
    background: var(--gold);
    transform: scale(1.25);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    margin-top: 10px;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.section-title:hover::after {
    width: 80px;
}

.section-sub {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 720px;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ========================================
   CATEGORIES
   ======================================== */
.categories {
    padding: 64px 0 56px;
    background: var(--bg-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 18px;
}

.category-card {
    background: var(--bg-light);
    padding: 24px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUpStagger 0.6s ease forwards;
}

@keyframes fadeUpStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card:nth-child(1) {
    animation-delay: 0.04s;
}
.category-card:nth-child(2) {
    animation-delay: 0.08s;
}
.category-card:nth-child(3) {
    animation-delay: 0.12s;
}
.category-card:nth-child(4) {
    animation-delay: 0.16s;
}
.category-card:nth-child(5) {
    animation-delay: 0.20s;
}
.category-card:nth-child(6) {
    animation-delay: 0.24s;
}
.category-card:nth-child(7) {
    animation-delay: 0.28s;
}
.category-card:nth-child(8) {
    animation-delay: 0.32s;
}
.category-card:nth-child(9) {
    animation-delay: 0.36s;
}
.category-card:nth-child(10) {
    animation-delay: 0.40s;
}

.category-card:hover {
    background: var(--bg-white);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.category-card i {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: inline-block;
    transition: transform 0.3s;
}

.category-card:hover i {
    transform: scale(1.1) rotate(-4deg);
}

.category-card h4 {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ========================================
   PROCESS
   ======================================== */
.process-section {
    background: var(--bg-gray);
    padding: 64px 0 56px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0 12px;
}

.step {
    flex: 1 1 160px;
    background: var(--bg-white);
    padding: 24px 18px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step .num {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 2px;
}

.step h5 {
    font-weight: 600;
    margin: 4px 0 4px;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.step p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

.integrity-box {
    background: var(--primary-dark);
    color: white;
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin: 36px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.integrity-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(201, 168, 76, 0.05);
    border-radius: 50%;
}

.integrity-box h4 {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.integrity-box h4 i {
    color: var(--gold-light);
}

.integrity-box p {
    max-width: 600px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.integrity-badge {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.integrity-badge:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.integrity-badge i {
    margin-right: 6px;
}

/* ========================================
   MEDIA SECTION
   ======================================== */
.media-section {
    padding: 64px 0 56px;
    background: var(--bg-white);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 18px;
}

.media-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.media-card .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--primary-dark);
    overflow: hidden;
}

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

.media-card .media-info {
    padding: 18px 22px 22px;
}

.media-card .media-info h4 {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.media-card .media-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ========================================
   NETWORK SECTION - CENTERED FOR SINGLE PROFILE
   ======================================== */
.network-section {
    padding: 64px 0 56px;
    background: var(--bg-gray);
}

.network-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 18px;
}

.network-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    max-width: 200px;
    flex: 0 1 auto;
}

.network-item:hover {
    transform: translateY(-8px);
}

.network-item .avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto;
}

.network-item img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.network-item:hover img {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.network-item .avatar-wrapper::after {
    content: '\f0ac';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: var(--gold);
    color: var(--primary-dark);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    border: 2px solid var(--bg-white);
}

.network-item:hover .avatar-wrapper::after {
    opacity: 1;
    transform: scale(1);
}

.network-item .network-name {
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 12px;
    font-size: 0.95rem;
}

.network-item .network-title {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   NETWORK POPUP MODAL
   ======================================== */
.network-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.network-modal-overlay.active {
    display: flex;
}

.network-modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    padding: 40px 36px;
    position: relative;
    animation: modalSlideIn 0.4s ease;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.network-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}

.network-modal-close:hover {
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.network-modal-content img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.2);
}

.network-modal-content h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.network-modal-content .modal-title {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.network-modal-content .modal-bio {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   GOVERNANCE
   ======================================== */
.governance {
    padding: 64px 0 56px;
    background: var(--bg-white);
}

.gov-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    margin: 24px 0;
}

.gov-card {
    background: var(--bg-light);
    padding: 24px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.gov-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.gov-card h4 {
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.gov-card h4 i {
    color: var(--gold);
    font-size: 1.3rem;
}

.gov-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   PARTNERS WITH LOGOS
   ======================================== */
.partners {
    background: var(--bg-gray);
    padding: 48px 0 44px;
    border-top: 1px solid var(--border-light);
}

.partners .section-title {
    text-align: center;
}

.partners .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.partners .section-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 50px;
    align-items: center;
    justify-content: center;
    margin: 24px 0 8px;
}

.partner-item {
    background: var(--bg-white);
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 80px;
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.partner-logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0);
    transform: scale(1.05);
}

.partners .partner-note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.partners .partner-note i {
    color: var(--gold);
    margin-right: 8px;
}

/* ========================================
   PAGE HERO (About, Contact, Nominate)
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 64px 0 52px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(201, 168, 76, 0.06);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(201, 168, 76, 0.04);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.page-hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 12px auto 0;
    border-radius: 4px;
}

.page-hero .page-hero-sub {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 12px auto 0;
    position: relative;
    z-index: 1;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-content {
    padding: 64px 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.about-main h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-top: 32px;
    margin-bottom: 12px;
}

.about-main h2:first-of-type {
    margin-top: 0;
}

.about-main h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gold-gradient);
    margin-top: 6px;
    border-radius: 4px;
}

.about-main p {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 16px 0 24px;
}

.value-item {
    background: var(--bg-light);
    padding: 22px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.value-item i {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
}

.value-item h4 {
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-size: 1rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-gray);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 8px;
    line-height: 1.6;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card ul li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
    padding-left: 24px;
    position: relative;
}

.sidebar-card ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 10px;
    border: 1px solid var(--border-medium);
    transition: all 0.3s ease;
}

.download-btn:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.download-btn i {
    color: var(--gold);
    font-size: 1.2rem;
}

.download-btn:last-child {
    margin-bottom: 0;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-content {
    padding: 64px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.3s;
}

.contact-item:hover {
    background: var(--bg-light);
}

.contact-item i {
    color: var(--gold);
    font-size: 1.4rem;
    width: 32px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

/* ========================================
   NOMINATE PAGE
   ======================================== */
.nominate-content {
    padding: 64px 0;
    background: var(--bg-white);
}

.nominate-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
}

.nominate-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--gold);
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
}

.info-card ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.info-card ul li:last-child {
    border-bottom: none;
}

.nominate-form-wrapper {
    background: var(--bg-light);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nominate-form h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.nominate-form .form-sub {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ========================================
   FORM ELEMENTS (Shared)
   ======================================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group small {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.form-group small i {
    margin-right: 4px;
    color: var(--gold);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--gold);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-medium);
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
}

.submit-btn {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--primary-medium);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 42, 65, 0.25);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.form-feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    display: none;
    font-weight: 500;
}

.form-feedback.success {
    display: block;
    background: #e6f7e6;
    color: #1a6b1a;
    border: 1px solid #b3e0b3;
}

.form-feedback.error {
    display: block;
    background: #fde8e8;
    color: #8b1a1a;
    border: 1px solid #f5c6c6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: #d3dce6;
    padding: 40px 0 28px;
    border-top: 4px solid var(--gold);
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

.footer-col {
    flex: 1 1 180px;
}

.footer-col h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-col h5::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    margin-top: 6px;
}

.footer-col p,
.footer-col a {
    color: #b0c4d8;
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-col a i {
    margin-right: 6px;
    color: var(--gold-light);
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 32px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #8aa0b5;
}

.footer-bottom span {
    color: var(--gold-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid,
    .nominate-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .carousel-content h1 {
        font-size: 2.8rem;
    }

    .hero {
        height: 70vh;
    }

    .page-hero h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .nav-header {
        flex-wrap: wrap;
    }

    .nav-bottom {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 16px;
        border-top: 1px solid var(--border-light);
    }

    .nav-bottom.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        align-items: stretch;
    }

    .nav-links a {
        padding: 8px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 4px;
    }

    .tagline {
        margin-bottom: 8px;
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
    }

    .logo-image {
        width: 38px;
        height: 38px;
        padding: 3px;
    }

    .logo-text {
        font-size: 1.05rem;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-content {
        padding: 0 24px;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content .hero-sub {
        font-size: 1rem;
    }

    .carousel-btn {
        padding: 10px 14px;
        font-size: 1rem;
        width: 44px;
        height: 44px;
    }

    .carousel-btn.prev {
        left: 12px;
    }
    .carousel-btn.next {
        right: 12px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .integrity-box {
        flex-direction: column;
        text-align: center;
        gap: 18px;
        padding: 28px 24px;
    }

    .integrity-box p {
        max-width: 100%;
    }

    .integrity-badge {
        white-space: normal;
    }

    .gov-grid {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .network-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }

    .network-item .avatar-wrapper,
    .network-item img {
        width: 100px;
        height: 100px;
    }

    .contact-form-wrapper,
    .nominate-form-wrapper {
        padding: 24px 18px;
    }

    .page-hero {
        padding: 48px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .footer-flex {
        flex-direction: column;
        gap: 24px;
    }

    .footer-col {
        flex: 1 1 auto;
    }

    .network-modal {
        padding: 28px 20px;
    }

    .network-modal-content img {
        width: 110px;
        height: 110px;
    }

    .nominate-grid {
        grid-template-columns: 1fr;
    }

    /* Partner logos responsive */
    .partner-item {
        min-width: 110px;
        min-height: 65px;
        padding: 12px 18px;
    }
    
    .partner-logo {
        max-width: 110px;
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .deadline-banner {
        font-size: 0.75rem;
        padding: 8px 12px;
        letter-spacing: 0.1px;
    }

    .deadline-banner strong {
        padding: 1px 10px;
    }

    .logo-image {
        width: 32px;
        height: 32px;
        padding: 3px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-sub {
        font-size: 0.55rem;
    }

    .carousel-content h1 {
        font-size: 1.6rem;
    }

    .carousel-content .hero-sub {
        font-size: 0.9rem;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero {
        height: 50vh;
        min-height: 340px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-sub {
        font-size: 0.95rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .process-steps .step {
        flex: 1 1 100%;
    }

    .network-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .network-item .avatar-wrapper,
    .network-item img {
        width: 80px;
        height: 80px;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .page-hero .page-hero-sub {
        font-size: 0.95rem;
    }

    .contact-item {
        padding: 8px 0;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .modal {
        padding: 24px 16px;
    }

    .network-modal-content img {
        width: 90px;
        height: 90px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }

    /* Partner logos responsive mobile */
    .partner-logos {
        gap: 16px;
    }
    
    .partner-item {
        min-width: 80px;
        min-height: 55px;
        padding: 10px 14px;
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
    
    .partner-logo {
        max-width: 80px;
        max-height: 35px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .deadline-banner,
    .footer,
    .carousel-btn,
    .hamburger {
        display: none !important;
    }

    .hero {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 40px 0;
    }

    .carousel-slide {
        position: relative !important;
        opacity: 1 !important;
        background-image: none !important;
        background-color: var(--primary-dark) !important;
        padding: 40px 0;
    }

    .carousel-content {
        padding: 0 !important;
        color: black !important;
    }

    .carousel-content h1 {
        color: var(--primary-dark) !important;
    }

    .page-hero {
        background: var(--primary-dark) !important;
        padding: 40px 0 !important;
    }

    .category-card,
    .step,
    .gov-card,
    .info-card,
    .sidebar-card {
        break-inside: avoid;
        box-shadow: none !important;
        border-color: #ddd !important;
    }

    .integrity-box {
        background: #f5f5f5 !important;
        color: var(--text-dark) !important;
        border: 1px solid #ddd !important;
    }

    .integrity-box h4 i {
        color: var(--gold) !important;
    }

    .integrity-badge {
        background: var(--gold) !important;
        color: white !important;
    }

    .network-modal-overlay {
        display: none !important;
    }
}