/*
Theme Name: TourismFest 2027
Theme URI: https://tourismfest.az/
Author: TourismFest
Description: TourismFest 2027 with editable sections, program, participants, partners and news.
Version: 1.3.1
Text Domain: tourismfest
*/
:root {
    --paper: #f4f3ed;
    --ink: #152238;
    --muted: #697384;
    --blue: #003580;
    --orange: #f36a3d;
    --yellow: #f7c038;
    --line: rgba(21,34,56,.13);
    --white: #fff;
    --max: 1180px;
    --radius: 24px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Playfair Display",Arial,serif;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

img {
    display: block;
    max-width: 100%
}

.container {
    width: min(var(--max),calc(100% - 48px));
    margin: auto
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #505050;
    font-size: 26px;
    font-weight: bold;
}

.eyebrow:before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--orange)
}

.nav {
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    padding: 11px 0;
    background: transparent;
    box-shadow: none;
    transition: background .3s,box-shadow .3s
}

.nav.scrolled {
    background: #879ab8;
    box-shadow: 0 2px 18px rgba(18,35,57,.12)
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto
}

.brand img {
    width: 142px;
    height: 48px;
    object-fit: contain;
    object-position: left center
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 13px
}

.nav-links a {
    color: #152238;
    text-shadow: 0 1px 4px rgba(255,255,255,.85);
    transition: color .2s
}

.nav-links a:hover {
    color: var(--orange)
}

.nav-cta,.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 99px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: transform .25s,background .25s
}

.nav-cta:hover,.button:hover {
    background: var(--orange);
    transform: translateY(-2px)
}

.nav.scrolled .nav-cta {
    background: #152238
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: #fff;
    font-size: 20px
}

.nav.scrolled .menu-toggle {
    background: #152238
}

.mobile-menu {
    position: fixed;
    z-index: 19;
    inset: 0;
    background: var(--blue);
    color: #fff;
    padding: 100px 28px 35px;
    display: none;
    flex-direction: column
}

.mobile-menu.open {
    display: flex
}

.mobile-menu a {
    font: 500 34px Playfair Display,serif;
    padding: 14px 0;
    border-bottom: 1px solid #ffffff30
}

.hero {
    min-height: 680px;
    min-height: 88svh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 120px 0 90px;
    background: #172333 url('https://static.tildacdn.ink/tild3931-3262-4864-a534-383432303662/kian-rostami-UKSLljE.jpg') center 54%/cover no-repeat;
    color: #fff;
    text-align: center
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(8,17,30,.52),rgba(8,17,30,.2) 52%,rgba(8,17,30,.48))
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(900px,calc(100% - 40px));
}

.hero-logo {
    width: min(340px,66vw);
    height: auto;
    max-height: 210px;
    object-fit: contain;
    margin: 0 auto 30px;
    filter: drop-shadow(0 3px 18px #0005);
    animation: logo-in .9s cubic-bezier(.2,.8,.2,1) both
}

.hero-kicker {
    margin: 0 auto 14px;
    color: #ffffffc7;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase
}

.hero-title {
    font: 700 clamp(24px,4vw,40px)/1.25 Playfair Display,serif;
    letter-spacing: .045em;
    margin: 0 auto;
    text-transform: uppercase;
    text-shadow: 0 2px 14px #0005
}

.hero-bottom {
    display: flex;
    justify-content: center;
    margin-top: 20px
}

.hero-date {
    font-size: 18px;
    color: #fff;
    letter-spacing: .025em
}

.hero-date b {
    font: 500 20px Playfair Display,serif
}

.hero-date span {
    padding: 0 9px;
    color: #ffffffb8
}

.scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #ffffffd0
}

.scroll-cue:after {
    content: "";
    display: block;
    width: 1px;
    height: 30px;
    margin: 9px auto 0;
    background: #fff;
    transform-origin: top;
    animation: scroll 1.8s ease-in-out infinite
}

.hero {
    min-height: 680px;
    min-height: 88svh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 120px 0 90px;
    background: #172333 url('assets/hero-baku.jpg') center 54%/cover no-repeat;
    color: #fff;
    text-align: center
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(8,17,30,.42),rgba(8,17,30,.12) 52%,rgba(8,17,30,.48))
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(900px,calc(100% - 40px));
}

.hero-logo {
    width: min(340px,66vw);
    height: auto;
    max-height: 210px;
    object-fit: contain;
    margin: 0 auto 30px;
    filter: drop-shadow(0 3px 18px #0005);
    animation: logo-in .9s cubic-bezier(.2,.8,.2,1) both
}

.hero-kicker {
    margin: 0 auto 14px;
    color: #ffffffc7;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase
}

.hero-title {
    font: 700 clamp(24px,4vw,40px)/1.25 Playfair Display,serif;
    letter-spacing: .045em;
    margin: 0 auto;
    text-transform: uppercase;
    text-shadow: 0 2px 14px #0005
}

.hero-bottom {
    display: flex;
    justify-content: center;
    margin-top: 20px
}

.hero-date {
    font-size: 18px;
    color: #fff;
    letter-spacing: .025em
}

.hero-date b {
    font: 500 20px Playfair Display,serif
}

.hero-date span {
    padding: 0 9px;
    color: #ffffffb8
}

.scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #ffffffd0
}

.scroll-cue:after {
    content: "";
    display: block;
    width: 1px;
    height: 30px;
    margin: 9px auto 0;
    background: #fff;
    transform-origin: top;
    animation: scroll 1.8s ease-in-out infinite
}

section {
    padding: 90px 0
}

.section-heading {
    font: 500 clamp(42px,6.2vw,76px)/.96 Playfair Display,serif;
    letter-spacing: -.065em;
    margin: 20px 0 0;
        font-size: 26px;
}

.section-heading strong {
    font-weight: 800
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start
}

.about-copy {
    max-width: 660px;
    color: #4f5968;
    font-size: 16px;
    line-height: 1.85
}

.about-copy p {
    margin: 0 0 18px
}

.about-copy strong {
    color: var(--blue)
}

.about-image {
    margin-top: 28px;
    height: 420px;
    border-radius: var(--radius);
    background: linear-gradient(135deg,#dbe4ee,#f4f3ed) center/cover;
    overflow: hidden
}

.about-image span {
    display: inline-block;
    margin: 24px;
    padding: 9px 13px;
    border-radius: 99px;
    background: #fff;
    color: var(--blue);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase
}

.participants {
    background: #fff
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 42px
}

.section-note {
    max-width: 340px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7
}

.participant-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px
}

.participant {
    min-width: 0;
    padding: 22px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    transition: transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s
}

.participant:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px #17284212
}

.participant img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: #f0f1f2;
    transition: transform .5s cubic-bezier(.2,.8,.2,1)
}

.participant:hover img {
    transform: scale(1.06)
}

.participant b {
    display: block;
    font: 700 14px Playfair Display,serif
}

.participant small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px
}

.program {
    background: #e9edf2
}

.program-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 30px
}

.program-intro {
    max-width: 340px;
    color: var(--muted);
    line-height: 1.7
}

.day-heading {
    padding: 27px 0 13px;
    border-bottom: 1px solid var(--line);
    font: 700 17px Playfair Display,serif;
    color: var(--blue)
}

.timeline {
    max-width: 880px;
    margin-left: auto;
    border-top: 1px solid var(--line)
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 84px minmax(0,1fr);
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
    align-items: start
}

.timeline-time {
    font: 700 17px Playfair Display,serif;
    color: var(--blue)
}

.timeline-marker {
    width: 84px;
    height: 100%;
    min-height: 84px;
    position: relative;
    display: grid;
    place-items: start center;
    align-self: stretch
}

.timeline-marker:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 41px;
    top: 42px;
    bottom: -93px;
    width: 1px;
    background: #9da9b9
}

.timeline-item:last-child .timeline-marker:before {
    display: none
}

.timeline-marker:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 36px;
    left: 36px;
    width: 11px;
    height: 11px;
    background: var(--orange);
    border: 3px solid #e9edf2;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--orange)
}

.timeline-marker.has-image:after {
    display: none
}

.timeline-avatar {
    position: relative;
    z-index: 1;
    width: 84px;
    height: 84px;
    object-fit: cover;
    border: 3px solid #e9edf2;
    border-radius: 50%;
    box-shadow: 0 5px 18px #17284220;
    transition: transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s
}

.timeline-item:hover .timeline-avatar {
    transform: scale(1.07);
    box-shadow: 0 9px 24px #1728422b
}

.timeline-title {
    font: 700 18px Playfair Display,serif
}

.timeline-detail {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65
}

.timeline-detail span {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 4px 9px;
    border-radius: 99px;
    background: #fff;
    color: #465367;
    font-size: 12px
}

.partners {
    background: var(--blue);
    color: #fff
}

.partners .eyebrow {
    color: #ffffffa8
}

.partners .eyebrow:before {
    background: var(--orange)
}

.partners .section-heading {
    margin-bottom: 42px;
    text-align: center;
}

.partner-group {
    padding: 23px 0;
    border-top: 1px solid #ffffff30
}

.partner-group h3 {
    margin: 0 0 17px;
    color: #ffffffb8;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase
}

.partner-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 155px;
    height: 85px;
    padding: 17px;
    border: 1px solid #1522380c;
    border-radius: 13px;
    background: #fff;
    transition: transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px #071a3540
}

.partner-logo img {
    max-height: 52px;
    max-width: 100%;
    object-fit: contain
}

.organizer {
    margin-top: 0;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #fff
}

.organizer p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase
}

.organizer a {
    display: block;
    padding: 8px 0;
    border-radius: 10px
}

.organizer img {
    width: 180px;
    height: 54px;
    object-fit: contain
}

.organizer-section {
    padding: 54px 0 10px;
    background: var(--paper)
}

.organizer-section .organizer {
    max-width: var(--max);
    margin: 0 auto;
    border: 1px solid var(--line);
    color: var(--ink)
}

.news {
    background: #fff
}

.news-card {
    margin-top: 32px;
    padding: 28px 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.news-card strong {
    font: 700 18px Playfair Display,serif
}

.news-card span {
    color: var(--muted);
    font-size: 13px
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 45px;
    align-items: stretch
}

.venue-map {
    min-height: 390px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e5e8eb
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    min-height: 390px;
    border: 0
}

.venue-copy {
    padding: 16px 0
}

.venue-copy h3 {
    font: 700 clamp(42px,5vw,62px)/.96 Playfair Display,serif;
    letter-spacing: -.07em;
    margin: 20px 0
}

.venue-copy p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75
}

.address {
    margin: 25px 0;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.7
}

.address small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase
}

.floorplan {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 35px;
    align-items: center;
    margin-top: 70px;
    padding: 30px;
    border-radius: var(--radius);
    background: #fff
}

.floorplan h3 {
    font: 700 28px Playfair Display,serif;
    letter-spacing: -.04em
}

.floorplan p {
    color: var(--muted);
    line-height: 1.7
}

.floorplan img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
    background: #f7f7f4
}

.contact {
    padding: 95px 0;
    background: #152238;
    color: #fff
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start
}

.contact .eyebrow {
    color: #ffffffa8
}

.contact h2 {
    font: 500 clamp(54px,8vw,100px)/.86 Playfair Display,serif;
    letter-spacing: -.08em;
    margin: 22px 0
}

.contact h2 strong {
    color: var(--yellow);
    font-weight: 800
}

.contact-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px
}

.contact-item {
    padding: 17px 0;
    border-bottom: 1px solid #ffffff32
}

.contact-item small {
    display: block;
    margin-bottom: 9px;
    color: #ffffff9c;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase
}

.contact-item a,.contact-item address {
    font-size: 16px;
    font-style: normal;
    line-height: 1.65
}

.contact-item a:hover {
    color: var(--yellow)
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 25px
}

.socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff55;
    border-radius: 50%;
    font-weight: 700;
    transition: background .2s
}

.socials a:hover {
    background: var(--orange);
    border-color: var(--orange)
}

footer {
    padding: 23px 0;
    background: #111a29;
    color: #ffffff9e;
    font-size: 12px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

.footer-inner img {
    width: 120px;
    height: 38px;
    object-fit: contain;

}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.reveal:nth-child(2) {
    transition-delay: .07s
}

.reveal:nth-child(3) {
    transition-delay: .13s
}

/* Refined festival introduction and centered organizer card */
.about-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 25px 64px;
    align-items: stretch
}

.about-visual {
    display: contents
}

.about-heading {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 40px;
    color: var(--blue);
}

.about-heading span {
    /* display:block; */
}

.about-image {
    grid-column: 1;
    grid-row: 2;
    min-height: 100%;
    height: auto;
    margin: 0;
    background-position: center;
    background-size: cover
}

.about-copy {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch
}

.organizer-section .organizer {
    width: min(100%,390px);
    min-height: 190px;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 13px;
    text-align: center;
    border-radius: 22px;
    box-shadow: 0 16px 46px #1728420b;
    transition: transform .35s,box-shadow .35s
}

.organizer-section .organizer:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 52px #17284215
}

.organizer-section .organizer p {
    letter-spacing: .2em
}

.organizer-section .organizer img {
    margin: 0 auto
}

/* The timeline connector draws in as each entry appears. */
.timeline-marker:before {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .85s cubic-bezier(.2,.8,.2,1)
}

.timeline-item.visible .timeline-marker:before {
    transform: scaleY(1)
}

.timeline-item {
    transition: border-color .35s
}

.timeline-item:hover {
    border-bottom-color: #9da9b9
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 9px
}

.nav-socials a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #15223830;
    border-radius: 50%;
    color: var(--ink);
    font-size: 13px;
    text-shadow: 0 1px 4px #ffffffaa;
    transition: background .2s,color .2s,transform .2s
}

.nav-socials a:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px)
}

.nav-cta {
    border: 0;
    cursor: pointer
}

.nav.scrolled .nav-socials a {
    border-color: #15223840
}

.mobile-menu .nav-socials {
    margin-top: 22px
}

.mobile-menu .nav-socials a {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #ffffff55;
    font: 600 17px "Playfair Display",serif
}

.modal {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    background: #08182b78;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s,visibility .25s
}

.modal.open {
    opacity: 1;
    visibility: visible
}

.modal-card {
    position: relative;
    width: min(100%,520px);
    max-height: min(90svh,760px);
    overflow: auto;
    padding: 36px;
    border: 1px solid #ffffffa8;
    border-radius: 26px;
    background: var(--paper);
    box-shadow: 0 28px 90px #08182b45;
    transform: translateY(18px) scale(.98);
    transition: transform .3s cubic-bezier(.2,.8,.2,1)
}

.modal.open .modal-card {
    transform: none
}

.modal-kicker {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .19em;
    text-transform: uppercase
}

.modal-card h2 {
    margin: 0 40px 24px 0;
    font: 700 clamp(28px,5vw,40px)/1.1 Playfair Display,serif;
    letter-spacing: -.045em;
    color: var(--blue)
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
    transition: transform .2s,background .2s
}

.modal-close:hover {
    transform: rotate(90deg);
    background: #e9edf2
}

.partner-form {
    display: grid;
    gap: 13px
}

.partner-form label {
    display: grid;
    gap: 7px;
    color: #465367;
    font-size: 12px;
    font-weight: 600
}

.partner-form input,.partner-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #15223825;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: var(--ink);
    font: 400 14px "Playfair Display",serif;
    transition: border-color .2s,box-shadow .2s
}

.partner-form input:focus,.partner-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #00358014
}

.partner-form textarea {
    min-height: 105px;
    resize: vertical
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 7px
}

.form-actions button,.form-actions a {
    flex: 1;
    min-height: 48px;
    padding: 12px 14px;
    border: 0;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s,background .2s
}

.form-actions button:hover,.form-actions a:hover {
    transform: translateY(-2px)
}

.form-send {
    background: var(--blue);
    color: #fff
}

.form-whatsapp {
    background: #e5f3eb;
    color: #176b42
}

.form-hint {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5
}

.back-top {
    position: fixed;
    z-index: 25;
    right: 26px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffffbd;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 10px 34px #15223824;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s,visibility .25s,transform .25s,background .2s;
    color .2s;overflow: visible
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none
}

.back-top svg {
    position: relative;
    z-index: 1;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.back-top:hover {
    background: var(--blue);
    color: #fff
}

.back-top:before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 17px;
    height: 34px;
    left: -16px;
    top: 13px;
    border-left: 1px solid #fff9;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0;
    transform: rotate(25deg)
}

.back-top.taking-off {
    animation: plane-takeoff .95s cubic-bezier(.35,0,.75,.2) forwards
}

.back-top.taking-off:before {
    animation: plane-trail .7s ease-out forwards
}

@keyframes logo-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes scroll {
    50% {
        transform: scaleY(.4);
        opacity: .4
    }
}

@media(max-width: 900px) {
    .nav-links,.nav-actions {
        display:none
    }

    .menu-toggle {
        display: block
    }

    .hero {
        min-height: 78svh
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .about-heading {
        grid-column: auto;
        font-size: clamp(46px,9vw,68px)
    }

    .about-image {
        grid-column: auto;
        grid-row: auto;
        height: 420px;
        min-height: 0
    }

    .about-copy {
        grid-column: auto;
        grid-row: auto;
        align-self: auto
    }

    .participant-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .venue-grid {
        grid-template-columns: 1fr
    }

    .venue-map,.venue-map iframe {
        min-height: 340px
    }

    .floorplan {
        grid-template-columns: 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 10px
    }
}

@keyframes plane-takeoff {
    0% {
        opacity: 1;
        transform: translate(0,0) scale(1) rotate(0)
    }

    65% {
        opacity: .95
    }

    100% {
        opacity: 0;
        transform: translate(-25vw,-115vh) scale(1.4) rotate(-28deg)
    }
}

@keyframes plane-trail {
    0% {
        opacity: 0;
        transform: scale(.3) rotate(25deg)
    }

    25% {
        opacity: .7
    }

    100% {
        opacity: 0;
        transform: translate(-8px,18px) scale(1.2) rotate(25deg)
    }
}

@media(max-width: 600px) {
    .container {
        width:calc(100% - 36px)
    }

    section {
        padding: 72px 0
    }

    .nav {
        padding: 7px 0
    }

    .brand img {
        width: 118px;
        height: 42px
    }

    .hero {
        min-height: 76svh;
        padding: 110px 0 75px;
        background-position: 57% center
    }

    .hero-logo {
        width: min(280px,72vw);
        margin-bottom: 23px
    }

    .hero-title {
        font-size: clamp(22px,6vw,32px)
    }

    .hero-kicker {
        font-size: 9px
    }

    .hero-date,.hero-date b {
        font-size: 15px
    }

    .scroll-cue {
        bottom: 15px
    }

    .section-top,.program-top {
        display: block
    }

    .section-note,.program-intro {
        margin-top: 20px
    }

    .participant-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 9px
    }

    .participant {
        padding: 16px 10px
    }

    .participant img {
        width: 72px;
        height: 72px
    }

    .participant b {
        font-size: 12px
    }

    .timeline {
        margin: 0
    }

    .timeline-item {
        grid-template-columns: minmax(0,1fr) 84px;
        grid-template-rows: auto 1fr;
        gap: 8px 14px;
        padding: 20px 0
    }

    .timeline-time {
        grid-column: 1;
        grid-row: 1;
        font-size: 12px;
        line-height: 1.4
    }

    .timeline-marker {
        grid-column: 2;
        grid-row: 1/span 2;
        width: 84px;
        height: 100%;
        min-height: 84px
    }

    .timeline-avatar {
        width: 84px;
        height: 84px
    }

    .timeline-item>div {
        grid-column: 1;
        grid-row: 2;
        min-width: 0
    }

    .timeline-title {
        font-size: 15px
    }

    .timeline-detail {
        font-size: 13px
    }

    .partner-logo {
        width: calc(50% - 7px);
        height: 75px;
        padding: 13px
    }

    .organizer {
        padding: 20px
    }

    .organizer-section {
        padding: 40px 0 8px
    }

    .organizer-section .organizer {
        min-height: 170px
    }

    .venue-map,.venue-map iframe {
        min-height: 290px
    }

    .floorplan {
        padding: 19px
    }

    .contact-items {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .contact-grid {
        gap: 0
    }

    .contact {
        padding: 72px 0
    }

    .footer-inner {
        flex-wrap: wrap
    }

    .footer-inner img {
        width: 100px
    }

    .news-card {
        padding: 20px;
        align-items: flex-start;
        flex-direction: column
    }

    .modal {
        padding: 12px
    }

    .modal-card {
        padding: 28px 21px;
        border-radius: 21px
    }

    .form-actions {
        flex-direction: column
    }

    .back-top {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        scroll-behavior: auto!important;
        animation-duration: .01ms!important;
        animation-iteration-count: 1!important;
        transition-duration: .01ms!important
    }

    .reveal {
        opacity: 1;
        transform: none
    }

    .timeline-marker:before {
        transform: scaleY(1)
    }
}

/* Responsive rows, swipeable partner and news tracks, and a straight upward plane path. */
@media(max-width: 900px) {
    .participant-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}

@media(max-width: 350px) {
    .participant-grid {
        grid-template-columns:1fr
    }

    .participant {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 14px
    }

    .participant img {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        margin: 0
    }

    .participant small {
        margin-top: 3px
    }
}

.organizer-section .organizer {
    position: relative;
    overflow: hidden;
    border-color: #d8dee8;
    background: linear-gradient(145deg,#fff 0%,#f8f9fb 100%)
}

.organizer-section .organizer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 54px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--orange);
    border-radius: 0 0 5px 5px
}

.organizer-section .organizer>div {
    display: grid;
    justify-items: center;
    gap: 11px
}

.organizer-section .organizer a {
    padding: 12px 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px #1522380d
}

.organizer-section .organizer img {
    width: 190px;
    height: 62px
}

.slider-heading,.news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.slider-heading h3 {
    margin-bottom: 17px
}

.slider-controls {
    display: flex;
    gap: 8px
}

.slider-controls button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ffffff55;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: background .2s,transform .2s
}

.slider-controls button:hover {
    background: #ffffff20;
    transform: translateY(-2px)
}

.news .slider-controls button {
    border-color: var(--line);
    color: var(--blue)
}

.news .slider-controls button:hover {
    background: #e9edf2
}

.partner-logos.slider-track,.news-grid.slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch
}

.partner-logos.slider-track::-webkit-scrollbar,.news-grid.slider-track::-webkit-scrollbar {
    display: none
}

.partner-logos.slider-track {
    padding: 0 9% 12px 0
}

.partner-logo {
    flex: 0 0 155px;
    scroll-snap-align: start
}

.news-heading {
    align-items: end
}

.news-heading .section-heading {
    margin-bottom: 0
}

.news-grid.slider-track {
    gap: 16px;
    padding: 32px 8% 12px 0
}

.news-card {
    display: flex;
    flex: 0 0 calc(31% - 10px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start
}

.news-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #e9edf2
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.news-card:hover .news-image img {
    transform: scale(1.04)
}

.news-card-copy {
    padding: 22px 24px
}

.news-card-copy small {
    color: var(--muted);
    font-size: 11px
}

.news-card-copy h3 {
    margin: 10px 0;
    font: 700 18px/1.35 Playfair Display,serif
}

.news-card-copy>div {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65
}

.news-empty {
    color: var(--muted);
    font-size: 14px;
    scroll-snap-align: start
}

.map-modal {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #08182b78;
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s,visibility .2s
}

.map-modal.open {
    opacity: 1;
    visibility: visible
}

.map-modal-card {
    position: relative;
    width: min(100%,440px);
    padding: 32px;
    border: 1px solid #ffffffa8;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 0 28px 90px #08182b45
}

.map-modal-card h2 {
    max-width: 310px;
    margin: 0 0 22px;
    font: 700 27px/1.15 Playfair Display,serif;
    color: var(--blue)
}

.map-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    font-size: 22px;
    cursor: pointer
}

.map-app-list {
    display: grid;
    gap: 9px
}

.map-app-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    font-weight: 700
}

.map-app-list a:hover {
    border-color: var(--blue);
    color: var(--blue)
}

.map-modal-card .form-hint {
    margin-top: 13px
}

.back-top.taking-off {
    animation: plane-takeoff 1.05s cubic-bezier(.2,.75,.3,1) forwards
}

.back-top.taking-off:before {
    animation: plane-trail .8s ease-out forwards
}

@keyframes plane-takeoff {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }

    60% {
        opacity: .95
    }

    100% {
        opacity: 0;
        transform: translateY(-115vh) scale(1.3)
    }
}

@keyframes plane-trail {
    0% {
        opacity: 0;
        transform: scale(.3)
    }

    25% {
        opacity: .55
    }

    100% {
        opacity: 0;
        transform: translateY(13px) scale(1.1)
    }
}

@media(max-width: 700px) {
    .partner-logos.slider-track {
        padding-right:20%
    }

    .partner-logo {
        flex-basis: min(72vw,250px);
        height: 82px
    }

    .news-card {
        flex-basis: 82%
    }

    .news-grid.slider-track {
        padding-right: 18%
    }

    .news-card-copy {
        padding: 18px
    }

    .slider-controls button {
        width: 35px;
        height: 35px
    }

    .map-modal-card {
        padding: 28px 22px
    }
}

@media(max-width: 900px) {
    .mobile-menu .nav-cta {
        margin-top:20px;
        align-self: flex-start;
        background: var(--orange);
        color: #fff;
        font: 600 14px 'Playfair Display',serif
    }
}

@media(max-width: 600px) {
    .timeline-marker {
        height:100%;
        min-height: 84px
    }
}

/* Final requested typography, header, timeline and responsive polish. */
* {
    font-family: 'Playfair Display',serif!important
}

.nav {
    position: absolute;
    background: transparent;
    box-shadow: none
}

.nav.scrolled {
    position: fixed;
    background: #003580;
    box-shadow: 0 3px 20px #071a3528
}

.nav-links {
    font-size: 14px
}

.nav-links a,.nav.scrolled .nav-links a {
    color: #fff;
    text-shadow: none
}

.nav-links a:hover {
    color: #f7c038
}

.nav-actions .nav-cta {
    background: var(--orange)
}

.nav-socials a,.nav.scrolled .nav-socials a {
    color: #fff;
    border-color: #ffffff70;
    text-shadow: none
}

.nav-socials svg,.footer-socials svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.mobile-menu {
    background: #003580
}

.mobile-menu a {
    font-size: 14px;
    padding: 11px 0
}

.mobile-menu .nav-cta {
    font-size: 14px
}

.mobile-menu .nav-socials a {
    font-size: 16px
}

.timeline {
    border-top: 0
}

.timeline-item {
    align-items: center;
    border-bottom: 0;
    padding: 17px 0;
    transition: opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)
}

.timeline-marker {
    align-items: center;
    justify-items: center
}

.timeline-marker:before {
    left: 41px;
    top: 50%;
    bottom: -50%;
    transform: scaleY(0);
    transform-origin: top
}

.timeline-marker:after {
    top: 50%;
    transform: translateY(-50%)
}

.timeline-item.visible .timeline-marker:before {
    transform: scaleY(1)
}

.timeline-item:hover {
    border-bottom-color: transparent
}

.partner-logos {
    flex-wrap: wrap;
    overflow: visible;
    padding: 0
}

.partner-logo {
    flex: 0 1 155px;
    scroll-snap-align: unset
}

.partner-group .slider-controls,.partner-group .slider-heading {
    display: none
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px
}

.footer-socials a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: #003580;
    font-size: 17px;
    transition: transform .25s,background .25s,color .25s
}

.footer-socials a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-3px)
}

footer {
    padding: 58px 0 22px;
    background: #003580;
    color: #fff;
    font-size: 14px
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center
}

.footer-inner img {
    width: 150px;
    height: 58px;
    object-fit: contain;

}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 26px;
    color: #ffffffed
}

.footer-contact a:hover {
    color: #f7c038
}

.footer-address {
    margin: 0;
    color: #ffffffd9;
    line-height: 1.65
}

.footer-bottom {
    width: min(100%,980px);
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #ffffff30;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #ffffffb8;
    font-size: 12px
}

@media(max-width: 900px) {
    .participant-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

    .nav-actions {
        display: none
    }

    .nav-links {
        display: none
    }

    .menu-toggle {
        display: block;
        background: var(--orange)
    }

    .timeline {
        max-width: none;
        margin: 0
    }

    .timeline-item {
        grid-template-columns: 84px minmax(0,1fr);
        grid-template-rows: auto auto;
        gap: 5px 13px
    }

    .timeline-time {
        grid-column: 2;
        grid-row: 1;
        font-size: 13px;
        line-height: 1.4
    }

    .timeline-marker {
        grid-column: 1;
        grid-row: 1/span 2;
        width: 84px;
        min-height: 84px;
        height: 100%
    }

    .timeline-item>div {
        grid-column: 2;
        grid-row: 2;
        min-width: 0
    }

    .timeline-marker:before {
        left: 41px;
        top: 50%;
        bottom: -50%
    }

    .timeline-marker:after {
        left: 36px
    }

    .timeline-avatar {
        width: 84px;
        height: 84px
    }

    .news-card {
        flex-basis: 82%
    }

    .footer-inner {
        gap: 15px
    }
}

@media(max-width: 600px) {
    .nav-links,.nav-actions {
        display:none
    }

    .mobile-menu {
        padding: 88px 24px 28px
    }

    .mobile-menu a {
        font-size: 14px;
        padding: 10px 0
    }

    .timeline-item {
        grid-template-columns: 64px minmax(0,1fr);
        gap: 5px 12px;
        padding: 16px 0
    }

    .timeline-marker {
        width: 64px;
        min-height: 64px
    }

    .timeline-marker:before {
        left: 31px;
        top: 50%;
        bottom: -50%
    }

    .timeline-marker:after {
        left: 26px
    }

    .timeline-avatar {
        width: 60px;
        height: 60px
    }

    .timeline-time {
        font-size: 12px
    }

    .timeline-title {
        font-size: 15px
    }

    .timeline-detail {
        font-size: 13px
    }

    .partner-logo {
        flex: 0 1 calc(50% - 6px);
        width: auto;
        height: 75px;
        padding: 12px
    }

    .footer-inner {
        justify-content: center
    }

    .footer-contact {
        flex-direction: column;
        gap: 8px
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 7px
    }

    .footer-inner>span {
        font-size: 11px
    }
}

@media(max-width: 350px) {
    .participant-grid {
        grid-template-columns:1fr
    }

    .participant {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 14px
    }

    .participant img {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        margin: 0
    }

    .participant small {
        margin-top: 3px
    }
}

@media(prefers-reduced-motion:reduce) {
    .timeline-item {
        transition: none
    }
}

@media(max-width: 900px) {
    .mobile-menu .nav-cta {
        margin-top:20px;
        align-self: flex-start;
        background: var(--orange);
        color: #fff;
        font: 600 14px 'Playfair Display',serif
    }
}

@media(max-width: 600px) {
    .timeline-marker {
        height:100%;
        min-height: 84px
    }
}


/* Turizm marşrutu timeline */
.program {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 12%, #ffffffc9, transparent 34%),
    linear-gradient(145deg, #eef3f8, #e6edf5 52%, #f4f6f8);
}

.program::before,
.program::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 510px;
  height: 510px;
  right: -230px;
  top: 8%;
  border: 1px solid #0035800b;
  border-radius: 50%;
  box-shadow: 0 0 0 24px #00358005, 0 0 0 50px #00358004;
}

.program::after {
  width: 280px;
  height: 280px;
  right: auto;
  left: -190px;
  top: 58%;
}

.program > .container {
  position: relative;
  z-index: 1;
}

.day-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 38px 0 19px;
  padding: 0;
  border: 0;
  color: #003580;
  font-size: 19px;
}

.day-heading::before {
  content: "";
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f7c038;
  box-shadow: 0 0 0 6px #f7c03835, 0 0 0 11px #f7c03814;
}

.day-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 7px;
  background: linear-gradient(90deg, #0035802b, transparent);
}

.timeline {
  position: relative;
  max-width: 1080px;
  margin: 0 auto 42px;
  border: 0;
  counter-reset: route-stop;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 14px;
  padding: 15px 0;
  align-items: stretch;
  border: 0;
  counter-increment: route-stop;
}

.timeline-time {
  grid-row: 1;
  align-self: end;
  padding: 6px 11px;
  border: 1px solid #00358015;
  border-radius: 999px;
  background: #ffffffd9;
  color: #003580;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 5px 16px #18365708;
}

.timeline-time::before {
  content: "SAAT";
  display: inline;
  margin-right: 7px;
  color: #718096;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
}

.timeline-marker {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 88px;
  min-height: 100px;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.timeline-marker::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 42px;
  top: 50%;
  bottom: -50%;
  width: 3px;
  border-radius: 99px;
  background: repeating-linear-gradient(
    to bottom,
    #00358070 0 6px,
    transparent 6px 13px
  );
  transform: scaleY(0);
  transform-origin: top;
}

.timeline-item:last-child .timeline-marker::before {
  display: none;
}

.timeline-item.visible .timeline-marker::before {
  transform: scaleY(1);
  animation: route-line-flow .9s linear 1;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
    left: 33.5px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc844, #f7a91c);
  box-shadow: 0 0 0 5px #f7c03836, 0 3px 9px #00358030;
  transform: translateY(-50%);
}

.timeline-marker.has-image::after {
  display: none;
}

.timeline-item.visible .timeline-marker::after {
  animation: route-stop-arrive .65s cubic-bezier(.2, .8, .2, 1) both;
}

.timeline-avatar {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #f7c038, 0 8px 22px #15355420;
  transition: transform .45s, box-shadow .45s;
}

.timeline-item:hover .timeline-avatar {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 0 3px #f7c038, 0 14px 30px #15355430;
}

.timeline-item.visible .timeline-marker.has-image .timeline-avatar {
  animation: route-image-arrive .65s cubic-bezier(.2, .8, .2, 1) both;
}

.timeline-item > div {
  position: relative;
  align-self: center;
  padding: 20px 24px;
  border: 1px solid #ffffffd9;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #ffffffeb);
  box-shadow: 0 8px 25px #16395c0b;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}

.timeline-item > div::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-left: 1px solid #ffffffd9;
  border-bottom: 1px solid #ffffffd9;
  background: #fff;
  transform: rotate(45deg);
}

.timeline-item:hover > div {
  transform: translateY(-3px);
  border-color: #f7c03870;
  box-shadow: 0 15px 34px #16395c16;
}

.timeline-title {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #142b4a;
  font-size: 18px;
  line-height: 1.35;
}

.timeline-title::before {
  content: counter(route-stop, decimal-leading-zero);
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff4d4;
  color: #aa7411;
  font-size: 10px;
  font-weight: 700;
}

.timeline-detail {
  margin: 10px 0 0;
  color: #596b80;
  font-size: 13px;
  line-height: 1.7;
}

.timeline-detail span {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 5px 10px;
  border: 1px solid #0035800d;
  border-radius: 99px;
  background: #f1f5fa;
  color: #475a72;
  font-size: 11px;
}

/* Kartlar marşrut xəttinin iki tərəfində növbələnir */
@media (min-width: 901px) {
  .timeline-item:nth-child(odd) .timeline-time,
  .timeline-item:nth-child(odd) > div {
    grid-column: 3;
  }

  .timeline-item:nth-child(odd) .timeline-time {
    justify-self: start;
    margin-left: 11px;
  }

  .timeline-item:nth-child(odd) > div {
    grid-row: 2;
  }

  .timeline-item:nth-child(even) .timeline-time,
  .timeline-item:nth-child(even) > div {
    grid-column: 1;
  }

  .timeline-item:nth-child(even) .timeline-time {
    justify-self: end;
    margin-right: 11px;
  }

  .timeline-item:nth-child(even) > div {
    grid-row: 2;
  }

  .timeline-item:nth-child(even) > div::before {
    left: auto;
    right: -7px;
    transform: rotate(225deg);
  }

  .timeline-item.visible:nth-child(odd) > div {
    animation: route-card-from-right .7s cubic-bezier(.2, .8, .2, 1);
  }

  .timeline-item.visible:nth-child(even) > div {
    animation: route-card-from-left .7s cubic-bezier(.2, .8, .2, 1);
  }
}

@keyframes route-line-flow {
  to { background-position: 0 18px; }
}

@keyframes route-stop-arrive {
  0% { opacity: 0; transform: translateY(-50%) scale(.35); }
  75% { transform: translateY(-50%) scale(1.18); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

@keyframes route-image-arrive {
  0% { opacity: .45; transform: scale(.72) rotate(-7deg); }
  75% { transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes route-card-from-right {
  from { opacity: 0; transform: translateX(30px) scale(.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes route-card-from-left {
  from { opacity: 0; transform: translateX(-30px) scale(.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

/* Mobil: xətt solda, bütün proqram kartları sağda */
@media (max-width: 900px) {
  .timeline {
    max-width: 760px;
  }

  .timeline-item {
    grid-template-columns: 70px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 13px;
    padding: 10px 0;
  }

  .timeline-item:nth-child(odd) .timeline-time,
  .timeline-item:nth-child(even) .timeline-time {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin: 0 0 0 2px;
  }

  .timeline-item:nth-child(odd) > div,
  .timeline-item:nth-child(even) > div {
    grid-column: 2;
    grid-row: 2;
    padding: 17px 19px;
  }

  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 70px;
    min-height: 84px;
  }

  .timeline-marker::before {
    left: 33px;
  }

  .timeline-marker::after {
    left: 25px;
  }

  .timeline-avatar {
    width: 64px;
    height: 64px;
  }

  .timeline-item:nth-child(even) > div::before {
    left: -7px;
    right: auto;
    transform: rotate(45deg);
  }
}

@media (max-width: 600px) {
  .program {
    padding-top: 68px;
    padding-bottom: 70px;
  }

  .day-heading {
    margin: 27px 0 14px;
    font-size: 17px;
  }

  .timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    width: 58px;
  }

  .timeline-marker::before {
    left: 27px;
  }

  .timeline-marker::after {
    left: 19px;
  }

  .timeline-avatar {
    width: 54px;
    height: 54px;
  }

  .timeline-item:nth-child(odd) > div,
  .timeline-item:nth-child(even) > div {
    padding: 14px;
  }

  .timeline-title {
    gap: 8px;
    font-size: 15px;
  }

  .timeline-detail {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-marker::before {
    animation: none !important;
    transform: scaleY(1) !important;
  }

  .timeline-item.visible .timeline-marker::after,
  .timeline-item.visible .timeline-avatar,
  .timeline-item.visible > div {
    animation: none !important;
  }
}

.timeline-item {
  padding: 15px 0;
}

.timeline-marker {
  align-items: start !important;
  justify-items: center !important;
}

.timeline-marker::before {

  top: 39px !important;
  bottom: -69px !important;
}

.timeline-marker::after {

  top: 32px !important;
  transform: none !important;
}

/* 901–900px aralığından mobil görünüş */
@media (max-width: 900px) {
  .timeline-item {
    padding: 10px 0;
  }

  .timeline-marker {
    width: 70px;
  }

  .timeline-marker::before {

    top: 32px !important;
    bottom: -52px !important;
  }

  .timeline-marker::after {

    top: 25px !important;
  }

  .timeline-avatar {
    width: 64px;
    height: 64px;
  }
}

/* Kiçik mobil ekranlar */
@media (max-width: 600px) {
  .timeline-item {
    padding: 8px 0;
  }

  .timeline-marker {
    width: 58px;
  }

  .timeline-marker::before {

    top: 27px !important;
    bottom: -43px !important;
  }

  .timeline-marker::after {

    top: 20px !important;
  }

  .timeline-avatar {
    width: 54px;
    height: 54px;
  }
}

/* Hero: təyyarə banneri soldan gətirir */
.hero-content {
  position: absolute;
  z-index: 3;
  top: clamp(270px, 34vh, 355px);
  left: -65%;
  width: min(470px, calc(100% - 44px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  animation: tf-banner-delivery 3.25s cubic-bezier(.42, 0, .3, 1) .18s both;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(320px, 78%);
  max-height: 150px;
  margin: 0 auto 15px;
  opacity: 1;
  animation: none;
}

.hero-title {
  position: relative;
  z-index: 1;
  opacity: 1;
  animation: none;
}

.hero-bottom {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  opacity: 1;
  animation: none;
}

.hero-arrival-plane {
  position: absolute;
  z-index: 4;
  top: clamp(92px, 15vh, 150px);
  left: -65%;
  width: min(390px, 34vw);
  aspect-ratio: 245 / 124;
  pointer-events: none;
  /*mix-blend-mode: multiply;*/
  opacity: 1;
  animation: tf-plane-delivery 3.25s cubic-bezier(.42, 0, .3, 1) .18s both;
}

.hero-arrival-plane img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(-1);
}

@keyframes tf-plane-delivery {
  0% {
    left: -65%;
    opacity: 1;
    transform: translateX(-50%) translateY(12px) scale(.84) rotate(-1deg);
  }
  38%, 55% {
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) rotate(0);
  }
  100% {
    left: 130%;
    opacity: 1;
    transform: translateX(-50%) translateY(-35px) scale(.82) rotate(4deg);
  }
}

@keyframes tf-banner-delivery {
  0% {
    left: -65%;
    opacity: 1;
    transform: translateX(-50%) translateY(-16px) scale(.9) rotate(-2deg);
  }
  38%, 52% {
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) rotate(0);
  }
  59% {
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) translateY(13px) scale(1) rotate(0);
  }
  66%, 100% {
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) rotate(0);
  }
}

@media (max-width: 900px) {
  .hero-arrival-plane {
    top: clamp(92px, 14vh, 130px);
    width: min(330px, 62vw);
  }

  .hero-content {
    top: clamp(255px, 35vh, 330px);
    width: min(470px, calc(100% - 40px));
  }
}

@media (max-width: 600px) {
  .hero-arrival-plane {
    top: clamp(86px, 13vh, 110px);
    width: min(230px, 60vw);
  }

  .hero-content {
    top: clamp(225px, 36vh, 285px);
    width: calc(100% - 34px);
  }

  .hero-logo {
    width: min(245px, 82%);
    max-height: 115px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(20px, 5.7vw, 28px);
  }

  .hero-bottom {
    margin-top: 10px;
  }

  .hero-date,
  .hero-date b {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    top: 50%;
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%);
    animation: none;
  }

  .hero-arrival-plane {
    display: none;
  }
}


/* Təşkilatçı və tərəfdaş bölmələri */
.organizer-section,
.partners {
  padding: clamp(40px, 9vw, 40px) 0 !important;
  background: #fff !important;
  color: #003580 !important;
}

/* Tərəfdaşlar üçün ümumi başlığı gizlət */
.partners > .container > .section-heading {
  display: none !important;
}

/* Təşkilatçı: kart fonu, çərçivə və kölgə olmasın */
.organizer-section .organizer {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  transition: none !important;
}

.organizer-section .organizer::before {
  display: none !important;
}

.organizer-section .organizer > div {
  display: grid;
  justify-items: center;
  gap: 24px !important;
}

.organizer-section .organizer p,
.partners .partner-group h3 {
  width: 100%;
  margin: 0 0 24px !important;
  color: #003580 !important;
  font-family: "Playfair Display", serif !important;
  font-size: clamp(28px, 3.3vw, 36px) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
}

/* Təşkilatçı loqosu: 160×160, fon və daxili boşluq olmadan */
.organizer-section .organizer a,
.organizer-section .organizer img {
  width: 160px !important;
  height: 160px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* Tərəfdaş qrupları: şəffaf fon, mərkəzlənmiş başlıqlar və loqolar */
.partners .partner-group {
  width: fit-content !important;
  max-width: 100%;
  min-height: 0 !important;
  margin: 52px auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

.partners .partner-group:has(.partner-logo:only-child) {
  width: 160px !important;
}

.partners .partner-group:has(.partner-logo:nth-child(2):last-child) {
  width: 340px !important;
}

.partners .partner-group:has(.partner-logo:nth-child(3):last-child) {
  width: 520px !important;
}

.partners .partner-group:has(.partner-logo:nth-child(4):last-child) {
  width: 700px !important;
}

.partners .partner-group:has(.partner-logo:nth-child(5):last-child) {
  width: 880px !important;
}

.partners .partner-group:has(.partner-logo:nth-child(6):last-child) {
  width: 1060px !important;
}

.partners .partner-group h3 {
  display: block;
}

.partners .partner-logos {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 20px;
  padding: 0 !important;
  overflow: visible;
}

.partners .partner-logo {
  flex: 0 0 160px !important;
  width: 160px !important;
  height: 160px !important;
  min-width: 160px;
  min-height: 160px;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: opacity .4s ease, translate .45s ease;
  opacity: 0;
  translate: 0 10px;
}

.partners .partner-group.visible .partner-logo {
  opacity: 1;
  translate: 0 0;
}

.partners .partner-group.visible .partner-logo:nth-child(1) { transition-delay: .04s; }
.partners .partner-group.visible .partner-logo:nth-child(2) { transition-delay: .12s; }
.partners .partner-group.visible .partner-logo:nth-child(3) { transition-delay: .20s; }
.partners .partner-group.visible .partner-logo:nth-child(4) { transition-delay: .28s; }
.partners .partner-group.visible .partner-logo:nth-child(5) { transition-delay: .36s; }

.partners .partner-logo img {
  width: 160px !important;
  height: 160px !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center;
  background: transparent !important;
}

/* Təşkilatçı və tərəfdaşlarda hover effekti olmasın */
.organizer-section .organizer:hover,
.organizer-section .organizer *:hover,
.partners .partner-group:hover,
.partners .partner-group *:hover {
  transform: none !important;
  translate: none !important;
  scale: none !important;
  box-shadow: none !important;
  filter: none !important;
  background-color: transparent !important;
}

/* Mobil görünüş */
@media (max-width: 700px) {
  .organizer-section,
  .partners {
    padding: 64px 0 !important;
  }

  .organizer-section .organizer p,
  .partners .partner-group h3 {
    font-size: 27px !important;
  }

  .partners .partner-group {
    width: min(340px, 100%) !important;
    margin: 38px auto !important;
  }

  .partners .partner-group:has(.partner-logo:only-child) {
    width: min(160px, 100%) !important;
  }

  .partners .partner-logos {
    gap: 16px;
  }
}

/* Hərəkətə həssaslıq seçimi olan cihazlarda animasiyanı söndür */
@media (prefers-reduced-motion: reduce) {
  .partners .partner-logo {
    opacity: 1;
    translate: none;
    transition: none;
  }
}