/*
Theme Name: Astra Child
Theme URI: http://webprozz.com/
Description: A child theme of Astra
Author: Johnny Jeries
Author URI: http://webprozz.com/
Template: astra
Version: 1.0.0
*/

@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/KFGQPC Uthmanic Script HAFS Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html[lang="en"] .faq-question {
    text-align: left!important;
}

body {
    font-family: 'Cairo', sans-serif;
    font-weight: 400; /* Normal weight */
}

.ast-desktop .main-header-menu.submenu-with-border .sub-menu .menu-link, .ast-desktop .main-header-menu.submenu-with-border .children .menu-link {
    background-color: beige;
}

h1, h2 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700; /* Bold */
}
h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600; /* Bold */
}

body{
    overflow-x: hidden;
}

.ast-site-title-wrap{
    display: none !important;

}

.uagb-post__text .uagb-post__excerpt{
    min-height: 139px;
}

.uagb-post-grid .uagb-post__title{
    min-height: 84px;
}

.uagb-post__text .uagb-post__cta {
    color: white!important;
    background-color: #2C3E50!important;
    border-width: 1px!important;
    border-radius: 9px!important;
    border-style: none!important;
    padding:5px!important;
}

.uagb-post__text .uagb-post__cta:hover {
    background-color: #465d74!important;
}

.uagb-post-grid .uagb-post__link{
    color:white!important;
}

.uagb-post-grid .uagb-post__link:hover{
    color:indianred !important
}

.ast-container{
    /* padding:10px!important; */
}

#masthead > div > div > div > div > div.site-branding > div > span > a > img{
    height: 150px !important;
    width: 140px !important;
}

.swiper-slide{
    height: 100vh !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width:100% !important;
}

.swiper-container {
    width:100% !important;
    overflow: hidden;
}

.menu-link{
    height:auto!important;
    font-weight: 600;
}

.menu-link:hover,
.menu-link:active,
.menu-link.current-menu-item {
    background-color: beige!important;
    font-weight: 600!important;
    color: indianred !important;
}

.main-header-menu .menu-item:hover > .menu-link, 
.main-header-menu .menu-item:hover > .ast-menu-toggle, 
.main-header-menu .ast-masthead-custom-menu-items a:hover, 
.main-header-menu .menu-item.focus > .menu-link, 
.main-header-menu .menu-item.focus > .ast-menu-toggle, 
.main-header-menu .current-menu-item > .menu-link, 
.main-header-menu .current-menu-ancestor > .menu-link, 
.main-header-menu .current-menu-item > .ast-menu-toggle, 
.main-header-menu .current-menu-ancestor > .ast-menu-toggle {
    color: indianred !important;
    font-weight: 600;
    background-color: beige !important;
}


.video-section {
    width: 100%;
    height: 70vh; /* Adjust height of video section */
    overflow: hidden;
    z-index: 1; /* Ensure it is behind the content below */
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    overflow: hidden;
    z-index: -1; /* Send it to the background so that other content can be on top */
}

.video-container video {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Ensures the video covers the container while maintaining aspect ratio */
}

.main-header-bar {
    background-color: transparent;
    border-bottom-width: 0;
}
.sub-menu{
    background: transparent !important;
}

/* Ensure the page takes full height of the viewport */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* The container that wraps the content and footer */
.page-container {
    min-height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
}

/* The primary content will take up the remaining space */
#primary {
    flex: 1;
}

/* Footer stays at the bottom */
footer {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
}

.ast-header-break-point .main-header-bar {
    border-bottom-width:0!important;
}

.ast-header-break-point .ast-header-custom-item, .ast-header-break-point .main-header-menu {
    background-color: #ffffff4a;
}

.ast-header-break-point .ast-mobile-menu-buttons-minimal.menu-toggle{
    color: black !important;
}

.section-content {
    padding: 40px;
    text-align: center;
    margin-top: 90px;
}

.section-title {
    /* font-weight: bold; */
    font-size: 2rem; /* Adjust the size */
    color: #333; /* Text color */
    text-transform: uppercase; /* Optional: Uppercase text */
    letter-spacing: 1px; /* Add some spacing between letters */
    text-align: center; /* Center the text */
    margin-bottom: 20px; /* Add some space below the title */
    position: relative; /* For adding decorations */
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #e63946;
    margin: 10px auto 0;
    transition: width 0.3s ease; /* Smooth animation */
}

.section-title:hover::after {
    width: 80px; /* The underline expands on hover */
}


/* Optionally, add a shadow effect or another decoration */
.section-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Light shadow for effect */
}

.title-div {
    display: flex; /* Use flexbox for easy centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100px; /* Adjust this value depending on your preferred height */
    background-color: rgb(255 255 255 / 37%);
    padding: 10px; /* Add some padding to give space around the text */
    border-radius: 8px; /* Optional: Adds rounded corners */
    width: 50%;
    margin: 0px auto 50px;
}

.section-title {
    color: #333; /* Choose a contrasting color for the text */
    margin: 0; /* Remove default margin */
}


.section-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333; /* Adjust to your theme's color */
}

.section-content p strong {
    font-weight: bold;
    color: #444; /* Adjust to your theme's color */
}

.section-title{
    text-transform: uppercase;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: beige;
    font-weight: 600;
    color: indianred!important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.read-more-btn:hover {
    background-color: #ffffb7; /* Darker color on hover */
}

/* Styling for the FAQ section container */
.faq-container {
    padding: 50px 20px;
    background-image: url('https://onestatecampaign.org/en/wp-content/uploads/sites/4/2020/05/Westbank_Wall.jpg'); /* Add your image here */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
}

/* Title styling */
.faq-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* FAQ question styling */
.faq-question {
    display: block;
    width: 100%;
    background-color: #2C3E50!important;
    color: white;
    padding: 15px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    text-align: right;
    transition: background-color 0.3s ease;
    line-height:initial;
}
.faq-question-en {
    display: block;
    width: 100%;
    background-color: #2C3E50!important;
    color: white;
    padding: 15px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
    line-height:initial;
}

.faq-question:hover,
.faq-question:active,
.faq-question.active {
    background-color: indianred !important;
}
.faq-question-en:hover,
.faq-question-en:active,
.faq-question-en.active {
    background-color: indianred !important;
}


/* FAQ answer styling */
.faq-answer {
    max-height: 0; /* Initially closed */
    overflow: hidden; /* Hide content when collapsed */
    background-color: rgba(0, 0, 0, 0.41); /* Set semi-transparent background */
    padding: 0 15px; /* Initially no vertical padding for smooth collapse */
    margin-top: 10px; /* Space above the answer */
    border-radius: 5px; /* Rounded corners for the answer box */
    transition: max-height 0.4s ease, padding 0.4s ease; /* Smooth transition for sliding effect */
}



.faq-item {
    margin-bottom: 5px;
}

/* When FAQ is open */
.faq-item.active .faq-answer {
    display: block;
}

.contact-section {
    padding: 50px;
    text-align: center;
    /* background-color: #ffffff; */
}

.contact-form {
    max-width: 600px; /* Set the maximum width for the form */
    margin: 0 auto; /* Center the form horizontally */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100% !important; /* Ensure the input fields take the full width of the container */
    padding: 10px !important;
    margin: 10px 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    max-width:100% !important;
}


.contact-form button {
    display: inline-block !important;
    padding: 10px 20px !important;
    background-color: beige !important;
    font-weight: 600 !important;
    color: indianred!important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    transition: background-color 0.3s ease !important; /* Smooth hover effect */
}

.contact-form button:hover {
    background-color: #ffffb7 !important; /* Darker color on hover */
    ; /* Button hover effect */
}

footer{
    padding: 0 !important;
}

.ast-small-footer > .ast-footer-overlay {
    background-color: #2C3E50;
}

body, .ast-separate-container {
    background-color: #F5F5F5;
}

.site-main {
    background-color: #f7f7f7; /* Or #f7f7f7 depending on the feel you want */
}

.site-main article{
    background-color:#f7f7f7!important;
}

.widget-title{
    text-align:center;
}

.ast-desktop .main-header-menu.submenu-with-border .sub-menu, .ast-desktop .main-header-menu.submenu-with-border .astra-full-megamenu-wrapper{
    border-color: #2C3E50!important;
}

/* height of featured images of archive pages */
.uagb-post-grid .uagb-post__image img{
    height:200px;
}

.entry-title {
    font-size: 2.5rem; /* Large, attention-grabbing size */
    color: #1d1d1d; /* Dark color for seriousness */
    text-transform: uppercase; /* Makes the title stand out */
    text-align: center; /* Centers the title */
    margin-bottom: 1rem;
    position: relative;
    letter-spacing:1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Light shadow for effect */

}

.entry-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #e63946;
    margin: 10px auto 0;
    transition: width 0.3s ease; /* Smooth animation */
}

.entry-title:hover::after {
    width: 80px; /* The underline expands on hover */
}


@media (max-width: 768px) {
    .entry-title {
        font-size: 2rem; /* Responsive adjustment for smaller screens */
    }
}


/* desktop */
@media (min-width: 768px) {

    #primary{
        width:70%!important;
    }

    #secondary{
        width: 20%!important;
    }

    .sidebar-main{
        width:300px!important;
    }
    
    .wp-video{
        height:250px!important;
    }
    
    .mejs-container.wp-video-shortcode.mejs-video{
        height: 250px!important;
    }
        
    /* iframe videos in sidebar */
    .mejs-container.mejs-container-keyboard-inactive.wp-video-shortcode.mejs-video {
        /* Your styles here */
        width: 300px!important;
        height: 250px!important; /* Adjust as needed */
    }

    .sidebar-main iframe {
        width: 300px!important;
        height: 250px!important; /* or adjust as needed */
    }

    .widget.widget_media_video{
        margin-bottom: 100px!important;
        height:300px;
    }
}

/* mobile */
@media screen and (max-width: 768px) {
    .section-content {
        padding: 10px; /* Reduce padding on smaller screens */
    }

    .section-content h2 {
        font-size: 20px;
    }

    .section-content p {
        font-size: 14px;
    }

    .read-more-btn {
        padding: 8px 16px; /* Adjust button size on smaller screens */
    }
}