﻿/* ==========================================
   TIMELINE AXIS STYLING
========================================== */
:root {
    --timeline-brand: #e63329; /* Clean red brand accent */
    --text-dark: #e63329 !important;
    --text-slate: #64748b;
    --bg-light: #f8fafc;
}

.journey-section {
    padding: 1px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Header Styles */
.journey-subtitle {
    font-size: 11px;
    font-weight: 800;
    color: var(--timeline-brand);
    letter-spacing: 2px;
    background: rgba(230, 51, 41, 0.08); /* Updated to brand color RGBA */
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 12px;
}

.journey-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--timeline-brand) 0%, #e63329 100%); /* Unified to brand color */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.journey-title p {
    color: var(--text-slate);
    max-width: 600px;
    font-size: 1.05rem;
}

/* ==========================================
   TIMELINE SPINE ENGINE
========================================== */
.timeline {
    position: relative;
    margin-top: 60px;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        width: 2px;
        height: 100%;
        background-color: #e2e8f0;
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    margin-bottom: 100px;
    display: flex;
    align-items: center;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

/* Central Numbered Node Badge */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background-color: var(--timeline-brand);
    color: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 50%;
    z-index: 10;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(230, 51, 41, 0.3); /* Updated to brand color RGBA */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.15);
}

/* ==========================================
   SPLIT MEDIA & TEXT PORTS
========================================== */
.timeline-media-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.timeline-img-frame {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.timeline-text-side {
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.timeline-text-content {
    max-width: 520px;
}

.year-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--timeline-brand);
    background-color: rgba(230, 51, 41, 0.08); /* Updated to brand color RGBA */
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
}

.timeline-text-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.timeline-text-content p {
    font-size: 0.95rem;
    color: var(--text-slate);
    line-height: 1.65;
    margin-bottom: 0;
    text-align: justify;
}

/* Micro-interaction Enhancements */
.timeline-item:hover .timeline-img-frame {
    transform: translateY(-5px);
}

/* ==========================================
   RESPONSIVE LAYOUT BREAKPOINTS
========================================== */
@media (max-width: 991px) {
    .timeline::before {
        left: 18px;
        transform: none;
    }

    .timeline-dot {
        left: 18px;
        transform: translateX(-50%);
    }

    .timeline-item {
        margin-bottom: 60px;
    }

        .timeline-item:hover .timeline-dot {
            transform: translateX(-50%) scale(1.1);
        }

    .timeline-split {
        flex-direction: column !important;
        padding-left: 40px;
    }

    .timeline-media-side,
    .timeline-text-side {
        padding: 0;
        justify-content: flex-start;
        text-align: left !important;
    }

    .timeline-media-side {
        margin-bottom: 20px;
    }

    .timeline-img-frame {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .journey-section {
        padding: 60px 0;
    }

    .journey-title h2 {
        font-size: 1.9rem;
    }

    .timeline-text-content h3 {
        font-size: 1.2rem;
    }

    .timeline-text-content p {
        font-size: 0.9rem;
    }
}


/* ==========================================
   PREMIUM TIMELINE ANIMATION
========================================== */

/* Timeline Reveal */
.timeline-item {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s ease;
}

    .timeline-item.active {
        opacity: 1;
        transform: translateY(0);
    }

/* Timeline Line Animation */
.timeline::before {
    background: linear-gradient( to bottom, #e63329, #e63329, #e63329 ); /* Updated line gradient */
    background-size: 100% 300%;
    animation: lineMove 5s linear infinite;
}

@keyframes lineMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 100%;
    }
}

/* Pulse Effect */
.timeline-dot {
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 51, 41, 0.5); /* Updated to brand color RGBA */
    }

    70% {
        box-shadow: 0 0 0 18px rgba(230, 51, 41, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 51, 41, 0);
    }
}

/* Image Floating */
.timeline-img-frame {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Image Hover Zoom */
.timeline-img {
    transition: all .8s ease;
}

.timeline-img-frame:hover .timeline-img {
    transform: scale(1.08);
}

/* Shine Effect */
.timeline-img-frame {
    position: relative;
}

    .timeline-img-frame::after {
        content: '';
        position: absolute;
        top: 0;
        left: -120%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.35), transparent );
        transition: 1s;
    }

    .timeline-img-frame:hover::after {
        left: 120%;
    }

/* Heading Animation */
.timeline-text-content h3 {
    transition: .4s;
}

.timeline-item:hover h3 {
    color: #e63329; /* Updated to brand color */
    transform: translateX(8px);
}

/* Badge Animation */
.year-badge {
    transition: .4s;
}

.timeline-item:hover .year-badge {
    background: #e63329; /* Updated to brand color */
    color: #fff;
}

/* Card Hover */
.timeline-text-content {
    transition: .4s;
}

.timeline-item:hover .timeline-text-content {
    transform: translateY(-5px);
}

/* Left Right Slide */
.timeline-item:nth-child(odd).active .timeline-media-side {
    animation: slideLeft 1s ease;
}

.timeline-item:nth-child(odd).active .timeline-text-side {
    animation: slideRight 1s ease;
}

.timeline-item:nth-child(even).active .timeline-media-side {
    animation: slideRight 1s ease;
}

.timeline-item:nth-child(even).active .timeline-text-side {
    animation: slideLeft 1s ease;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Title Animation */
.journey-title {
    animation: fadeDown 1s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* ===================================================
   PROFESSIONAL EVENT GALLERY
   =================================================== */

.bg-black {
    background: #dfd0d0 !important;
    padding: 40px 0;
    position: relative;
}

/* Section Heading */
.gallery-title {
    text-align: center;
    margin-bottom: 50px;
}

    .gallery-title h2 {
        font-size: 42px;
        font-weight: 800;
        color: #1a1a2e;
        margin-bottom: 15px;
        position: relative;
    }

        .gallery-title h2:after {
            content: "";
            width: 80px;
            height: 4px;
            background: #e63329;
            display: block;
            margin: 15px auto 0;
            border-radius: 50px;
        }

    .gallery-title p {
        color: #777;
        font-size: 16px;
    }

/* Slider Area */
.slick-slider-center-mode {
    position: relative;
    padding: 20px 0 50px;
}

    /* Slide */
    .slick-slider-center-mode .slick-slide {
        padding: 15px;
        transition: all .5s ease;
        opacity: .6;
        transform: scale(.88);
    }

    .slick-slider-center-mode .slick-center {
        opacity: 1;
        transform: scale(1);
    }

/* Card */
.slick-slider-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    transition: all .4s ease;
}

    .slick-slider-inner:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0,0,0,.15);
    }

/* Image */
.thumb {
    position: relative;
    overflow: hidden;
    height: 420px;
}

.img-fullwidth {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .8s ease;
}

.slick-slider-inner:hover .img-fullwidth {
    transform: scale(1.08);
}

/* Overlay */
.overlay-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(26,26,46,.9), rgba(230,51,41,.2) );
    opacity: 0;
    transition: .4s;
}

.slick-slider-inner:hover .overlay-shade {
    opacity: 1;
}

/* Icon */
.icons-holder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.8);
    opacity: 0;
    transition: .4s;
    z-index: 5;
}

.slick-slider-inner:hover .icons-holder {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.styled-icons a {
    width: 60px;
    height: 60px;
    background: #e63329;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 10px 30px rgba(230,51,41,.35);
}

    .styled-icons a:hover {
        background: #fff;
        color: #e63329;
    }

/* View More */
.hover-link {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #e63329;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    transition: .4s;
    z-index: 5;
}

.slick-slider-inner:hover .hover-link {
    opacity: 1;
}

.hover-link:hover {
    background: #1a1a2e;
    color: #fff;
}

/* Arrows */
.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a1a2e !important;
    z-index: 100;
}

    .slick-prev:hover,
    .slick-next:hover {
        background: #e63329 !important;
    }

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

    .slick-prev:before,
    .slick-next:before {
        color: #fff;
        font-size: 22px;
    }

/* Dots */
.slick-dots {
    bottom: -40px;
}

    .slick-dots li button:before {
        font-size: 12px;
        color: #ccc;
    }

    .slick-dots li.slick-active button:before {
        color: #e63329;
    }

/* Responsive */
@media(max-width:991px) {

    .thumb {
        height: 350px;
    }

    .slick-prev {
        left: 0;
    }

    .slick-next {
        right: 0;
    }
}

@media(max-width:767px) {

    .gallery-title h2 {
        font-size: 30px;
    }

    .thumb {
        height: 300px;
    }
}







/* ==========================================
   CHALLENGES SECTION
========================================== */

.challenge-section {
    background: #1a1a2e;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    .challenge-section::before {
        content: '';
        position: absolute;
        top: -200px;
        right: -200px;
        width: 450px;
        height: 450px;
        background: rgba(230,51,41,0.08);
        border-radius: 50%;
    }

    .challenge-section::after {
        content: '';
        position: absolute;
        bottom: -150px;
        left: -150px;
        width: 350px;
        height: 350px;
        background: rgba(230,51,41,0.05);
        border-radius: 50%;
    }

.challenge-image {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,.35);
}

    .challenge-image img {
        width: 100%;
        border-radius: 20px;
        transition: .7s ease;
    }

    .challenge-image:hover img {
        transform: scale(1.08);
    }

/* Titles */

.section-title {
    color: #e63329;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}

    .section-title:after {
        content: '';
        width: 70px;
        height: 4px;
        background: #e63329;
        position: absolute;
        left: 0;
        bottom: -10px;
        border-radius: 20px;
    }

/* Content */

.section-block p {
    color: #d6d6e3;
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
}

/* Feature Card */

.feature-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 25px;
    margin-top: 30px;
}

/* List */

.custom-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .custom-list li {
        color: #ffffff;
        margin-bottom: 16px;
        padding-left: 35px;
        position: relative;
        line-height: 1.8;
    }

        .custom-list li:before {
            content: '\f058';
            font-family: FontAwesome;
            color: #e63329;
            position: absolute;
            left: 0;
            top: 2px;
            font-size: 18px;
        }

/* Animation */

.challenge-image,
.feature-box,
.section-block {
    transition: .4s ease;
}

    .feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(230,51,41,.15);
    }

/* Responsive */

@media(max-width:991px) {

    .challenge-section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 28px;
        margin-top: 25px;
    }
}

@media(max-width:576px) {

    .section-title {
        font-size: 24px;
    }

    .section-block p,
    .custom-list li {
        font-size: 14px;
    }
}














/* Core Section Layout */
.portfolio-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Card Styling */
.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10; /* Keeps a clean landscape ratio */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .portfolio-card:hover {
        transform: translateY(-4px);
    }

    .portfolio-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Text Overlay & Dark Gradient */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
}

/* Typography styles matching your design */
.card-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.card-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}
