/* ================= HOMEPAGE SECTIONS CSS ================= */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3,
.hero-shape-4,
.hero-shape-5,
.hero-shape-6 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* Remove the min-height override to keep original Electrow theme height */
.hero-single {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-single::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-sub-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.hero-btn {
    margin-top: 30px;
}

/* About Section */
.about-area {
    background: #f9f9f9;
}

.about-left {
    position: relative;
}

.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-experience {
    position: absolute;
    top: 30px;
    left: -30px;
    background: #8e44ad;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.about-experience-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.about-right {
    padding-left: 30px;
}

.site-heading {
    margin-bottom: 30px;
}

.site-title-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #8e44ad;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.site-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #212121;
}

.site-title span {
    color: #8e44ad;
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: #757f95;
    margin-bottom: 20px;
}

.about-content {
    margin-top: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.about-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.about-item-icon {
    font-size: 45px;
    color: #8e44ad;
    line-height: 1;
}

.about-item-content {
    flex: 1;
}

.about-item-content h5 {
    margin-bottom: 5px;
    font-size: 21px;
    color: #212121;
    font-weight: 600;
}

.about-item-content p {
    color: #757f95;
    margin: 0;
    font-size: 14px;
}

.about-list-wrapper {
    position: relative;
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-list {
    position: relative;
    display: block;
}

.about-list li {
    position: relative;
    padding-left: 25px;
    margin-top: 10px;
    font-weight: 500;
    color: #212121;
}

.about-list li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome 6 Pro";
    color: #8e44ad;
}

/* Services Section */
.service-area {
    background: #fff;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #8e44ad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-title a {
    color: #212121;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: #8e44ad;
}

.service-text {
    color: #757f95;
    line-height: 1.6;
    margin: 0;
}

/* News Section */
.news-area {
    background: #f9f9f9;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img {
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #757f95;
}

.news-meta i {
    color: #8e44ad;
    margin-right: 5px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.news-title a {
    color: #212121;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #8e44ad;
}

.news-text {
    color: #757f95;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-btn {
    color: #8e44ad;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-btn:hover {
    color: #6a1b9a;
}

/* Appeals Section */
.portfolio-area {
    background: #fff;
}

.current-appeal {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.current-appeal h3 {
    color: #212121;
    margin-bottom: 20px;
}

.appeal-progress {
    text-align: center;
}

.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#8e44ad 0deg 270deg, #e9ecef 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.progress-text {
    font-size: 16px;
    font-weight: 600;
    color: #8e44ad;
}

.portfolio-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content-inner h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #212121;
}

.portfolio-content-inner p {
    color: #757f95;
    margin-bottom: 15px;
    line-height: 1.6;
}

.portfolio-btn {
    color: #8e44ad;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.portfolio-btn:hover {
    color: #6a1b9a;
}

/* CTA Section */
.cta-area {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("../img/cta-bg.jpg") no-repeat center center/cover;
    color: #fff;
}

.cta-content {
    text-align: center;
}

.cta-feature {
    margin-top: 30px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cta-feature-item .icon {
    width: 50px;
    height: 50px;
    background: #8e44ad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.cta-feature-item .content h4 {
    color: #fff;
    margin-bottom: 5px;
}

.cta-feature-item .content p {
    color: #e9ecef;
    margin: 0;
}

/* Volunteer Section */
.volunteer-area {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("../img/cta-bg.jpg") no-repeat center center/cover;
    color: #fff;
}

.volunteer-content {
    text-align: center;
}

/* Common Elements */
.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #8e44ad;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.3);
}

.theme-btn:hover {
    background: #6a1b9a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.4);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #8e44ad;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title .title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #212121;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }

    .site-title {
        font-size: 32px;
    }

    .section-title .title {
        font-size: 32px;
    }

    .about-right {
        padding-left: 0;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 28px;
    }

    .site-title {
        font-size: 28px;
    }

    .section-title .title {
        font-size: 28px;
    }

    /* Remove the min-height override for mobile too */
    .about-experience {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 20px;
    }
}
