/* Specific CSS for index.html */
/* SLIDER */
.slidercentre {
  width: 80%;         /* give it a width */
  margin: 0 auto;       /* auto left/right margins */
}

.slider-section img {
    width:90%px;
    display: block;
    margin: 0 auto; 
}
.slider-section {
    width: 100%;
    position: relative;
    z-index: 1;    
}

.slider-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../images/Fresh_Green/fresh-green-bg3_b.png' );
  background-position: center;
  opacity: 0.2; /* Adjust as needed */
  z-index: -1;
}
 
.swiper-slide {
    padding: 3px;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
}

#headingbutton {
    height: auto;
    justify-content: left;
    padding-left: 80px;
}

#headingbutton h2 {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 2.2rem; /* Reduced from 3.5rem to prevent awkward wrapping on desktop */
    font-weight: 700;
    color: #50b848;
}

#headingbutton button{
    background-color: #50b848;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 3px;
    border: none;
    font-size: 1.2em;
    font-weight: bold;    
}


/* PARALLAX */
.parallax {
    background-image: url('../images/Background/fresh-green-bg-graphic2_b.png');
    height: 200px;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.parallax-text {
    background: rgba(0,0,0,0.5);
    padding: 20px;
}

.h2 .slider-section {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  color: #50b848;
  font-style: normal;

}

#FP-intro-heading {
    text-align: center;
    padding: 70px 20px 30px 20px;
}


#FP-intro {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;    
}

#FP-intro button{
    background-color: #8dcb3f;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 3px;
    border: none;
    font-size: 1.1em;
    font-weight: 600;    
}
#FP-intro .inversebutton {
    background-color: #FFFFFF;
    color: #8dcb3f;
    padding: 10px;
    border-radius: 3px;
    border: #8dcb3f 2px solid;
    font-size: 1.1em;
    font-weight: 600;    
}

/*ABOUT GREEN BUTTON A-GO*/
#About-green-ago {
    background-color: #b5dd82;
    padding: 40px 60px 40px 60px;
    text-align: center;
    align-items: center;
    vertical-align: middle;
}

#About-green-ago h6 { 
    padding-top: 20px;
    font-size: 1em;
    font-variant: small-caps;
    color: #009671;
}

#About-green-ago h2 { 
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 2em;
    color: #FFFFFF;
}

#About-green-ago p { 
    align-self: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
#About-green-ago button{
    background-color: #009671;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 3px;
    border: none;
    font-size: 1.1em;
    font-weight: 600;    
}

/* ====================================================
   ADDP VIDEO PREVIEW SECTION
   ==================================================== */
#funeral-article-section {
    padding: 60px 20px;
}

#funeral-online-article-section {
    padding: 60px 20px;
}

#addp-video-section {
    background-color: #f5fdf0;
    padding: 60px 20px;
}

.addp-video-copy {
    padding: 20px 40px 20px 40px;
    text-align: left;
}

.addp-video-copy h6 {
    padding-top: 10px;
    font-size: 0.85em;
    font-variant: small-caps;
    letter-spacing: 1px;
    color: #009671;
    font-weight: 700;
}

.addp-video-copy h2 {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 2em;
    font-weight: 800;
    color: #4cb848;
    line-height: 1.25;
}

.addp-video-copy p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    padding-bottom: 10px;
}

.addp-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.addp-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #333;
    padding: 5px 0;
}

.addp-check {
    color: #50b848;
    font-size: 1.3rem !important;
    flex-shrink: 0;
}

.btn-addp-learn {
    display: inline-block;
    background-color: #ffffff;
    color: #50b848;
    padding: 10px 18px;
    border: 2px solid #50b848;
    border-radius: 3px;
    font-size: 1rem;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    margin-left: 10px;
    vertical-align: middle;
    transition: background-color 0.2s, color 0.2s;
}

.btn-addp-learn:hover {
    background-color: #50b848;
    color: #ffffff;
    text-decoration: none;
}

/* Video tile */
.addp-video-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.addp-video-tile {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    cursor: pointer;
    text-decoration: none;
    max-width: 520px;
    width: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
}

.addp-video-tile:hover {
    box-shadow: 0 12px 40px rgba(80,184,72,0.35);
    transform: translateY(-3px);
    text-decoration: none;
}

.addp-video-thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.addp-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.28);
    transition: background 0.25s;
}

.addp-video-tile:hover .addp-play-overlay {
    background: rgba(0, 0, 0, 0.42);
}

.addp-play-btn {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
    transition: transform 0.2s;
}

.addp-video-tile:hover .addp-play-btn {
    transform: scale(1.12);
}

.addp-watch-label {
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Responsive adjustments */
@media screen and (max-width: 800px) {
    .addp-video-copy {
        padding: 20px 20px 10px 20px;
        text-align: center;
    }
    .addp-bullets li {
        justify-content: center;
    }
    .addp-video-col {
        padding: 10px 20px 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .addp-video-copy h2 {
        font-size: 1.5em;
    }
    .btn-addp-learn {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* ====================================================
   FUNERAL COVER SECTION – Mobile bullet alignment fix
   Scoped to #funeral-article-section only.
   Overrides the global .addp-bullets li { justify-content: center }
   set above for the ADDP section, restoring left-aligned bullets
   so that wrapping text sits flush under the icon, not centred.
   ==================================================== */
@media screen and (max-width: 800px) {
    #funeral-article-section .addp-video-copy {
        text-align: left;
    }
    #funeral-article-section .addp-bullets li {
        justify-content: flex-start;
    }
}

/* Styles for screens up to 768px wide */
@media screen and (max-width: 800px) {
  #headingbutton h2 {
    font-size: 2rem;
    padding: 15px;
  }
#About-green-ago h2 { 
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.8em;
    color: #FFFFFF;
}  
}

/* Styles for screens up to 480px wide */
@media screen and (max-width: 480px) {

    #headingbutton h2 {
        font-size: 1rem;
        padding: 10px;
    }
#About-green-ago {
    background-color: #b5dd82;
    padding: 40px 10px 40px 10px;
    text-align: center;
    align-items: center;
    vertical-align: middle;
}    
#About-green-ago h2 { 
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.5em;
    color: #FFFFFF;
} 
}
