@font-face {
    font-family: 'New Icon Script';
    src: url(./fonts/New-Icon-Script.ttf) format('truetype');
}

/* RESET CSS */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    font-family: "Noto Serif Display", serif;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    box-sizing: border-box;
}
* {
    box-sizing: border-box;
    font-family: "Noto Serif Display", serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: "Noto Serif Display", serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    background-color: #f7e1d7;
    margin: 0;
    scroll-behavior: smooth;
}

:root {
    --ivory: #fff;
    --sage: #000;
    --noir: #fff;
    --moss: #000;
}

body {
    background-color: var(--moss);
    margin: 0;
}

.slider-container {
    width: 100%;
    height: auto;
    margin-bottom: 0 !important;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grecaptcha-badge { 
    visibility: hidden;
}

/* Title Container */
.title-container {
    width: 100%;
    padding: 12px 20px 0px 20px;
    text-align: center;
}

@media  screen and (max-width: 768px) {
    .title-container {
        padding: 32px 0px 0px 0px;
    }
}

.title-container h1 {
    font-size: 68px;
    line-height: 1.6; /* Slightly improved line height for better readability */
    font-weight: 300; /* Lighter weight for a more modern feel */
    margin-bottom: 32px; /* Add space below the title */
    color: var(--moss); /* Ensures it matches the color palette */
    font-family: 'New Icon Script', cursive;
    animation: transformTitle 1s ease-in-out forwards;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}



@keyframes transformTitle {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.title-container h2 {
    font-size: 21px; /* Slightly reduced size for better hierarchy */
    line-height: 1.4;
    opacity: 1;
    color: var(--moss);
    margin-bottom: 24px; /* Add space below the subtitle */
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
    animation: transformSubtitle 1s ease-in-out forwards;
}

@media screen and (max-width: 768px) {
    .title-container h2 {
        font-size: 16px;
    }
}

@keyframes transformSubtitle {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Image Container */
.together-image-container {
    max-width: 700px;
    width: 80%;
    height: auto;
    background-color: #e4e4e4;
    padding: 20px 20px 32px 20px;
    -webkit-box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.69);
    -moz-box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.69);
    box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.69);
    margin: 40px auto;
    border-radius: 0; /* Rounded corners for a smoother look */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
    animation: animateImage 1s ease-in-out forwards;
}

@keyframes animateImage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Style the map */
#map {
    height: 500px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 48px;
}


.together-image-container:hover {
    transform: rotate(0deg); /* Subtle reset on hover to make it feel interactive */
}

/* Image Styling */
.together-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures images fill the container properly */
    border-radius: 0; /* Slightly rounded edges on the image */
    margin-bottom: 32px; /* Increased bottom margin for better spacing */
}

/* Heading Styles within Image Container */
.together-image-container h2 {
    font-size: 21px; /* Slightly increased size for better readability */
    line-height: 1.6;
    font-weight: 400;
    color: var(--moss);
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-transform: uppercase; /* Add some visual distinction to subheadings */
}

.together-image-container h3 {
    font-size: 28px; /* Slightly reduced size for better hierarchy */
    line-height: 1.4;
    font-weight: 400; /* Modern weight */
    color: var(--moss);
    text-align: center;
    margin-top: 8px; /* Adds a bit of space between subheading and image */
}

.timetable-container {
    width: 90%;
    max-width: 700px;
    height: auto;
    padding: 40px 10px;
    background-color: var(--ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 48px auto;
    border-radius: 6px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.timetable-container h4 {
    font-family: 'New Icon Script', cursive;
    font-size: 40px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--moss);
    margin-bottom: 16px;
}

.timetable-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.timetable-icon {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--moss);
    margin-bottom: 16px;
}

.timetable-icon span {
    font-size: 18px;
    font-weight: 600;
    color: var(--moss);
    margin-top: 8px;
}

.timetable-icon span svg {
    width: 56px;
    height: 56px;
}

.timetable-row-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    width: 50%;
    border-right: 1px solid var(--moss);
    padding-top: 24px;
    padding-bottom: 24px;
    margin-bottom: 16px;
    padding-right: 10px;
}

.timetable-row-right {
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
    width: 50%;
    border-left: 1px solid var(--moss);
    padding-top: 24px;
    padding-bottom: 24px;
    margin-bottom: 16px;
    padding-left: 10px;
}

.timetable-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.timetable-item a {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--moss);
    text-align: center;
    text-decoration: none;
    padding: 4px 16px;
    border-radius: 24px;
    border: 1px solid var(--moss);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.timetable-item a:hover {
    background-color: var(--moss);
    color: var(--ivory);
}

.timetable-item a g {
    transition: fill 0.3s ease-in-out;
}

.timetable-item a:hover g {
    fill: var(--ivory);
}

.timetable-item a span.map-icon {
    transform: translateY(2px);
}

.timetable-item a span.map-icon svg {
    width: 20px;
    height: 20px;
    font-size: 24px;
    color: var(--moss);
    margin-right: 8px;
}

.heart-icon-wrapper span svg {
    width: 20%;
}

.heart-icon-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 24px;
    opacity: 0;
    animation: animateHeart 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes animateHeart {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.timetable-title {
    font-family: 'New Icon Script', cursive;
    font-size: 24px;
    margin-bottom: 12px;
}

.place {
    font-weight: 700;
    text-transform: uppercase;
}

.timetable-item span {
    text-align: center;
    display: block;
    margin-bottom: 6px;
}

.border-center {
    border-left: 2px solid var(--moss);
    height: 12vh;
    width: 0;
    margin: 0 auto;
    animation: animateBorder 1s ease-in-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes animateBorder {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.text {
    text-align: center;
}

.text p {
    font-size: 28px;
    line-height: 1.6;
    font-family: 'New Icon Script', cursive;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 32px auto;
}

/* Hide text initially */
.text span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(0 100% 0 0); /* Hide text */
}

/* First line typing effect */
@keyframes typing1 {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

/* Second line typing effect */
@keyframes typing2 {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

/* Third line typing effect */
@keyframes typing3 {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

/* Cursor blinking effect */
@keyframes blink-caret {
    50% { border-color: transparent; }
    100% { border-color: transparent; }
}

/* Apply animations when in view */
.visible .line1 {
    animation: typing1 2s steps(30) forwards;
}

.visible .line2 {
    animation: typing2 2s steps(30) 2.2s forwards;
}

.visible .line3 {
    animation: typing3 2s steps(30) 4.4s forwards;
}


@media screen and (max-width: 950px) {
    .text p {
        font-size: 24px;
    }
}

@media screen and (max-width: 820px) {
    .text p {
        font-size: 20px;
    }
}

@media screen and (max-width: 680px) {
    .text p {
        font-size: 24px;
        font-weight: 400;
        flex-direction: column;
        justify-content: flex-start;
    }
}

.counter-container {
    width: 80%;
    max-width: 700px;
    height: auto;
    padding: 40px 20px;
    background-color: var(--ivory);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 24px auto;
    border-radius: 6px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.counter-container .counter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    width: 100%;
}

.counter-container .counter span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
}

.counter-container .counter svg {
    width: 28px;
    height: 28px;
    font-size: 28px;
    color: var(--moss);
}
.counter-item {
    width: 70px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.counter-container .counter .counter-number {
    font-size: 38px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--moss);
    text-align: center;
    width: auto;
}

.counter-text {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--moss);
    text-align: center;
    text-transform: uppercase;
}

@media screen and (max-width: 660px) {
    .counter-container .counter .counter-number {
        font-size: 32px;
    }
    .counter-container .counter .counter-text {
        font-size: 14px;
    }
    .counter-container .counter span {
        width: 32px;
    }
    .counter-container .counter svg {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    .title-container h1 {
        font-size: 50px;
    }
}


@media screen and (max-width: 500px) {
    .counter-container {
        width: 95%;
    }
    .counter-container .counter .counter-number {
        font-size: 26px;
    }
    .counter-container .counter .counter-text {
        font-size: 14px;
    }
    .counter-container .counter span {
        width: 26px;
    }
    .counter-container .counter svg {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
}


.form-container {
    width: 100%;
    max-width: 1300px;
    height: auto;
    padding: 40px 20px;
    background-color: var(--ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 48px auto 24px auto;
    border-radius: 6px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h5 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--moss);
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
}

.form-container h5 strong {
    font-weight: 700;
}

.form-container form {
    width: 100%;
}

.form__group {
    position: relative;
    padding: 15px 0 0;
    margin-top: 10px;
    width: 100%;
    margin-bottom: 24px;
}
.form__field {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #9b9b9b;
    outline: 0;
    font-size: 1rem;
    color: var(--moss);
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;
}
.form__field::placeholder {
    color: transparent;
}
.form__field:placeholder-shown ~ .form__label {
    font-size: 1rem;
    cursor: text;
    top: 15px;
}
.form__label {
    position: absolute;
    top: -10px;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #9b9b9b;
}
.form__field:focus {
    padding-bottom: 6px;
    font-weight: 700;
    border-width: 2px;
    border-image: linear-gradient(to right, var(--moss), var(--moss));
    border-image-slice: 1;
}
.form__field:focus ~ .form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: var(--moss);
    font-weight: 700;
}

textarea.form__field:focus ~ .form__label {
    top: -15px;
}
/* reset input */
.form__field:required, .form__field:invalid {
    box-shadow: none;
}


.form-container button {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--moss);
    text-align: center;
    padding: 12px 24px;
    border-radius: 24px;
    border: 1px solid var(--moss);
    background-color: var(--moss);
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    margin: 0 auto;
    display: block;
    color: var(--ivory);
    margin-bottom: 32px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.form-container button:hover {
    background-color: var(--ivory);
    color: var(--moss);
}

#successMessage {
    display: none; 
    background-color: #fff;
    width: 100%; 
    height: 100vh; 
    align-items: center; 
    justify-content: center;
}

#successMessage h2 {
    color: #000; 
    font-size: 40px; 
    line-height: 1.3;
    text-align: center; 
    padding: 0 24px;
}

#errorMessage {
    display: none;
    background-color: #fff; 
    width: 100%; 
    height: 100vh; 
    align-items: center; 
    justify-content: center;
}

#errorMessage h2 {
    color: #000; 
    font-size: 40px; 
    line-height: 1.3;
    text-align: center; 
    padding: 0 24px;
}

.contact-container h5 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--moss);
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
}

.contact-container {
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: 40px 20px;
    background-color: var(--ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 24px auto;
    border-radius: 6px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.phone-numbers {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.phone-numbers div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: var(--ivory);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--moss);
}

.phone-numbers div a {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding: 3px 16px;
    border-radius: 24px;
    border: 1px solid var(--moss);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: none;
    background-color: var(--moss);
    color: var(--ivory);
    border: 1px solid transparent;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.phone-numbers div a:hover {
    background-color: var(--ivory);
    color: var(--moss);
    border: 1px solid var(--moss);
}

.phone-numbers div a:hover span {
    color: var(--moss);
}

.phone-numbers div a path {
    transition: fill 0.3s ease-in-out;
}

.phone-numbers div a:hover path {
    fill: var(--moss);
}

.phone-numbers div span {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--moss);
    text-align: center;
}

.phone-numbers div a span {
    color: var(--ivory);
}

.phone-numbers div span svg {
    width: 20px;
    height: 20px;
    font-size: 24px;
    color: var(--moss);
    margin-right: 8px;
    transform: translateY(4px);
}


@media screen and (max-width: 600px) {
    .phone-numbers div span {
        font-size: 18px;
    }
    .phone-numbers {
        flex-direction: column;
    }
}

.thank-you-message {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--moss);
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 40px;
    padding-top: 24px;
}

.thank-you-message h6 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--moss);
    text-align: center;
    margin-bottom: 24px;
}

.thank-you-message span {
    display: block;
}

.thank-you-message span svg {
    width: 20%;
    max-width: 120px;
}

.pill-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}

.pill {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    padding: 4px 10px;
    border-radius: 24px;
    border: 1px solid var(--sage);
    background-color: transparent;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    margin-bottom: 12px;
    opacity: 0;
    color: var(--moss);
    animation: animatePill 1s ease-in-out forwards;
}

.pill:nth-child(1) {
    animation-delay: 0.3s;
}

.pill:nth-child(2) {
    animation-delay: 0.6s;
}

@keyframes animatePill {
    from {
        transform: translateX(200%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.loader-container {
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 10%;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #000;
    --_m: 
      conic-gradient(#0000 10%,#000),
      linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
            mask: var(--_m);
    -webkit-mask-composite: source-out;
            mask-composite: subtract;
    animation: l3 1s infinite linear;
  }
  @keyframes l3 {to{transform: rotate(1turn)}}