
/* Hero Section */
.hero{
    height: calc(100vh - 70px);
    background: 
    linear-gradient(to right, #5ba45ecc, rgba(34, 70, 38, 0.8)),
    url('../images/home/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle animated overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    animation: pulseGlow 8s infinite alternate;
    pointer-events: none;
}

/* Container */
.hero .container {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

/* Heading */
.hero .container h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

/* Subheading */
.hero .container p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* Button Container */
.hero .container .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Base Button Style */
.hero .container .button-container a {
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    opacity: 0;
    transform: translateY(20px);
}

/* Learn More Button */
.hero .container .button-container .learn-more-btn {
    border: 2px solid #D5E222;
    background: transparent;
    animation: fadeSlideUp 0.6s ease-out forwards;
    animation-delay: 1s;
}

.hero .learn-more-btn:hover {
    background: #D5E222;
    color: #1a3d1e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(213, 226, 34, 0.3);
}

/* Member Button */
.hero .container .button-container .member-btn {
    background: #D5E222;
    color: #1a3d1e;
    box-shadow: 0 4px 15px rgba(213, 226, 34, 0.4);
    animation: fadeSlideUp 0.6s ease-out forwards;
    animation-delay: 1.1s;
}

.member-btn:hover {
    background: #c0d11e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(213, 226, 34, 0.5);
}

/* Separator */
.hero .container .button-container .separator {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 1.2s;
}

/* About Section */
.about{
    display: flex;
    flex-direction: column;
    background: url('../images/home/about-bg.jpg') center/cover no-repeat;
}

.about .container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about .container .about-container{
    height: auto;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
}

.about .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-slider {
    display: none; 
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-slider .slides {
    display: flex;
    max-height: 350px;
    transition: transform 0.6s ease-in-out;
}

.image-slider .slides img {
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
    background: #D5E222;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(213, 226, 34, 0.6);
}

.about .about-image .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.about .about-image .image-grid img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Center bottom image */
.about .about-image .image-grid img:nth-child(3) {
    grid-column: 1 / span 2;
    justify-self: center;
    margin-top: -80px; /* overlaps slightly like your sample */
}

.about .about-image .image-grid img:nth-child(2) {
    transform: translateY(40px);
}

.about .container .about-container .about-content{
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about .container .about-container .about-content .about-header{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about .container .about-container .about-content .about-header .about-subtitle{
    color: #2E7D32; 
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about .container .about-container .about-content .about-header .about-title{
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.about .container .about-container .about-content .about-header .about-line{
    width: 100%;
    height: 4px;
    background: #2c3e50;
    border-radius: 2px;
}

.about .container .about-container .about-content .about-description p{
    font-size: 1rem;
    line-height: 1.8;
    color: #222;
    text-align: justify;
}

/* Base Learn More Button in About Section */
.about .about-button .learn-more-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    color: #111;
    border: 2px solid #111;
    border-radius: 30px;
    background: transparent;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Background fill on hover */
.about .about-button .learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #111;
    border-radius: 30px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

/* Text color change */
.about .about-button .learn-more-btn:hover {
    color: #fff;
    border-color: #111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Fill animation */
.about .about-button .learn-more-btn:hover::before {
    width: 100%;
}

/* Arrow icon animation */
.about .about-button .learn-more-btn .icon {
    transition: transform 0.4s ease;
    transform: translateX(-8px);
    opacity: 0;
}

.about .about-button .learn-more-btn:hover .icon {
    transform: translateX(0);
    opacity: 1;
}

.about .container .mvc-container{
    height: auto;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
}

.about .container .mvc-container .mvc-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.about .container .mvc-container .mvc-content .mvc-title{
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
}

.about .container .mvc-container .mvc-content .mvc-description{
    color: #222;
}

.about .container .mvc-container .mvc-card-container{
    display: flex;
    gap: 77px;
    padding: 0 94px;
}

.about .container .mvc-container .mvc-card-container .mvc-card{
    position: relative;
    width: 350px;
    padding: 80px 25px 68px;
    text-align: center;
    color: #2e7d32;
    font-weight: 600;
    background: transparent;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about .container .mvc-container .mvc-card-container .mvc-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border: 4px solid #04DE3B;
    border-top: none; 
    border-radius: 50px;
    pointer-events: none;
}

.about .container .mvc-container .mvc-card-container .mvc-card .mvc-icon{
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatIcon 3s ease-in-out infinite;
}

.mvc-card:nth-child(2) .mvc-icon {
    animation-delay: 1s; /* staggered delay for variety */
}

.mvc-card:nth-child(3) .mvc-icon {
    animation-delay: 2s;
}

.about .container .mvc-container .mvc-card-container .mvc-card .mvc-icon img{
    width: 100px;
    height: auto;
}



/* Membership Benefits Section */
.member-benefits{
    width: 100%;
    padding: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background: url('../images/home/member-benefits-bg.jpg') center/cover no-repeat;
    color: white;
}

.member-benefits .benefits-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.member-benefits .benefits-container .benefits-header{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.member-benefits .benefits-container .benefits-header .benefits-title{
    font-size: 2.5rem;
    font-weight: 700;
}

.member-benefits .benefits-container .benefits-header .benefits-description{
    font-size: 1rem;
}

.member-benefits .benefits-container .benefits-list{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.member-benefits .benefits-container .benefits-list .benefits-row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.member-benefits .benefits-container .benefits-list .benefits-row .benefit-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.member-benefits .benefits-container .benefits-list .benefits-row .benefit-item .benefit-icon {
  width: 100px;
  height: 100px;
  background: #C9F2C7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.member-benefits .benefits-container .benefits-list .benefits-row .benefit-item .benefit-icon img {
  width: 55px;
  height: 55px;
}

.member-benefits .benefits-container .benefits-list .benefits-row .benefit-item:hover .benefit-icon {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(4, 222, 59, 0.5); /* Green glow */
    background: #C9F2C7;
    filter: brightness(1.1);
}

.member-benefits .benefits-container .benefits-list .benefits-row .benefit-item .benefit-title {
  font-weight: 700;
  color: #fff;
}

.member-benefits .benefits-container .benefits-list .benefits-row .benefit-item .benefit-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}



/* Offers Section */
.offers{
    position: relative;
    display: flex;
    flex-direction: column;
    background: url('../images/home/offers-bg.jpg') center/cover no-repeat;
}

.offers .offers-container{
    height: auto;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
}

.offers .offers-container .offers-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.offers .offers-container .offers-header .offers-title{
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.offers .offers-container .offers-header .offers-description{
    color: #222;
    max-width: 900px;
    text-align: center;
}

.offers .offers-container .offers-card-container{
    display: flex;
    gap: 40px;
    padding: 0 100px;
}

.offers .offers-container .offers-card-container .offer-card{
    background-color: white;
    flex: 1;
    padding: 36px 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.offers .offers-container .offers-card-container .offer-card .offer-card-icon{
    width: 70px;
    height: 70px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.offers .offers-container .offers-card-container .offer-card .offer-card-title{
    font-size: 1rem;
}

.offers .offers-container .offers-card-container .offer-card .offer-card-description{
    color: #646464;
    font-size: 0.8rem;
}

.offers .offer-card.savings:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    z-index: 1;
    background: linear-gradient(to right, #5ba45ecc, rgba(34, 70, 38, 0.8)), url(../images/home/savings.jpg) center / cover no-repeat;
}

.offers .offer-card.loans:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    z-index: 1;
    background: linear-gradient(to right, #5ba45ecc, rgba(34, 70, 38, 0.8)), url(../images/home/loans.jpg) center / cover no-repeat;
}

.offers .offer-card.benefits:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    z-index: 1;
    background: linear-gradient(to right, #5ba45ecc, rgba(34, 70, 38, 0.8)), url(../images/home/benefits.jpg) center / cover no-repeat;
}

.offers .offer-card.others:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    z-index: 1;
    background: linear-gradient(to right, #5ba45ecc, rgba(34, 70, 38, 0.8)), url(../images/home/others.jpg) center / cover no-repeat;
}

.offers .offer-card:hover .offer-card-title,
.offers .offers-container .offers-card-container .offer-card:hover .offer-card-description {
    color: white;
}

.offers .offer-card:hover .offer-card-icon {
    filter: brightness(0) invert(1); /* makes dark icons white */
    transform: scale(1.2) translateY(-8px);
}


/* Call to Action Section */
.cta{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url('../images/home/cta-bg.jpg') center/cover no-repeat;
}

.cta .cta-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 67px 0px;
}

.cta .cta-container .cta-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta .cta-container .cta-header .cta-title{
    font-size: 100px;
    color: #D4FFD6;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}


.cta .cta-container .cta-header .cta-description{
    color: #333333;
    text-align: center;
}

.cta .cta-container .cta-btn {
    color: #1a3d1e;
    background-color: #FBC02D;
    padding: 15px 46px;
    text-decoration: none;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    border-radius: 100px;
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Pulse Animation (Only on non-hover) */
.cta-btn.pulse-btn {
    animation: pulse 2s infinite;
}



/* Frequently Asked Question Section*/
.faq {
    height: auto; 
    background: #E8F5E9;
    display: flex;
    align-items: center;
    padding: 80px 112px;
    overflow: hidden;
}

.faq .faq-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* ----- Header ----- */
.faq-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-subtitle {
    color: #2E7D32;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

/* ----- Accordion Container ----- */
.accordion-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ----- FAQ Item (card) ----- */
.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover & active card lift */
.faq-item:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.faq-item.active {
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

/* ----- Question Button ----- */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #222;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.25s ease;
    position: relative;
}

/* Green accent line on left when open */
.faq-question::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #04DE3B;
    transition: width 0.35s ease;
}
.faq-item.active .faq-question::before {
    width: 5px;
}

/* Hover color */
.faq-question:hover {
    color: #2E7D32;
}

/* Icon (arrow) */
.faq-question .icon {
    font-size: 1.25rem;
    color: #2E7D32;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

/* ----- Answer Panel ----- */
.faq-answer {
    background: #F9FBF9;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 300px;               /* enough for any answer */
}

/* Optional: subtle inner shadow when expanded */
.faq-item.active .faq-answer::before {
    content: "";
    position: absolute;
    left: 24px; right: 24px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}


/* Affliation Section */
.affiliation {
    background: #E8F5E9;
    padding: 60px 112px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.affiliate-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 5vw, 60px);
    flex-wrap: wrap;
    padding: 20px 0;
}

/* Logo Styling */
.affiliate-logo {
    width: 200px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
}

/* Hover: Full color + lift + subtle border */
.affiliate-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-6px) scale(1.05);
    padding: 12px;
}


/* ANIMATIONS */
@keyframes pulseGlow {
    0% { opacity: 0; transform: scale(1); }
    100% { opacity: 0.15; transform: scale(1.1); }
}

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

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes floatIcon {
  0% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -15px); }
  100% { transform: translate(-50%, 0); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 192, 45, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(251, 192, 45, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 192, 45, 0);
    }
}
