/*!
Theme Name: Cretors
Theme URI:
Author: CloudMellow
Author URI: https://www.cloudmellow.com/
Description: Child Theme for cretors Custom WordPress Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Cretors
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,.vc_row-has-fill>.vc_column_container>.vc_column-inner{padding-top:0 !important}.vc_row{margin-left:0 !important;margin-right:0 !important}.row{position:relative}.rev_slider_wrapper{z-index:7 !important;overflow:hidden !important}.vc_section{padding-left:0 !important;padding-right:0 !important;margin-left:0 !important;margin-right:0 !important;padding-top:0 !important}.wpb_button,.wpb_content_element,ul.wpb_thumbnails-fluid>li{margin-bottom:0 !important}.wpb_single_image{position:relative}

/* Location Map module css */
.map__container {
    position: relative;
    width: 100%;
    margin: 5px auto;
}



.map__container_bg {
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* map__marker using custom image */
.map__marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #00AFF0;
    border: 7px solid lightblue;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

/* Tooltip style */
.map__tooltip_info {
    display: inline-block;
    position: absolute;
    top: 30px;
    left: 49px;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0px 17.241px 63.793px 0px rgba(0, 0, 0, 0.40);
    min-width: 150px;
    transition: all 0.3s;
    z-index: 20;
}

.map__tooltip_info h5 {
    font-size: 20px;
    font-family: "Inter", "Helvetica", Arial sans-serif;
    font-weight: 500;
    margin-bottom: 0px;
    word-wrap: break-word;
    white-space: nowrap;
}
.map__tooltip_info h5 a{
    color:#000;
    font-size: 20px;
    font-weight: 500;
}

.map__tooltip_info p {
    display: none;
    transition: all 0.3s;
    padding-left: 30px;
}

@media (min-width: 992px) {
    .map__tooltip_info:hover p {
        display: block;

    }
    .map__tooltip_info h5 {   
    word-wrap: break-word;
    white-space: nowrap;
}

    .map__tooltip_info:hover {
        min-width: 320px;
    }
}

/* Line pointing to tooltip */
.map__lineto_tooltip {
    /* display: none; */
    position: absolute;
    top: 8px;
    left: 10px;
    width: 60px;
    height: 3px;
    background-color: #00AEEF;
    transform: rotate(45deg);
    transform-origin: left center;
    z-index: 15;
}

.map__tooltip_info h5 i {
    font-size: 30px !important;
    vertical-align: middle;
    padding-right: 5px;
    color: #00aff0;
}

/* Show tooltip and line on hover */
.map__marker:hover .map__tooltip_info,
.map__marker:hover .map__lineto_tooltip {
    display: block;
}

@media (max-width: 992px) {
    .map__tooltip_info {
        min-width: 120px;
        max-width: 138px;
        padding: 4px 9px !important;
        overflow: hidden;
    }

    .map__marker {
        width: 20px;
        height: 20px;
        border: 6px solid lightblue;
    }

    .map__tooltip_info h5 {
        font-size: 14px !important;
        margin: 0px !important;
    }
    .map__tooltip_info h5 a{
    font-size: 14px !important;
        margin: 0px !important;
}

    .map__tooltip_info h5 i {
        font-size: 18px !important;
    }
    .map__lineto_tooltip{
        width: 55px !important;
    }
}

@media (max-width: 992px) {
        .map__marker:nth-child(3) .map__tooltip_info {
    top: 30px !important;
        left: 39px !important;
    }
            .map__marker:nth-child(7) .map__tooltip_info {
    top: -70px !important;
        left: 9px !important;
    }
        .map__marker:nth-child(4) .map__tooltip_info {
    top: 50px !important;
        left: -10px !important;
    }
        .map__marker:nth-child(5) .map__tooltip_info {
        top: -38px !important;
        left: 55px;
    }
        .map__marker:nth-child(2) .map__tooltip_info {
    top: -70px !important;
        left: -30px !important;
    }
            .map__marker:nth-child(6) .map__tooltip_info {
    top: -50px !important;
        left: -170px !important;
    }
        .map__lineto_tooltip {   
        top: 4px;
        left: 6px;
    }
}
@media (min-width: 576px) and (max-width: 992px) {
	    .map__tooltip_info {
        min-width: 120px;
        max-width: 198px;
	}
	    .map__tooltip_info h5 a {
        font-size: 11px !important;
        margin: 0px !important;
    }
}

    @media (max-width: 576px) {
    .map__tooltip_info h5 a {
        font-size: 8px !important;
       
    }
        .map__tooltip_info h5 i {
        font-size: 12px !important;
        padding-right: 2px;
    }
        .map__tooltip_info {
        min-width: 105px;
        max-width: 136px;
        padding: 4px 5px !important;
        }
            .map__marker:nth-child(5) .map__tooltip_info {
        top: -27px !important;
        left: 42px !important;
    }
        .map__marker:nth-child(6) .map__tooltip_info {
        top: -26px !important;
        left: -125px !important;
    }
        .map__lineto_tooltip {
        width: 50px !important;
    }
}



/* Location Countries Name module css */
.locations_countries_container {
    background-color: black;
    color: white;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    font-family: Arial, sans-serif;
    border-radius: 12px;
}

.locations_countries_main_column {
    flex: 1.5;
    padding: 10px 15px;
    font-weight: bold;
    min-width: 0;   
}

.locations_countries_column {
    flex: 1;
    padding: 10px 15px;
    min-width: 0;    
}


@media (max-width: 576px) {
    .locations_countries_container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }

    .locations_countries_main_column {
        grid-column: 1 / -1;       
        text-align: center;
        padding: 10px 0;
    }

    .locations_countries_column {
        text-align: center;
        padding: 8px 5px;      
        font-size: 14px;        
    }
}


@media (max-width: 480px) {
    .locations_countries_column {
        font-size: 13px;
    }
}


/* Team With Popup modulle css */

.my_team_container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.my_team_member {
    flex: 0 0 calc(25% - 20px); 
    min-width: 250px;
    max-width: 300px;
    height: 325px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    aspect-ratio: 1/1;
}

.my_team_member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
     filter: grayscale(100%) !important;
}

.member-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border-radius: 10px;
    background: rgb(255 255 255);
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 18px;
    margin: 0 0 0px 0;
    font-weight: bold;
    color: #333;
    line-height: 28px;
    font-family: "Inter", "Helvetica", Arial sans-serif;
}

.member-title {
    font-size: 16px;
    margin: 0;
    opacity: 1;
    color: #6C6F70;
}

.view-detail {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border: 1px solid #08588C;
    background-color: transparent;
    color: #08588C;
    border-radius: 50%;
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-detail:hover {
    transform: scale(1.1);
    background-color: transparent;
}

.team_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.my_team_model-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: modalopen 0.5s;
}

@media (max-width: 768px) {

    .my_team_model-content {   
    width: 80% !important;    
}
}


@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #000;
}

.close-modal:hover {
    color: #333;
}

.my_team_model-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .my_team_model-body {
        flex-direction: row;
    }
}

.my_team_model-image {
    flex: 1;
    min-width: 250px;
    filter: grayscale(100%) !important;
}

.my_team_model-image img {
    width: 100%;
    border-radius: 8px;
}

.my_team_model-info {
    flex: 2;
}

.my_team_model-name {
       font-size: 20px;
    line-height: 30px;
    margin: 16px 0 4px 0;
    color: #333;
    font-weight: 700;
}

.my_team_model-title {
  font-size: 16px;
    color: #6C6F70;
    margin: 0 0 15px 0;
}


.my_team_model-bio {
       line-height: 1.6;
    color: #333;
    padding: 15px;
    border-left: 2px solid #08588c;
}

.my_team-social-links {
      display: flex;
    gap: 15px;
    margin-top: 10px;
}

.my_team-social-links a {
    color: #08588C;
    font-size: 20px;
    transition: color 0.3s ease;
}

.my_team-social-links a:hover {
    color: #08588C;
}


/* horizontal timeline module css */


.desktop-timeline {
    display: none;
    width: 100%;
    padding: 20px 20px 20px;

    margin: 0 auto;
}

.timeline-years {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 50px;
    margin-top: 40px;
}

.timeline-years::before {
    content: '';
    position: absolute;
    top: 47px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: #fff;
    z-index: 1;
}

.year {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.year-label {
    font-weight: 400;
    color: #ffffff;
    line-height: 20px;
    vertical-align: middle;
    background: rgba(2255, 255, 255, 0.08);
    margin-bottom: 15px;
    padding: 4px 8px 2px 8px;
    border-radius: 3px;
    font-size: 18px;
}

.year.active .year-label {
    color: #08588C;
    background: #fff;
    padding: 5px 6px 2px 6px;
    font-size: 24px;
    font-weight: 600;
}

.year-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.year.active .year-dot {
    background-color: #00AFF0;
    width: 16px;
    height: 16px;
    margin-top: -2px;
}

.year-dot::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #00AFF0;
    opacity: 0;


}

.year.active .year-dot::after {
    opacity: 1;
}

.timeline-content-container {
    width: 100%;
    background-color: #00AFF0;
    padding: 60px 30px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}


.timeline-content {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-year-column {
    font-size: 150px;
    font-weight: bold;
    color: #fff;
    padding-right: 30px;
    width: 50%;
    position: relative;
    display: flex;
    justify-content: end;
}

.timeline-year-column::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgb(17 28 56 / 30%);
}

.timeline-content-column {
    padding-left: 24px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    font-size: 44px;
    font-weight: 500;
    line-height: 58px;
    color: #fff;
    margin-bottom: 15px;
}

.event-description {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
}



.desktop-timeline {
    display: block;
}

.timeline-nav-buttons {
    display: none;
}

.timeline-nav-buttons .timeline-nav {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #00AFF0;
}



@media (max-width: 768px) {

    .timeline-nav:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .timeline-nav-buttons {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-top: 32px;
    }

    .timeline-nav {
        background: #fff !important;
        padding: 8px;

        width: 50%;
        border-radius: 5px;
    }

    .timeline-content {

        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 7px;

    }

    .timeline-years {
        overflow: hidden;
        padding: 0 10px;
    }

    .year {
        flex: 0 0 50%;
        max-width: 50%;
        display: none;
    }

    .year.visible {
        display: flex;
    }

    .timeline-year-column {
        width: 100%;
        justify-content: center;
        font-size: 89px;
        text-align: center;
        padding: 0px;
    }

    .timeline-year-column::after {

        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.3);
    }

    .timeline-content-column {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px;
    }

    .event-description {
        text-align: center;
    }

    .timeline-progress-bar {     
        height: 6px;
        background: #e0e0e0;
        border-radius: 3px;
        margin: 16px auto 0 auto;
        position: relative;
        overflow: hidden;
    }

    .timeline-progress {
        height: 100%;
        background: #00AFF0;
        border-radius: 3px;
        width: 0%;
        transition: width 0.3s;
    }

}

@media (min-width: 768px) {
    .timeline-year-column {

        align-items: center;
        justify-content: end;
        flex: 0 0 25%;
    }

    .timeline-content-column {

        justify-content: center;
        flex: 1;
    }
}

@media (max-width: 992px) {
    .timeline-year-column {
        font-size: 90px;
    }

}

/* testimoniial image slider */
       .testimonial_slider_section {
            width: 100%;
            display: block;
        }

        .testimonial_slider_section .testimonial-content {
            display: flex;
            align-items: stretch;
            /* Changed from center to stretch */
            background: #f1fafd;
            width: 100%;
            min-height: 400px;
            /* Added minimum height */
            border-top-left-radius: 20px;
        }

        .testimonial_slider_section .testimonial-image {
            width: 44%;
            /* Set fixed width for image container */
            flex-shrink: 0;
            /* Prevent shrinking */
            position: relative;
        }

        .testimonial_slider_section .testimonial-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Ensures image covers the area */
            display: block;
            border-top-left-radius: 20px;
        }

        .testimonial_slider_section .testimonial-text {
            flex: 1;
             padding: 180px 40px;
            background: #f1fafd;
            min-height: 100%;
            text-align: left;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: start;
            font-size: 24px !important;
        }
         .testimonial_slider_section .testimonial-text .author{
            margin-top: 15px !important;
         }

        /* Rest of your existing CSS remains the same */
        .testimonial_slider_section .testimonial-text blockquote {
            font-size: 1.1rem;
            color: #333;
        }

        .testimonial_slider_section .testimonial-text .author {
            font-weight: bold;
            margin-top: 15px;
        }

        .testimonial_slider_section .custom-arrows {
            display: flex;
            justify-content: end;
            bottom: 32px;
            position: relative;
            z-index: 10;
            right: 30px;
        }

        .testimonial_slider_section .slick-next {
            width: 42px;
            height: 42px;
            background: #08588C  url(https://cretorsdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-right.svg) center no-repeat !important;
            border-radius: 6px;
        }

        .testimonial_slider_section .slick-prev {
            width: 42px;
            height: 42px;
            background: #08588C  url(https://cretorsdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-left.svg) center no-repeat !important;
            border-radius: 6px;
        }

        .testimonial_slider_section .slick-prev:hover,
        .testimonial_slider_section .slick-prev:focus {
            background: #08588C url(https://cretorsdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-left.svg) center no-repeat !important;
        }

        .testimonial_slider_section .slick-next:hover,
        .testimonial_slider_section .slick-next:focus {
            background: #08588C url(https://cretorsdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-right.svg) center no-repeat !important;
        }

        .testimonial_slider_section .slick-prev,
        .testimonial_slider_section .slick-next {
            text-indent: -9999px;
            overflow: hidden;
        }

        .testimonial_slider_section .slick-prev {
            left: auto !important;
            right: 50px !important;
        }

        .testimonial_slider_section .slick-next {
            right: 0px !important;
        }

          .testimonial_slider_section .testimonial-text p{
                padding-left: 50px;                  
                font-size: 24px;
                color: #333;
                line-height: 28px;
            }
            .testimonial_slider_section .testimonial-text p:first-child{
                margin-bottom: 30px !important;
            }

        @media (max-width: 768px) {
            .testimonial_slider_section{
                padding: 0 20px;
            }
            .testimonial_slider_section .testimonial-content {
                flex-direction: column;
                min-height: auto;
                padding-bottom: 100px;
              
            }

            .testimonial_slider_section .testimonial-image {
                width: 100%;
                height: 350px;
                /* Fixed height on mobile */
            }

            .testimonial_slider_section .testimonial-text {
                padding: 30px;
            }

            .testimonial_slider_section .custom-arrows {
                flex-wrap: nowrap;               
                justify-content: end;             
                right: 0px !important;  
                 bottom: 0px;      
                 max-width: 80%;
                 margin: auto;
            }

            .testimonial_slider_section .slick-prev {
                right: 22px !important;
                width: 48% !important;
                left: 0 !important;
            }

            .testimonial_slider_section .slick-next {
                right: 0 !important;
                width: 48% !important;
            }
              .testimonial_slider_section .testimonial-text p{
                padding-left: 0px;
            }
        }