/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.project_slider .swiper-slide-image {
    height: 450px;
    object-fit: cover;
	width: 100%;
	vertical-align: middle;
}
.project_slider .swiper-slide-inner:before {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000000;
    position: absolute;
    opacity: 0;
    backface-visibility: hidden;
    z-index: 1;
    border-radius: 10px;
    transition: all .4s;
}
.project_slider .swiper-slide-inner:hover:before {
    opacity: .5;
    backface-visibility: visible;
}





/* Add your custom styles here */
/* Premium timeline theme tokens and defaults. */
.timeline-section {
    --tl-font: "Outfit", "DM Sans", "Segoe UI", Tahoma, sans-serif;
    --tl-max-width: 1240px;
    --tl-card-max: 430px;
    --tl-item-gap: clamp(1.35rem, 2.4vw, 2.5rem);
    --tl-axis-width: 6px;
    --tl-marker-size: clamp(84px, 8.3vw, 104px);
    --tl-stem: clamp(34px, 4vw, 52px);
    --tl-logo-wrap: clamp(92px, 10.4vw, 148px);
    --tl-bg: #f2f5f9;
    --tl-heading: #102238;
    --tl-body: #344862;
    --tl-muted: #6f829c;
    --tl-card-bg: linear-gradient(155deg, #ffffff 0%, #f6f9fc 100%);
    --tl-card-border: #d5dfeb;
    --tl-card-shadow: 0 18px 36px rgba(15, 33, 57, 0.12);
    --tl-card-shadow-hover: 0 26px 46px rgba(15, 33, 57, 0.18);
    --tl-accent: #c8182a;
    --tl-accent-alt: #12407a;
    --tl-line: linear-gradient(180deg, rgba(18, 64, 122, 0.28) 0%, rgba(200, 24, 42, 0.52) 50%, rgba(18, 64, 122, 0.28) 100%);
    --tl-focus: #0b63f8;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    max-width: var(--tl-max-width);
    margin: 0 auto;
    padding: clamp(2.6rem, 4.6vw, 4.8rem) clamp(1rem, 2.7vw, 2rem);
    font-family: var(--tl-font);
    color: var(--tl-body);
}

.timeline-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: clamp(18px, 2vw, 26px);
    background:
        radial-gradient(60% 58% at 10% 8%, rgba(18, 64, 122, 0.13), transparent 62%),
        radial-gradient(45% 55% at 88% 88%, rgba(200, 24, 42, 0.13), transparent 68%),
        var(--tl-bg);
}

.timeline-section.timeline--elegant {
    --tl-bg: #f2f5f9;
    --tl-heading: #102238;
    --tl-body: #344862;
    --tl-muted: #6f829c;
    --tl-card-bg: linear-gradient(155deg, #ffffff 0%, #f6f9fc 100%);
    --tl-card-border: #d5dfeb;
    --tl-card-shadow: 0 18px 36px rgba(15, 33, 57, 0.12);
    --tl-card-shadow-hover: 0 26px 46px rgba(15, 33, 57, 0.18);
    --tl-accent: #c8182a;
    --tl-accent-alt: #12407a;
    --tl-line: linear-gradient(
        180deg,
        rgba(18, 64, 122, 0.28) 0%,
        rgba(200, 24, 42, 0.52) 50%,
        rgba(18, 64, 122, 0.28) 100%
    );
    --tl-focus: #0b63f8;
}

.timeline-section.timeline--bold {
    --tl-bg: #09182b;
    --tl-heading: #f5f8ff;
    --tl-body: #d4deef;
    --tl-muted: #9eb3d1;
    --tl-card-bg: linear-gradient(156deg, #102640 0%, #132f4f 100%);
    --tl-card-border: rgba(167, 192, 225, 0.36);
    --tl-card-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    --tl-card-shadow-hover: 0 24px 46px rgba(0, 0, 0, 0.44);
    --tl-accent: #f05c48;
    --tl-accent-alt: #36c4ff;
    --tl-line: linear-gradient(
        180deg,
        rgba(54, 196, 255, 0.25) 0%,
        rgba(240, 92, 72, 0.65) 50%,
        rgba(54, 196, 255, 0.25) 100%
    );
    --tl-focus: #6ecfff;
}

.timeline-section.timeline--bold .timeline-content b,
.timeline-section.timeline--bold .timeline-content strong {
    color: #ffffff;
}

/* Timeline heading stack (eyebrow/title/subtitle). */
.timeline-header {
    max-width: 760px;
    margin: 0 auto clamp(1.8rem, 3.4vw, 3rem);
    text-align: center;
}

.timeline-eyebrow {
    margin: 0;
    font-size: clamp(0.76rem, 0.8vw, 0.84rem);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--tl-muted);
}

.timeline-heading {
    margin: 0.5rem 0 0.6rem;
    font-size: clamp(1.72rem, 3vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--tl-heading);
}

.timeline-subtitle {
    margin: 0;
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    line-height: 1.6;
    color: var(--tl-muted);
}

.timeline-container {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    isolation: isolate;
}

.timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--tl-axis-width);
    border-radius: 999px 999px 0 0;
    background: var(--tl-line);
    z-index: 0;
}

.timeline-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.72) 1px, transparent 1.3px);
    background-size: 100% 12px;
    opacity: 0.58;
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    width: 50%;
    padding-top: var(--tl-item-gap);
    padding-bottom: var(--tl-item-gap);
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Optional reveal mode: enable by adding `timeline--reveal` to section. */
.timeline-section.timeline--reveal .timeline-item {
    opacity: 0;
    transform: translateY(24px);
}

/* Marker and card styling for premium visual hierarchy. */

.timeline-item.visible,
.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc((var(--tl-marker-size) / 2) + 2.25rem);
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc((var(--tl-marker-size) / 2) + 2.25rem);
}

.timeline-marker {
    position: absolute;
    top: 50%;
    width: var(--tl-marker-size);
    height: var(--tl-marker-size);
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(22, 67, 123, 0.26);
    background: linear-gradient(145deg, #ffffff 0%, #e9f0f8 100%);
    display: grid;
    place-items: center;
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.85),
        0 12px 28px rgba(16, 34, 56, 0.18);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: calc(var(--tl-marker-size) / -2);
}

.timeline-item:nth-child(even) .timeline-marker {
    left: calc(var(--tl-marker-size) / -2);
}

.timeline-item:nth-child(odd) .timeline-marker::before,
.timeline-item:nth-child(even) .timeline-marker::before {
    content: "";
    position: absolute;
    top: 50%;
    width: var(--tl-stem);
    height: 3px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(18, 64, 122, 0.55), rgba(200, 24, 42, 0.55));
}

.timeline-item:nth-child(odd) .timeline-marker::before {
    right: calc(100% + 2px);
}

.timeline-item:nth-child(even) .timeline-marker::before {
    left: calc(100% + 2px);
}

.timeline-item:nth-child(odd) .timeline-marker::after,
.timeline-item:nth-child(even) .timeline-marker::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--tl-accent);
    box-shadow: 0 0 0 5px rgba(200, 24, 42, 0.16);
}

.timeline-item:nth-child(odd) .timeline-marker::after {
    right: calc(100% + var(--tl-stem) - 1px);
}

.timeline-item:nth-child(even) .timeline-marker::after {
    left: calc(100% + var(--tl-stem) - 1px);
}

.marker-year {
    font-size: clamp(1rem, 1.24vw, 1.24rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.11em;
    color: var(--tl-accent-alt);
}

.timeline-content {
    width: min(100%, var(--tl-card-max));
    position: relative;
    display: grid;
    gap: 0.68rem;
    padding: 1.2rem 1.2rem 1.22rem;
    border-radius: 18px;
    border: 1px solid var(--tl-card-border);
    background: var(--tl-card-bg);
    box-shadow: var(--tl-card-shadow);
    backdrop-filter: blur(2px);
    text-align: left;
    color: var(--tl-body);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.timeline-content::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, var(--tl-accent), var(--tl-accent-alt));
    opacity: 0.96;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-item:is(:hover, :focus-visible) .timeline-content,
.timeline-item:focus-within .timeline-content {
    transform: translateY(-4px);
    border-color: rgba(18, 64, 122, 0.35);
    box-shadow: var(--tl-card-shadow-hover);
}

.timeline-item:is(:hover, :focus-visible) .timeline-marker,
.timeline-item:focus-within .timeline-marker {
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.9),
        0 16px 34px rgba(16, 34, 56, 0.2),
        0 0 0 8px rgba(200, 24, 42, 0.11);
}

.timeline-item:focus-visible {
    outline: none;
}

.timeline-item:focus-visible .timeline-content,
.timeline-content:focus-visible,
.timeline-content a:focus-visible {
    outline: 3px solid var(--tl-focus);
    outline-offset: 3px;
}

.timeline-title,
.timeline-content h3 {
    margin: 0;
    font-size: clamp(1.03rem, 1.2vw, 1.18rem);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--tl-heading);
}

.timeline-content p {
    margin: 0;
    font-size: clamp(0.94rem, 1.06vw, 1rem);
    line-height: 1.64;
    color: var(--tl-body);
	font-family: 'DM Sans';
	font-size: 18px;
	line-height: 27px;
}

.timeline-content p + p {
    margin-top: 0.4rem;
}

.timeline-content ul {
    margin: 0.15rem 0 0;
    padding: 0 0 0 1.15rem;
    text-align: left;
    display: grid;
    gap: 0.35rem;
	
}

.timeline-content li {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--tl-body);
	font-family: 'DM Sans';
	font-size: 18px;
	line-height: 27px;
}

.timeline-list-label {
    margin: 0.2rem 0 0;
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--tl-heading);
    text-align: left;
}

.timeline-logo,
.image-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--tl-logo-wrap);
    height: var(--tl-logo-wrap);
    margin-bottom: 0.2rem;
    border-radius: 14px;
    border: 1px solid rgba(18, 64, 122, 0.16);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 250, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        0 10px 18px rgba(16, 34, 56, 0.12);
}

.timeline-section.timeline--bold .timeline-logo,
.timeline-section.timeline--bold .image-center {
    border: 1px solid rgba(146, 182, 224, 0.34);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 10px 20px rgba(0, 0, 0, 0.24);
}

.timeline-logo img,
.timeline-content img,
.timeline-content .img-gava {
    width: 100%;
    max-width: 160px;
    height: 120px;
    object-fit: contain;
    opacity: 0.96;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.timeline-content .image-center-logo {
    width: 100%;
    max-width: 170px;
    height: 120px;
    object-fit: contain;
}

.timeline-item:is(:hover, :focus-visible) .timeline-content img,
.timeline-item:focus-within .timeline-content img {
    transform: scale(1.02);
    filter: saturate(0.9) contrast(1.06);
}

.timeline-section.timeline--bold .timeline-content img,
.timeline-section.timeline--bold .timeline-content .img-gava,
.timeline-section.timeline--bold .timeline-content .image-center-logo {
    filter: saturate(0.32) brightness(1.08);
}

@media (max-width: 1024px) {
    /* Tablet/mobile: switch to single column while keeping year markers visible. */
    .timeline-section {
        --tl-marker-size: 90px;
        --tl-axis-width: 5px;
        --tl-stem: 34px;
        --tl-card-max: 100%;
        padding-inline: 0.9rem;
    }

    .timeline-container {
        padding-left: calc(var(--tl-marker-size) + 1.4rem);
    }

    .timeline-container::before {
        left: calc(var(--tl-marker-size) / 2);
        right: auto;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding: 0 0 1.15rem;
        min-height: calc(var(--tl-marker-size) + 0.8rem);
        transform: translateY(22px);
        padding-left: calc(var(--tl-marker-size) + 1rem);
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: calc(var(--tl-marker-size) + 1rem);
        padding-right: 0;
    }

    .timeline-marker {
        left: 0 !important;
        right: auto !important;
        top: 0.95rem;
        transform: none;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .timeline-title,
    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.94rem;
    }

    .timeline-item:nth-child(odd) .timeline-marker::before,
    .timeline-item:nth-child(even) .timeline-marker::before {
        left: calc(100% + 2px);
        right: auto;
        width: 34px;
    }

    .timeline-item:nth-child(odd) .timeline-marker::after,
    .timeline-item:nth-child(even) .timeline-marker::after {
        left: calc(100% + 34px);
        right: auto;
    }
}

@media (max-width: 640px) {
    .timeline-section {
        --tl-marker-size: 72px;
        --tl-axis-width: 4px;
        --tl-logo-wrap: 82px;
        padding-block: 2rem;
        padding-inline: 0.75rem;
    }

    .timeline-container {
        padding-left: calc(var(--tl-marker-size) + 0.8rem);
    }

    .timeline-container::before {
        left: calc(var(--tl-marker-size) / 2);
    }

    .marker-year {
        font-size: 0.88rem;
    }

    .timeline-content {
        border-radius: 16px;
        gap: 0.58rem;
        padding: 0.95rem 0.9rem 1rem;
    }

    .timeline-content img,
    .timeline-content .img-gava {
        max-width: 130px;
        height: 60px;
    }

    .timeline-content .image-center-logo {
        max-width: 140px;
        height: 62px;
    }

    .timeline-item {
        padding-left: calc(var(--tl-marker-size) + 0.75rem);
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: calc(var(--tl-marker-size) + 0.75rem);
    }

    .timeline-heading {
        font-size: clamp(1.52rem, 7.2vw, 2rem);
    }

    .timeline-subtitle {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .timeline-content,
    .timeline-marker,
    .timeline-content img,
    .timeline-content .img-gava,
    .timeline-content .image-center-logo {
        transition: none;
        transform: none;
    }
}
