/* Import your existing color variables */
@import url('some.css');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--ufundi-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(46, 139, 87, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--ufundi-accent);
}

.login-btn {
    background: var(--ufundi-accent);
    color: var(--ufundi-primary) !important;
    font-weight: 600;
}

.login-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content Layout */
.main-content {
    margin-top: 80px;
}

/* Combined Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ufundi-primary) 0%, var(--ufundi-secondary) 50%, #1a5f3f 100%);
    animation: gradientShift 8s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    animation: particleFloat 12s ease-in-out infinite;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    animation: heroFadeIn 1.5s ease-out;
}

.hero-brand {
    margin-bottom: 3rem;
    animation: slideInFromTop 1s ease-out 0.3s both;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.1);
}

.brand-text {
    animation: slideInFromLeft 1s ease-out 0.6s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, var(--ufundi-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

.hero-tagline {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    opacity: 0.9;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-message {
    margin-bottom: 3rem;
    animation: slideInFromRight 1s ease-out 0.9s both;
}

.hero-subtitle {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: subtitlePulse 4s ease-in-out infinite;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: slideInFromBottom 1s ease-out 1.2s both;
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-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: left 0.6s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-btn i {
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: slideInFromBottom 1s ease-out 1.5s both;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: statFloat 4s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-item:nth-child(3) {
    animation-delay: 1s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ufundi-accent);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.scroll-arrow i {
    font-size: 1.2rem;
    color: white;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromTop {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromBottom {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes logoGlow {
    from { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
    to { box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4); }
}

@keyframes titleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes subtitlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes statFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Main Content Section */
.main-content-section {
    background: var(--ufundi-bg);
    padding: 40px 0;
}

/* Content Layout */
.content-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Combined Sidebar Styles */
.combined-sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: fit-content;
}

.sidebar-section {
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-title {
    background: var(--ufundi-primary);
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title::before {
    content: "▶";
    font-size: 0.8rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-menu a::before {
    content: "●";
    color: var(--ufundi-secondary);
    margin-right: 8px;
    font-size: 0.6rem;
}

.sidebar-menu a:hover {
    background: var(--ufundi-light);
    color: var(--ufundi-primary);
    padding-left: 20px;
}

/* Main Section */
.main-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 100%;
}

.office-showcase {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.office-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-section {
    padding: 40px;
}

.chairperson-message,
.ceo-message,
.join-section,
.atm-section,
.microfinance-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.microfinance-section {
    border-bottom: none;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.chairperson-icon {
    color: var(--ufundi-primary);
    font-size: 1.5rem;
}

.message-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.chairperson-photo {
    flex-shrink: 0;
}

.chairperson-photo i {
    font-size: 4rem;
    color: var(--ufundi-secondary);
}

.message-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.welcome-section h3 {
    color: var(--ufundi-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.welcome-section h4 {
    color: var(--ufundi-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.more-articles h5 {
    color: var(--ufundi-primary);
    margin: 20px 0 10px 0;
}

.more-articles ul {
    list-style: none;
    padding: 0;
}

.more-articles li {
    margin-bottom: 5px;
}

.more-articles a {
    color: var(--ufundi-secondary);
    text-decoration: none;
}

.more-articles a:hover {
    text-decoration: underline;
}

/* Notification Content */
.notification-content {
    padding: 20px;
}

.notification-item h4 {
    color: var(--ufundi-primary);
    font-size: 1rem;
    margin-bottom: 10px;
}

.notification-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.notification-item a {
    color: var(--ufundi-secondary);
    text-decoration: none;
}

.notification-item a:hover {
    text-decoration: underline;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--ufundi-accent);
    color: var(--ufundi-primary);
}

.btn-primary:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--ufundi-primary);
}

.hero-image {
    text-align: center;
}

.hero-image i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ufundi-primary);
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ufundi-primary), var(--ufundi-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--ufundi-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--ufundi-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--ufundi-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2rem;
    color: var(--ufundi-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.about-building-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-building-img:hover {
    transform: scale(1.02);
}

.about-image i {
    font-size: 12rem;
    color: var(--ufundi-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--ufundi-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--ufundi-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--ufundi-primary);
}

/* Footer */
.footer {
    background: var(--ufundi-primary);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--ufundi-accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--ufundi-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--ufundi-accent);
    color: var(--ufundi-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
    }
    
    .nav-logo-img {
        height: 35px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--ufundi-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image i {
        font-size: 8rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}/* 
News and Events Section */
.news-events {
    padding: 80px 0;
    background: var(--ufundi-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    padding: 25px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.15);
}

.news-date {
    background: var(--ufundi-primary);
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.news-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 5px;
}

.news-content h3 {
    color: var(--ufundi-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--ufundi-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--ufundi-primary);
    text-decoration: underline;
}

/* FAQs Section */
.faqs {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.1);
}

.faq-question {
    padding: 20px;
    background: var(--ufundi-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--ufundi-light);
}

.faq-question h3 {
    color: var(--ufundi-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--ufundi-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Tenders Section */
.tenders {
    padding: 80px 0;
    background: var(--ufundi-bg);
}

.tenders-content {
    margin-top: 3rem;
}

.tender-notice {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.tender-notice h3 {
    color: var(--ufundi-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tender-notice p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.tender-list {
    display: grid;
    gap: 20px;
}

.tender-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.tender-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.15);
}

.tender-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tender-header h4 {
    color: var(--ufundi-primary);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.tender-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tender-status.active {
    background: var(--ufundi-secondary);
    color: white;
}

.tender-status.closed {
    background: #ccc;
    color: #666;
}

.tender-details p {
    margin: 8px 0;
    color: #555;
}

.tender-details strong {
    color: var(--ufundi-primary);
}

.btn-outline {
    background: transparent;
    color: var(--ufundi-primary);
    border: 2px solid var(--ufundi-primary);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.btn-outline:hover {
    background: var(--ufundi-primary);
    color: white;
}

.tender-closed {
    color: #999;
    font-style: italic;
    margin-top: 15px;
    display: inline-block;
}

.tender-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.tender-info h4 {
    color: var(--ufundi-primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.tender-info ul {
    list-style: none;
    padding: 0;
}

.tender-info li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 25px;
}

.tender-info li:last-child {
    border-bottom: none;
}

.tender-info li::before {
    content: "✓";
    color: var(--ufundi-secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .content-layout {
        padding: 0 15px;
    }
    
    .welcome-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .title-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .message-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .chairperson-photo {
        text-align: center;
    }
    
    .welcome-section {
        padding: 25px;
    }
    
    .office-showcase {
        height: 250px;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .news-date {
        align-self: center;
    }
    
    .tender-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .content-layout {
        padding: 0 10px;
    }
    
    .welcome-section {
        padding: 20px;
    }
    
    .office-showcase {
        height: 200px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}/*
 Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--ufundi-primary) 0%, var(--ufundi-secondary) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
}

/* Tenders Page Styles */
.tenders-page {
    padding: 80px 0;
    background: var(--ufundi-bg);
}

.section-subtitle {
    color: var(--ufundi-primary);
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

.tender-section {
    margin-bottom: 50px;
}

.tender-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tender-status.awarded {
    background: var(--ufundi-accent);
    color: var(--ufundi-primary);
}

.tender-awarded {
    color: var(--ufundi-accent);
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    color: var(--ufundi-primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card i {
    color: var(--ufundi-secondary);
}

.contact-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    width: 20px;
    color: var(--ufundi-primary);
}

/* FAQs Page Styles */
.faqs-page {
    padding: 80px 0;
    background: white;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid var(--ufundi-primary);
    background: transparent;
    color: var(--ufundi-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
    background: var(--ufundi-primary);
    color: white;
}

.faq-contact {
    margin-top: 60px;
    text-align: center;
}

.contact-card {
    background: var(--ufundi-bg);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h3 {
    color: var(--ufundi-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* News Page Styles */
.news-page {
    padding: 80px 0;
    background: var(--ufundi-bg);
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--ufundi-primary);
    background: transparent;
    color: var(--ufundi-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--ufundi-primary);
    color: white;
}

.featured-news {
    margin-bottom: 60px;
}

.featured-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--ufundi-accent);
    color: var(--ufundi-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.news-category {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-category.news {
    background: var(--ufundi-secondary);
    color: white;
}

.news-category.events {
    background: var(--ufundi-accent);
    color: var(--ufundi-primary);
}

.news-category.announcements {
    background: var(--ufundi-primary);
    color: white;
}

.news-date,
.news-time {
    color: #666;
    font-size: 0.9rem;
}

.featured-content h2 {
    color: var(--ufundi-primary);
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.featured-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.news-details {
    margin: 15px 0;
}

.news-details p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-highlights ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.news-highlights li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.news-highlights li::before {
    content: "✓";
    color: var(--ufundi-secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.rate-table {
    background: var(--ufundi-bg);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.rate-item:last-child {
    border-bottom: none;
}

.product-features {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--ufundi-light);
    color: var(--ufundi-primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.schedule {
    background: var(--ufundi-bg);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.achievements {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.achievement {
    text-align: center;
}

.achievement .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ufundi-primary);
}

.achievement .label {
    font-size: 0.9rem;
    color: #666;
}

.newsletter-section {
    margin-top: 60px;
}

.newsletter-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-content h3 {
    color: var(--ufundi-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: #666;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--ufundi-primary);
}

.newsletter-form button {
    border-radius: 25px;
    white-space: nowrap;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .featured-item {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-card {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .tender-actions {
        flex-direction: column;
    }
    
    .achievements {
        justify-content: center;
    }
    
    .faq-categories,
    .news-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-btn,
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .featured-content {
        padding: 20px;
    }
    
    .newsletter-card {
        padding: 30px 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .contact-options {
        flex-direction: column;
    }
}
/*
 Bottom Information Section */
.bottom-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    border-top: 3px solid var(--ufundi-accent);
}

.bottom-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(46, 139, 87, 0.1);
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ufundi-primary), var(--ufundi-secondary));
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(46, 139, 87, 0.15);
}

.info-header {
    background: linear-gradient(135deg, var(--ufundi-primary) 0%, var(--ufundi-secondary) 100%);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.info-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.info-card:hover .info-header::after {
    opacity: 1;
    right: -20%;
}

.info-header i {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.info-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-menu li:last-child {
    border-bottom: none;
}

.info-menu li:hover {
    background: rgba(46, 139, 87, 0.02);
}

.info-menu a {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.info-menu a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--ufundi-secondary);
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.info-menu a:hover {
    color: var(--ufundi-primary);
    padding-left: 35px;
    font-weight: 600;
}

.info-menu a:hover::before {
    background: var(--ufundi-primary);
    transform: scale(1.3);
}

/* Special styling for notification card */
.notification-card {
    grid-column: span 1;
}

.notification-card .info-header {
    background: linear-gradient(135deg, var(--ufundi-secondary) 0%, #d4a017 100%);
}

.notification-content {
    padding: 25px;
}

.notification-item {
    background: rgba(46, 139, 87, 0.02);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid var(--ufundi-secondary);
}

.notification-item h4 {
    color: var(--ufundi-primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-item h4::before {
    content: '📢';
    font-size: 1rem;
}

.notification-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.notification-item a {
    color: var(--ufundi-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.notification-item a:hover {
    color: var(--ufundi-primary);
    text-decoration: underline;
}

/* Responsive design for bottom info section */
@media (max-width: 1024px) {
    .bottom-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .bottom-info-section {
        padding: 60px 0;
    }
    
    .bottom-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-header {
        padding: 20px;
    }
    
    .info-header h3 {
        font-size: 1.2rem;
    }
    
    .info-header i {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .notification-content {
        padding: 20px;
    }
    
    .notification-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .info-menu a {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    .info-menu a:hover {
        padding-left: 30px;
    }
    
    .info-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}/
* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ufundi-primary), var(--ufundi-secondary));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--ufundi-secondary), var(--ufundi-primary));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
    animation: scrollArrowBounce 2s ease-in-out infinite;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
    animation: none;
}

/* Scroll to top button pulse effect */
.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--ufundi-primary), var(--ufundi-secondary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: scrollButtonPulse 3s ease-in-out infinite;
}

/* Scroll arrow bounce animation */
@keyframes scrollArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Scroll button pulse animation */
@keyframes scrollButtonPulse {
    0%, 100% { 
        opacity: 0;
        transform: scale(1);
    }
    50% { 
        opacity: 0.3;
        transform: scale(1.2);
    }
}

/* Mobile responsive for scroll to top */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.1rem;
    }
}