/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --katsina-green: #006400; /* Dark green from Katsina State flag */
    --katsina-yellow: #FFD700; /* Gold/yellow from Katsina State flag */
    --katsina-white: #FFFFFF;
    --katsina-dark: #1a1a1a;
    --katsina-light: #f5f5f5;
    --katsina-gray: #6c757d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--katsina-dark);
    background-color: var(--katsina-white);
    overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--katsina-green) 0%, #004d00 100%);
    color: var(--katsina-white);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;

}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 900;
}

.logo p {
    font-size: 0.7rem;
    opacity: 0.7;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list a {
    color: var(--katsina-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover {
    color: var(--katsina-yellow);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--katsina-yellow);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.admin-btn {
    background-color: var(--katsina-yellow);
    color: var(--katsina-dark) !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: var(--katsina-green);
  padding: 10px;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: #004d00;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--katsina-white);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--katsina-green) 0%, #004d00 100%);
    color: var(--katsina-white);
    padding: 150px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-top: -60px;
    line-height: 1.2;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    margin-bottom: 30px;
}

.stat {
    margin-right: 30px;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--katsina-yellow);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Image Slider Styles */
.image-slider {
    width: 400px;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    transition: var(--transition);
}

.image-slider:hover {
    transform: translateY(-10px);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background-color: var(--katsina-yellow);
    color: var(--katsina-dark);
}

.btn.primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.btn.secondary {
    background-color: transparent;
    color: var(--katsina-white);
    border: 2px solid var(--katsina-white);
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--katsina-green);
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--katsina-yellow);
    border-radius: 2px;
}

.title-highlight {
    color: var(--katsina-yellow);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--katsina-gray);
}

.heading-bold {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--katsina-green);
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    color: var(--katsina-green);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.mission {
    font-style: italic;
    background-color: rgba(0, 100, 0, 0.05);
    padding: 20px;
    border-left: 4px solid var(--katsina-yellow);
    margin: 20px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    border-radius: 0 8px 8px 0;
}

.achievements ul {
    margin-left: 20px;
}

.achievements li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--katsina-green);
    font-weight: bold;
}

.about-image {
    flex: 1;
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--katsina-yellow);
    border-radius: 15px;
    z-index: -1;
}

/* Projects Section */
.projects {
    background-color: var(--katsina-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--katsina-white);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--katsina-green), var(--katsina-yellow));
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--katsina-green);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card h3 {
    color: var(--katsina-green);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.3rem;
}

.project-card p {
    margin-bottom: 20px;
    color: var(--katsina-gray);
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--katsina-green), var(--katsina-yellow));
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.project-link {
    color: var(--katsina-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--katsina-green);
    transition: var(--transition);
}

.project-link:hover {
    color: var(--katsina-yellow);
}

.project-link:hover::after {
    width: 100%;
}

/* Help Section */
.help-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--katsina-white);
    padding: 40px;
    border-radius: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--katsina-green);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--katsina-green);
    outline: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--katsina-white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 250px;
    overflow: hidden;
}

.news-image .image-container {
    height: 100%;
    border-radius: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    color: var(--katsina-green);
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.3rem;
}

.news-date {
    color: var(--katsina-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-content p {
    margin-bottom: 20px;
}

.news-link {
    color: var(--katsina-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.news-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--katsina-green);
    transition: var(--transition);
}

.news-link:hover {
    color: var(--katsina-yellow);
}

.news-link:hover::after {
    width: 100%;
}

.media-section h3 {
    color: var(--katsina-green);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Enhanced Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.gallery-item {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item .image-container {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 1.5rem;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .gallery-item {
        height: 120px;
    }
}
/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--katsina-green);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 100, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--katsina-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--katsina-green);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.social-links h4 {
    color: var(--katsina-green);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--katsina-green);
    color: var(--katsina-white);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: #004d00;
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--katsina-white);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--katsina-yellow);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo h3 {
    margin-bottom: 10px;
    color: var(--katsina-yellow);
    font-size: 1.5rem;
}

.footer-logo p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--katsina-white);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--katsina-yellow);
    color: var(--katsina-dark);
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--katsina-white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-column a:hover {
    color: var(--katsina-yellow);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--katsina-yellow);
    width: 20px;
}

.footer-map {
    margin-top: 10px;
}

.map-placeholder {
    height: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.map-placeholder:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.map-placeholder i {
    font-size: 2rem;
    color: var(--katsina-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--katsina-white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--katsina-yellow);
}

/* Animation Classes */
.animate-text {
    animation: fadeInUp 1s ease;
}

.animate-text-delay {
    animation: fadeInUp 1s ease 0.3s both;
}

.animate-stat {
    animation: fadeInUp 1s ease 0.6s both;
}

.animate-btn {
    animation: fadeInUp 1s ease 0.9s both;
}

.animate-card {
    animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: var(--katsina-yellow);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--katsina-green);
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        display: inline-block;
        width: 45%;
        border-radius: 20px;
        vertical-align: middle;
        text-align: center;
    }
    .btn + .btn {
        float: right;
    }
    
    .image-slider {
        width: 300px;
        height: 400px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .help-form {
        padding: 25px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .image-slider {
        width: 250px;
        height: 350px;
    }
}