/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.customBox,
.elementor-image-box-wrapper {
    position: relative;
    overflow: hidden;
}

.customBox .elementor-image-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 24px;
    z-index: 2;

    transition: 0.2s;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.customBox .elementor-image-box-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s ease, opacity 0.7s ease;
}

.customBox:hover .elementor-image-box-description {
    max-height: 400px;
    opacity: 1;
}


.customBox:hover .elementor-image-box-content {
    opacity: 1;
}

.customBox .elementor-image-box-img {
    margin-bottom: 0px !important;
}

.customBox .elementor-image-box-img img {
    width: 100%;
    transition: 0.2s;
}

.customBox .elementor-image-box-wrapper::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9c3135;
    opacity: 0.8;
    z-index: 1;
    transition: top 0.5s;
    border-radius: 8px;
}


/* Odd boxes: 1, 3, 5, 7, 9 */
.customBox:nth-child(odd) .elementor-image-box-wrapper::before {
    background: #9c3135;
    /* Dark red */
}

/* Even boxes: 2, 4, 6, 8 */
.customBox:nth-child(even) .elementor-image-box-wrapper::before {
    background: #deb408;
    /* Yellow */
}

/* Specific third box */
.customBox:nth-child(3) .elementor-image-box-wrapper::before {
    background: #004270;
    /* Navy Blue */
}


.customBox:hover .elementor-image-box-wrapper::before {
    top: 0;
}

.elementor-post__read-more {
    margin-top: 20px;
    background-color: #225A92;
    font-family: "Outfit", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 8px 20px 8px 20px;
    padding: 10px 20px 10px 20px;
}

.elementor-post__read-more:hover {
    color: #fff;
    background: #deb408;
}

.stickyBtn {
    position: fixed;
    bottom: 150px;
    left: 10px;
    line-height: 0;
    z-index: 999;
}

.stickyBtn a {
    color: #fff;
    padding: 20px;
    background: #225A92;
    display: block;
    border-radius: 10px 20px 10px 20px;
}

.stickyBtn a:hover {
    background: #deb408
}

ol,
ul {
    margin: 0;
    margin-left: 20px;
}

ul li::marker {
    color: #DEB408
}

/* Swiper core styles */
.swiper {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#customSlider .elementor-image-carousel-wrapper {
    padding: 30px 0px !important;
}

#customSlider .swiper-wrapper .swiper-slide-next {
    filter: none !important;
    transform: scale(1.1) !important;
    background: #fff;
    z-index: 10;
}

#customSlider .swiper-wrapper div {
    filter: blur(5px);
    transform: scale(0.9);
    z-index: 1;
}

.swiper-slide img {
    width: 100%;
}

@media screen and (max-width: 992px) {
    .swiper-wrapper div {
        filter: unset !important;
        transform: unset !important
    }

    .elementor-image-carousel-wrapper {
        padding: 0px 0px !important;
    }

    .swiper-wrapper .swiper-slide-next {
        transform: unset !important;
    }
}

.ast-scroll-to-top-right {
    bottom: 80px;
}

.tcs-call-to-action {
    position: fixed;
    bottom: -20px;
    right: 0;
    z-index: 99;
    transform: translateY(-100%);
}

.tcs-call-to-action a {
    text-transform: uppercase;
    text-decoration: none;
    background-color: #a60106 !important;
    color: #fff !important;
    padding: 15px 30px;
}

input[type=email],
input[type=number],
input[type=password],
input[type=reset],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    background: #fff !important;
    height: 45px;
}





/* --- Controls --- */
.wpf-controls-container {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.wpf-control-input,
.wpf-control-select {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    /* Pill shape */
    font-size: 15px;
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.wpf-control-input {
    min-width: 250px;
}

.wpf-control-input:focus,
.wpf-control-select:focus {
    border-color: #4dbbde;
}

/* --- Grid Layout --- */
.wpf-profile-grid {
/*     display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px; 
    padding: 20px 10px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
	
	display: grid;
	  grid-template-columns: repeat(3, 1fr);
	  gap: 10px;
	  padding: 20px 10px;
	  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- Card Design --- */
.wpf-profile-card {
    background: #fff;
    border-radius: 20px;
    /* Softer corners */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    overflow: hidden;
    position: relative;
    border: 1px solid #f0f4f8;
    display: flex;
    flex-direction: column;
    /* Key for equal heights */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpf-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(77, 187, 222, 0.2);
}

/* --- Banner & Badge --- */
.wpf-card-banner {
    height: 90px;
    background: linear-gradient(135deg, #4dbbde, #29a0c7);
    /* Primary Gradient */
    width: 100%;
}

.wpf-year-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8bd3c;
    /* Secondary Color */
    color: #fff;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* --- Avatar --- */
.wpf-avatar-container {
    width: 130px;
    height: 130px;
    margin: -65px auto 0;
    position: relative;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.wpf-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.wpf-avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f8bd3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}

/* --- Content --- */
.wpf-card-content {
    padding: 15px 25px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wpf-name {
    margin: 10px 0 5px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.wpf-job-title {
    font-size: 13px;
    color: #4dbbde;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.wpf-divider {
    height: 3px;
    width: 30px;
    background: #f8bd3c;
    border-radius: 2px;
    margin: 0 auto 15px;
}

/* --- Memories Box (The Fix for Long Text) --- */
.wpf-memories-box {
    background: #f9fcfe;
    border-radius: 12px;
    padding: 15px;
    /* Fixed height ensures all cards align perfectly */
    height: 94px;
    overflow-y: auto;
    /* Scroll if text is long */
    text-align: left;
    border: 1px solid #edf2f7;

    /* Font Styling */
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

.wpf-memories-box>div:last-child {
    margin-bottom: 0;
    margin-top: 8px;
}

.wpf-memories-box p {
    margin: 0;
}

/* Custom Scrollbar Styling (Webkit) */
.wpf-memories-box::-webkit-scrollbar {
    width: 6px;
}

.wpf-memories-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.wpf-memories-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.wpf-memories-box:hover::-webkit-scrollbar-thumb {
    background: #4dbbde;
    /* Primary color on hover */
}

/* Spacer for cards with no memories to maintain height */
.wpf-memories-empty {
    height: 110px;
}

.wpf-text-block {
    margin-bottom: 8px;
}

.wpf-italic {
    font-style: italic;
    color: #666;
}

.wpf-text-divider {
    border: 0;
    border-top: 1px dashed #e0e0e0;
    margin: 10px 0;
}

/* --- No Results Message --- */
.wpf-no-results-msg {
    grid-column: 1 / -1;
    /* Spans the full width of the grid */
    text-align: center;
    padding: 60px 20px;
    background: rgb(166 1 6 / 1%);
    border-radius: 15px;
    border: 2px dashed rgba(34, 90, 146, 0.48);
    color: #555;
    margin: 20px 0;
}

.wpf-no-results-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.wpf-no-results-msg h3 {
    margin: 0 0 10px;
    color: #225a92;
    font-size: 22px;
}

.wpf-no-results-msg p {
    margin: 0;
    color: #777;
}

.wpf-avatar-container img {
    border-radius: inherit;
}

#wpf-search-input {
    /* border-radius: 5px; */
}

.wpf-control-select {
    padding: 12px 8px;
}