/* ============================================
   equalfaith-official.css
   Complete styling for EqualFaith Landing Page
   ============================================ */

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--light-color);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-white {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: var(--dark-color);
    color: #fff;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    padding: 2.8rem 2.5rem;
    text-align: center;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-card i {
    font-size: 3.2rem;
    color: #fbbf24;
    margin-bottom: 1.2rem;
}

.hero-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.hero-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* Floating elements */
.floating-element {
    position: absolute;
    z-index: 1;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.floating-element.el1 {
    top: 12%;
    left: 6%;
    animation-delay: 0s;
}

.floating-element.el2 {
    bottom: 18%;
    right: 8%;
    animation-delay: 2s;
}

.floating-element.el3 {
    top: 25%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(6deg);
    }
}

/* ---------- Statistics ---------- */
.stats {
    padding: 4rem 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ---------- Features (About) ---------- */
.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gray-200);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Projects Section ---------- */
.projects {
    padding: 6rem 0;
    background: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    align-items: flex-start;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.project-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
}

.project-content {
    flex: 1;
}

.project-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--success-color);
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-tag:contains("Planning") {
    background: var(--warning-color);
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-meta i {
    margin-right: 0.3rem;
    color: var(--primary-color);
}

.project-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.project-link i {
    transition: var(--transition);
}

.project-link:hover i {
    transform: translateX(4px);
}

/* ---------- Blog Section ---------- */
.blog {
    padding: 6rem 0;
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.blog-image {
    background: var(--gradient-primary);
    padding: 2.5rem;
    text-align: center;
    color: #fff;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.blog-content {
    padding: 1.8rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.blog-meta i {
    margin-right: 0.3rem;
    color: var(--primary-color);
}

.blog-category {
    background: var(--gray-100);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.blog-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.blog-link i {
    transition: var(--transition);
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 6rem 0;
    background: var(--dark-color);
    color: #fff;
}

.testimonials .section-header h2 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 1rem;
}

.testimonial.active {
    display: block;
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.author-info h4 {
    color: var(--white);
}

.testimonial-nav {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: #fbbf24;
    transform: scale(1.2);
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 6rem 0;
    background: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.gallery-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: #fff;
    font-size: 1.8rem;
}

.gallery-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: #fff;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

.newsletter-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
}

.newsletter-btn {
    padding: 0.9rem 2.2rem;
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.newsletter-btn:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 6rem 0;
    background: var(--dark-color);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card {
        max-width: 360px;
        margin: 0 auto;
    }

    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .features-grid,
    .blog-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-visual  {
        display: none;
    }
    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .blog-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .floating-element {
        display: none;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .project-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .project-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-white,
    .btn-outline {
        padding: 0.7rem 1.8rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-card {
        padding: 2rem 1.2rem;
    }
}