/*
    ====================================
    ELEGENTO THEME - CLEAN VERSION
    ====================================

    Theme Name: Elegento Theme
    Theme URI: http://deployer.elegento.com/
    Description: The official Elegento theme
    Version: 1.0
    Author: Elegento Team <info@elegento.com>
    License: MIT

    ====================================
    STRUCTURE:
    1. CSS Variables (Root)
    2. General Styles
    3. Buttons
    4. Header & Navigation
    5. Welcome Section
    6. Contact Section
    7. About Section
    8. Members Section
    9. Numbers Section
    10. History Section
    11. Come Section
    12. Footer
    13. Animations
    14. Responsive Design
    ====================================
*/

/* ================================
   1. CSS VARIABLES & ROOT SETTINGS
   ================================ */

:root {
    --elgcrafted-url: url('/wp-content/themes/bni/media/logo-elegento.svg');

    /* Primary Colors */
    --color-red-primary: #CF2030;
    --color-red-dark: #941622;
    --color-red-alpha-80: rgba(207, 32, 48, 0.8);

    /* Neutral Colors */
    --color-charcoal-dark: #393D50;
    --color-black: #000;
    --color-white: #fff;

    /* Light Grays */
    --color-gray-light: #F2F2F2;
    --color-gray-lighter: #FAFAFA;
    --color-purple-light: #E5E1E6;

    /* Transparent Overlays */
    --color-white-transparent-20: rgba(255, 255, 255, 0.2);
    --color-white-transparent-10: rgba(255, 255, 255, 0.1);
    --color-white-transparent-0: rgba(255, 255, 255, 0);
    --color-black-transparent-10: rgba(0, 0, 0, 0.1);
    --color-black-transparent-20: rgba(0, 0, 0, 0.2);
    --color-black-transparent-50: rgba(0, 0, 0, 0.5);
    --color-black-transparent-60: rgba(0, 0, 0, 0.6);
    --color-black-transparent-0: rgba(0, 0, 0, 0);
}

/* ================================
   2. GENERAL STYLES
   ================================ */

/* Basic HTML & Body styles */
html {
    font-family: "Manrope", sans-serif;
    scroll-behavior: smooth;
}

/* Hide scrollbar when form modal is open */
body.form-is-open {
    overflow-y: hidden;
}

::selection {
    background: var(--color-red-primary);
    color: #ffffff;
}

::-moz-selection {
    background: var(--color-red-primary);
    color: #ffffff;
}

/* Paragraph default styling */
p {
    font-size: 16px;
    color: var(--color-charcoal-dark);
    line-height: 1.6;
}

/* Hide mobile elements by default (shown only on mobile screens) */
.mobile {
    display: none;
}

/* Main container layout - centered with max width */
.bni-layout {
    width: 1680px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 40px;
}

/* Section heading styles */
.heading-wrapper h3 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--color-red-primary);
}

.heading-wrapper h2 {
    font-size: 3.6rem;
    line-height: 1;
    font-weight: 800;
    color: var(--color-charcoal-dark);
    margin-top: 0;
    margin-bottom: 0;
}

.heading-wrapper {
    margin-bottom: 60px;
    width: 580px;
    max-width: 100%;
}

/* Event info bar styling (borders & text) */
span.event-info {
    display: flex;
    align-items: center;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: var(--color-white-transparent-20);
}

span.event-info a {
    text-decoration: none;
    color: inherit;transition: .3s all ease;
}

span.event-info a:hover {
    color: var(--color-red-primary);
}

span.event-info small {
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 1px;
    display: block;
}
span.event-info h3 {
    margin: 0;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0;
}

/* Add right border divider on first event info */
span.event-info h3:first-child {
    border-right: 1px solid var(--color-white-transparent-20);
    padding-left: 0;
}

/* ================================
   3. BUTTONS STYLES
   ================================ */

/* Primary button - red background */
.btn-red {
    background: var(--color-red-primary);
    padding: 20px 30px;
    color: var(--color-white);
    text-decoration: initial;
    box-sizing: border-box;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 14px;
    display: inline-block;
    transition: 0.3s all ease;
    border: none;
    cursor: pointer;
}

.btn-red:hover {
    background-color: var(--color-red-dark);
}

.btn-border {
    padding: 20px 30px;
    text-decoration: none;
    box-sizing: border-box;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 14px;
    display: inline-block;
    border: 1px solid var(--color-charcoal-dark);
    cursor: pointer;

    /* New for hover effect */
    position: relative;
    overflow: hidden;
    color: var(--color-charcoal-dark);
    transition: color 0.3s ease;
    z-index: 1;
}

/* Background fill animation */
.btn-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-charcoal-dark);
    z-index: -1;
    transition: left 0.3s ease;
}

/* On hover - fill from left to right */
.btn-border:hover::before {
    left: 0;
}

/* Change text color on hover */
.btn-border:hover {
    color: white;
}

/* Text link button */
.btn-link {
    color: var(--color-white);
    font-size: 14px;
    display: inline-block;
}

/* Disclaimer text styling */
.disclaimer small {
    display: block;
    margin: 20px 0 30px 0;
    font-size: 12px;
    line-height: 1.6;
}
.disclaimer small a {
    color: var(--color-red-primary);
    text-decoration: none;
    font-weight: bold;
}
    /* ================================
       4. HEADER & NAVIGATION
       ================================ */

/* Header fixed positioning */
header {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white-transparent-0);
    box-shadow: 0 0 20px -5px var(--color-black-transparent-0);
    transition: 0.3s all ease;
}

/* Header styling when scrolled down */
header.scrolled {
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 0 0 0px -5px var(--color-black-transparent-20);
    backdrop-filter: blur(11px);
    border-bottom: 1px solid var(--color-black-transparent-10);
}
header.scrolled .before-scroll {
    display: none;
}
header.scrolled .after-scroll {
    display: block;
    width: 90px;
}
header .before-scroll {
    display: block;
}
header .after-scroll {
    display: none;
    width: 110px;
    transition: .3s all ease;
}
    /* Header content wrapper */
header .header-content {
    width: 1680px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Adjust padding when header is scrolled */
header.scrolled .header-content {
    padding: 10px 40px;
    transition: 0.3s all ease;
}

/* Navigation list styling */
header nav.navigation ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    transition: 0.3s all ease;
}

header.scrolled .header-content nav.navigation ul {
    gap: 10px;
}

/* Navigation container */
header nav.navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Navigation links styling */
header nav.navigation ul li a {
    color: var(--color-white);
    font-weight: normal;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s all ease;
}
header nav.navigation ul li a:hover {
    color: var(--color-red-primary);
}

/* Active navigation link styling */
header nav.navigation ul li a.active,
header.scrolled .header-content nav.navigation ul li a.active {
    color: var(--color-red-primary);
    font-weight: bold;
    letter-spacing: 0;
}

/* Navigation links color when header is scrolled */
header.scrolled .header-content nav.navigation ul li a {
    color: var(--color-black);
}

/* ================================
   5. WELCOME SECTION (HERO)
   ================================ */

section.welcome-section {
    background: var(--color-black);
    color: var(--color-white);
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
}
section.welcome-section p {
    color: var(--color-white);
}
/* Background video styling */
section.welcome-section video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
}

/* Welcome section content positioning */
section.welcome-section .content-wrapper {
    position: relative;
    z-index: 1;
    width: 580px;
    max-width: 100%;
}

/* Welcome heading text */
section.welcome-section .content-wrapper h1 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
}

/* Welcome hero text - large heading */
section.welcome-section .content-wrapper span.hero {
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
}

/* Welcome CTA (Call To Action) buttons layout */
section.welcome-section .content-wrapper .cta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
}

/* Typing animation dots in welcome section */
section.welcome-section .typing span {
    background: var(--color-white);
}

/* ================================
   6. CONTACT SECTION (MODAL)
   ================================ */

/* Overlay backdrop for contact form */
section.overlay {
    position: fixed;
    visibility: hidden;
    height: 100vh;
    width: 100%;
    left: 0;
    top: 0;
    background: var(--color-black-transparent-0);
    z-index: 99999;
    backdrop-filter: blur(0);
    transition: 0.3s all ease;
}

/* Contact section panel - slides from right */
section.contact-section {
    background: var(--color-purple-light);
    position: fixed;
    top: 0;
    right: 0;
    width: 660px;
    max-width: 90%;
    height: 100vh;
    padding: 40px;
    box-sizing: border-box;
    z-index: 99999;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: 0.3s all ease;
}

/* Contact section heading */
section.contact-section h3 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--color-red-primary);
}

/* Contact section hero title */
section.contact-section span.hero {
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
    color: var(--color-charcoal-dark);
}

/* Form row container for layout */
section.contact-section .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Form column - 50% width */
section.contact-section .form-col-50 {
    box-sizing: border-box;
    display: block;
    width: calc(50% - 10px);
}

/* Form column - 100% width */
section.contact-section .form-col-100 {
    box-sizing: border-box;
    display: block;
    width: 100%;
}

/* Form input styling */
section.contact-section input:not(.btn-red) {
    height: 50px;
    border: none;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    transition: 0.4s all ease;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    font-family: "Manrope", sans-serif;
    color: var(--color-charcoal-dark);
}

/* Input focus state with shadow and border */
section.contact-section input:focus {
    outline: none;
    box-shadow: 0 0 12px -4px var(--color-red-alpha-80);
    border: 1px solid var(--color-red-primary);
}

/* Form label styling */
section.contact-section label {
    color: var(--color-charcoal-dark);
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Show overlay when form is open */
body.form-is-open section.overlay {
    visibility: visible;
    background: var(--color-black-transparent-60);
    backdrop-filter: blur(4px);
}

/* Slide contact panel in when form is open */
body.form-is-open section.contact-section {
    transform: translateX(0);
    visibility: visible;
}

/* Close button styling */
section.contact-section .close-form {
    border: none;
    background: transparent;
    display: block;
    width: 40px;
    height: 40px;
    padding: 10px;
    transform: rotate(0deg);
    transition: 0.4s all ease;
    cursor: pointer;
}

/* Close button rotation on hover */
section.contact-section .close-form:hover {
    transform: rotate(90deg);
}

/* ================================
   7. ABOUT SECTION
   ================================ */

section.about-section h3 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--color-red-primary);
}

section.about-section h2 {
    font-size: 3.6rem;
    line-height: 1;
    font-weight: 800;
    color: var(--color-charcoal-dark);
    margin-top: 0;
}

/* Details list layout */
section.about-section .meet-details ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.meet-details .word {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* First list item spans full width */
section.about-section .meet-details ul li:first-child {
    min-width: 100%;
}

section.about-section .meet-details ul li h3 {
    margin-bottom: 5px;
}

section.about-section .meet-details ul li p {
    font-size: 14px;
    margin: 0;
}
section.about-section .meet-details ul li p a {
    display: flex;
    align-items: center;
    gap: 4px;
}
section.about-section .meet-details img {
    width: 16px;
}
section.about-section .meet-details ul li p strong {
    color: var(--color-charcoal-dark);
    font-size: 20px;
}

/* About section layout with image */
section.about-section .bni-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

section.about-section .content-wrapper {
    width: 580px;
    max-width: 100%;
}

section.about-section img.about-thumb {
    width: 50%;
}

section.about-section .cta {
    margin-top: 60px;
}
section.about-section .meet-details a {
    color: #000;
    text-decoration: none;
    transition: .3s all ease;
}
section.about-section .meet-details a:hover {
    color: var(--color-red-primary);
}
/* ================================
   8. MEMBERS SECTION
   ================================ */

section.members-section {
    background-color: var(--color-gray-light);
    padding: 80px 0;
}

/* Individual member card styling */
section.members-section .member-card {
    background-color: var(--color-white);
    padding: 40px;
}

/* Member profile photo - circular with shadow */
section.members-section .member-card .headshot {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    aspect-ratio: 1;
    border: 10px solid var(--color-white);
    box-shadow: 0 0 20px -5px var(--color-black-transparent-20);
}

section.members-section .member-card h3 {
    font-size: 24px;
    color: var(--color-charcoal-dark);
    margin-bottom: 0;
}

section.members-section .member-card p {
    font-size: 14px;
    color: var(--color-charcoal-dark);
    margin: 0;
}

/* Members list layout */
.members-list ul {
    display: flex;
    align-items: stretch;
}

.members-list ul li {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

section.members-section .member-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

section.members-section .member-card p.company-name {
    margin-bottom: 10px;
    margin-top: auto;
}

section.members-section .member-card p.company-name strong {
    font-weight: bold;
}

/* Card footer with top border */
section.members-section .member-card .card-footer {
    border-top: 1px solid var(--color-purple-light);
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}
section.members-section .member-card .card-footer a {
    transform: scale(1);
    transition: 0.4s all ease;
}
section.members-section .member-card .card-footer a:hover {
    transform: scale(1.2);
}

section.members-section .splide__arrows.splide__arrows--ltr {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    margin-bottom: 20px;
}
section.members-section .splide__arrow {
    -ms-flex-align: center;
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 60px;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 1;
    padding: 24px;
    position: relative;
    top: unset;
    transform: none;
    width: 60px;
    z-index: 999;
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.1);
    transition: 0.4s all ease;
}
.splide__arrow--next {
    right: unset;
}
.splide__arrow--prev {
    left: unset;
}

section.members-section .splide__arrow:hover {
    background-color: #393D50;
    color: #ffffff;
}
section.members-section .splide__arrow:hover svg {
    fill: #ffffff;
}

/* ================================
   9. NUMBERS SECTION
   ================================ */

/* Section with red background for statistics */
section.section-numbers {
    background: var(--color-red-primary);
    color: var(--color-white);
    padding: 80px 0;
}

/* Override heading colors in numbers section */
section.section-numbers .heading-wrapper h3,
section.section-numbers .heading-wrapper h2,
section.section-numbers .heading-wrapper p,
section.section-numbers p {
    color: var(--color-white);
}

/* Numbers grid layout */
section.section-numbers ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    padding: 0;
    list-style: none;
}

/* Individual number item with borders */
section.section-numbers ul li {
    width: calc((100% / 3) - 40px);
    border-width: 1px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 1);
    padding: 40px 0;
    margin-bottom: -1px;
}

/* Large number display */
section.section-numbers ul li span {
    font-size: 8rem;
    font-weight: 100;
    margin: 0;
    line-height: 1;
}

section.section-numbers ul li p {
    margin: 0;
}

.numbers-disclaimer p {
    font-size: 12px;
    margin-top: 40px;
    opacity: 0.7;
}

/* ================================
   10. HISTORY SECTION
   ================================ */

section.section-history {
    padding: 80px 0;
}

/* Layout for history content */
section.section-history .bni-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

section.section-history .heading-wrapper {
    width: 580px;
    max-width: 100%;
}

section.section-history .content-wrapper {
    width: 50%;
    max-width: 100%;
}

section.section-history .content-wrapper h3 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--color-red-primary);
}

/* Event info styling in history section */
section.section-history span.event-info,
footer span.event-info {
    border-color: var(--color-black-transparent-10);
}

section.section-history span.event-info h3,
footer span.event-info h3 {
    color: var(--color-black);
}

section.section-history span.event-info h3:first-child,
footer span.event-info h3:first-child {
    border-right: 1px solid var(--color-black-transparent-10);
}

/* Timeline items layout */
section.section-history ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    align-items: stretch;
}

/* Timeline item card styling */
section.section-history ul li {
    background: var(--color-gray-lighter);
    padding: 40px;
    width: calc(50% - 20px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.section-history ul li img {
    height: 30px;
    width: 30px;
}

section.section-history ul li h4 {
    font-size: 20px;
    color: var(--color-charcoal-dark);
    margin: 0;
}

section.section-history ul li p {
    margin: 0;
    font-size: 14px;
}

/* Typing animation dots in history section */
section.section-history .typing span,
footer .typing span {
    background: var(--color-black);
}

/* ================================
   11. COME SECTION
   ================================ */

/* Section background color */
section.section-come {
    background-color: var(--color-gray-light);
}

section.section-come  .heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Grid layout for 2x2 items */
section.section-come ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Grid item styling */
section.section-come li {
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
    border-color: var(--color-black-transparent-10);
    border-style: solid;
}

/* Individual borders for 2x2 grid effect */
section.section-come li:nth-child(1) { border-width: 0 1px 1px 0; }
section.section-come li:nth-child(2) { border-width: 0 0 1px 0; }
section.section-come li:nth-child(3) { border-width: 0 1px 0 0; }
section.section-come li:nth-child(4) { border-width: 0; }

/* Label text in grid items */
section.section-come li span {
    color: var(--color-red-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

section.section-come li h4 {
    font-size: 26px;
    margin: 0;
    color: var(--color-charcoal-dark);
}

section.section-come li p {
    font-size: 14px;
    margin: 0;
}

/* ================================
   12. FOOTER STYLES
   ================================ */

footer#footer {
    padding: 80px 0 0 0;
}

/* Footer columns layout */
footer#footer .bni-layout {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer headings */
footer#footer h2 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--color-red-primary);
}

footer#footer .bni-layout .column {
    box-sizing: border-box;
}

/* Column sizing */
footer#footer .bni-layout .column-one,
footer#footer .bni-layout .column-two {
    width: calc(25% - 40px);
}

footer#footer .bni-layout .column-three {
    width: calc(35% - 40px);
}

footer#footer .bni-layout p {
    font-size: 14px;
}

/* Social media icons list */
footer#footer ul.social-media {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

footer#footer ul.social-media img {
    width: 24px;
}

/* Copyright area styling */
.copyrights-area {
    border-top: 1px solid var(--color-black-transparent-10);
    width: 1680px;
    max-width: 100%;
    padding: 20px 40px;
    margin: 0 auto;
    box-sizing: border-box;
}

.copyrights-area a {
    display: block;
}

.copyrights-area a img {
    width: 160px;
}

/* ================================
   13. ANIMATIONS
   ================================ */

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.number-item:nth-child(1) { transition-delay: 0s; }
.number-item:nth-child(2) { transition-delay: 0.1s; }
.number-item:nth-child(3) { transition-delay: 0.2s; }
.number-item:nth-child(4) { transition-delay: 0.3s; }
.number-item:nth-child(5) { transition-delay: 0.4s; }
/* Shimmer animation keyframes */
@keyframes elg-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ================================
   14. RESPONSIVE DESIGN (768px)
   ================================ */

@media only screen and (max-width: 768px) {

    p {font-size: 14px;}
    small {font-size: 10px;}
    .header-content {justify-content: center;}
    .header-content .header-logo img {width: 80px;transition: 0.4s all ease;}
    .heading-wrapper h2 {font-size: 2.6rem;}
    .mobile {display: block;}
    header.scrolled .header-logo img {width: 60px;}
    section.welcome-section .content-wrapper span.hero {font-size: 2.5rem;}
    section.welcome-section .content-wrapper span.info h3 {
        padding: 20px;
        font-size: 14px;
    }
    section.about-section h2 {font-size: 2.4rem;}
    section.about-section img.about-thumb {min-width: 100%;}
    section.contact-section span.hero {font-size: 2.4rem;}
    section.contact-section .form-col-50 {min-width: 100%;}
    section.contact-section .form-col-50 p {margin: 0;}

    nav.navigation, header.scrolled nav.navigation {
        background: white;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        backdrop-filter: blur(11px);
        overflow-y: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
        box-sizing: border-box;
        transform: translateY(-100%);
        transition: 0.4s all ease;
    }
    header nav.navigation ul li a {
        color: #000;
    }
    /* Show navigation when menu is open */
    body.menu-is-open nav.navigation {
        transform: translateY(0);
    }
    body.menu-is-open {
        overflow-y: hidden;
    }
    /* Floating menu button - bottom right corner */
    .open-menu {
        background-color: var(--color-red-primary);
        width: 80px;
        height: 80px;
        position: fixed;
        top: 20px;
        right: 40px;
        border-radius: 100px;
        z-index:  10000;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.4s all ease;
        box-shadow: 0px 0px 40px -5px var(--color-black-transparent-10);
        backdrop-filter: blur(11px);
        border: 10px solid #fff;
        outline: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Rotate and change color when menu is open */
    body.menu-is-open .open-menu {
        transform: rotate(90deg);
        background-color: var(--color-white);
        border-color: var(--color-red-primary);
    }

    /* Menu button SVG icons styling */
    button.open-menu.mobile svg.burger-icon {
        fill: white;
        width: 24px;
        height: 24px;
    }

    button.open-menu.mobile svg.x-icon {
        fill: black;
        width: 24px;
        height: 24px;
    }

    /* Toggle between burger and X icon */
    body button.open-menu.mobile svg.x-icon { display: none; }
    body button.open-menu.mobile svg.burger-icon { display: block; }
    body.menu-is-open button.open-menu.mobile svg.x-icon { display: block; }
    body.menu-is-open button.open-menu.mobile svg.burger-icon { display: none; }

    /* Mobile navigation list layout */
    header nav.navigation ul {
        text-align: center;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
        padding: 0;
    }

    /* Stack sections vertically on mobile */
    section.section-numbers ul,
    section.section-history .bni-layout,
    section.section-come ul,
    section.section-history ul,
    footer#footer .bni-layout {
        flex-direction: column;
    }

    section.section-come ul {
        border-top: 1px solid #d9d9d9;
        margin-top: 60px;
    }
    /* "Come" section items - full width on mobile */
    section.section-come li {
        min-width: 100%;
        border-width: 0 0 1px 0;
        padding: 20px 0;
    }

    /* Remove grid borders and use only bottom border */
    section.section-come li:nth-child(1),
    section.section-come li:nth-child(2),
    section.section-come li:nth-child(3),
    section.section-come li:nth-child(4) {
        border-width: 0 0 1px 0;
    }

    /* Content wrapper - full width */
    .content-wrapper {
        min-width: 100%;
    }

    /* History timeline items - full width */
    section.section-history ul li {
        min-width: 100%;
        padding: 20px;
    }

    /* Event info padding on mobile */
    span.event-info h3 {
        padding: 20px;
        font-size: 14px;
        line-height: 1;
    }

    section.section-numbers ul li, footer#footer .bni-layout .column {min-width: 100%;}
    section.section-come  .heading-row {flex-direction: column;}
    footer#footer {padding: 0;}
    section#numbers {text-align: center;padding: 0;}
    section.section-numbers ul li span {font-size: 6rem;}
    section.members-section {padding: 0;}
    section#members .bni-layout {
        padding: 40px 0;
    }
    section#members .bni-layout .heading-wrapper {
        padding: 0 40px;
        box-sizing: border-box;
    }
    section#members .bni-layout .members-list:before {
        content: '';
        width: 80px;
        background: linear-gradient(90deg, #f2f2f2, rgb(242 242 242 / 0%));
        display: block;
        height: 100%;
        z-index: 99;
        left: 0;
        top: 0;
        position: absolute;
    }
    section#members .bni-layout .members-list:after {
        content: '';
        width: 80px;
        background: linear-gradient(-90deg, #f2f2f2, rgb(242 242 242 / 0%));
        display: block;
        height: 100%;
        z-index: 99;
        right: 0;
        top: 0;
        position: absolute;
    }
    section.members-section .splide__arrows.splide__arrows--ltr {
        justify-content: flex-start;
        padding: 0 40px;

    }
}

.countdown-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 45px 25px;
    text-align: center;
    border-radius: 28px;

    background:
            radial-gradient(
                    circle at 15% 10%,
                    rgba(255, 255, 255, 0.16),
                    transparent 35%
            ),
            radial-gradient(
                    circle at 85% 90%,
                    rgba(99, 102, 241, 0.25),
                    transparent 40%
            ),
            linear-gradient(
                    135deg,
                    #111827 0%,
                    #1e1b4b 50%,
                    #312e81 100%
            );

    box-shadow:
            0 25px 70px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);

    color: #ffffff;

    font-family:
            Arial,
            Helvetica,
            sans-serif;

    box-sizing: border-box;
    overflow: hidden;

    position: relative;
}


/* ==========================================
   SUBTLE LIGHT EFFECT
   ========================================== */

.countdown-wrap::before {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(129, 140, 248, 0.18);

    filter: blur(70px);

    border-radius: 50%;

    pointer-events: none;
}


/* ==========================================
   TITLE
   ========================================== */

.countdown-title {
    position: relative;
    z-index: 2;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 30px;

    color: rgba(255, 255, 255, 0.9);

    text-transform: uppercase;
}


/* ==========================================
   COUNTDOWN BOXES
   ========================================== */

.countdown-boxes {
    position: relative;
    z-index: 2;

    display: flex;

    justify-content: center;
    align-items: stretch;

    gap: 18px;

    flex-wrap: wrap;
}


/* ==========================================
   INDIVIDUAL BOX
   ========================================== */

.countdown-item {
    position: relative;
    min-width: 150px;
    padding: 25px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: calc(50% - 60px);
}


/* ==========================================
   HOVER
   ========================================== */

.countdown-item:hover {
    transform: translateY(-6px);

    box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.25),
            0 0 25px rgba(129, 140, 248, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
}


/* ==========================================
   NUMBER WRAPPER
   ========================================== */

.number-wrap {
    position: relative;
    color: var(--color-charcoal-dark);
    perspective: 600px;

    height: 75px;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;
}


/* ==========================================
   NUMBERS
   ========================================== */

.countdown-item span {
    display: block;
    font-size: clamp(42px, 7vw, 70px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 2px;
    background: black;
    background-clip: text;
    transform-origin: center;
}


/* ==========================================
   NUMBER CHANGE ANIMATION
   ========================================== */

.countdown-item span.number-change {
    animation: numberFlip 0.55s cubic-bezier(0.2, 0.8, 0.3, 1);
}


/* ==========================================
   3D FLIP
   ========================================== */

@keyframes numberFlip {

    0% {
        transform:
                rotateX(90deg)
                translateY(-15px)
                scale(0.92);

        opacity: 0;

        filter: blur(5px);
    }

    35% {
        transform:
                rotateX(-25deg)
                translateY(4px)
                scale(1.02);

        opacity: 1;

        filter: blur(0);
    }

    60% {
        transform:
                rotateX(10deg)
                translateY(-2px)
                scale(1);
    }

    80% {
        transform:
                rotateX(-4deg)
                translateY(0)
                scale(1);
    }

    100% {
        transform:
                rotateX(0deg)
                translateY(0)
                scale(1);

        opacity: 1;

        filter: blur(0);
    }
}


/* ==========================================
   LABELS
   ========================================== */

.countdown-item small {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #cf2030;
    text-transform: uppercase;
    text-align: center;
}


/* ==========================================
   MESSAGE
   ========================================== */

.countdown-message {
    position: relative;
    z-index: 2;

    margin-top: 28px;

    font-size: 15px;

    font-weight: 600;

    color: rgba(255, 255, 255, 0.75);
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {

    .countdown-wrap {
        margin: 20px auto;

        padding: 32px 15px;

        border-radius: 20px;
    }


    .countdown-title {
        font-size: 13px;

        letter-spacing: 2px;

        line-height: 1.5;

        margin-bottom: 22px;
    }


    .countdown-boxes {
        gap: 10px;
    }


    .countdown-item {
        min-width: calc(50% - 30px);

        padding: 20px 10px;

        border-radius: 15px;
    }


    .number-wrap {
        height: 48px;
    }


    .countdown-item span {
        font-size: 40px;
    }


    .countdown-item small {
        margin-top: 10px;

        font-size: 9px;

        letter-spacing: 1.5px;
    }
}


/* ==========================================
   VERY SMALL SCREENS
   ========================================== */

@media (max-width: 360px) {

    .countdown-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }


    .countdown-item {
        min-width: calc(50% - 7px);

        padding: 17px 6px;
    }


    .countdown-item span {
        font-size: 34px;
    }


    .countdown-item small {
        font-size: 8px;

        letter-spacing: 1px;
    }
}


/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .countdown-item,
    .countdown-item span {
        transition: none !important;
        animation: none !important;
    }

}



/* =========================================
   CONTACT FORM 7 — MINIMAL VALIDATION
   ========================================= */

/* Error message κάτω από κάθε πεδίο */
.wpcf7 form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: #c84b4b;
    letter-spacing: 0.1px;
}

/* Πεδίο με σφάλμα */
.wpcf7 form input.wpcf7-not-valid,
.wpcf7 form textarea.wpcf7-not-valid,
.wpcf7 form select.wpcf7-not-valid {
    border-color: #c84b4b !important;
    box-shadow: none !important;
}

/* Μικρό focus effect στο invalid field */
.wpcf7 form input.wpcf7-not-valid:focus,
.wpcf7 form textarea.wpcf7-not-valid:focus,
.wpcf7 form select.wpcf7-not-valid:focus {
    border-color: #c84b4b !important;
    outline: none;
}


/* =========================================
   SUCCESS MESSAGE
   ========================================= */

.wpcf7 form .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 14px 18px;
    border: 1px solid #e5e5e5 !important;
    background: #fafafa;
    color: #333;
    font-size: 12px;
    line-height: 20px;
}


/* =========================================
   ERROR / SUBMISSION MESSAGE
   ========================================= */

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: #ead4d4 !important;
    background: #fcf8f8;
    color: #a94442;
}


/* =========================================
   SUCCESS
   ========================================= */

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #dce8df !important;
    background: #f7faf8;
    color: #42634b;
}


.word{
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.word .bubble{
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 6px) scale(0.92);
    margin-bottom: 10px;
    background: #ffffff;
    color: #1d1d1f;
    font-weight: 500;
    line-height: 1.4;
    font-size: 12px !important;
    white-space: nowrap;
    padding: 6px 11px;
    border-radius: 7px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14), 0 1px 2px rgba(0,0,0,0.06);

    opacity: 0;
    pointer-events: none;
    transform-origin: bottom center;
    transition: opacity 0.22s cubic-bezier(.2,.8,.2,1),
    transform 0.22s cubic-bezier(.2,.8,.2,1);
}

.word .bubble::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #ffffff;
}

.word:hover .bubble,
.word:focus-visible .bubble{
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}