/* --- THEME VARIABLES --- */
:root {
    /* Default: Corporate Hive (Navy & Gold) */
    --color-primary: #0A2342;
    --color-primary-rgb: 10, 35, 66;
    --color-primary-dark: #102E52;
    --color-accent: #D4AF37;
    --color-accent-rgb: 212, 175, 55;
    --color-accent-hover: #B5952F;
    --color-bg: #F9FAFB;
    --color-text-main: #374151;

    --blob-1: #D4AF37;
    --blob-2: #60A5FA;
    /* Blue-400 */
    --blob-3: #A78BFA;
    /* Purple-400 */
}

[data-theme="forest"] {
    /* Forest Growth (Green & Earth) */
    --color-primary: #1B4332;
    /* Deep Forest Green */
    --color-primary-rgb: 27, 67, 50;
    --color-primary-dark: #081C15;
    --color-accent: #D4A373;
    /* Earthy Beige/Tan */
    --color-accent-rgb: 212, 163, 115;
    --color-accent-hover: #BC8A5F;
    --blob-1: #D4A373;
    --blob-2: #95D5B2;
    /* Light Green */
    --blob-3: #B7B7A4;
    /* Sage */
}

[data-theme="ocean"] {
    /* Ocean Tech (Blue & Cyan) */
    --color-primary: #0C4A6E;
    /* Deep Ocean Blue */
    --color-primary-rgb: 12, 74, 110;
    --color-primary-dark: #082F49;
    --color-accent: #06B6D4;
    /* Cyan */
    --color-accent-rgb: 6, 182, 212;
    --color-accent-hover: #0891B2;
    --blob-1: #06B6D4;
    --blob-2: #38BDF8;
    /* Sky Blue */
    --blob-3: #818CF8;
    /* Indigo */
}

/* Base Styles */
html,
body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
    background-color: var(--color-bg);
    transition: background-color 0.5s ease;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Montserrat', sans-serif;
}

/* --- LIQUID GLASS STYLES --- */

/* Light Glass (For white backgrounds) */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Dark Glass (For Hero/Primary sections) */
.glass-dark {
    background: rgba(var(--color-primary-rgb), 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    transition: background-color 0.5s ease;
}

/* Glass Hover Effect */
.glass-hover:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

/* --- FLUID BLOB ANIMATIONS --- */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 4s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Parallax Utilities */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Custom Clip Path */
.clip-path-slant {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

@media (max-width: 768px) {
    .clip-path-slant {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
}

/* Step Animation States */
.step-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Sidebar */
#mobile-sidebar {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-open {
    transform: translateX(0) !important;
}

.sidebar-closed {
    transform: translateX(-100%) !important;
}

#mobile-overlay {
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

/* Hive Pattern */
.bg-hive-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill-opacity='0.03' fill='%230A2342' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Theme Transition */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}



.orbit-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;

    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/*.orbit-border::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vmax;*/
/* Huge size ensures corners are covered */
/*height: 100vmax;
        background: conic-gradient( transparent, transparent 40%, #ffffff 90%, white 100% );
        animation: orbit-spin 2s linear infinite;
    }*/

.orbit-border::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vmax;
    height: 100vmax;
    background: conic-gradient(transparent, transparent 40%, #ffffff 90%, white 100%);
    filter: blur(20px);
    opacity: 0.8;
    animation: orbit-spin 2s linear infinite;
}

@keyframes orbit-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- FLAG ICONS --- */
.flag-icon {
    width: 2rem;
    height: 1.5rem;
    background-size: cover;
    background-position: center;
    border-radius: 0.125rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.flag-icon-tr {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23E30A17'/%3E%3Ccircle cx='444' cy='400' r='200' fill='%23ffffff'/%3E%3Ccircle cx='480' cy='400' r='160' fill='%23E30A17'/%3E%3Cpolygon fill='%23ffffff' points='672,400 629.5,413.8 645.7,453.6 612.3,429.4 570.8,442.8 596.9,407 570.8,371.2 612.3,384.6 645.7,360.4 629.5,400.2'/%3E%3C/svg%3E");
}

.flag-icon-us {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 1235 650'%3E%3Crect width='1235' height='650' fill='%23B22234'/%3E%3Crect width='1235' height='50' y='50' fill='%23fff'/%3E%3Crect width='1235' height='50' y='150' fill='%23fff'/%3E%3Crect width='1235' height='50' y='250' fill='%23fff'/%3E%3Crect width='1235' height='50' y='350' fill='%23fff'/%3E%3Crect width='1235' height='50' y='450' fill='%23fff'/%3E%3Crect width='1235' height='50' y='550' fill='%23fff'/%3E%3Crect width='494' height='350' fill='%233C3B6E'/%3E%3Cg fill='%23fff'%3E%3Cg id='s18'%3E%3Cg id='s9'%3E%3Cg id='s5'%3E%3Cg id='s4'%3E%3Cpath id='s' d='M24.7,5.7l1,3.1h3.2l-2.6,1.9l1,3.1l-2.6-1.9l-2.6,1.9l1-3.1l-2.6-1.9h3.2z'/%3E%3Cuse xlink:href='%23s' x='42'/%3E%3Cuse xlink:href='%23s' x='84'/%3E%3Cuse xlink:href='%23s' x='126'/%3E%3C/g%3E%3Cuse xlink:href='%23s' x='168'/%3E%3C/g%3E%3Cuse xlink:href='%23s4' x='210'/%3E%3Cuse xlink:href='%23s' x='378'/%3E%3Cuse xlink:href='%23s' x='420'/%3E%3Cuse xlink:href='%23s5' y='44'/%3E%3C/g%3E%3Cuse xlink:href='%23s9' y='88'/%3E%3C/g%3E%3Cuse xlink:href='%23s18' y='176'/%3E%3Cuse xlink:href='%23s9' y='264'/%3E%3Cuse xlink:href='%23s5' y='308'/%3E%3Cuse xlink:href='%23s4' x='210' y='308'/%3E%3Cuse xlink:href='%23s' x='378' y='308'/%3E%3Cuse xlink:href='%23s' x='420' y='308'/%3E%3C/g%3E%3C/svg%3E");
}