/* ==========================================================================
   RAIL SECTOR CONSULTING GEORGIA LLC - Style Sheet
   ========================================================================== */

/* CSS Variables for design system */
:root {
    --color-bg-dark: #0C1B23;       /* Midnight Dark Background */
    --color-panel: #1D2E38;         /* Slate Blue Card/Panel Background */
    --color-panel-opaque: rgba(29, 46, 56, 0.85);
    --color-accent-gold: #B38F56;   /* Muted Sand Gold / Bronze */
    --color-text-platinum: #E0E5E8; /* Light Platinum for body text */
    --color-text-dark: #0C1B23;
    --color-white: #FFFFFF;
    --color-gold-glow: rgba(179, 143, 86, 0.25);
    --font-primary: 'Outfit', sans-serif;
    --font-georgian: 'Noto Sans Georgian', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-elastic: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: initial; /* Essential for Lenis smooth scroll */
    background-color: var(--color-bg-dark);
    color: var(--color-text-platinum);
    font-family: var(--font-georgian), var(--font-primary);
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-dark);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom selection */
::selection {
    background-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--color-text-platinum);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent-gold);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Preloader Styles
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    text-align: center;
    width: 250px;
}

.preloader-line {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 2px;
}

.preloader-line::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background-color: var(--color-accent-gold);
    position: absolute;
    top: 0;
    left: 0;
    animation: loaderLine 1.5s infinite ease-in-out;
}

.preloader-percentage {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-accent-gold);
    letter-spacing: 2px;
}

@keyframes loaderLine {
    0% { left: -40%; }
    50% { left: 100%; }
    100% { left: -40%; }
}

/* Custom Cursor Removed */

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-platinum);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent-gold);
    border-radius: 2px;
    margin-top: 10px;
}

.title-underline.center {
    margin: 15px auto 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary), var(--font-georgian);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent-gold);
    color: var(--color-text-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 20px var(--color-gold-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-bg-dark);
    border-color: var(--color-white);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Header / Navigation Bar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(12, 27, 35, 0.45); /* Elegant glassmorphic foundation */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                backdrop-filter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header.scrolled {
    padding: 12px 0;
    background-color: rgba(12, 27, 35, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(179, 143, 86, 0.15); /* Sleek gold border when scrolled */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header.scrolled .logo-img {
    height: 48px;
}

.header.scrolled .logo-title {
    font-size: 0.92rem;
}

.header.scrolled .logo-highlight {
    font-size: 0.92rem;
}

.header-container {
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    height: 64px;
    width: auto;
    border-radius: 8px;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1.15;
    transition: font-size 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo-highlight {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1.15;
    transition: font-size 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-menu {
    display: flex;
    gap: 24px; /* Tighter gap to prevent vertical wrapping */
    flex-shrink: 0;
    align-items: center;
}

.nav-link {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-platinum);
    opacity: 0.75;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

/* Active navigation link styling */
.nav-link.active {
    opacity: 1;
    color: var(--color-accent-gold);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
    background-color: var(--color-accent-gold);
    box-shadow: 0 0 12px rgba(179, 143, 86, 0.35);
}

.lang-btn.active {
    border-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
    background-color: var(--color-accent-gold);
    box-shadow: 0 0 12px rgba(179, 143, 86, 0.35);
}


/* Mobile Menu Elements */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    width: 30px;
    height: 20px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_background.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05); /* Slightly scaled for scroll parallax effect */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12, 27, 35, 0.7) 0%, rgba(12, 27, 35, 0.2) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-start;
}

/* Left Hero Card Positioning */
.hero-card-container {
    width: 100%;
    max-width: 480px; /* Fits exactly on top of the left card in the generated image */
    margin-left: 20px;
    margin-top: 50px;
}

.hero-card {
    background-color: transparent; /* Overlaying text directly on the image's dark card */
    padding: 20px;
    border-radius: 24px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.3rem;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-platinum);
    opacity: 0.85;
    margin-bottom: 35px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark);
    position: relative;
    border-bottom: 1px solid rgba(179, 143, 86, 0.1);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

.about-left {
    position: sticky;
    top: 120px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-platinum);
    opacity: 0.95;
    text-align: left;
}

/* ==========================================================================
   Services Section (Premium Cards with Gold Accents)
   ========================================================================== */
.services-detail-section {
    padding: 100px 0 120px 0;
    background-color: var(--color-bg-dark);
    position: relative;
}

.services-split-layout {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Space between rows */
}

.service-split-row {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0; /* Animated by GSAP */
    transform: translateY(30px); /* Animated by GSAP */
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-split-row.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Alternate row ordering */
.service-split-row.service-row-reverse {
    flex-direction: row-reverse;
}

.service-image-block {
    flex: 0 0 52%;
    position: relative;
}

.service-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(179, 143, 86, 0.15);
    background-color: var(--color-panel);
    transition: var(--transition-smooth);
    aspect-ratio: 16 / 10;
}

.service-split-img,
.service-split-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-img-frame:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 25px 50px rgba(179, 143, 86, 0.2);
}

.service-img-frame:hover .service-split-img,
.service-img-frame:hover .service-split-video {
    transform: scale(1.05);
}

/* Floating Icon Badges */
.service-icon-floating {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: rgba(12, 27, 35, 0.9);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--color-accent-gold);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 3;
    transition: var(--transition-smooth);
}

.service-split-row.service-row-reverse .service-icon-floating {
    right: auto;
    left: 24px;
}

.service-img-frame:hover .service-icon-floating {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 12px 30px var(--color-gold-glow);
}

.service-icon-floating svg {
    width: 28px;
    height: 28px;
}

/* Content blocks */
.service-content-block {
    flex: 1;
    position: relative;
    padding: 50px 40px;
    background: var(--color-panel-opaque);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(179, 143, 86, 0.15);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    z-index: 2;
    overflow: hidden;
}

.service-content-block:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 20px 45px rgba(179, 143, 86, 0.08);
}

/* Semi-transparent decorative big numbers in the background */
.service-panel-num {
    position: absolute;
    top: -15px;
    right: 20px;
    font-family: var(--font-primary);
    font-size: 8rem;
    font-weight: 800;
    color: rgba(179, 143, 86, 0.04);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.service-title-split {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 25px;
    position: relative;
    letter-spacing: 0.5px;
}

/* Subtle line under title */
.service-title-split::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent-gold);
    margin-top: 10px;
}

.service-list-split {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-list-split li {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text-platinum);
    line-height: 1.6;
    position: relative;
    padding-left: 26px;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.service-list-split li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 7px;
    height: 7px;
    background-color: var(--color-accent-gold);
    transform: rotate(45deg);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

.service-content-block:hover .service-list-split li::before {
    background-color: var(--color-white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.service-list-split li:hover {
    color: var(--color-white);
    opacity: 1;
}

/* Service Text Only layout & animations */
.service-text-only {
    width: 100%;
}

.service-text-only .service-content-block {
    width: 100%;
    padding: 65px 55px;
    background: linear-gradient(135deg, rgba(12, 27, 35, 0.95) 0%, rgba(20, 39, 49, 0.95) 100%);
    border: 1px solid rgba(179, 143, 86, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-text-only .service-content-block:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-gold);
    background: linear-gradient(135deg, rgba(18, 38, 48, 0.95) 0%, rgba(28, 54, 68, 0.95) 100%);
    box-shadow: 0 30px 60px rgba(179, 143, 86, 0.15), 0 0 40px rgba(179, 143, 86, 0.05);
}

.service-text-only .service-title-split {
    font-size: 2.1rem;
    color: var(--color-white);
    transition: all 0.4s ease;
}

.service-text-only .service-content-block:hover .service-title-split {
    color: var(--color-accent-gold);
    text-shadow: 0 0 15px rgba(179, 143, 86, 0.25);
}

.service-text-only .service-list-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin-top: 30px;
}

.service-text-only .service-list-split li {
    font-size: 1.05rem;
    transition: all 0.4s ease;
}

.service-text-only .service-content-block:hover .service-list-split li {
    transform: translateX(4px);
    color: var(--color-white);
}

.service-text-only .service-panel-num {
    font-size: 9.5rem;
    top: -25px;
    right: 35px;
    transition: all 0.5s ease;
}

.service-text-only .service-content-block:hover .service-panel-num {
    color: rgba(179, 143, 86, 0.08);
    transform: scale(1.03) translateY(-3px);
}

/* Responsive adjustments for text-only cards */
@media (max-width: 991px) {
    .service-text-only .service-content-block {
        padding: 40px 24px;
    }
    .service-text-only .service-title-split {
        font-size: 1.75rem;
    }
    .service-text-only .service-list-split {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-text-only .service-panel-num {
        font-size: 6rem;
        top: -10px;
        right: 15px;
    }
}

/* ==========================================================================
   Team Section (Premium Grid Layout)
   ========================================================================== */
.team-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(179, 143, 86, 0.1);
    border-bottom: 1px solid rgba(179, 143, 86, 0.1);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 100px; /* Generous gap between rows */
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.team-card {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    display: flex;
    flex-direction: row;
    align-items: center; /* Center vertically */
    gap: 80px; /* Spacious gap between image and text */
    transition: none;
}

.team-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* FOUC preventer when using JS reveals */
.js .team-card {
    opacity: 0;
}

.team-img-wrapper {
    width: 45%;
    flex-shrink: 0;
    height: auto;
    min-height: auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background-color: transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(179, 143, 86, 0.15);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.team-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.25, 1);
}

.team-card:hover .team-img-wrapper {
    border-color: var(--color-accent-gold);
    box-shadow: 0 25px 50px rgba(179, 143, 86, 0.22), 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-6px);
}

.team-card:hover .team-img {
    transform: scale(1.04);
}

.team-info {
    padding: 0; /* No card padding needed */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.team-role {
    display: inline-block;
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(179, 143, 86, 0.3);
    padding-bottom: 8px;
    align-self: flex-start; /* Fit border to text length */
}

.team-bio {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--color-text-platinum);
    opacity: 0.95;
    text-align: left;
    white-space: pre-line;
}

@media (max-width: 991px) {
    .team-grid {
        gap: 60px;
        margin-top: 40px;
    }
    .team-card, .team-card:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    .team-img-wrapper {
        width: 100%;
        max-width: 540px;
        height: auto;
        min-height: auto;
        margin: 0 auto;
    }
    .team-info {
        padding: 0;
        text-align: left;
    }
    .team-name {
        font-size: 1.8rem;
    }
    .team-role {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    .team-bio {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    /* Responsive Services Detail Layout */
    .services-split-layout {
        gap: 50px;
    }
    .service-split-row, 
    .service-split-row.service-row-reverse {
        flex-direction: column;
        gap: 30px;
    }
    .service-image-block {
        width: 100%;
        flex: 0 0 auto;
    }
    .service-content-block {
        width: 100%;
        flex: 0 0 auto;
        padding: 35px 24px;
    }
    .service-title-split {
        font-size: 1.6rem;
    }
    .service-icon-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .service-icon-floating svg {
        width: 22px;
        height: 22px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark);
}

.contact-box {
    background-color: var(--color-panel);
    border: 1px solid rgba(179, 143, 86, 0.1);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

/* Decorative dot grids on contact box */
.contact-box::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 40px;
    width: 80px;
    height: 50px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-desc {
    color: var(--color-text-platinum);
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent-gold);
}

.detail-value {
    font-size: 1.2rem;
    color: var(--color-white);
    font-family: var(--font-primary), var(--font-georgian);
}

.link-gold {
    color: var(--color-accent-gold);
    border-bottom: 1px solid transparent;
    display: inline-block;
    align-self: flex-start;
}

.link-gold:hover {
    color: var(--color-white);
    border-color: var(--color-white);
}

/* Forms styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-white);
}

.form-control {
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--color-white);
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 10px rgba(179, 143, 86, 0.15);
}

textarea.form-control {
    resize: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #061017;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo-img {
    height: 54px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

.footer-brand-desc {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-platinum);
    opacity: 0.7;
}

.footer-col-title {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-links a {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-text-platinum);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-nav-links a:hover {
    color: var(--color-accent-gold);
    opacity: 1;
    padding-left: 4px;
}

.footer-contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-details li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-label {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    opacity: 0.75;
    letter-spacing: 0.5px;
}

.footer-contact-value {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-text-platinum);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.footer-contact-details a.footer-contact-value:hover {
    color: var(--color-accent-gold);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--color-text-platinum);
    opacity: 0.6;
}

.footer-bottom-badge {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    border: 1px solid rgba(179, 143, 86, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    background-color: rgba(179, 143, 86, 0.05);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-left {
        position: relative;
        top: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .summary-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1199px) {
    /* Mobile Menu Drawer Toggle */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-panel-opaque);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1000;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(179, 143, 86, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo-area {
        margin-right: auto;
    }

    .header-actions {
        margin-right: 20px;
        gap: 12px;
    }

    .header-actions .btn {
        display: none !important;
    }

    .header-container {
        padding: 0 24px;
    }
}

@media (min-width: 1200px) and (max-width: 1440px) {
    .nav-menu {
        gap: 16px;
    }
    .nav-link {
        font-size: 0.88rem;
    }
    .logo-img {
        height: 52px;
    }
    .logo-title {
        font-size: 0.92rem;
    }
    .logo-highlight {
        font-size: 0.92rem;
    }
    .header-container {
        padding: 0 24px;
        gap: 16px;
    }
    .header-actions {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 38px;
    }
    .logo-area {
        gap: 8px;
    }
    .logo-title {
        font-size: 0.78rem;
    }
    .logo-highlight {
        font-size: 0.78rem;
        letter-spacing: 1px;
    }
    .header-container {
        padding: 0 16px;
    }
    .header-actions {
        margin-right: 16px;
    }
    /* Fonts scale down */
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }

    /* Hero centering on mobile */
    .hero-container {
        justify-content: center;
    }

    .hero-card-container {
        margin-left: 0;
        text-align: center;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
    }

    /* Grid adaptation */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-box {
        padding: 40px 24px;
    }

    .team-card, .team-card:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 24px;
    }

    .team-img-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 0;
    }

    .team-info {
        padding: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   Page Header & Subpages Layout
   ========================================================================== */
.page-main {
    padding-top: 100px; /* Offset fixed header */
    min-height: 80vh;
}

.page-header-section {
    padding: 80px 0 40px 0;
    background-color: var(--color-bg-dark);
    position: relative;
}

.page-title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

/* Summary Section (index.html welcome) */
.summary-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(179, 143, 86, 0.1);
    position: relative;
}

.summary-section .container {
    max-width: 1400px;
}

.summary-intro {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    text-align: left;
}

.summary-lead-text {
    font-size: 2.2rem;
    line-height: 1.55;
    font-weight: 500;
    color: rgba(224, 229, 232, 0.25);
    margin-top: 30px;
    font-family: var(--font-georgian), var(--font-primary);
    text-align: left;
}

.summary-lead-text span {
    color: rgba(224, 229, 232, 0.25);
    transition: color 0.1s ease;
}

/* JavaScript active states for premium reveal animations - hides elements before GSAP triggers to prevent FOUC */
.js .pillar-card {
    opacity: 0;
}
.js .pillar-img-wrapper {
    clip-path: inset(100% 0 0 0);
}
.js .pillar-img {
    transform: scale(1.15);
}

/* 3-Column horizontal grid */
.summary-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pillar-card {
    display: block;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pillar-img-wrapper {
    width: 100%;
    aspect-ratio: 2400 / 1792; /* Set to the exact landscape 4:3 slide ratio to prevent any cropping */
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    /* Transition applied directly to the image wrapper for smooth animations on hover */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pillar-card:hover .pillar-img-wrapper {
    transform: translateY(-8px) !important;
    border-color: rgba(179, 143, 86, 0.4) !important;
    box-shadow: 0 20px 40px rgba(179, 143, 86, 0.12), 0 15px 30px rgba(0, 0, 0, 0.35) !important;
}

.pillar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pillar-card:hover .pillar-img {
    transform: scale(1.05) !important;
}

.pillar-info {
    padding: 20px 0 4px 0;
    text-align: left;
}

.pillar-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.pillar-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-accent-gold);
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.pillar-card:hover .pillar-title {
    color: var(--color-accent-gold);
}

/* ==========================================================================
   Logistics Showcase Section
   ========================================================================== */
.logistics-showcase-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
    position: relative;
    border-top: 1px solid rgba(179, 143, 86, 0.1);
}

.logistics-container {
    max-width: 1400px;
}

.logistics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.logistics-content-card {
    text-align: left;
}

.logistics-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.logistics-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 16px;
    background-color: rgba(29, 46, 56, 0.2);
    border: 1px solid rgba(179, 143, 86, 0.05);
    transition: var(--transition-smooth);
}

.logistics-item:hover {
    background-color: rgba(29, 46, 56, 0.45);
    border-color: rgba(179, 143, 86, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.logistics-item-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(179, 143, 86, 0.1);
    border: 1px solid var(--color-accent-gold);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent-gold);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(179, 143, 86, 0.1);
}

.logistics-item-icon svg {
    width: 22px;
    height: 22px;
}

.logistics-item-info {
    flex-grow: 1;
}

.logistics-item-title {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 6px;
    font-weight: 600;
}

.logistics-item-desc {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-text-platinum);
    opacity: 0.85;
}

/* Right Column: Visual Panel (Glassmorphism & SVG Grid) */
.logistics-visual-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card-panel {
    background: radial-gradient(circle at center, #0F232B 0%, #061115 100%);
    border: 1px solid rgba(179, 143, 86, 0.15);
    border-radius: 28px;
    padding: 30px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Interactive SVG Nodes & Connections */
.logistics-svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
}

.flow-line {
    stroke-dashoffset: 0;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

.logistics-node {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.node-bg {
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 4px rgba(179, 143, 86, 0.15));
}

.node-inner {
    transition: var(--transition-smooth);
}

.logistics-node:hover .node-bg,
.logistics-node.active .node-bg {
    stroke-width: 3px;
    filter: drop-shadow(0 0 15px rgba(179, 143, 86, 0.5));
}

.logistics-node:hover .node-inner,
.logistics-node.active .node-inner {
    fill: #1D2E38;
}

.node-label {
    font-family: var(--font-primary);
    letter-spacing: 1.5px;
    pointer-events: none;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.logistics-node:hover .node-label,
.logistics-node.active .node-label {
    opacity: 1;
    fill: var(--color-accent-gold);
    font-weight: 700;
}

/* Responsive Styles for Logistics */
@media (max-width: 1024px) {
    .logistics-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .visual-card-panel {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .logistics-showcase-section {
        padding: 60px 0;
    }
    .logistics-item {
        padding: 12px;
        gap: 15px;
    }
    .logistics-item-title {
        font-size: 1rem;
    }
    .logistics-item-desc {
        font-size: 0.85rem;
    }
    .visual-card-panel {
        padding: 15px;
        border-radius: 20px;
    }
}

/* ==========================================================================
   Large Visual Banner Section (Coded Dashboard)
   ========================================================================== */
.dashboard-section {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1400px;
    margin: 60px auto 100px auto;
}

.dashboard-container {
    background: radial-gradient(circle at center, #0e242d 0%, #051014 100%);
    border: 1px solid rgba(179, 143, 86, 0.2);
    border-radius: 28px;
    padding: 60px 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Matrix Card Styling */
.matrix-card {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* 3x3 Outer Grid for Matrix Alignment */
.matrix-outer-grid {
    display: grid;
    grid-template-columns: 70px 1fr 30px;
    grid-template-rows: auto 1fr auto;
    width: 100%;
    max-width: 540px;
    position: relative;
}

.grid-spacer {
    display: block;
}

/* Double Line Styling */
.double-line-h {
    height: 5px;
    border-top: 1px solid rgba(179, 143, 86, 0.4);
    border-bottom: 1px solid rgba(179, 143, 86, 0.4);
    flex-grow: 1;
}

.double-line-v {
    width: 5px;
    border-left: 1px solid rgba(179, 143, 86, 0.4);
    border-right: 1px solid rgba(179, 143, 86, 0.4);
    flex-grow: 1;
}

/* Top Decorative Row */
.matrix-top-decor {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 30px;
    width: 100%;
}

.decor-badge {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(179, 143, 86, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-gold);
    background-color: #051014;
    box-shadow: 0 0 10px rgba(179, 143, 86, 0.15);
    flex-shrink: 0;
}

.decor-badge svg {
    width: 18px;
    height: 18px;
}

/* Corner Decor */
.matrix-corner {
    width: 30px;
    height: 30px;
    position: relative;
}

.matrix-corner::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 18px;
    height: 18px;
    border-top: 1px solid rgba(179, 143, 86, 0.4);
    border-right: 1px solid rgba(179, 143, 86, 0.4);
    border-top-right-radius: 18px;
}

.matrix-corner::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 0;
    width: 14px;
    height: 14px;
    border-top: 1px solid rgba(179, 143, 86, 0.4);
    border-right: 1px solid rgba(179, 143, 86, 0.4);
    border-top-right-radius: 14px;
}

/* Left Decorative Column (Y-Axis) */
.axis-y {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding-right: 10px;
}

.axis-label-y-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transform: rotate(-90deg);
    white-space: nowrap;
    width: 24px;
}

.axis-label-y {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
}

.axis-arrow-y-svg {
    width: 12px;
    height: 60px;
    color: var(--color-accent-gold);
}

.axis-arrow-y-svg svg {
    width: 100%;
    height: 100%;
}

.axis-ticks-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 35px 0 10px 0; /* Align with cells starting below icons */
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-platinum);
    opacity: 0.8;
}

.axis-tick-y-label {
    transform: rotate(-90deg);
    display: inline-block;
}

/* Grid Area Wrapper */
.matrix-grid-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Column Header Icons Row */
.matrix-col-headers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    justify-items: center;
    align-items: center;
    height: 30px;
    padding-bottom: 5px;
}

.matrix-col-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.matrix-col-header svg {
    width: 18px;
    height: 18px;
}

/* Column Icon Colors (outlined glowing) */
.header-icon-green { color: #52b788; filter: drop-shadow(0 0 4px rgba(82, 183, 136, 0.3)); }
.header-icon-yellow { color: #f9c74f; filter: drop-shadow(0 0 4px rgba(249, 199, 79, 0.3)); }
.header-icon-orange { color: #f8961e; filter: drop-shadow(0 0 4px rgba(248, 150, 30, 0.3)); }
.header-icon-red { color: #f94144; filter: drop-shadow(0 0 4px rgba(249, 65, 68, 0.3)); }
.header-icon-darkred { color: #c32f27; filter: drop-shadow(0 0 4px rgba(195, 47, 39, 0.3)); }

/* 5x5 Grid Cells Styling */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    width: 100%;
}

.matrix-cell {
    aspect-ratio: 1;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05),
                0 4px 8px rgba(0, 0, 0, 0.3);
}

.matrix-cell:hover {
    transform: scale(1.15) !important;
    z-index: 10;
    border-color: var(--color-accent-gold) !important;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1),
                0 8px 20px rgba(179, 143, 86, 0.4) !important;
}

/* Premium Cell Color Palette (curated HSL) */
.cell-green { background: linear-gradient(135deg, #1b4d3e 0%, #113329 100%); }
.cell-dark-teal { background: linear-gradient(135deg, #153e3d 0%, #0d2928 100%); }
.cell-dark-slate { background: linear-gradient(135deg, #15252d 0%, #0e191e 100%); }
.cell-yellow { background: linear-gradient(135deg, #bfa02c 0%, #8c741e 100%); }
.cell-orange { background: linear-gradient(135deg, #b95d1d 0%, #8c4412 100%); }
.cell-red { background: linear-gradient(135deg, #b83232 0%, #8a2020 100%); }
.cell-dark-red { background: linear-gradient(135deg, #8a1d1d 0%, #601212 100%); }

/* Special Marker: Current status blue dot */
.matrix-cell.has-marker {
    position: relative;
}

.matrix-cell.has-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #0b1a30;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px #0b1a30, 0 0 5px rgba(255, 255, 255, 0.8);
    animation: markerPulse 2.5s infinite;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4), 0 0 5px #0b1a30;
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0), 0 0 8px #0b1a30;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 5px #0b1a30;
    }
}

/* Right Decorative Column */
.matrix-right-decor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 30px;
    height: 100%;
}

.decor-badge-right {
    margin: 5px 0;
}

/* Bottom Decorative Row (X-Axis) */
.axis-x {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    width: 100%;
}

.axis-ticks-x {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-platinum);
    opacity: 0.85;
}

.axis-tick-x-label {
    white-space: nowrap;
}

.axis-arrow-x-svg {
    height: 12px;
    flex-grow: 1;
    margin: 0 15px;
    color: rgba(179, 143, 86, 0.4);
}

.axis-arrow-x-svg svg {
    width: 100%;
    height: 100%;
}

.axis-label-x-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding-top: 5px;
}

.axis-line-x {
    height: 1px;
    background-color: rgba(179, 143, 86, 0.4);
    width: 40px;
}

.axis-label-x {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    white-space: nowrap;
}

.axis-arrow-x-bottom {
    height: 10px;
    width: 50px;
    color: var(--color-accent-gold);
}

.axis-arrow-x-bottom svg {
    width: 100%;
    height: 100%;
}

/* Checklist Card Styling */
.checklist-card {
    background-color: transparent;
    width: 100%;
}

.checklist-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 24px 10px;
    border-bottom: 1px solid rgba(179, 143, 86, 0.15);
    transition: background-color 0.3s ease, padding-left 0.3s ease;
    border-radius: 12px;
}

.checklist-item:hover {
    background-color: rgba(29, 46, 56, 0.3);
    padding-left: 18px;
}

.checklist-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 4px 4px, #e3c46e 0%, #aa843c 60%, #5b4618 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.6);
    margin-right: 20px;
    flex-shrink: 0;
}

.checklist-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(179, 143, 86, 0.85);
    margin-right: 20px;
    flex-shrink: 0;
}

.checklist-icon svg {
    width: 24px;
    height: 24px;
}

.checklist-text {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    white-space: nowrap;
    margin-right: 20px;
}

.checklist-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(179, 143, 86, 0.2);
    margin-right: 20px;
}

.checklist-status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(179, 143, 86, 0.6);
    flex-shrink: 0;
}

.checklist-status svg {
    width: 20px;
    height: 20px;
}

/* Responsive Styles for Dashboard */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 45px 30px;
    }
    .matrix-card {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .dashboard-section {
        width: calc(100% - 24px);
        margin: 40px auto 60px auto;
    }
    
    .dashboard-container {
        padding: 30px 15px;
        border-radius: 20px;
    }

    .matrix-outer-grid {
        grid-template-columns: 50px 1fr 20px;
    }

    .axis-y {
        padding-right: 5px;
    }

    .axis-ticks-y {
        font-size: 0.75rem;
        padding: 25px 0 5px 0;
    }

    .axis-label-y {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .matrix-col-headers {
        height: 24px;
        gap: 4px;
    }

    .matrix-col-header svg {
        width: 14px;
        height: 14px;
    }

    .matrix-grid {
        gap: 4px;
    }

    .matrix-cell {
        border-radius: 4px;
    }

    .axis-ticks-x {
        font-size: 0.75rem;
    }

    .axis-label-x {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .decor-badge {
        width: 24px;
        height: 24px;
    }

    .decor-badge svg {
        width: 12px;
        height: 12px;
    }

    .matrix-corner {
        width: 20px;
        height: 20px;
    }

    .matrix-corner::before {
        top: 8px;
        width: 12px;
        height: 12px;
        border-top-right-radius: 12px;
    }

    .matrix-corner::after {
        top: 12px;
        width: 8px;
        height: 8px;
        border-top-right-radius: 8px;
    }

    .checklist-item {
        padding: 16px 5px;
    }

    .checklist-bullet {
        width: 10px;
        height: 10px;
        margin-right: 12px;
    }

    .checklist-icon {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }

    .checklist-icon svg {
        width: 18px;
        height: 18px;
    }

    .checklist-text {
        font-size: 1rem;
        margin-right: 10px;
    }

    .checklist-line {
        margin-right: 10px;
    }
}

/* About Us Subpage Styling */
/* About Us Subpage Styling Overhaul */
.about-hero-section {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #051014;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/about_hero_background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    transform: scale(1.05);
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(12, 27, 35, 0.45) 0%, rgba(5, 16, 20, 0.95) 100%);
    z-index: 2;
}

.about-hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-hero-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
    padding: 0 10px;
}

.about-hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-white);
    font-family: var(--font-primary), var(--font-georgian);
}

.about-hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-platinum);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Story and Mission Section */
.about-story-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark);
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 70px;
    align-items: center;
}

.story-visual-card {
    background: radial-gradient(circle at center, #0F232B 0%, #061115 100%);
    border: 1px solid rgba(179, 143, 86, 0.2);
    border-radius: 28px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.visual-badge {
    position: absolute;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge-number {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #E3C46E 0%, #AA843C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.badge-label {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text-platinum);
    margin-top: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    max-width: 180px;
}

.visual-decor {
    position: absolute;
    width: 85%;
    height: 85%;
    opacity: 0.6;
    z-index: 1;
}

.story-svg {
    width: 100%;
    height: 100%;
}

.story-text-card {
    text-align: left;
}

/* Client Scope Section */
.about-clients-section {
    padding: 100px 0;
    background-color: #061115;
    position: relative;
    border-top: 1px solid rgba(179, 143, 86, 0.1);
    border-bottom: 1px solid rgba(179, 143, 86, 0.1);
}

.clients-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.clients-deck {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.client-card {
    background: rgba(12, 27, 35, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 143, 86, 0.15);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.client-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-accent-gold);
    box-shadow: 0 15px 35px rgba(179, 143, 86, 0.15);
}

.client-card-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(179, 143, 86, 0.1);
    border: 1px solid var(--color-accent-gold);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent-gold);
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(179, 143, 86, 0.1);
    transition: var(--transition-smooth);
}

.client-card:hover .client-card-icon {
    transform: scale(1.1);
    background-color: rgba(179, 143, 86, 0.2);
}

.client-card-icon svg {
    width: 26px;
    height: 26px;
}

.client-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.35;
}

.client-card-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--color-text-platinum);
    opacity: 0.8;
}

/* Core Pillars Section */
.about-pillars-section {
    padding: 120px 0;
    background-color: var(--color-bg-dark);
    position: relative;
}

.pillars-intro {
    text-align: left;
    max-width: 800px;
    margin-bottom: 60px;
}

.pillars-expanded-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pillar-expanded-card {
    background-color: var(--color-panel);
    border: 1px solid rgba(179, 143, 86, 0.1);
    border-top: 4px solid var(--color-accent-gold);
    border-radius: 20px;
    padding: 35px 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
}

.pillar-expanded-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-gold);
    box-shadow: 0 15px 35px rgba(179, 143, 86, 0.08);
}

.pillar-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(179, 143, 86, 0.25);
    margin-bottom: 15px;
}

.pillar-expanded-title {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.pillar-expanded-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-platinum);
    opacity: 0.85;
}

/* Workflow Timeline Section */
.about-timeline-section {
    padding: 120px 0;
    background-color: #061115;
    position: relative;
    border-top: 1px solid rgba(179, 143, 86, 0.1);
}

.timeline-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.workflow-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
    box-sizing: border-box;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 17px;
    width: 2px;
    height: calc(100% - 30px);
    background: linear-gradient(to bottom, var(--color-accent-gold) 0%, rgba(179, 143, 86, 0.1) 100%);
}

.timeline-step {
    position: relative;
    margin-bottom: 50px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    top: 2px;
    left: -50px;
    width: 36px;
    height: 36px;
    background-color: #0C1B23;
    border: 2px solid var(--color-accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    box-shadow: 0 0 12px rgba(179, 143, 86, 0.3);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-step:hover .step-marker {
    background-color: var(--color-accent-gold);
    color: #0C1B23;
    box-shadow: 0 0 20px rgba(179, 143, 86, 0.6);
}

.step-content {
    background: rgba(12, 27, 35, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(179, 143, 86, 0.15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.timeline-step:hover .step-content {
    border-color: var(--color-accent-gold);
    box-shadow: 0 15px 35px rgba(179, 143, 86, 0.08);
}

.step-title {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-platinum);
    opacity: 0.9;
}

/* Responsive Adaptations for About Us Overhaul */
@media (max-width: 1024px) {
    .clients-deck {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pillars-expanded-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-visual-card {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.3rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.05rem;
    }
    
    .clients-deck {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .clients-deck {
        grid-template-columns: 1fr;
    }
    
    .pillars-expanded-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-timeline {
        padding-left: 35px;
    }
    
    .workflow-timeline::before {
        left: 12px;
    }
    
    .step-marker {
        left: -35px;
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
}

/* Services & Contact Page Paddings */
.services-detail-section,
.team-detail-section,
.contact-detail-page-section {
    padding: 60px 0 120px 0;
}

/* Responsive adaptation for subpages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .summary-pillars-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .summary-lead-text {
        font-size: 1.6rem;
    }

    .about-large-text {
        font-size: 1.15rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   Node Details Popover Panel (Interactive Showcase)
   ========================================================================== */
.node-details-panel {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    background: rgba(12, 27, 35, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(179, 143, 86, 0.35);
    border-radius: 20px;
    padding: 25px 30px;
    transform: translateY(140%); /* Start off-screen */
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    pointer-events: auto;
    max-height: calc(100% - 40px);
    overflow-y: auto;
}

.node-details-panel::-webkit-scrollbar {
    width: 4px;
}
.node-details-panel::-webkit-scrollbar-track {
    background: transparent;
}
.node-details-panel::-webkit-scrollbar-thumb {
    background: rgba(179, 143, 86, 0.4);
    border-radius: 2px;
}

.node-details-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-platinum);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.7;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.node-details-close:hover {
    color: var(--color-accent-gold);
    opacity: 1;
    transform: scale(1.15);
}

.node-details-content {
    text-align: left;
}

.node-details-title {
    font-family: var(--font-primary), var(--font-georgian);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-details-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent-gold);
}

.node-details-desc {
    font-family: var(--font-primary), var(--font-georgian);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-platinum);
    opacity: 0.95;
    margin: 0;
}

@media (max-width: 600px) {
    .node-details-panel {
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        border-radius: 14px;
        padding: 20px;
        max-height: calc(100% - 24px);
    }
    .node-details-title {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
    .node-details-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Responsive Services Grid Cleaned */

/* ==========================================================================
   Blog Page Styles
   ========================================================================== */
.blog-section {
    padding: 100px 0 120px 0;
    background-color: var(--color-bg-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--color-panel);
    border: 1px solid rgba(179, 143, 86, 0.15);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    opacity: 0; /* Animated by GSAP */
    transform: translateY(30px); /* Animated by GSAP */
}

.blog-card.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-gold);
    box-shadow: 0 20px 45px rgba(179, 143, 86, 0.12);
}

.blog-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover .blog-img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--color-accent-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-title {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-title {
    color: var(--color-accent-gold);
}

.blog-card-desc {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-text-platinum);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-card-link {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link svg {
    transform: translateX(5px);
}

.blog-card-link:hover {
    color: var(--color-white);
}

/* ==========================================================================
   Vacancies Page Styles
   ========================================================================== */
.vacancies-section {
    padding: 100px 0 120px 0;
    background-color: var(--color-bg-dark);
}

.vacancies-intro-text {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.1rem;
    color: var(--color-text-platinum);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
    line-height: 1.7;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.vacancy-card {
    background-color: var(--color-panel);
    border: 1px solid rgba(179, 143, 86, 0.15);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    opacity: 0; /* Animated by GSAP */
    transform: translateY(30px); /* Animated by GSAP */
}

.vacancy-card.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.vacancy-card:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 20px 45px rgba(179, 143, 86, 0.08);
}

.vacancy-info {
    flex: 1;
    padding-right: 40px;
}

.vacancy-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.vacancy-tag {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-accent-gold);
    background-color: rgba(179, 143, 86, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.vacancy-title {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.vacancy-desc {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.92rem;
    color: var(--color-text-platinum);
    opacity: 0.85;
    line-height: 1.6;
}

.vacancy-action {
    flex-shrink: 0;
}

/* Spontaneous Application CTA */
.spontaneous-box {
    margin-top: 80px;
    background: var(--color-panel-opaque);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(179, 143, 86, 0.2);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.spontaneous-title {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
}

.spontaneous-desc {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text-platinum);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Responsive Media Queries for Blog & Vacancies */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .vacancy-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 30px;
    }
    .vacancy-info {
        padding-right: 0;
    }
    .spontaneous-box {
        padding: 40px 24px;
    }
}

/* ==========================================================================
   Language Visibility & Cookie Consent Banner Styles
   ========================================================================== */
html[lang="ka"] .lang-en {
    display: none !important;
}
html[lang="en"] .lang-ka {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    width: calc(100% - 40px);
    max-width: 620px;
    background: rgba(29, 46, 56, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(179, 143, 86, 0.35);
    border-radius: 20px;
    padding: 20px 25px;
    z-index: 9999;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    font-family: var(--font-georgian), var(--font-primary);
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-platinum);
    margin: 0;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
}

.cookie-btn {
    padding: 8px 22px;
    font-family: var(--font-primary), var(--font-georgian);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.cookie-btn-accept {
    background-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
}

.cookie-btn-accept:hover {
    background-color: transparent;
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 12px var(--color-gold-glow);
}

.cookie-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    text-decoration: underline;
    transition: var(--transition-smooth);
    font-family: var(--font-primary), var(--font-georgian);
}

.cookie-link:hover {
    color: var(--color-white);
}

@media (min-width: 600px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
    .cookie-actions {
        flex-shrink: 0;
    }
}

/* ==========================================================================
   Video Presentation Section Styles
   ========================================================================== */
.video-presentation-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    line-height: 0;
}

.promo-video-element {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
}

.services-video-section {
    padding: 60px 0 100px 0;
    background-color: var(--color-bg-dark);
}

.services-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(179, 143, 86, 0.05);
    border: 1px solid rgba(179, 143, 86, 0.15);
    transition: all 0.4s ease;
    aspect-ratio: 16 / 9;
    background-color: #030a0e;
}

.services-video-frame:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 25px 55px rgba(179, 143, 86, 0.12);
}

.services-video-element {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Custom Play Overlay (Kept for backwards compatibility but not used in markup) */
.video-card-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-card-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.6), 0 0 40px rgba(179, 143, 86, 0.08);
    border: 1px solid rgba(179, 143, 86, 0.18);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    aspect-ratio: 16 / 9;
    background-color: #030a0e;
}

.video-card-frame:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 35px 80px rgba(179, 143, 86, 0.15), 0 0 50px rgba(179, 143, 86, 0.05);
    transform: translateY(-4px);
}

.video-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 27, 35, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-overlay-play.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-button-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 2px solid var(--color-accent-gold);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

.play-button-core {
    width: 76px;
    height: 76px;
    background-color: var(--color-accent-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-bg-dark);
    box-shadow: 0 10px 25px rgba(179, 143, 86, 0.35);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-overlay-play:hover .play-button-core {
    transform: scale(1.1);
    background-color: var(--color-white);
    color: var(--color-bg-dark);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.35);
}

.play-button-core svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Adjustments for mobile viewports */
@media (max-width: 768px) {
    .video-presentation-section {
        padding: 0;
    }
    .services-video-section {
        padding: 40px 0 60px 0;
    }
    .play-button-ring {
        width: 80px;
        height: 80px;
    }
    .play-button-core {
        width: 56px;
        height: 56px;
    }
    .play-button-core svg {
        width: 20px;
        height: 20px;
    }
}

/* Custom mobile language button styling adjustments */
@media (max-width: 480px) {
    .lang-btn {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    .lang-selector {
        gap: 4px;
    }
}





