:root {
    --yobe-primary: #006400;
    --yobe-secondary: #228B22;
    --yobe-light: #90EE90;
    --yobe-dark: #004d00;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--yobe-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.header-contact span {
    margin-right: 20px;
}

.header-contact i {
    margin-right: 5px;
}

.header-social a {
    color: var(--white);
    margin-left: 15px;
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: var(--yobe-light);
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #006400, #228B22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.3);
}

.logo-symbol {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scale-left, .scale-right {
    position: absolute;
    width: 12px;
    height: 25px;
    background: white;
    border-radius: 2px;
    top: 5px;
}

.scale-left {
    left: 8px;
    transform: rotate(-25deg);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.scale-right {
    right: 8px;
    transform: rotate(25deg);
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.2);
}

.scale-center {
    position: absolute;
    width: 4px;
    height: 30px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.scale-base {
    position: absolute;
    width: 30px;
    height: 6px;
    background: white;
    border-radius: 3px;
    bottom: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.star {
    position: absolute;
    color: white;
    font-size: 6px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.star-1 {
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.star-2 {
    top: 8px;
    left: 25%;
}

.star-3 {
    top: 8px;
    right: 25%;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--yobe-primary);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: normal;
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--yobe-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 80%;
}

nav ul li a:hover {
    color: var(--yobe-primary);
}

nav ul li.active a {
    color: var(--yobe-primary);
    font-weight: bold;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

nav ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--yobe-primary);
}

/* News Ticker Styles */
.news-ticker {
    background-color: var(--yobe-primary);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--yobe-light);
}

.news-ticker-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-label {
    background-color: var(--yobe-dark);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 20px;
    white-space: nowrap;
    font-size: 0.9rem;
}

.news-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.news-scroll {
    position: absolute;
    white-space: nowrap;
    animation: scroll-news 30s linear infinite;
}

.news-scroll:hover {
    animation-play-state: paused;
}

.news-scroll a {
    color: white;
    text-decoration: none;
    margin-right: 40px;
    transition: color 0.3s ease;
}

.news-scroll a:hover {
    color: var(--yobe-light);
    text-decoration: underline;
}

@keyframes scroll-news {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero {
    background: linear-gradient(rgba(0, 100, 0, 0.85), rgba(34, 139, 34, 0.85)), url('../images/hero/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--yobe-primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    background-color: var(--yobe-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Statistics counter */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--yobe-light);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.slider-section {
    padding: 60px 0;
    background-color: var(--white);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.slide-image.loaded::before {
    display: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
}

.slide-content h3 {
    margin-bottom: 10px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slider-btn {
    background: rgba(255,255,255,0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.9);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--yobe-primary);
}

.leadership-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--yobe-primary);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--yobe-primary);
    margin: 10px auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yobe-primary), var(--yobe-light));
    border-radius: 4px 4px 0 0;
    z-index: 1;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-image {
    height: 250px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yobe-primary);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.leader-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.leader-image.loaded::before {
    display: none;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    padding: 25px;
    text-align: center;
}

.leader-info h3 {
    margin-bottom: 5px;
    color: var(--yobe-dark);
}

.leader-info .position {
    color: var(--yobe-primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.leader-info p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.quick-links {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.link-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yobe-primary), var(--yobe-light));
    border-radius: 4px 4px 0 0;
}

.link-card:hover {
    transform: translateY(-10px);
}

.link-card i {
    font-size: 2.5rem;
    color: var(--yobe-primary);
    margin-bottom: 20px;
}

.link-card h3 {
    margin-bottom: 15px;
    color: var(--yobe-dark);
}

.link-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.latest-reports {
    padding: 60px 0;
}

.reports-list {
    max-width: 1000px;
    margin: 0 auto;
}

.report-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.report-item:hover {
    background-color: #f5f5f5;
}

.report-icon {
    margin-right: 20px;
    color: var(--yobe-primary);
    font-size: 1.8rem;
}

.report-details {
    flex-grow: 1;
}

.report-details h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.report-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.report-download {
    margin-left: 20px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--yobe-primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.about-image div.loaded::before {
    display: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

footer {
    background-color: var(--yobe-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column h3::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--yobe-light);
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--yobe-light);
}

.footer-column p {
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yobe-light);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--yobe-light);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--yobe-light);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom .powered-by {
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-bottom .powered-by a {
    color: var(--yobe-light);
    text-decoration: none;
}

.footer-bottom .powered-by a:hover {
    text-decoration: underline;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--yobe-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,100,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--yobe-dark);
    transform: translateY(-3px);
}

/* Loading animation */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--yobe-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    nav ul li:hover .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        margin-bottom: 10px;
    }
    
    .report-item {
        flex-direction: column;
        text-align: center;
    }
    
    .report-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .report-download {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .slide-image {
        height: 300px;
    }

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

    .logo-text span {
        font-size: 0.7rem;
    }
    
    .news-ticker-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-label {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .news-content {
        width: 100%;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .slide-image {
        height: 250px;
    }

    .logo-img {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    .logo-symbol {
        width: 35px;
        height: 35px;
    }

    .scale-left, .scale-right {
        width: 10px;
        height: 22px;
    }

    .scale-center {
        width: 3px;
        height: 26px;
    }

    .scale-base {
        width: 26px;
        height: 5px;
    }

    .star {
        font-size: 5px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}