/*
Theme Name: Divi Child By Humanity Media
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes css examples and a snippets floder which contains php, css and js code snippets to help with development of the child theme.
Author:   Anthony Bear https://humanitymedia.net
Template: Divi
*/

@import url("../Divi/style.css");

/** ------------ GLOBAL CODE --------------- **/
a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

body.home #et-main-area {
    margin-top: 0px !important;
}

.subtitle_border .et_pb_module_heading {
    position: relative;
    max-width: fit-content;
    margin: auto;
}

.subtitle_border .et_pb_module_heading:before {
    content: '';
    width: 40px;
    height: 1px;
    position: absolute;
    top: 6px;
    left: -52px;
    background-color: #EDAE1D66;
}

.subtitle_border .et_pb_module_heading:after {
    content: '';
    width: 40px;
    height: 1px;
    position: absolute;
    top: 6px;
    right: -52px;
    background-color: #EDAE1D66;
}

.subtitle_border_left .et_pb_module_heading {
    position: relative;
    max-width: fit-content;
    padding-left: 54px;
}

.subtitle_border_left .et_pb_module_heading:before {
    content: '';
    width: 40px;
    height: 1px;
    position: absolute;
    top: 6px;
    left: 0px;
    background-color: #EDAE1D66;
}

.subtitle_border_left h6{color: #EDAE1D66;}

.subtitle_border_left .et_pb_module_heading:after {
    content: '';
    width: 40px;
    height: 1px;
    position: absolute;
    top: 6px;
    right: 0px;
    background-color: #EDAE1D66;
    opacity: 0;
}

.span_color span {
    color: #EDAE1D;
}

@media (max-width: 600px) {
    .subtitle_border_left .et_pb_module_heading {
        padding: 0px;
        margin: auto;
    }

    .subtitle_border_left .et_pb_module_heading:before {
        top: 6px;
        left: -52px;
    }

    .subtitle_border_left .et_pb_module_heading:after {
        opacity: 1;
        top: 6px;
        right: -52px;
    }
}


/** ------------ STICKY HEADER------------ **/

/* Home page Divi template builder header - transparent by default */
.home header.et-l--header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    left: 0 !important;
}

/* Home page header inner content */
.home header.et-l--header .et_builder_inner_content {
    background-color: transparent !important;
    transition: background-color 0.3s ease;
}

/* Home page header section */
.home header.et-l--header .et_pb_section {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

/* Home page header - adds background and shadow on scroll */
header.et-l--header {
    backdrop-filter: blur(40px);
}

/* Ensure logo is visible on home */
.home header.et-l--header .et_pb_image_wrap img {
    transition: opacity 0.3s ease;
}

/* Ensure menu links are visible */
.home header.et-l--header .et-menu nav,
.home header.et-l--header .et-menu-nav,
.home header.et-l--header .et-menu-nav li a {
    transition: color 0.3s ease;
}

/* Home page buttons styling */
.home header.et-l--header .et_pb_button {
    transition: all 0.3s ease;
}

/* Other pages - keep default Divi sticky behavior */
.archive header.et-l--header,
.single header.et-l--header,
.page:not(.home) header.et-l--header {
    /* Use Divi's default sticky behavior */
}

.header_button_accesss {
    display: flex;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.header_button_accesss a.et_pb_button {
    text-decoration: none;
    font-weight: 500 !important;
}

header.et-l--header .et_pb_row {
    display: flex;
    align-items: center;
}

header.et-l--header .et_pb_column.et_pb_column_0_tb_header {
    width: 33% !important;
    margin: 0px !important;
}

/* Home hero */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero_heading span {
    color: #EDAE1D;
}
.hero a.et_pb_button {
    text-decoration: none;
}
/* counter section */

.counter_section .et_pb_number_counter.et_pb_with_title .percent {
    margin: 0px;
    height: auto;
    padding-bottom: 8px;
}

@media (max-width: 768px) {
    .hero.et_pb_section_video {
        min-height: auto;
    }
}

/* feature section */

.feature-list {
    list-style: none;
    padding: 0 !important;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    align-items: center;
}

.feature-list img {
    width: 20px;
    height: 20px;
}

/** ------------ TESTIMONIALS SLIDER ------------ **/

/* Swiper Fade Effect Styling */
.hm-testimonials-slider.swiper {
    width: 100%;
    overflow: hidden;
}

.hm-testimonials-slider .testimonials-track {
    display: flex;
}

.hm-testimonials-slider .testimonial-slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hm-testimonials-slider .testimonial-slide.swiper-slide-active {
    opacity: 1;
}

.hm-testimonials-slider .testimonial-text {
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 18px;
    line-height: 28px;
    color: #717784 !important;
    text-align: center;
    padding-bottom: 20px !important;
}

.hm-testimonials-slider .testimonial-title {
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    text-align: right;
    color: rgba(239, 238, 235, 0.6) !important;
    font-style: normal;
}

@media (max-width: 768px) {
    .hm-testimonials-slider .testimonial-title {
        font-size: 14px;
        line-height: 20px;
        text-align: left;
    }
}

.hm-testimonials-slider .testimonial-nav,
.hm-testimonials-slider .testimonial-dots {
    display: none !important;
}

.hm-testimonials-slider .testimonial-title span {
    color: #EDAE1D;
}


/* Creative Logistics section */

.blur_box {
    border: 5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(50px);
    transition: all 0.3s ease;
}

.blur_box .et_pb_blurb_content {
    background: linear-gradient(146.28deg, rgba(255, 255, 255, 0.5) 3.24%, rgba(255, 255, 255, 0.2) 93.4%);
    padding: 33px;
    transition: all 0.3s ease;
    min-height: 450px;
}

@media (max-width: 768px) {
    .blur_box .et_pb_blurb_content {
        min-height: auto;
    }
}

.blur_box:hover {
    border: 5px solid rgba(255, 255, 255, 0.5) transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.blur_box:hover .et_pb_blurb_content {
    background: linear-gradient(165.38deg, rgba(255, 255, 255, 0.8) 15.91%, rgba(255, 255, 255, 0) 112.44%);
    transition: all 0.3s ease;
}

.et_pb_blurb_description span {
    padding-bottom: 4px !important;
    display: inline-block;
}

.Creative_Logistics .subtitle_border .et_pb_module_heading:before {
    background-color: #0607094D;
}

.Creative_Logistics .subtitle_border .et_pb_module_heading:after {
    background-color: #0607094D;
}

/** ------------ TICKER/MARQUEE SLIDER ------------ **/

.hm-ticker-slider {
    width: 100%;
    overflow: hidden;
    padding: 0px;
    position: relative;
}

.hm-ticker-slider .ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hm-ticker-slider .ticker-track {
    display: flex;
    gap: 60px;
    animation: ticker-scroll linear infinite;
    animation-duration: var(--ticker-duration, 30s);
    white-space: nowrap;
    padding: 0px;
}

.hm-ticker-slider .ticker-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-width: 150px; */
}

.hm-ticker-slider .ticker-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    letter-spacing: 0.35px;
    user-select: none;
    cursor: default;
    color: #00000080;
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
}

/* Pause animation on hover */
.hm-ticker-slider.ticker-pause:hover .ticker-track {
    animation-play-state: paused;
}

/* Ticker Animation */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hm-ticker-slider .ticker-track {
        gap: 40px;
        padding: 0 40px;
    }

    .hm-ticker-slider .ticker-text {
        font-size: 14px;
    }

    .hm-ticker-slider .ticker-item {
        min-width: 120px;
    }
}

/** ------------ PROJECT ACCORDION ------------ **/

.hm-project-accordion {
    display: flex;
    gap: 12px;
    width: 100%;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Project Accordion Item */
.project-accordion-item {
    flex: 1;
    min-width: 250px;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-5%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-accordion-item.animate-in {
    animation: slideInOpacity 0.4s ease-out forwards, 
               slideInTransform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

@keyframes slideInOpacity {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInTransform {
    from {
        transform: translateX(-5%);
    }
    to {
        transform: translateX(0);
    }
}

.project-accordion-item[data-columns="3"] {
    flex: 1 1 calc(33.333% - 14px);
}

.project-accordion-item[data-columns="4"] {
    flex: 1 1 calc(25% - 15px);
}

.project-accordion-item[data-columns="2"] {
    flex: 1 1 calc(50% - 10px);
}

.project-accordion-item[data-columns="1"] {
    flex: 1 1 100%;
}

/* Project Card */
.project-card {
    width: 100%;
    height: 100%;
    background: #0D0E12;
    border: 1px solid #1B1D22CC;
    border-radius: 16px;
    padding: 35px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    background-color: #EDAE1D;
    border-color: #EDAE1D;
}

.project-accordion-item:hover {
    flex: 1.5;
}

/* Project Title - Always Visible */
.project-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', Helvetica, Arial, Lucida, sans-serif;
    color: #EFEEEB;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-title {
    color: #0D0E12;
}

/* Project Description - Hidden by Default */
.project-description {
    font-size: 14px;
    margin: 15px 0 0 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-description {
    color: #060709B2;
}

/* Show Description on Hover */
.project-accordion-item:hover .project-description {
    max-height: 100px;
    opacity: 1;
    margin-top: 15px;
}

/* Responsive */
/* @media (max-width: 1024px) {
    .hm-project-accordion {
        gap: 15px;
    }

    .project-accordion-item {
        min-width: 200px;
    }

    .project-card {
        min-height: 280px;
        padding: 25px 20px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-description {
        font-size: 13px;
    }

    .project-accordion-item:hover {
        flex: 1.3;
    }
}

@media (max-width: 768px) {
    .hm-project-accordion {
        flex-wrap: wrap;
        gap: 12px;
    }

    .project-accordion-item {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 150px;
    }

    .project-card {
        min-height: 250px;
        padding: 20px 15px;
    }

    .project-title {
        font-size: 18px;
        line-height: 20px;
    }

    .project-description {
        font-size: 12px;
    }

    .project-accordion-item:hover {
        flex: 1.2;
    }
} */

@media (max-width: 480px) {
	.project-accordion-item:hover .project-description {
		max-height: 130px;
	}
    .project-card {
        padding: 24px;
    }

    .project-title {
        font-size: 18px;
        line-height: 22px;
    }

    /* .hm-project-accordion {
        flex-direction: column;
        gap: 10px;
    }

    .project-accordion-item {
        flex: 1 1 100% !important;
        min-width: 100%;
    }

    .project-card {
        min-height: 220px;
        padding: 18px 12px;
    }


    .project-description {
        font-size: 11px;
    }

    .project-accordion-item:hover {
        flex: 1;
    } */
}

/* number grid */
@media (max-width: 480px) {
    .number_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .number_grid .et_pb_column {
        margin: 0px !important;
    }
}