/**
 * Main CSS
 * Embassy of Liberia WordPress Theme
 */

/* CSS Variables - Define at the root level */
:root {
    --primary-blue: #0b2d4b;
    --primary-red: #b31b2c;
    --gold: #c9a84c;
    --text-dark: #1e1e2a;
    --text-muted: #5a5a72;
    --bg-light: #f4f6fa;
    --bg-white: #ffffff;
    --border-light: #e2e6ee;
    --shadow-sm: 0 4px 16px rgba(11,45,75,0.06);
    --shadow-md: 0 8px 32px rgba(11,45,75,0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Rest of your CSS... */
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--primary-red);
}

img {
    display: block;
    max-width: 100%;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -200%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: rgba(255,255,255,0.8);
    padding: 6px 0;
    font-size: 0.7rem;
    border-bottom: 2px solid var(--gold);
}
.top-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 4px 12px;
}
.top-bar .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}
.top-bar .contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}
.top-bar a {
    color: rgba(255,255,255,0.75);
}
.top-bar a:hover {
    color: white;
}

/* Site Header */
.site-header {
    background: white;
    padding: 14px 0 10px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.header-brand .logo-img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(11,45,75,0.08));
    transition: transform 0.25s;
}
.header-brand .logo-img:hover {
    transform: scale(1.04);
}
.header-brand .brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.header-brand .brand-text small {
    display: block;
    font-weight: 400;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.header-buttons {
    display: flex;
    gap: 8px;
}
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--primary-blue);
    color: white;
    transition: all 0.2s;
}
.header-btn:hover {
    background: #0a2340;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11,45,75,0.2);
}
.header-social {
    display: flex;
    gap: 6px;
    padding-left: 10px;
    border-left: 1px solid var(--border-light);
}
.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: all 0.2s;
}
.header-social a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 9999;
}
.lang-dropdown .lang-toggle {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.lang-dropdown .lang-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
}
.lang-dropdown .lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    min-width: 130px;
    overflow: hidden;
    z-index: 100000;
}
.lang-dropdown .lang-menu.open {
    display: block;
}
.lang-dropdown .lang-menu button {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.15s;
    color: var(--text-dark);
}
.lang-dropdown .lang-menu button:hover {
    background: var(--bg-light);
}
.lang-dropdown .lang-menu button.active {
    background: var(--bg-light);
    color: var(--primary-red);
    font-weight: 600;
}

/* Main Navigation */
.main-nav {
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    border-bottom: 1px solid var(--border-light);
}
.main-nav .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    min-height: 48px;
}
.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    position: relative;
}
.nav-menu > li > a {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.8rem;
    padding: 12px 16px;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    opacity: 0.8;
}
.nav-menu > li > a:hover {
    background: var(--bg-light);
    border-bottom-color: var(--primary-red);
    opacity: 1;
}
.nav-menu > li > a.active {
    border-bottom-color: var(--primary-red);
    opacity: 1;
    font-weight: 600;
}
.nav-menu .btn-nav {
    background: var(--primary-red);
    color: white !important;
    border-radius: 30px;
    margin-left: 6px;
    padding: 8px 20px;
    font-weight: 600;
    opacity: 1;
    border-bottom: none;
}
.nav-menu .btn-nav:hover {
    background: #9e1624;
}
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    margin-left: auto;
    color: var(--text-dark);
}
.menu-toggle:hover {
    color: var(--primary-red);
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 6px 0;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    border-top: none;
    list-style: none;
    z-index: 200;
}
.submenu li {
    display: block;
}
.submenu a {
    display: block;
    padding: 6px 20px;
    color: var(--text-dark);
    font-size: 0.78rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.submenu a:hover {
    background: var(--bg-light);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
}
.has-submenu:hover .submenu {
    display: block;
}
.has-submenu:hover > .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 520px;
    background: var(--primary-blue);
    border-bottom: 3px solid var(--gold);
}
.hero-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s, transform 0.7s;
    transform: scale(1.02);
}
.hero-slide.active {
    display: block;
    position: relative;
    opacity: 1;
    transform: scale(1);
    animation: heroZoom 0.7s ease forwards;
}
@keyframes heroZoom {
    from {
        opacity: 0;
        transform: scale(1.06);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(11,45,75,0.65) 0%, rgba(11,45,75,0.25) 100%);
    z-index: 1;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.hero-slide-content {
    padding: 30px 0;
    width: 100%;
}
.hero-slide-text {
    max-width: 640px;
    color: white;
}
.hero-slide-text .badge {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-blue);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}
.hero-slide-text h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.hero-slide-text p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.6;
}
.hero-slide-text .btn-hero {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.hero-slide-text .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(6px);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.06);
}
.hero-slider-btn.prev-hero {
    left: 16px;
}
.hero-slider-btn.next-hero {
    right: 16px;
}
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.15);
    z-index: 10;
}
.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gold);
    transition: width 0.1s linear;
}
.hero-progress-bar.active {
    animation: progressBar 6s linear forwards;
}
@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dots .dot-hero {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: 0.25s;
    padding: 0;
}
.hero-dots .dot-hero.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* President Grid */
.president-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: -20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}
.president-item {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.president-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}
.president-item .leader-avatar {
    width: 100%;
    aspect-ratio: 689 / 886;
    overflow: hidden;
    background: var(--bg-light);
}
.president-item .leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.president-item:hover .leader-avatar img {
    transform: scale(1.04);
}
.president-item .info {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.president-item .info .name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-blue);
}
.president-item .info .title {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
}
.president-item .info .role {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.president-item .btn-read-more {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 4px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.65rem;
    width: fit-content;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.president-item .btn-read-more:hover {
    background: var(--primary-red);
    box-shadow: 0 4px 12px rgba(179,27,44,0.25);
}
.president-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

/* Ambassador Widget */
.ambassador-widget {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin: 24px 0 32px;
}
.ambassador-widget-image {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-blue);
    aspect-ratio: 689 / 886;
}
.ambassador-widget-image .ambassador-widget-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11,45,75,0.5) 0%, rgba(11,45,75,0.1) 100%);
}
.ambassador-widget-image .ambassador-widget-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--primary-blue);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    z-index: 2;
}
.ambassador-widget-content {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ambassador-widget-content h2 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 2px;
}
.ambassador-widget-content .ambassador-widget-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}
.ambassador-widget-content .ambassador-widget-bio {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.ambassador-widget-content .ambassador-widget-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 14px;
}
.ambassador-widget-content .ambassador-widget-credentials span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    background: var(--bg-light);
    padding: 3px 12px;
    border-radius: 30px;
    border-left: 2px solid var(--gold);
    color: var(--text-dark);
}
.btn-ambassador-read {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 8px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    width: fit-content;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}
.btn-ambassador-read:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179,27,44,0.25);
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(145deg, #fef5f4 0%, #fde8e6 100%);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin: 16px 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(179,27,44,0.12);
}
.emergency-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
}
.emergency-section .emergency-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.8rem;
}
.emergency-section .emergency-numbers a {
    color: var(--primary-blue);
    text-decoration: underline;
}
.emergency-section .emergency-numbers a:hover {
    color: var(--primary-red);
}

/* Section Title */
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 28px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 16px 0 28px;
}
.service-card {
    background: white;
    padding: 24px 18px 26px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.service-card .service-icon {
    font-size: 1.8rem;
    color: var(--primary-blue);
    background: var(--bg-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: 0.3s;
}
.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: white;
}
.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 12px;
}
.service-card .service-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary-blue);
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}
.service-card .service-btn:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

/* Service Tools */
.service-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 16px 0 28px;
}
.tool-box {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}
.tool-box:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}
.tool-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}
.tool-box h4 i {
    color: var(--gold);
}
.tool-box p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.tool-box .btn-tool {
    background: var(--primary-blue);
    color: white;
    padding: 6px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.tool-box .btn-tool:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* Diaspora Section */
.diaspora-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 24px 0 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.diaspora-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
}
.diaspora-header i {
    color: var(--gold);
    font-size: 1.2rem;
}
.diaspora-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.diaspora-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.diaspora-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid var(--border-light);
}
.diaspora-card .card-icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 4px;
}
.diaspora-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.diaspora-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.diaspora-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}
.diaspora-features span {
    background: white;
    padding: 2px 12px;
    border-radius: 30px;
    font-size: 0.65rem;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
}
.btn-diaspora {
    background: var(--primary-blue);
    color: white;
    padding: 5px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.btn-diaspora:hover {
    background: var(--primary-red);
}
.diaspora-connect {
    background: linear-gradient(145deg, var(--primary-blue) 0%, #0d2640 100%);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.diaspora-connect h4 {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.diaspora-connect h4 i {
    color: var(--gold);
}
.diaspora-connect p {
    opacity: 0.9;
    font-size: 0.82rem;
    line-height: 1.6;
}
.connect-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.connect-links a {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    padding: 3px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    transition: 0.2s;
}
.connect-links a:hover {
    background: rgba(255,255,255,0.18);
    color: white;
}

/* News Room */
.news-room {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 28px 28px;
    margin: 24px 0 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.news-room .news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
}
.news-room .news-header i {
    color: var(--gold);
    font-size: 1.2rem;
}
.news-room .news-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.news-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}
.news-slide.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0.6;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.news-slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.news-slide-image {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    min-height: 160px;
    border: 1px solid var(--border-light);
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
}
.news-slide-text .news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3;
}
.news-slide-text .news-meta {
    display: flex;
    gap: 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.news-slide-text .news-meta i {
    color: var(--gold);
    margin-right: 2px;
}
.news-slide-text .news-excerpt {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}
.news-slide-text .btn-read {
    background: var(--primary-blue);
    color: white;
    padding: 5px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    width: fit-content;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}
.news-slide-text .btn-read:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}
.news-slider-container {
    position: relative;
}
.news-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--primary-blue);
    border: 1px solid var(--border-light);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.news-slider-btn:hover {
    background: var(--primary-blue);
    color: white;
}
.news-slider-btn.prev-news {
    left: -12px;
}
.news-slider-btn.next-news {
    right: -12px;
}
.news-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.news-dots .dot-news {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: 0.25s;
    padding: 0;
}
.news-dots .dot-news.active {
    background: var(--gold);
    transform: scale(1.2);
}
.news-counter {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Culture Banner */
.culture-banner {
    background: linear-gradient(145deg, #f0f3f8 0%, #e4eaf2 100%);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 20px 0 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border-light);
}
.culture-banner h2 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
}
.culture-banner h2 i {
    color: var(--gold);
}
.culture-banner p {
    max-width: 400px;
    opacity: 0.8;
    margin: 2px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.culture-banner .btn-light {
    background: var(--primary-blue);
    color: white;
    padding: 8px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: var(--shadow-sm);
}
.culture-banner .btn-light:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    color: var(--primary-blue);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.06);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: rgba(255,255,255,0.8);
    padding: 32px 0 20px;
    margin-top: 16px;
    border-top: 3px solid var(--gold);
}
.footer-divider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 24px;
}
.footer-divider .divider-line {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.08);
}
.footer-divider .divider-logo {
    position: absolute;
    background: var(--primary-blue);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.footer-divider .divider-logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.footer .footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 8px;
}
.footer .brand-column .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.footer .brand-column .footer-logo img {
    height: 24px;
    width: auto;
}
.footer .brand-column .footer-address {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    line-height: 1.8;
}
.footer .brand-column .footer-address i {
    width: 18px;
    color: var(--gold);
}
.footer .brand-column .footer-address a {
    color: rgba(255,255,255,0.7);
}
.footer .brand-column .footer-address a:hover {
    color: white;
}
.footer .brand-column .footer-mission {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    margin-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 10px;
}
.footer .footer-links h4 {
    color: white;
    font-size: 0.8rem;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer .footer-links a {
    color: rgba(255,255,255,0.7);
    display: block;
    margin: 3px 0;
    font-size: 0.75rem;
    transition: all 0.2s;
}
.footer .footer-links a:hover {
    color: white;
    padding-left: 4px;
}
.footer .footer-bottom {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 6px;
}
.footer .footer-bottom .legal-links {
    display: flex;
    justify-content: center;
    gap: 12px 20px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.footer .footer-bottom .legal-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: underline;
    font-size: 0.65rem;
}
.footer .footer-bottom .legal-links a:hover {
    color: white;
}
/* President Grid - Additional styles for images */
.president-item .leader-avatar {
    width: 100%;
    aspect-ratio: 689 / 886;
    overflow: hidden;
    background: var(--bg-light);
}

.president-item .leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.president-item:hover .leader-avatar img {
    transform: scale(1.04);
}

/* Placeholder for missing images */
.president-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-blue);
}

/* Ambassador Widget Image */
.ambassador-widget-image {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center top;
    background-color: var(--primary-blue);
    aspect-ratio: 689 / 886;
}

.ambassador-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Add red border around president items */
.president-item {
    border: 2px solid var(--primary-red) !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(179, 27, 44, 0.15);
}

.president-item:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 8px 32px rgba(179, 27, 44, 0.25);
}

/* President item inner border highlight */
.president-item .leader-avatar {
    border-bottom: 3px solid var(--primary-red);
}

.president-item:hover .leader-avatar {
    border-bottom-color: var(--gold);
}

/* Make president images more prominent */
.president-item .leader-avatar img {
    border: 3px solid var(--primary-red);
    border-radius: 4px 4px 0 0;
}

.president-item:hover .leader-avatar img {
    border-color: var(--gold);
}

/* Force Font Awesome to load */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-brands {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
}

.fab,
.fa-brands {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400 !important;
}

.far,
.fa-regular {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 400 !important;
}

.fal,
.fa-light {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 300 !important;
}

/* Fix for Font Awesome icons not showing */
i.fas,
i.far,
i.fal,
i.fab,
i.fa {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
/* ============================================================
   OFFICERS PAGE STYLES
   ============================================================ */

.officers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.officer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.officer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.officer-card .officer-avatar {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-light);
    border-bottom: 3px solid var(--primary-red);
}

.officer-card .officer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.officer-card:hover .officer-avatar img {
    transform: scale(1.05);
}

.officer-card .officer-info {
    padding: 18px 20px 22px;
}

.officer-card .officer-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.officer-card .officer-info .officer-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.officer-card .officer-info .officer-email {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.officer-card .officer-info .officer-email a {
    color: var(--primary-blue);
}

.officer-card .officer-info .officer-email a:hover {
    color: var(--primary-red);
}

.officer-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary-blue);
    transition: all 0.2s;
}

.officer-read-more:hover {
    color: var(--primary-red);
    gap: 10px;
}

/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-card h2,
.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.contact-card h3 {
    font-size: 1rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.contact-details {
    padding-left: 0;
}

.contact-details p {
    margin-bottom: 8px;
}

.contact-details a {
    color: var(--primary-blue);
}

.contact-details a:hover {
    color: var(--primary-red);
}

.contact-hours {
    width: 100%;
    border-collapse: collapse;
}

.contact-hours td {
    padding: 6px 12px;
    border-bottom: 1px solid var(--border-light);
}

.contact-hours tr:last-child td {
    border-bottom: none;
}

.contact-map {
    width: 100%;
    min-height: 250px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: linear-gradient(145deg, #f0f3f8 0%, #e4eaf2 100%);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.quick-links-card {
    background: white;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-top: 24px;
}

.quick-links-card h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 14px;
}

.quick-links-card .quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-card .quick-links li {
    margin-bottom: 10px;
}

.quick-links-card .quick-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    transition: all 0.2s;
}

.quick-links-card .quick-links li a:hover {
    color: var(--primary-red);
    padding-left: 6px;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(145deg, #fef5f4 0%, #fde8e6 100%);
    border-radius: 12px;
    border: 1px solid rgba(179, 27, 44, 0.15);
    padding: 20px 28px;
}

.emergency-banner-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.emergency-banner-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.emergency-banner-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.emergency-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.emergency-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.emergency-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.emergency-email-btn:hover {
    background: #9e1624;
    color: white;
    transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

@media (max-width: 992px) {
    .officers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem !important;
    }
    
    .page-hero p {
        font-size: 1rem !important;
    }
    
    .officers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .emergency-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-banner-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.6rem !important;
    }
    
    .page-hero {
        padding: 40px 0 !important;
    }
    
    .contact-card {
        padding: 16px;
    }
    
    .contact-hours td {
        padding: 4px 8px;
        font-size: 0.85rem;
    }
}
:root {
    --primary-blue: #0b2d4b;
    --primary-red: #b31b2c;
    --gold: #c9a84c;
    --text-dark: #1e1e2a;
    --text-muted: #5a5a72;
    --bg-light: #f4f6fa;
    --bg-white: #ffffff;
    --border-light: #e2e6ee;
    --shadow-sm: 0 4px 16px rgba(11,45,75,0.06);
    --shadow-md: 0 8px 32px rgba(11,45,75,0.08);
    --shadow-lg: 0 16px 48px rgba(11,45,75,0.12);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --gradient-blue-subtle: linear-gradient(145deg, #f0f4fa 0%, #e8edf5 100%);
    --gradient-red-subtle: linear-gradient(145deg, #fef5f4 0%, #fde8e6 100%);
}