/* 
   Future Hope Foundation - Nonprofit Organization CSS
   Version: 1.0
*/

/* =====================
   General Styles
===================== */
body {
    font-family: 'Roboto', sans-serif;
    color: #444;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: none;
}

.logo {
    max-height: 80px;
    max-width: 100%;
}

.btn {
    padding: 10px 22px;
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.btn-secondary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    width: 70px;
    height: 3px;
    background-color: #3498db;
    margin: 0 auto;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
}

/* =====================
   Top Bar
===================== */
.top-bar {
    font-size: 14px;
}

.top-bar a {
    color: #555;
}

.top-bar a:hover {
    color: #3498db;
}

/* =====================
   Header
===================== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    max-height: 60px;
}

.navbar {
    padding: 15px 0;
}

.navbar-nav .nav-item {
    margin-left: 5px;
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #3498db;
}

/* =====================
   Hero Section
===================== */
.hero-slider .item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Hero Slider Navigation */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 20px;
    pointer-events: none;
}

.hero-slider .owl-nav button {
    position: absolute;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 18px !important;
    line-height: 46px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    pointer-events: auto;
}

.hero-slider .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.hero-slider .owl-nav .owl-prev {
    left: 0;
}

.hero-slider .owl-nav .owl-next {
    right: 0;
}

.hero-slider .owl-nav button span {
    display: block;
}

/* Remove the before pseudo-elements since JS handles the icons */

/* Mobile: Hide navigation arrows */
@media (max-width: 767px) {
    .hero-slider .owl-nav {
        display: none;
    }
}

/* Hero Slider Dots */
.hero-slider .owl-dots {
    text-align: center;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.hero-slider .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .owl-dot.active span,
.hero-slider .owl-dot:hover span {
    background: #fff;
    transform: scale(1.2);
}

/* =====================
   About Section
===================== */
.about-content h2 {
    margin-bottom: 25px;
}

.about-image {
    border-radius: 5px;
    overflow: hidden;
}

.mission-vision {
    margin-top: 50px;
}

.mission-vision-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    height: 100%;
    transition: all 0.3s ease;
}

.mission-vision-box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.mission-vision-box h3 {
    margin-bottom: 15px;
}

/* =====================
   Services Section
===================== */
.services-section {
    background-color: #f9f9f9;
}

.service-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* =====================
   Projects Section
===================== */
.project-box {
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    transition: all 0.5s ease;
}

.project-box:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.project-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.project-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.project-progress {
    margin-bottom: 15px;
}

.project-progress .progress {
    height: 10px;
    border-radius: 5px;
}

.project-progress .progress-bar {
    background-color: #3498db;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* =====================
   Events Section
===================== */
.events-section {
    background-color: #f9f9f9;
}

.event-box {
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.event-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
}

.event-date span {
    display: block;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.event-date small {
    font-size: 14px;
    text-transform: uppercase;
}

.event-content {
    padding: 20px;
}

.event-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.event-content .event-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.event-content .event-meta i {
    margin-right: 5px;
    color: #3498db;
}

/* =====================
   Testimonials Section
===================== */
.testimonial-box {
    text-align: center;
    padding: 30px;
    margin: 15px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #3498db;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-position {
    color: #777;
    font-size: 14px;
}

.testimonial-slider .owl-dots {
    margin-top: 30px;
}

.testimonial-slider .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ddd;
}

.testimonial-slider .owl-dot.active span {
    background: #3498db;
}

/* =====================
   Team Section
===================== */
.team-section {
    background-color: #f9f9f9;
}

.team-member {
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-social {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 152, 219, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .team-social {
    opacity: 1;
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
    color: #3498db;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: #2c3e50;
    color: #fff;
}

.team-content {
    padding: 20px;
    text-align: center;
}

.team-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-content p {
    color: #777;
    font-size: 14px;
    margin-bottom: 0;
}

/* =====================
   Gallery Section
===================== */
.gallery-filters {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-filters button {
    background: none;
    border: none;
    padding: 8px 15px;
    margin: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filters button:hover,
.gallery-filters button.active {
    color: #3498db;
}

.gallery-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 152, 219, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: #fff;
    margin-bottom: 10px;
}

.gallery-overlay a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
    color: #3498db;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-overlay a:hover {
    background-color: #2c3e50;
    color: #fff;
}

/* =====================
   Contact Section
===================== */
.contact-info-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 20px;
}

.contact-info-box h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.form-control {
    height: 50px;
    padding: 10px 15px;
    border-color: #eee;
}

textarea.form-control {
    height: 150px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #3498db;
}

/* =====================
   Donation Section
===================== */
.donation-section {
    background-color: #f9f9f9;
}

.donation-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.donation-info {
    margin-bottom: 30px;
}

.donation-amount {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.amount-box {
    flex: 0 0 auto;
    width: calc(25% - 10px);
    margin: 5px;
    background-color: #f9f9f9;
    border: 2px solid #eee;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-box:hover,
.amount-box.active {
    border-color: #3498db;
    background-color: #edf7ff;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-method {
    display: inline-block;
    margin-right: 20px;
}

.payment-method input {
    margin-right: 5px;
}

/* =====================
   Footer
===================== */
.footer {
    background-color: #2c3e50;
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.recent-event h6 a {
    color: #fff;
}

.recent-event h6 a:hover {
    color: #3498db;
}

.recent-event p {
    color: #bbb;
    font-size: 13px;
}

.contact-info {
    color: #bbb;
}

.contact-info i {
    color: #3498db;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

/* =====================
   Back to Top
===================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #3498db;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
    color: #fff;
}

/* =====================
   Responsive Styles
===================== */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-slider .item {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .hero-slider .item {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .amount-box {
        width: calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .hero-slider .item {
        height: 350px;
    }
}

/* Logo and Site Name Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-name-mobile {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

/* Hide site name on desktop */
@media (min-width: 992px) {
    .site-name-mobile {
        display: none;
    }
}

/* Adjust logo size on mobile */
@media (max-width: 575px) {
    .logo {
        max-height: 60px;
    }
}
