:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #e67e22;
    --accent-light: rgba(230, 126, 34, 0.2);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
}

body.theme-light {
    --bg-primary: #f4f2ef;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0eeea;
    --text-primary: #141414;
    --text-secondary: #3d3d3d;
    --accent: #e67e22;
    --accent-light: rgba(230, 126, 34, 0.18);
    --gradient-overlay: linear-gradient(135deg, rgba(245, 242, 238, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

body.theme-light {
    color: var(--text-primary);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(230, 126, 34, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(230, 126, 34, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(244, 242, 239, 1) 100%),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0px, rgba(0, 0, 0, 0.02) 1px, transparent 1px, transparent 12px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Avenir Next Condensed', 'Inter', sans-serif;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(230, 126, 34, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(230, 126, 34, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 1) 100%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 10px);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

body.theme-light .glass {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
/* Allow the language dropdown to escape the nav bar */
nav.glass { overflow: visible; }

/* Make sure the dropdown sits above everything */
.language-dropdown { z-index: 9999; }


.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-pill {
    background: rgba(20, 20, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 100%);
    z-index: -1;
}

.contact-tile {
    min-height: 320px;
}

.contact-map-tile {
    display: flex;
    flex-direction: column;
}

.contact-map-tile .map {
    flex: 1;
    min-height: 260px;
}

.contact-grid {
    align-items: stretch;
}

.contact-left-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-left-col .contact-map-tile {
    flex: 1;
}

.contact-left-col .contact-map-tile .map {
    min-height: 320px;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.split-text {
    overflow: hidden;
}

#why .split-text {
    overflow: visible;
    padding-bottom: 0.08em;
    line-height: 1.2;
}

#services .split-text {
    overflow: visible;
    padding-bottom: 0.1em;
    line-height: 1.2;
}

.headline-text {
    line-height: 1.2;
    padding-bottom: 0.08em;
}

.headline-text.split-text {
    overflow: visible;
}

.headline-text {
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}

.headline-text span {
    color: #ffffff;
}

.split-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.hero-subtitle {
    display: inline-block;
    padding: 0.4em 0.8em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 120%;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.15);
    transform-origin: center;
}

.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem; /* Add padding to make sure content is visible */
    border-radius: 16px; /* Add rounded corners */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); /* Add shadow for depth */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(230, 126, 34, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(230, 126, 34, 0.3);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.service-detail {
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.service-detail.active {
    opacity: 1;
    transform: translateY(0);
}

.service-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.service-tab {
    padding: 15px 30px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.service-tab.active {
    color: var(--accent);
}

.service-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.service-tab-content {
    display: none;
}

.service-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(50px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--accent);
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
    transform: translateY(-2px);
}

body.theme-light .form-input {
    background: #ffffff;
    color: #1f1f1f;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

body.theme-light .form-input::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

body.theme-light .form-input:focus {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(230, 126, 34, 0.18);
}

.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.section {
    position: relative;
    padding: 5rem 0;
    scroll-margin-top: 120px;
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.language-switcher {
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: none;
}

.language-dropdown.active {
    display: block;
}

.language-option {
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.language-option:hover {
    background: rgba(230, 126, 34, 0.18); /* orange glow */
    color: #fff;
}
.language-option:focus-visible {
    outline: none;
    background: rgba(230, 126, 34, 0.24);
    color: #fff;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.theme-light .theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
}


.marquee-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 2rem 0;
}

.marquee {
    display: flex;
    width: fit-content;
}

.partner-card {
    flex: 0 0 auto;
    width: 250px;
    margin-right: 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(230, 126, 34, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(230, 126, 34, 0.3);
}

.partner-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1);
}

.marquee-scrub-container {
    margin-top: 1rem;
    padding: 0 2rem;
}

.marquee-scrub {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.marquee-scrub:hover {
    background: rgba(255, 255, 255, 0.15);
}

body.theme-light .marquee-scrub {
    background: rgba(0, 0, 0, 0.15);
}

body.theme-light .marquee-scrub:hover {
    background: rgba(0, 0, 0, 0.22);
}

.marquee-scrub::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.marquee-scrub::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.marquee-scrub::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
}

.marquee-scrub::-moz-range-thumb:hover {
    transform: scale(1.2);
}

#main-nav {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

body.theme-light #main-nav {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 242, 238, 0.86) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    font-size: 1.05rem;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#main-nav a,
#main-nav button {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

body.theme-light #main-nav a,
body.theme-light #main-nav button {
    color: #1a1a1a;
    text-shadow: none;
}

body.theme-light h1,
body.theme-light h2,
body.theme-light h3 {
    color: #1f1f1f;
    text-shadow: none;
}

body.theme-light .hero-section h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

body.theme-light p {
    text-shadow: none;
}

body.theme-light .text-gray-300 {
    color: #2b2b2b;
}

body.theme-light .text-gray-400 {
    color: #4a4a4a;
}

body.theme-light .why-showcase-title,
body.theme-light .partner-card h3,
body.theme-light .service-card h3,
body.theme-light .why-summary-title {
    color: #1f1f1f;
}

body.theme-light .partner-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

body.theme-light .partner-card h3 {
    color: #1f1f1f;
}

body.theme-light .partner-card p {
    color: #4a4a4a;
}

body.theme-light .partner-card .partner-icon {
    color: var(--accent);
}

.accent-button {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
}

.accent-button:hover {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
    transform: translateY(-2px);
}

.why-showcase {
    position: relative;
    padding: 4rem 0;
}

.why-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 2rem;
}

.why-showcase-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    margin: 0 1rem;
}

.why-showcase-item:nth-child(even) {
    flex-direction: row;
}

.why-showcase-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(230, 126, 34, 0.2);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    min-width: 80px;
    text-align: center;
}

.why-showcase-content {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    margin: 0.5rem;
}

.why-showcase-item:hover .why-showcase-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.why-showcase-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-showcase-item:hover .why-showcase-content::before {
    opacity: 1;
}

.why-showcase-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.why-showcase-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.why-showcase-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.why-showcase-features {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.why-showcase-features.active {
    display: block;
}

.why-showcase-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.why-showcase-feature i {
    color: var(--accent);
    margin-right: 0.75rem;
}

.why-showcase-stat {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.why-showcase-stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin-right: 1rem;
}

.why-showcase-stat-label {
    color: var(--text-secondary);
}

.why-showcase-toggle {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-showcase-toggle i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.why-showcase-toggle.active i {
    transform: rotate(180deg);
}

.why-summary {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(30px);
    margin: 4rem 1rem 0;
}

.why-summary-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.why-summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.why-summary-stat {
    text-align: center;
}

.why-summary-stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.why-summary-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

footer {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 126, 34, 0.3), transparent);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .service-tabs {
        flex-wrap: wrap;
    }
    
    .service-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .partner-card {
        width: 200px;
        margin-right: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .why-showcase-item,
    .why-showcase-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .why-showcase-number {
        font-size: 3rem;
        min-width: auto;
        margin-bottom: 1rem;
    }
    
    .why-showcase-content {
        width: 100%;
    }
    
    .why-showcase-container {
        padding: 0 1rem;
    }
    
    .why-showcase-item {
        margin: 0 0.5rem;
    }
    
    .why-summary {
        margin: 4rem 0.5rem 0;
    }
}
#services .service-card {
    opacity: 1 !important;
    transform: none !important;
}
/* Loading Screen */
#loading-screen {
    transition: opacity 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.logo-pulse {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
/* Navigation Logo Hover Effects */
#main-nav img {
    transition: all 0.3s ease;
    cursor: pointer;
}

#main-nav img:hover {
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.8),
                0 0 40px rgba(230, 126, 34, 0.4),
                0 0 60px rgba(230, 126, 34, 0.2);
    transform: scale(1.05);
}

#main-nav img:active {
    transform: scale(0.95);
}
/* Ripple Effect */
.ripple-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.3) 0%, rgba(230, 126, 34, 0.1) 50%, transparent 70%);
    transform: scale(0);
    opacity: 0;
}

.ripple-active {
    animation: rippleExpand 1.5s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

/* Logo Glow Effect */
.logo-glow {
    box-shadow: 0 0 30px rgba(230, 126, 34, 1),
                0 0 60px rgba(230, 126, 34, 0.8),
                0 0 90px rgba(230, 126, 34, 0.6),
                0 0 120px rgba(230, 126, 34, 0.4);
    animation: logoGlow 1.5s ease-out forwards;
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 0 0px rgba(230, 126, 34, 0);
    }
    50% {
        box-shadow: 0 0 40px rgba(230, 126, 34, 1),
                    0 0 80px rgba(230, 126, 34, 0.8),
                    0 0 120px rgba(230, 126, 34, 0.6),
                    0 0 160px rgba(230, 126, 34, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(230, 126, 34, 0.8),
                    0 0 40px rgba(230, 126, 34, 0.4),
                    0 0 60px rgba(230, 126, 34, 0.2);
    }
}
/* Ripple Effects */
.ripple-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    pointer-events: none;
    overflow: hidden;
    will-change: opacity;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.3) 0%, rgba(230, 126, 34, 0.1) 50%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    will-change: transform, opacity;
}

.ripple-active {
    animation: rippleExpand 1.5s ease-out forwards;
}

.screen-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0%, transparent 30%, rgba(0, 0, 0, 0.8) 31%, rgba(0, 0, 0, 0.8) 100%);
    transform: scale(0);
    opacity: 0;
    mix-blend-mode: normal;
    will-change: transform, opacity;
}

.screen-ripple-active {
    animation: screenRippleExpand 1.5s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(20);
        opacity: 0;
    }
}

@keyframes screenRippleExpand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(50);
        opacity: 1;
    }
}

/* Logo Glow Effect */
.logo-glow {
    box-shadow: 0 0 30px rgba(230, 126, 34, 1),
                0 0 60px rgba(230, 126, 34, 0.8),
                0 0 90px rgba(230, 126, 34, 0.6),
                0 0 120px rgba(230, 126, 34, 0.4);
    animation: logoGlow 1.5s ease-out forwards;
    will-change: box-shadow;
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 0 0px rgba(230, 126, 34, 0);
    }
    50% {
        box-shadow: 0 0 40px rgba(230, 126, 34, 1),
                    0 0 80px rgba(230, 126, 34, 0.8),
                    0 0 120px rgba(230, 126, 34, 0.6),
                    0 0 160px rgba(230, 126, 34, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(230, 126, 34, 0.8),
                    0 0 40px rgba(230, 126, 34, 0.4),
                    0 0 60px rgba(230, 126, 34, 0.2);
    }
}

/* Loading Screen */
#loading-screen {
    will-change: opacity;
}

/* Logo Glow Effect */
.logo-glow {
    box-shadow: 0 0 30px rgba(230, 126, 34, 1),
                0 0 60px rgba(230, 126, 34, 0.8),
                0 0 90px rgba(230, 126, 34, 0.6),
                0 0 120px rgba(230, 126, 34, 0.4);
    animation: logoGlow 1.5s ease-out forwards;
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 0 0px rgba(230, 126, 34, 0);
    }
    50% {
        box-shadow: 0 0 40px rgba(230, 126, 34, 1),
                    0 0 80px rgba(230, 126, 34, 0.8),
                    0 0 120px rgba(230, 126, 34, 0.6),
                    0 0 160px rgba(230, 126, 34, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(230, 126, 34, 0.8),
                    0 0 40px rgba(230, 126, 34, 0.4),
                    0 0 60px rgba(230, 126, 34, 0.2);
    }
}
/* Real map sizing */
#map { width: 100%; height: 380px; border-radius: 12px; overflow: hidden; }
@media (min-width: 768px) { #map { height: 480px; } }
