/* ============================================================
   Sustainable Energy Centre (SEC) - Bolgatanga Technical University
   Mobile-First Responsive Stylesheet
   School Colors: #1e3a8a (Deep Blue), #3b82f6 (Bright Blue)
   ============================================================ */

:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --accent: #10b981;
    --accent-dark: #059669;
    --gold: #f59e0b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== SKIP LINK ========== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    z-index: 9999;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--primary);
    transition: box-shadow var(--transition);
}
header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-area img {
    height: 55px;
    width: auto;
}

.logo-text {
    line-height: 1.2;
}

.logo-text h2 {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== Desktop Navigation ===== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.05);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.08);
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.7rem;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    z-index: 100;
    list-style: none;
    border: 1px solid var(--border);
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu {
    display: block;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 0;
}

/* ===== Hamburger Button ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Mobile Nav Overlay ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.nav-overlay.open {
    display: block;
    opacity: 1;
}

/* ===== Mobile Nav Drawer ===== */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-white);
    z-index: 1060;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.nav-drawer.open {
    right: 0;
}

.nav-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.nav-drawer-header span {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.nav-drawer-close {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
}

.nav-drawer-close:hover {
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
}

.nav-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list > li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus {
    background: rgba(30, 58, 138, 0.04);
    color: var(--primary);
}

.mobile-nav-list a.active {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.06);
    border-left: 3px solid var(--primary);
}

.mobile-nav-list .mobile-dropdown-toggle {
    cursor: pointer;
}

.mobile-nav-list .mobile-dropdown-toggle::after {
    content: '▾';
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.mobile-nav-list .mobile-dropdown-toggle.open::after {
    transform: rotate(180deg);
    color: var(--primary);
}

.mobile-nav-list .mobile-submenu {
    display: none;
    list-style: none;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.mobile-nav-list .mobile-submenu.open {
    display: block;
}

.mobile-nav-list .mobile-submenu a {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 20px 12px 35px;
    color: var(--text-medium);
}

.mobile-nav-list .mobile-submenu a:hover {
    color: var(--primary);
}

.nav-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    text-align: center;
}

.nav-drawer-footer .btn-drawer-cta {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    transition: all var(--transition);
}

.nav-drawer-footer .btn-drawer-cta:hover {
    background: var(--primary-dark);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero h2 {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: #fff;
    color: var(--primary);
}
.btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* ========== SECTION STYLES ========== */
.section {
    padding: 70px 20px;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    background: rgba(30,58,138,0.08);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ========== ABOUT SECTION (Home) ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-text .highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.highlight-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 3px solid var(--primary-light);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
}

/* ========== VISION & MISSION CARDS ========== */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: block;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.card p, .card ul {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ========== PILLARS SECTION ========== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pillar-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border-top: 4px solid var(--primary);
}

.pillar-card:nth-child(2) {
    border-top-color: var(--accent);
}

.pillar-card:nth-child(3) {
    border-top-color: var(--gold);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pillar-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pillar-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.pillar-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========== OBJECTIVES GRID ========== */
.objectives-grid {
    display: grid;
    gap: 16px;
    counter-reset: obj-counter;
}

.objective-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border-left: 4px solid transparent;
}

.objective-item:hover {
    border-left-color: var(--primary);
    box-shadow: var(--shadow);
}

.objective-num {
    background: var(--primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.objective-content {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========== TEAM CARDS ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 35px 25px;
    text-align: center;
    color: #fff;
}

.team-card-header .avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 3px solid rgba(255,255,255,0.5);
    overflow: hidden;
}
.team-card-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card-header h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-card-header .role {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.team-card-body {
    padding: 22px;
}

.team-card-body p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 8px;
    line-height: 1.6;
}

.team-card-body .meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.team-card-body .contact-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 5px;
    transition: color var(--transition);
}

.team-card-body .contact-link:hover {
    color: var(--primary-light);
}

/* ========== ORGANOGRAM ========== */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.org-node {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary);
    max-width: 350px;
    position: relative;
}

.org-node.director {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(135deg, #fff, rgba(30,58,138,0.03));
}

.org-node h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.org-node p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.org-connector {
    width: 3px;
    height: 30px;
    background: var(--primary-light);
}

.org-branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.org-branch {
    text-align: center;
}

.org-branch .org-node {
    margin: 0 auto;
}

.org-branch .org-connector {
    margin: 0 auto;
    height: 20px;
}

.org-sub-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.org-sub-node {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 12px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========== COURSES / ACTIVITIES TABLE ========== */
.activity-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
}

.activity-table thead {
    background: var(--primary);
    color: #fff;
}

.activity-table th {
    padding: 16px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-medium);
}

.activity-table tbody tr {
    transition: background var(--transition);
}

.activity-table tbody tr:hover {
    background: rgba(30,58,138,0.03);
}

.activity-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

/* ========== KPI TABLE ========== */
.kpi-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.kpi-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
}

.kpi-table thead {
    background: var(--primary-dark);
    color: #fff;
}

.kpi-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
}

.kpi-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-medium);
}

.kpi-table tbody tr:hover {
    background: rgba(30,58,138,0.03);
}

/* ========== PUBLICATIONS LIST ========== */
.pub-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pub-item {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: all var(--transition);
}

.pub-item:hover {
    box-shadow: var(--shadow);
    border-left-color: var(--primary-light);
}

.pub-item .pub-authors {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.pub-item .pub-year {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.pub-item .pub-title {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-style: italic;
    margin: 4px 0;
}

.pub-item .pub-journal {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.pub-item .pub-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 6px;
    word-break: break-all;
}

.pub-item .pub-link:hover {
    text-decoration: underline;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-list h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.contact-info-list p, .contact-info-list a {
    font-size: 0.9rem;
    color: var(--text-medium);
    text-decoration: none;
}

.contact-info-list a:hover {
    color: var(--primary);
}

.contact-form-wrap {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

/* ========== PARTNERS SECTION ========== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.partner-category {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.partner-category h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    font-weight: 700;
}

.partner-category ul {
    list-style: none;
}

.partner-category ul li {
    padding: 6px 0;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: var(--radius-lg);
    margin: 0 20px;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    background: var(--bg-white);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: var(--text-muted);
    margin: 0 8px;
}

.breadcrumb-nav .current {
    color: var(--text-medium);
}

/* ========== PAGE HERO (Inner Pages) ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* ========== PROFILE DETAIL ========== */
.profile-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 40px 30px;
    text-align: center;
}

.profile-header .profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid rgba(255,255,255,0.5);
    overflow: hidden;
}
.profile-header .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-header h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.profile-header .profile-role {
    opacity: 0.9;
    font-size: 1rem;
}

.profile-body {
    padding: 30px;
}

.profile-body h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.profile-body h3:first-child {
    margin-top: 0;
}

.profile-body p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.profile-body ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========== FOOTER ========== */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 20px 0;
    margin-top: 50px;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    font-size: 0.8rem;
    color: #64748b;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========== RESPONSIVE - MOBILE FIRST (already base) ========== */

/* Medium screens */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav-links a {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
}

/* Small screens - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero h2 {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .vm-grid,
    .pillars-grid,
    .team-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text .highlights {
        grid-template-columns: 1fr;
    }
    
    .org-branches {
        grid-template-columns: 1fr;
    }
    
    .org-sub-nodes {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .profile-header {
        padding: 30px 20px;
    }
    
    .profile-body {
        padding: 20px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .logo-area img {
        height: 40px;
    }
    
    .logo-text h2 {
        font-size: 0.85rem;
    }
    
    .logo-text span {
        font-size: 0.65rem;
    }
    
    .hero {
        padding: 35px 0;
    }
    
    .hero h1 {
        font-size: 1.35rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .org-sub-nodes {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 20px;
    }
    
    .cta-banner h2 {
        font-size: 1.4rem;
    }
    
    .kpi-table, .activity-table {
        font-size: 0.75rem;
    }
    
    .kpi-table th, .kpi-table td,
    .activity-table th, .activity-table td {
        padding: 10px;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    header, footer, .back-to-top, .hero-buttons, .cta-banner {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section {
        padding: 20px 0;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-5 { animation-delay: 0.5s; opacity: 0; }