/* =============================================
   VYBE Home Page Styles — V2 Premium Redesign
   Sections: Hero, Our Story, Pillars, Bridge,
   Community, Testimonials, CTA, Join Form
   ============================================= */

.home-section {
    width: 100vw;
    min-height: 95vh;
}

/* ==================== HERO ==================== */
.hero-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)),
        url("../img/Home/hero_leaves.webp");
    background-size: cover;
    background-position: center;
}

.hero-section img {
    transform: scale(0.8);
}

.hero-section-info {
    margin-top: 5%;
    width: 55%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 5px;
    color: var(--yellow) !important;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.hero-section h1 {
    font-size: 3rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 75%;
}

.hero-section button {
    height: 55px;
    width: 230px;
    margin-top: 15px;
    font-weight: 500;
}

@media (min-width: 768px) and (max-width: 992px) {
    .hero-section-info {
        width: 70%;
        gap: 18px;
    }

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

@media (max-width: 768px) {
    .hero-section-info {
        width: 88%;
        margin-top: 20%;
    }

    .hero-tagline {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

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

    .hero-sub {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-section button {
        height: 55px;
        width: 200px;
    }
}

/* ==================== OUR STORY ==================== */
.home-story {
    background-color: var(--blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8% 0;
    position: relative;
    overflow: hidden;
}

.story-leaf-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/Home/leaf_1.svg");
    background-repeat: no-repeat;
    background-position: -5% 50%;
    background-size: 35%;
    opacity: 0.06;
    pointer-events: none;
}

.story-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.story-container {
    width: 80%;
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6%;
    position: relative;
    z-index: 1;
}

.story-text {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.story-text h2 {
    font-size: 2.6rem;
    color: var(--green);
    line-height: 1.15;
    margin-bottom: 10px;
}

.story-text p {
    font-size: 1.05rem;
    line-height: 1.85;
}

.story-highlight {
    font-weight: 600;
    font-size: 1.15rem !important;
    color: var(--green);
    border-left: 3px solid var(--yellow);
    padding-left: 22px;
    margin-top: 10px;
}

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

.story-image {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    filter: drop-shadow(0 8px 30px rgba(1, 57, 51, 0.12));
}

@media (min-width: 768px) and (max-width: 992px) {
    .story-container {
        width: 85%;
        flex-direction: column;
        gap: 40px;
    }

    .story-text {
        text-align: center;
    }

    .story-highlight {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--yellow);
        padding-top: 15px;
    }
}

@media (max-width: 768px) {
    .home-story {
        padding: 18% 0;
    }

    .story-container {
        width: 88%;
        flex-direction: column;
        gap: 35px;
    }

    .story-text {
        text-align: center;
    }

    .story-text h2 {
        font-size: 1.9rem;
    }

    .story-highlight {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--yellow);
        padding-top: 15px;
    }

    .story-image {
        max-width: 280px;
    }
}

/* ==================== THE PILLARS ==================== */
.home-pillars {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8% 0;
}

.pillars-header {
    text-align: center;
    margin-bottom: 60px;
}

.pillars-header h2 {
    font-size: 2.6rem;
    color: var(--green);
    margin-bottom: 12px;
}

.pillars-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
}

.pillars-wrapper {
    width: 80%;
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}

.pillar-card {
    flex: 1;
    background-color: var(--green);
    border-radius: 20px;
    padding: 45px 32px 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-card-alt {
    background-color: var(--darkblue);
}

.pillar-card-alt h3 {
    color: var(--green);
}

.pillar-card-alt p {
    color: rgba(1, 57, 51, 0.8);
}

.pillar-card-alt .pillar-icon-circle {
    background-color: rgba(1, 57, 51, 0.08);
    color: var(--green);
}

.pillar-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 5px;
}

.pillar-icon-circle svg {
    width: 32px;
    height: 32px;
}

.pillar-card h3 {
    font-size: 1.5rem;
    color: var(--white);
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.pillar-card-alt p {
    color: rgba(1, 57, 51, 0.75);
}

@media (min-width: 768px) and (max-width: 992px) {
    .pillars-wrapper {
        width: 90%;
        gap: 20px;
    }

    .pillar-card {
        padding: 35px 25px 40px;
    }
}

@media (max-width: 768px) {
    .home-pillars {
        padding: 18% 0;
    }

    .pillars-header h2 {
        font-size: 1.9rem;
    }

    .pillars-wrapper {
        width: 88%;
        flex-direction: column;
        gap: 25px;
    }

    .pillar-card {
        padding: 35px 28px 40px;
    }
}

/* ==================== THE BRIDGE: LEGAL INSIGHTS ==================== */
.home-bridge {
    background-color: #0a2e2a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8% 0;
    min-height: 80vh;
}

.bridge-container {
    width: 55%;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.bridge-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 28px 45px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.li-logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 6px;
    color: var(--white);
    text-transform: uppercase;
}

.li-logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.bridge-container h2 {
    font-size: 2.4rem;
    color: var(--yellow);
}

.bridge-container p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
}

.bridge-container p strong {
    color: var(--white);
}

.bridge-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 16px 38px;
    background-color: transparent;
    color: var(--yellow);
    border: 2px solid var(--yellow);
    border-radius: 30px;
    font-family: var(--body-font-family);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bridge-btn:hover {
    background-color: var(--yellow);
    color: #0a2e2a;
}

@media (min-width: 768px) and (max-width: 992px) {
    .bridge-container {
        width: 75%;
    }
}

@media (max-width: 768px) {
    .home-bridge {
        padding: 18% 0;
    }

    .bridge-container {
        width: 88%;
    }

    .bridge-container h2 {
        font-size: 1.8rem;
    }

    .li-logo-main {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }

    .li-logo-sub {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .bridge-logo {
        padding: 20px 28px;
    }
}

/* ==================== COMMUNITY ==================== */
.home-community {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #EDFFFB 0%, #FFFFFF 100%);
    padding: 8% 0;
}

.home-community-text {
    width: 55%;
    text-align: center;
    margin-bottom: 50px;
}

.home-community-text h2 {
    font-size: 2.4rem;
    color: var(--green);
    margin-bottom: 18px;
}

.home-community-text p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-community-gallery {
    width: 85%;
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.home-community-gallery img {
    width: 17%;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.home-community-gallery img:hover {
    transform: scale(1.05) rotate(-2deg);
}

@media (max-width: 768px) {
    .home-community {
        padding: 18% 0;
        gap: 5%;
    }

    .home-community-text {
        width: 88%;
    }

    .home-community-text h2 {
        font-size: 1.7rem;
    }

    .home-community-gallery {
        width: 90%;
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 10px;
    }

    .home-community-gallery img {
        width: 28%;
    }
}

/* ==================== TESTIMONIALS ==================== */
.home-testimonials {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5% 0 8%;
    gap: 40px;
}

/* Featured testimonial — large card like the original */
.testimonial-featured {
    width: 75%;
    max-width: 900px;
    background-color: var(--blue);
    border-radius: 24px;
    padding: 55px 60px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.testimonial-featured-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-featured-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--green) !important;
    text-transform: uppercase;
    opacity: 0.5;
}

.testimonial-featured-headline {
    font-size: 1.6rem;
    line-height: 1.35;
    color: var(--green);
}

.testimonial-featured-body {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.8;
}

.testimonial-featured-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-featured-author p {
    margin: 0;
}

/* Smaller testimonial cards */
.testimonials-grid {
    width: 75%;
    max-width: 900px;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    background-color: var(--blue);
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--green) !important;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-date {
    font-size: 0.85rem;
    opacity: 0.5;
}

@media (min-width: 768px) and (max-width: 992px) {
    .testimonial-featured {
        width: 85%;
        padding: 40px 45px;
    }

    .testimonials-grid {
        width: 85%;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .home-testimonials {
        padding: 15% 0;
    }

    .testimonial-featured {
        width: 88%;
        padding: 35px 30px;
    }

    .testimonial-featured-headline {
        font-size: 1.3rem;
    }

    .testimonials-grid {
        width: 88%;
        flex-direction: column;
        gap: 20px;
    }
}

/* ==================== FINAL CTA ==================== */
.home-cta {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.55)),
        url("../img/Home/hero_leaves.webp");
    background-size: cover;
    background-position: center;
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-cta-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-cta-text {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.cta-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--yellow) !important;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.home-cta-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
}

.home-cta-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
}

.home-cta-text button {
    height: 55px;
    width: 200px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
}

.home-cta-text button:hover {
    border: 1px solid var(--white);
}

@media (max-width: 768px) {
    .home-cta {
        height: 80vh;
    }

    .home-cta-text {
        width: 88%;
    }

    .home-cta-text h1 {
        font-size: 2.2rem;
    }

    .cta-label {
        font-size: 0.65rem;
        letter-spacing: 3px;
    }
}

/* ==================== JOIN FORM ==================== */
.home-join {
    height: auto;
    min-height: 100vh;
    background:
        linear-gradient(rgba(1, 57, 51, 0.92), rgba(1, 57, 51, 0.92)),
        url("../img/Home/hero_leaves.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6% 0;
}

.join-container {
    width: 50%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.join-container h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.join-container > p {
    color: var(--darkblue);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.join-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--darkblue);
    font-family: var(--body-font-family);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(195, 215, 214, 0.3);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: var(--body-font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(195, 215, 214, 0.5);
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--yellow);
    background-color: rgba(255, 255, 255, 0.12);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C3D7D6' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-group select option {
    background-color: var(--green);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-btn {
    align-self: center;
    height: 55px;
    width: 220px;
    margin-top: 10px;
    background-color: var(--yellow);
    color: var(--green);
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--body-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background-color: transparent;
    color: var(--yellow);
    border-color: var(--yellow);
}

.form-success-message {
    width: 100%;
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.form-success-message h3 {
    color: var(--yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-success-message p {
    color: var(--darkblue);
    font-size: 1.1rem;
}

.form-success-small {
    color: var(--green);
    font-size: 0.9rem;
    margin-top: 8px;
    font-weight: 600;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) and (max-width: 992px) {
    .join-container {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .home-join {
        padding: 18% 0;
    }

    .join-container {
        width: 88%;
    }

    .join-container h2 {
        font-size: 1.8rem;
    }

    .form-submit-btn {
        width: 100%;
    }
}

/* ==================== FOOTER TAGLINE ==================== */
.footer-tagline {
    font-family: var(--heading-font-family);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--green);
    margin-bottom: -5px;
}
