/* wp-base.css */
:root {
    /* Core RGB colors */
    --color-white: 255, 255, 255;
    --color-black: 0, 0, 0;
    --color-bright-cyan: 63, 193, 193; /* Accent */

    /* Greek Blue shades */
    --color-primary: 8, 68, 128;    /* Dark Blue */
    --color-secondary: 13, 94, 175; /* Medium Blue */
    --color-third: 30, 121, 203;    /* Light Blue */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    background-color: rgba(var(--color-white), 1);
    min-height: 100vh;
}

body {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    font-family: "Fira Sans";
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.8s ease 0s;
}



a {
    text-decoration: none;
    color: rgba(var(--color-black), 1);
}


/* Hero Section */
.hero {
    position: relative;
    height: 55vh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    color: #fff;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    left: 50px;
}

/* Left side */
.hero-left {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Main circle */
.hero-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.main-circle {
    width: 250px;
    height: 250px;
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.main-circle h1 {
    font-size: 1.9rem;
    color: #fff;
    padding: 15px;
    line-height: 1.3;
    font-weight: 700;
    font-family: "Fira Sans";
}

/* Small circles */
.small-circle {
    position: absolute;
    opacity: 0.85;
    transform-origin: center center;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* Circle colors and initial animation */
.circle-1 { width: 100px; height: 100px; top: -40px; left: 200px; background: #ffcc1e; animation: move1 12s infinite; }
.circle-2 { width: 80px; height: 80px; bottom: -20px; left: 50px; background: #f54f2d; animation: move2 14s infinite; }
.circle-3 { width: 120px; height: 120px; top: 60px; left: -90px; background: #53e6eb; animation: move3 16s infinite; }
.circle-4 { width: 70px; height: 70px; bottom: -20px; left: 190px; background: #81e5bb; animation: move4 13s infinite; }
.circle-5 { width: 60px; height: 60px; top: 10px; left: -40px; background: #dbadff; animation: move5 15s infinite; }
.circle-6 { width: 90px; height: 90px; top: 5px; left: 150px; background: #90bfe7; animation: move6 17s infinite; }
.circle-7 { width: 70px; height: 70px; bottom: 60px; left: 240px; background: #ffa34f; animation: move4 17s infinite; }
.circle-8 { width: 70px; height: 70px; bottom: 150px; left: 250px; background: #489d41; animation: move4 17s infinite; }

/* Floating + rotation + scale animations */
@keyframes move1 {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    20%  { transform: translate(20px,-15px) rotate(30deg) scale(1.05); }
    40%  { transform: translate(-25px,-25px) rotate(-15deg) scale(0.95); }
    60%  { transform: translate(15px,-5px) rotate(20deg) scale(1.1); }
    80%  { transform: translate(-10px,-10px) rotate(-10deg) scale(1); }
    100% { transform: translate(0,0) rotate(0deg) scale(1); }
}

@keyframes move2 {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    25%  { transform: translate(-20px,-20px) rotate(-25deg) scale(1.1); }
    50%  { transform: translate(15px,-15px) rotate(15deg) scale(0.95); }
    75%  { transform: translate(-10px,-5px) rotate(-10deg) scale(1); }
    100% { transform: translate(0,0) rotate(0deg) scale(1); }
}

@keyframes move3 {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    20%  { transform: translate(25px,-10px) rotate(15deg) scale(1.05); }
    40%  { transform: translate(-15px,-30px) rotate(-20deg) scale(0.9); }
    60%  { transform: translate(20px,-5px) rotate(25deg) scale(1.1); }
    80%  { transform: translate(-10px,-15px) rotate(-10deg) scale(1); }
    100% { transform: translate(0,0) rotate(0deg) scale(1); }
}

/* Circle-4: WAY further from main circle */
@keyframes move4 {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    20%  { transform: translate(18px,-12px) rotate(12deg) scale(1.05); }
    40%  { transform: translate(-15px,8px) rotate(-15deg) scale(0.98); }
    60%  { transform: translate(10px,-10px) rotate(8deg) scale(1.02); }
    80%  { transform: translate(-8px,5px) rotate(-5deg) scale(0.97); }
    100% { transform: translate(0,0) rotate(0deg) scale(1); }
}

@keyframes move5 {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    25%  { transform: translate(10px,-25px) rotate(10deg) scale(1.05); }
    50%  { transform: translate(-10px,-20px) rotate(-10deg) scale(0.95); }
    75%  { transform: translate(15px,-5px) rotate(5deg) scale(1); }
    100% { transform: translate(0,0) rotate(0deg) scale(1); }
}

/* Circle-6: WAY further from main circle */
@keyframes move6 {
    0%   { transform: translate(0,0) rotate(0deg) scale(1); }
    25%  { transform: translate(-140px,-100px) rotate(-15deg) scale(1.1); }
    50%  { transform: translate(120px,-70px) rotate(20deg) scale(0.95); }
    75%  { transform: translate(-90px,-50px) rotate(-10deg) scale(1); }
    100% { transform: translate(0,0) rotate(0deg) scale(1); }
}

/* Right side */
.hero-right {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
}

.hero-right p {
    font-size: 40px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    font-weight: 500;
    font-family: "Fira Sans";
    color: rgba(var(--color-third), 0.80);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; align-items: center; gap: 30px; left: 0; }
    .hero-left { width: 220px; height: 220px; }
    .main-circle { width: 180px; height: 180px; top: 15px; left: 15px; }
    .main-circle h1 { font-size: 1.5rem; padding: 10px; }

    .circle-1 { width: 70px; height: 70px; top: -30px; left: 150px; }
    .circle-2 { width: 50px; height: 50px; bottom: -15px; left: 140px; }
    .circle-3 { width: 90px; height: 90px; top: 40px; left: -60px; }
    .circle-4 { width: 60px; height: 60px; top: 120px; left: 80px; }
    .circle-5 { width: 50px; height: 50px; top: 0px; left: -30px; }
    .circle-6 { width: 70px; height: 70px; bottom: 20px; left: 40px; }

    .hero-right { flex: none; text-align: center; }
    .hero-right p { font-size: 24px; }
}

@media (max-width: 768px) {
    .hero { padding: 0 10px; flex-direction: column; justify-content: center; }
    .hero-content { flex-direction: column; gap: 20px; left: 0; width: 100%; top: 50px; }
    .hero-left { width: 180px; height: 180px; }
    .main-circle { width: 150px; height: 150px; top: 10px; left: 10px; }
    .main-circle h1 { font-size: 1.3rem; padding: 8px; }

    .circle-1 { width: 50px; height: 50px; top: -20px; left: 120px; }
    .circle-2 { width: 40px; height: 40px; bottom: -10px; left: 110px; }
    .circle-3 { width: 60px; height: 60px; top: 30px; left: -40px; }
    .circle-4 { width: 50px; height: 50px; top: 100px; left: 60px; }
    .circle-5 { width: 40px; height: 40px; top: 0px; left: -20px; }
    .circle-6 { width: 50px; height: 50px; bottom: 10px; left: 30px; }

    .hero-right p { font-size: 18px; }
}

/* 404 Page Styling */
.custom-404-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 20px;
}

/* 404 Hero Section */
.hero-404 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    justify-content: space-around;
}

/* Left Circles */
.hero-404-left {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-404-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.main-circle-404 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-circle-404 h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
}

/* Small Circles Animations */
.small-circle-404 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.85;
}

/* Small Circles Sizes and Colors */
.circle-404-1 { width: 100px; height: 100px; top: -40px; left: 200px; background: #f4be26; }
.circle-404-2 { width: 70px; height: 70px; bottom: -20px; left: 190px; background: #f2511e; }
.circle-404-3 { width: 120px; height: 120px; top: 60px; left: -90px; background: #e57b72; }
.circle-404-4 { width: 80px; height: 80px; bottom: -20px; left: 50px; background: #33b578; }
.circle-404-5 { width: 60px; height: 60px; top: 10px; left: -40px; background: #7986cb; }
.circle-404-6 { width: 90px; height: 90px; top: 5px; left: 150px; background: #039ae4; }

/* Floating Animations */
@keyframes float-1 { 0%,100%{transform:translateY(0) translateX(0);} 50%{transform:translateY(-20px) translateX(10px);} }
@keyframes float-2 { 0%,100%{transform:translateY(0) translateX(0);} 50%{transform:translateY(-15px) translateX(-10px);} }
@keyframes float-3 { 0%,100%{transform:translateY(0) translateX(0);} 50%{transform:translateY(-25px) translateX(15px);} }
@keyframes float-4 { 0%,100%{transform:translateY(0) translateX(0);} 50%{transform:translateY(-10px) translateX(-5px);} }
@keyframes float-5 { 0%,100%{transform:translateY(0) translateX(0);} 50%{transform:translateY(-18px) translateX(8px);} }
@keyframes float-6 { 0%,100%{transform:translateY(0) translateX(0);} 50%{transform:translateY(-22px) translateX(-12px);} }

.circle-404-1 { animation: float-1 6s ease-in-out infinite; }
.circle-404-2 { animation: float-2 5s ease-in-out infinite; }
.circle-404-3 { animation: float-3 7s ease-in-out infinite; }
.circle-404-4 { animation: float-4 6.5s ease-in-out infinite; }
.circle-404-5 { animation: float-5 5.5s ease-in-out infinite; }
.circle-404-6 { animation: float-6 6.8s ease-in-out infinite; }

/* Right Text */
.hero-404-right p {
    font-size: 1.5rem;
    color: rgba(var(--color-third), 0.95);
    margin-bottom: 1.5rem;
font-weight: 500;
}

/* Button */
.cta-button-404 {
    background: linear-gradient(145deg, rgba(var(--color-secondary), 0.87), rgba(var(--color-third), 0.67));
    border: 1px solid rgba(var(--color-third), 0.5);
    color: rgba(var(--color-white), 1);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 1.875rem;
    transition: 0.3s all ease;
}

.cta-button-404:hover {
    background: linear-gradient(145deg, rgba(var(--color-secondary), 0.95), rgba(var(--color-third), 0.6));
    box-shadow: 0 6px 18px rgba(var(--color-black), 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-404 { flex-direction: column; align-items: center; gap: 30px; }
    .hero-404-left { width: 220px; height: 220px; }
    .main-circle-404 { width: 180px; height: 180px; }
    .main-circle-404 h1 { font-size: 2.2rem; }
    .hero-404-right p { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .hero-404-left { width: 180px; height: 180px; }
    .main-circle-404 { width: 150px; height: 150px; }
    .main-circle-404 h1 { font-size: 1.8rem; }
    .hero-404-right p { font-size: 1rem; }
}




/* wp-header.css */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    pointer-events: auto;
    width: 100%;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: rgba(var(--color-third), 0.60); /* was mystic */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(var(--color-white), 0.2);
    box-shadow: 0 2px 6px rgba(var(--color-black), 0.15);
    z-index: -1;
    pointer-events: none;
}

header .header_top_outer {
    width: 100%;
    height: 3rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(var(--color-white), 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(var(--color-third), 0.15); /* was mystic */
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.header_top_outer.hide {
    height: 0;
    padding: 0;
}

header .header_top_inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header_top_outer.hide .header_top_inner {
    transform: translateY(-100%);
    opacity: 0;
}

header .header_top_meta {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

header .header_top_meta .meta_wrap a,
header .header_top_meta .meta_wrap span {
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    border-right: 1px solid rgba(var(--color-white), 0.2);
    color: rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.3), 0 0 6px rgba(var(--color-white), 0.2);
    gap: 0.5rem;
    padding: 0 1rem;
    transition: all 0.3s ease;
    align-items: center;
}

header .header_top_meta .meta_wrap a:hover,
header .header_top_meta .meta_wrap span:hover {
    color: rgba(var(--color-white), 1);
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.3), 0 0 10px rgba(var(--color-white), 0.4);
}

header .social_wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 1rem;
    border-left: 1px solid rgba(var(--color-white), 0.2);
}

header .social_wrap ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

header .social_wrap li {
    margin-left: 0.75rem;
}

header .social_wrap li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: rgba(var(--color-white), 1);
    border-radius: 50%;
    font-size: 1rem;
    background-color: rgba(var(--color-third), 0.2); /* was mystic */
    border: 1px solid rgba(var(--color-third), 0.5); /* was mystic */
    transition: all 0.3s ease;
}

header .social_wrap li a:hover {
    background-color: rgba(var(--color-third), 0.3); /* was mystic */
    color: rgba(var(--color-white), 1);
    transform: scale(1.1);
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
}

.header-right span {
    display: block;
    padding: 0.2rem 0.5rem;
    color: rgba(var(--color-white), 1);
    font-weight: 600;
    font-size: 0.95rem;
    background-color: rgba(var(--color-third), 0.2); /* was mystic */
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.header-right span:hover {
    background-color: rgba(var(--color-third), 0.3); /* was mystic */
    color: rgba(var(--color-secondary), 1); /* was purple-hover */
}

.flag-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.header-right {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    flex-direction: column;
    justify-content: flex-end;
    border-left: 2px solid rgba(var(--color-white), 1);
    padding-left: 0.5rem;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.phone-icon {
    width: 1.5rem;
    height: 1.5rem;
}

#logo {
    flex-shrink: 0;
    flex: 0 0 auto;
    color: rgba(var(--color-white), 1);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

#logo img {
    width: 20vw;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    padding: 0.5rem 0;
}

.header-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0.3rem;
    gap: 0.2rem;
}

nav a {
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    color: rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4);
    border: 1px solid transparent;
}

nav a:hover {
    color: rgba(var(--color-white), 1);
    background-color: rgba(var(--color-white), 0.25);
    border: 1px solid rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    transform: scale(1.05);
}

#nav-list > li {
    position: relative;
}

#nav-list .sub-menu::before {
    content: "";
    position: absolute;
    display: grid;
    grid-template-rows: repeat(3, auto);
    top: -4rem;
    left: 0;
    width: 100%;
    height: 4rem;
    background: transparent;
}

#nav-list .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4rem);
    left: 50%;
    transform: translateX(-50%);

    /* Fit width to content */
    width: max-content;
    min-width: 150px; /* optional minimum width */
    white-space: nowrap; /* keep items on one line if possible */

    /* Glassy semi-transparent background */
    background-color: rgba(var(--color-third), 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 12px;
    border: 1px solid rgba(var(--color-white), 0.2);
    padding: 0.7rem;
    z-index: 999;

    text-align: left;
}

/* Show submenu on hover */
#nav-list li.menu-item-has-children:hover > .sub-menu {
    display: block;
}

/* Submenu list items */
#nav-list .sub-menu li {
    display: block;
    padding-bottom: 0.4rem;
}

/* Submenu links */
#nav-list .sub-menu a {
    display: block;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;

    background: transparent;
    border: 1px solid transparent;

    color: rgba(var(--color-white), 0.9); /* fixed color */
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4);

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border-radius: 0.5rem;
    transition: color 0.3s ease,
    text-shadow 0.3s ease,
    background-color 0.3s ease,
    border 0.3s ease,
    transform 0.2s ease;
}

/* Submenu links hover - frosted glass effect */
#nav-list .sub-menu a:hover {
    color: rgba(var(--color-white), 1);
    background-color: rgba(var(--color-white), 0.25);
    border: 1px solid rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    transform: scale(1.05);
}

/* Ensure submenu links don’t inherit parent nav color */
#nav-list li.menu-item-has-children:hover > .sub-menu a {
    color: rgba(var(--color-white), 0.9);
}

.cta-button1 {
    background: linear-gradient(145deg, rgba(var(--color-secondary), 0.87), rgba(var(--color-third), 0.67)); /* replaced viridian/tiffany */
    border: 1px solid rgba(var(--color-third), 0.5); /* was mystic */
    color: rgba(var(--color-white), 1);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 1.875rem;
    cursor: pointer;
    transition: 0.3s all ease;
}

.cta-button1:hover {
    background: linear-gradient(145deg, rgba(var(--color-secondary), 0.95), rgba(var(--color-third), 0.6));
    box-shadow: 0 6px 18px rgba(var(--color-black), 0.1);
}

/* Stick hover styles for active menu item */
li.active-hover > a,
.menu-item-has-children.active-hover > a {
    color: rgba(var(--color-white), 1); /* same as hover */
    background-color: rgba(var(--color-white), 0.25);
    border: 1px solid rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    transform: scale(1.05);
}

/* Optional: stick hover for submenu links if needed */
.sub-menu li.active-hover > a {
    color: rgba(var(--color-white), 1);
    background-color: rgba(var(--color-white), 0.25);
    border: 1px solid rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    transform: scale(1.05);
}

/* Submenu item active */
#nav-list .sub-menu li.active-hover > a {
    color: rgba(var(--color-white), 1);
    background-color: rgba(var(--color-white), 0.25);
    border: 1px solid rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    transform: scale(1.05);
}

/* Active top-level item */
#nav-list > li.active-hover > a {
    color: rgba(var(--color-white), 1);
    background-color: rgba(var(--color-white), 0.25);
    border: 1px solid rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    transform: scale(1.05);
}

/* Active submenu item */
#nav-list .sub-menu li.active-hover > a {
    color: rgba(var(--color-white), 1);
    background-color: rgba(var(--color-white), 0.25);
    border: 1px solid rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    transform: scale(1.05);
}


@media (max-width: 767px) {
    nav, .header_top_outer, .header-right-group {
        display: none !important;
    }

    #logo img {
        width: 40vw;
        max-width: 180px;
    }

    header {
        flex-direction: row;
        justify-content: center;
        padding: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #logo img {
        width: 45vw;
        max-width: 240px;
    }

    header .header_top_meta {
        font-size: 0.8rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .cta-button1 {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
}

/* ===== Tablet Header ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    #logo img {
        width: 45vw;
        max-width: 200px;
    }

    header .header_top_meta {
        font-size: 0.75rem; /* smaller font to fit */
        flex-wrap: nowrap; /* prevent wrapping */
    }

    header .header_top_meta .meta_wrap a,
    header .header_top_meta .meta_wrap span {
        font-size: 0.85rem; /* shrink links */
        padding: 0 0.5rem; /* reduce padding */
    }

    header .header_top_meta .meta_wrap span {
        display: none;
    }

    nav li {
        /* make each list item stretch full row  width: 100%; */
    }


    nav a {
        display: block; /* block-level, fills its parent */
        width: 100%; /* match parent li width */
        font-size: 0.65rem;
        padding: 0.1rem 0.1rem;
        text-align: center; /* optional: center text inside full width */
    }

    .cta-button1 {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }

    .header-right-group {
        gap: 0.5rem;
    }

    /* Optional: shrink social icons slightly */
    header .social_wrap li a {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }
}
/* ===== HAMBURGER BUTTON (MOBILE) ===== */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 101;
    background-color: rgba(var(--color-third), 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    padding: 0.5rem;
    border: 1px solid rgba(var(--color-white), 0.2);
    box-shadow: 0 4px 12px rgba(var(--color-black), 0.1);
}

.hamburger span {
    width: 2rem;
    height: 0.2rem;
    background-color: rgba(var(--color-white), 1);
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BODY MENU OPEN ===== */


/* ===== MOBILE DROPDOWN NAV ===== */
#dropdown-nav {
    position: fixed;            /* overlay page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;              /* full viewport */
    max-height: 100vh;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;              /* above header */
    background-color: rgba(var(--color-third), 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-y: auto;           /* scroll inside menu */
    -webkit-overflow-scrolling: touch;
    transition: transform 0.4s ease, opacity 0.3s ease;
    padding-top: 4rem;          /* space for header */
    border-bottom: 1px solid rgba(var(--color-white), 0.2);
    box-shadow: 0 4px 16px rgba(var(--color-black), 0.15);
    border-radius: 0.75rem;
}

/* Show menu */
#dropdown-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Dropdown list */
#dropdown-nav ul {
    list-style: none;
    padding: 2rem 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Dropdown items */
#dropdown-nav ul li {
    width: 100%;
    position: relative;
}

/* Links */
#dropdown-nav ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(var(--color-white), 0.95);
    text-decoration: none;
    border-left: 4px solid transparent;
    border-radius: 0.5rem;
    background-color: rgba(var(--color-white), 0.05);
    transition: all 0.3s ease;
}

/* Hover */
#dropdown-nav ul li a:hover,
#dropdown-nav ul li a:focus {
    background-color: rgba(var(--color-white), 0.15);
    color: rgba(var(--color-white), 1);
    border-left: 4px solid rgba(var(--color-secondary), 0.8);
    outline: none;
}

/* Arrow for submenu */
#dropdown-nav ul li.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

/* Rotate arrow when open */
#dropdown-nav ul li.menu-item-has-children.open > a::after {
    transform: rotate(-180deg);
}

/* Submenu */
#dropdown-nav ul li .sub-menu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    margin-top: 0.5rem;
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    background-color: rgba(var(--color-third), 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.5rem;
}

/* Show submenu when parent is open */
#dropdown-nav ul li.menu-item-has-children.open .sub-menu {
    display: flex;
}

/* Submenu links */
#dropdown-nav ul li .sub-menu li a {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    color: rgba(var(--color-white), 0.9);
    background-color: rgba(var(--color-white), 0.05);
    border-radius: 0.5rem;
}

#dropdown-nav ul li .sub-menu li a:hover {
    background-color: rgba(var(--color-white), 0.15);
    color: rgba(var(--color-white), 1);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {

    #logo, .hamburger {
        position: relative;  /* necessary for z-index */
        z-index: 1010;       /* above dropdown */
    }

    #dropdown-nav {
        position: fixed;

        left: 0;
        width: 100%;
        height: calc(100vh); /* fill remaining viewport */
        max-height: calc(100vh);
        z-index: 1000;       /* below logo/hamburger */
    }


    .hamburger {
        display: flex;
    }

    /* Mobile submenu adjustments */
    #dropdown-nav ul li .sub-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-height: 0; /* collapsed */
        opacity: 0;
        padding: 0; /* collapse padding when closed */
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    #dropdown-nav ul li.menu-item-has-children.open .sub-menu {
        max-height: 500px; /* adjust as needed */
        opacity: 1;
        padding: 0.5rem 1rem;
    }

    /* Submenu links styling */
    #dropdown-nav ul li .sub-menu li a {
        display: block;
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
        color: rgba(var(--color-white), 0.95);
        background-color: rgba(var(--color-white), 0.05);
        border-radius: 0.5rem;
    }

    #dropdown-nav ul li .sub-menu li a:hover {
        background-color: rgba(var(--color-white), 0.15);
        color: rgba(var(--color-white), 1);
    }

    /* Arrow adjustments */
    #dropdown-nav ul li.menu-item-has-children > a::after {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    #dropdown-nav ul li.menu-item-has-children.open > a::after {
        transform: rotate(-180deg);
    }
}


/* Remove hover effects for language switcher */
#nav-list > li:last-child a:hover,
#dropdown-nav ul li:last-child a:hover {
    background-color: transparent !important;
    border: 1px solid transparent !important;
    transform: none !important;
    color: rgba(var(--color-white), 0.9) !important;
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4) !important;
}

/* Specifically target the flag icon container */
#nav-list > li:last-child,
#dropdown-nav ul li:last-child {
    pointer-events: none; /* Disable hover on the entire list item */
}

/* But keep the link clickable */
#nav-list > li:last-child a,
#dropdown-nav ul li:last-child a {
    pointer-events: auto; /* Re-enable pointer events only for the link */
}

/* Remove any background/border changes on hover */
#nav-list > li:last-child a:hover,
#dropdown-nav ul li:last-child a:hover {
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

/* wp-footer.css */
/* FOOTER */
.site-footer {
    background-color: transparent;
    color: rgba(var(--color-white), 1);
    padding: 3rem 1.5rem 2rem;
    width: 100%;
    margin-top: auto;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--color-primary), 0.85), rgba(var(--color-secondary), 0.85));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(var(--color-white), 0.15);
    border-bottom: 1px solid rgba(var(--color-secondary), 0.35);
    z-index: -1;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(var(--color-white), 0.2);
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(var(--color-white), 1);
    margin: 0;
    line-height: 1.2;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    max-width: 280px;
    color: rgba(var(--color-white), 0.8);
    text-shadow:
            0 0 3px rgba(var(--color-white), 0.4),
            0 0 6px rgba(var(--color-primary), 0.25);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-logo p:hover {
    color: rgba(var(--color-white), 0.95);
    text-shadow:
            0 0 4px rgba(var(--color-white), 0.6),
            0 0 8px rgba(var(--color-primary), 0.35);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.social-icons img {
    padding: 0.1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--color-white), 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--color-white), 0.25);
    box-shadow: 0 2px 6px rgba(var(--color-black), 0.15);
    color: rgba(var(--color-white), 1);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(var(--color-secondary), 0.25);
    border-color: rgba(var(--color-secondary), 0.5);
    box-shadow: 0 4px 10px rgba(var(--color-secondary), 0.4);
    color: rgba(var(--color-white), 1);
}

.footer-links,
.footer-contact {
    flex: 0 1 max-content; /* don't grow, shrink if needed, width based on content */
}


.footer-links .menu-item-has-children {
    display: none;
}

.footer-contact img {
    padding: 0.1rem;
    height: 20px;
    width: 20px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(var(--color-white), 0.9);
    font-size: 0.95rem;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links ul li a:hover {
    color: rgba(var(--color-white), 0.95);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
}

.footer-contact p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-contact p:hover {
    color: rgba(var(--color-white), 0.95);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
}

.footer-contact a {
    color: rgba(var(--color-white), 0.9);
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-contact a:hover {
    color: rgba(var(--color-white), 0.95);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
}

.footer-contact i {
    margin-right: 0.6rem;
    font-size: 1rem;
    min-width: 18px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(var(--color-white), 0.9);
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding-top: 1.5rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-bottom:hover {
    color: rgba(var(--color-white), 0.95);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
}

.footer-terms {
    margin-top: 0.5rem;
}

.footer-gap {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 2rem;
}

.footer-terms a {
    color: rgba(var(--color-white), 0.9);
    margin: 0 0.5rem;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(var(--color-black), 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-terms a:hover {
    color: rgba(var(--color-white), 0.95);
    text-shadow: 0 1px 3px rgba(var(--color-black), 0.5);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }
    .footer-gap {
        gap: 2.5rem;
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        width: 100%;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}


