/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */


.ehf-header #masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

header .e-con-inner {
    transition: padding 0.5s;
}
header.fixed {
    background-color: #fff;
}
header.fixed .e-con-inner {
    padding-top: 7px;
    padding-bottom: 7px;
}

.hfe-site-logo-img {
    display: block;
}

.hfe-nav-menu a.hfe-menu-item:not(.elementor-button) {
    /*text-shadow: 0px 2px 0px #ccc;*/
}
.hfe-nav-menu li.elementor-button-wrapper {
    margin-left: 20px;
}

#home-hero-section {
    background: rgb(28,162,235);
    background: linear-gradient(180deg, rgba(28,162,235,1) 58%, rgba(28,162,235,1) 60%, rgba(255,255,255,1) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(28,162,235,1) 45%, rgba(31,71,171,1) 100%);
}

.read-more-modal button {
    position: relative;
    display: flex;
    align-items: center;
    border: 0;
    padding: 14px 22px;
    width: 44px;
    height: 44px;
    overflow: hidden;
    transition: 0.2s;
}
.read-more-modal button::before {
    content: "\f067";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 15px;
}
.read-more-modal button:hover {
    width: auto;
    padding-right: 32px;
}
.read-more-modal button svg {
    display: block;
    width: 18px;
    height: 18px;
}
.read-more-modal button span {
    margin-left: 6px;
    transform: translateX(30px);
}
.read-more-modal button:hover span {
    transform: translateX(15px);
}


body.modal-open {
    overflow: hidden;
}
.custom-modal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.custom-modal-content {
    position: relative;
    margin: 0 auto;
    padding: 80px 60px;
    background: #fff;
    width: 90%;
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
    animation: fadeIn 0.3s ease-in-out;
    max-height: 92vh;
    overflow-y: auto;
}

.paoc-cb-popup-body {
    padding: 80px 60px;
    background: #fff;
    border-radius: 20px;
    width: 90% !important;
    max-width: 100% !important;
}

.paoc-popup-content ul {
    margin: 15px 0;
}

body .paoc-cb-popup-body .paoc-popup-con-bg {
    padding: 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    background-color: #AFAAAA;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.close-btn svg {
    display: block;
    width: 13px;
    height: 13px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-modal-content h4 {
    font-weight: 700;
    color: #30394B;
    margin: 0 0 15px 0;
}
.custom-modal-content p {
    font-family: 'Inter';
    font-size: 16px;
    line-height: 26px;
    color: #4B5059;
}
.custom-modal-content img {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    width: auto;
}

.genie-tab .e-n-tabs-heading {
    background-color: #30394B;
    width: fit-content;
    padding: 3px;
    border-radius: 12px;
    margin: 0 auto;
}


.cvs .item {
    height: 420px;
}
.cvs .owl-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 55px;
    gap: 12px;
}
.cvs .owl-stage-outer {
    background: transparent url("https://preview.genieteacher.com/wp-content/uploads/2024/11/laptop-body-frame-img-transparent.png") no-repeat center;
    background-size: cover;
}
.cvs .owl-stage {
    transition: none !important;
}
.cvs .owl-carousel .animated { 
    animation-duration: 200ms;
    animation-fill-mode: both;
}
.cvs video {
    box-sizing: border-box;
    padding: 1.5% 11.9% 4.6% 11.8%;
    object-fit: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}
.cvs .owl-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    background-color: #fff;
}
.cvs .owl-dots button.active {
    background-color: #c3c3c3;
}
.cvs .owl-dots button:not(.active) {
    background-color: #222;
}

.custom-slider .cs-data p {
    font-size: 20px;
    line-height: 30px;
}

.tab-heading .elementor-widget-container {
    background-image: url("https://preview.genieteacher.com/wp-content/uploads/2024/11/Vector-5.png") !important;
}
.tab-heading-blue .elementor-widget-container {
    background-image: url("https://preview.genieteacher.com/wp-content/uploads/2024/12/blue-vector.png") !important;
}
.tab-heading-yellow .elementor-widget-container {
    background-image: url("https://preview.genieteacher.com/wp-content/uploads/2024/11/yellow-vector.png") !important;
}
.tab-heading-purple .elementor-widget-container {
    background-image: url("https://preview.genieteacher.com/wp-content/uploads/2024/11/purple-vector.png") !important;
}


.custom-slider a.paoc-popup-link {
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-style: italic;
    border-bottom: 2px solid #111;
    color: #111;
    font-size: 16px;
    line-height: 26px;
}

body .paoc-close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    background-color: #AFAAAA;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


.custom-slider a.paoc-popup-link::after {
    content: '*';
    color: red;
    margin-left: 2px;
}

.paoc-popup-content > p:first-child {
    margin-bottom: 5px !important;
}

.tab__slider .swiper-pagination {
    bottom: -25px !important;
}


/* 1024 */
@media only screen and (max-width :1100px){
    
    .hfe-nav-menu a.hfe-menu-item {
        /*text-shadow: none !important;*/
    }
    
    .custom-modal-content,
    body .paoc-cb-popup-body {
        padding: 60px 40px;
    }
    .custom-modal-content h4 {
        font-size: 30px;
        line-height: 42px;
    }
    
}

/* 768 */
@media only screen and (max-width:999px){
    #home-hero-section-inner {
        width: 100%;
    }
    .cvs video {
        padding: 3.1% 11.4% 6.2% 11.3%;
    }
}

@media only screen and (max-width:767px){
    .genie-tab .e-n-tabs-heading {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .genie-tab .e-n-tabs-heading .e-n-tab-title[aria-selected=true] {
        margin-bottom: initial !important;
    }
    
    .read-more-modal button {
        width: fit-content;
        height: auto;
        margin: 0 auto;
    }
    .read-more-modal button span {
        transform: none;
        margin-left: 14px;
    }
    
    .custom-modal-content,
    body .paoc-cb-popup-body {
        padding: 45px 22px;
    }
    .custom-modal-content h4 {
        font-size: 22px;
        line-height: 32px;
    }
}







