/*
Theme Name: Eyweb  Theme
Description: A custom WordPress theme with Tailwind CSS integration
Author: Eyweb
Version: 1.0
Text Domain: eyweb-uk
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    color: #181818;
}

.literata-font {
    font-family: "Literata", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: italic;

}

.Galano-Grotesque-font,
body {
    font-family: 'Galano Grotesque', sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

/* Container styles */
.container {
    max-width: 1360px !important;
    margin: 0 auto;
}


.my-gradient-bg {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.9) 100%);
}

.my-gradient-bg-mobile {
    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.95) 100%)
}

.hero_section_main_container {
    background: linear-gradient(180deg,
            #ffffff 0%,
            #FFEDA2 100%);
}

.start_your_project {
    background: linear-gradient(90deg, #ffe471 0%, #ffce00 100%);
    transition: background 0.4s ease, transform 0.4s ease;
}

.start_your_project img {
    transition: transform 0.4s ease;
}

.start_your_project:hover {
    background: linear-gradient(90deg, #ffce00 0%, #ffe471 100%);
}

.start_your_project:hover img {
    transform: rotate(-42deg);
}

/* Arrow button hover effect for example-of-work section */
.arrow-button img {
    transition: transform 0.4s ease;
}

.group:hover .arrow-button img {
    transform: rotate(-42deg);
}


.hero_left_strip,
.hero_right_strip {
    transition: all 0.3s ease;
}

.hero_left_strip {
    transform: translate(-50%, -39%);
}

.hero_right_strip {
    transform: translate(37%, 0%);
}

/* When hovering left strip */
.hero_section_main_container:hover .hero_left_strip:hover {
    rotate: 1deg;
}

.hero_section_main_container:hover .hero_left_strip:hover~.hero_right_strip {
    rotate: -1deg;
}

/* When hovering right strip */
.hero_section_main_container .hero_right_strip:hover {
    rotate: -1deg;
}

.hero_section_main_container .hero_right_strip:hover {
    rotate: -1deg;
}

.hero_section_main_container:has(.hero_right_strip:hover) .hero_left_strip {
    rotate: 1deg;
}


.animated_underline a:hover::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 1px;
    background: #181818;
    transform: scaleX(1);
}

.animated_underline a::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 1px;
    background: #181818;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.animated_underline a {
    position: relative;
}

.animated_underline a {
    color: #181818;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.content_single_description p a {
    text-decoration: underline;
}

.hero-animate,
.hero-animate-line {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s ease-out forwards;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure animations start on page load */
.hero-animate-line {
    display: inline-block;
}

/* Optional: Add slight scale animation for more dynamic effect */
@keyframes heroFadeInUpScale {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Apply scale animation to the main heading */
h1.hero-animate {
    animation: heroFadeInUpScale 1.2s ease-out forwards;
}

/* Animate hero strips after image/video displays */
.hero-animate-strips {
    opacity: 0;
    animation: stripsFadeIn 1s ease-out 1.8s forwards;
}

@keyframes stripsFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.customer-slider-wrapper {
    overflow: hidden;
}

.content_single_description p {
    margin-bottom: 20px;
}

.content_single_description p:last-child {
    margin-bottom: 0;
}

.customer-slider-track {
    display: flex;
    will-change: transform;
}

.lastest_from_main_container {
    background: linear-gradient(0deg, #ffffff 0%, #FFEDA2 100%);
}

@media (max-width: 552px) {
    .podcast-card {
        height: 330px;
    }
}

.podcast-card::before {
    content: '';
    position: absolute;
    z-index: 100;
    inset: 0;
    border-radius: 15px;
    padding: 1.5px;
    background: linear-gradient(180deg, rgba(255, 206, 0, 1) 0%, rgba(255, 255, 255, 1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.gradient-bg {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid transparent;
    background-clip: padding-box;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.member-description {
    margin-top: 0;
    opacity: 0;
    max-height: 0;
    transform: translateY(0);
    transition: opacity 0.6s ease-in-out, max-height 0.6s ease-in-out, margin-top 0.6s ease-in-out;
}

.group:hover .member-description {
    opacity: 1;
    max-height: 200px;
    margin-top: 12px;
    transform: translateY(0);
    transition: max-height 0.6s ease-in-out, opacity 0.6s ease-in-out, margin-top 0.6s ease-in-out;
}

/* Image hover effect - only when hover image exists */
.group:hover .has-hover-image .team-regular-img {
    opacity: 0;
}

.group:hover .has-hover-image .team-hover-img {
    opacity: 1;
}

@media(max-width:425px) {
    .start_your_project {
        width: 100% !important;
        justify-content: space-between;
    }

    #back-to-top-btn {
        width: 100% !important;
        justify-content: space-between;
    }
}

@media(max-width:383px) {
    .footer_heading {
        flex-direction: column;
    }
}

@media(min-width:1024px) and (max-width:1480px) {
    .custom_side_padding {
        padding: 0 20px;
    }
}

@media(min-width:1280px) and (max-width:1327px) {
    .footer_heading {
        font-size: 90px !important;
    }
}

@media(max-width:1024px) {
    .content_with_image_block_divider_section {
        width: 100% !important;
    }

    .heading_class_content_with_image_block {
        font-size: 25px !important;
    }
}

@media(min-width:1328px) and (max-width:1354px) {
    .footer_heading {
        font-size: 95px !important;
    }
}