/*
Theme Name: FWDC WordPress theme
Author URI: https://www.codecchameleon.com
Description: Theme developed using the FWDC HTML theme
Version: 1.0
Text Domain: fwdc
*/

.wp-content img {
    height: auto;
}

.wp-content h1, .wp-content h2, .wp-content h3, .wp-content h4, .wp-content h5, .wp-content h6 {
    margin: 1rem 0;
    display: block;
    clear: both;
}

.wp-content img.alignnone {
    clear: both;
    display: block;
    margin-bottom: 2rem;
}

.wp-content p {
    text-align: justify;
    margin: 1rem 0;
    font-size:16px;
}

.wp-content div.column {
    overflow: hidden;
}

.wp-content figure.alignleft {
    margin: 2rem 2rem 2rem 0;
}

.wp-content figure.alignright {
    margin: 2rem 0 2rem 2rem;
}

.wp-content figure.alignnone {
    margin: 2rem 0;
}

.wp-content figure.aligncenter img, .wp-content figure.aligncenter, .wp-content img.aligncenter {
    display: block;
    margin: 0 auto;
    padding: 2rem 0;
}

.wp-content figure.aligncenter figcaption {
    text-align: center;
}

@media (min-width: 52rem) {
    .wp-content figure.alignleft, .wp-content img.alignleft {
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left;
        max-width: 50%;
    }

    .wp-content figure.alignright, .wp-content img.alignright {
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right;
        max-width: 50%;
    }

    .wp-content figure.alignnone, .wp-content img.aligncenter, .wp-content figure.alignright img, .wp-content figure.alignleft img, .wp-content figure.alignnone img {
        padding-bottom: 2rem;
    }
}

@media (max-width: 52rem) {
    .wp-content figure.alignleft, .wp-content img.alignleft {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left;
    }

    .wp-content figure.alignright, .wp-content img.alignright {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right;
    }

    .wp-content figure.alignnone, .wp-content img.aligncenter, .wp-content figure.alignright img, .wp-content figure.alignleft img, .wp-content figure.alignnone img {
        padding-bottom: 2rem;
    }
}

@media (max-width: 40rem) {
    .wp-content figure.alignleft, .wp-content img.alignleft {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .wp-content figure.alignright, .wp-content img.alignright {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .wp-content figure.aligncenter, .wp-content img.aligncenter {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .wp-content figure, .wp-content img {
        display: block;
        max-width: 100%;
    }
}

.video-hero {
    height: 75vh;
    overflow: hidden;
}

.hero-video {
    position: fixed;
    overflow: hidden;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    z-index: -10;
    top: -50px;
}

.columnsBlock iframe {
    max-width: 100%;
    height: auto;
}

.testim-modrn2 .author-img{
    height:90px;
}

.testim-modrn2 .author-img:after{
    height:100px;
}

section.class-listing .item-img img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.main-content{
    margin-top: 40px;
}

.img-cover-square{
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.img-cover-landscape{
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

.img-cover-portrait{
    aspect-ratio: 2 / 3;
    object-fit: cover;
    width: 100%;
}

.main-footer .gform_button{
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.navbar .logo {
    width: 220px;
}

.testim-modrn2 .controls .swiper-nav-ctrl {
    border: 1px solid rgba(0,0,0,0.8);
    color: black;
}

.curve-buttom {
    bottom: -40px;
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.img-natural{
    width: auto !important;
}

.block-content a{
    display:inline;
}

.services .butn{
    padding:0.5rem 1rem;
}

.fwdc-green-bg{
    background-color: #76B71D !important;
}

.fwdc-green-color{
    color: #76B71D !important;
}

h1, h2, h3, h4 {
    line-height: 1.3;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 16px;
}

.btn-primary {
    color: #fff !important;
    background-color: #76B71D;
    border-color: #76B71D;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    color: #fff;
    background-color: #6A9F1A;
    border-color: #6A9F1A;
}

.wp-content a{
    color: #76B71D;
}

.pg-header-sipm{
    border-top: 12px solid #99C355;
}

.wp-content ul {
    list-style: none; /* Remove default bullet styling */
    padding-left:0;
}

.wp-content li {
    padding-left: 1.2em;
    margin-bottom: 0.5em; /* Add spacing between items */
}

.wp-content li::before {
    content: '\2022'; /* Unicode for bullet */
    margin-right: 0.5rem;
}

.block-content .btn{
    border-radius: 0rem;
    white-space: nowrap;
}

#tribe-events-pg-template{
    padding-top:0;
}

.text-white-imp{
    color: white !important;
}

.text-black-imp{
    color: black !important;
}

.showcase-info-2{
    left:-40px !important;
}

.showcase-info-3{
    left:-33px !important;
}

/* default: lg and up (≥ 992px) */
.slider-prlx .parallax-slider { height: 60vh; }

/* make slides match container height */
.slider-prlx .parallax-slider .swiper-wrapper,
.slider-prlx .parallax-slider .swiper-slide { height: 100%; }

/* md only (< 992px) */
@media (max-width: 991.98px) {
    .slider-prlx .parallax-slider { height: 75vh; }
}

/* sm and below (< 768px) */
@media (max-width: 767.98px) {
    .slider-prlx .parallax-slider { height: 60vh; }
}

/* Transcript styles */
.hq-transcript-section .butn { min-width: 180px; }
.hq-transcript-section { display: flex; flex-direction: column; align-items: center; }
.hq-transcript-btn { border: none !important; outline: none !important; box-shadow: none !important; }
.hq-transcript-btn:focus, .hq-transcript-btn:active { border: none !important; outline: none !important; box-shadow: none !important; }
.hq-transcript-container { max-width: 600px; margin: 0 auto; text-align: left; }

/* Unified overlay styles (applied for any video kind) */
.video-overlay-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.85); z-index:9999; display:flex; align-items:center; justify-content:center; padding:2rem 1.5rem; }
.video-overlay-backdrop iframe,
.video-overlay-backdrop video { max-width:70%; width:auto; max-height:70%; height:auto; background:#000; border-radius:10px; box-shadow:0 0 40px rgba(0,0,0,.5); }
.video-overlay-backdrop button.close-video { position:absolute; top:20px; right:25px; background:rgba(255,255,255,.12); color:#fff; border:none; font-size:34px; line-height:1; cursor:pointer; padding:4px 14px 10px; border-radius:6px; transition:background .25s; }
.video-overlay-backdrop button.close-video:hover { background:rgba(255,255,255,.25); }
body.video-any-active > :not(.video-overlay-backdrop) { filter:blur(6px); transition:filter .3s; }
@media (max-width:767px){ .video-overlay-backdrop video { max-height:60vh; } }

.text-white p{
    color:white !important;
}

.tribe-events-c-nav__prev-label-plural{
    display:none;
}

.tribe-events-c-nav__next-label-plural{
    display:none;
}