/* =====================================================
   CSS Custom Properties - Theme System
   ===================================================== */

:root {
    /* Dark theme (default) */
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-elevated: rgba(0, 0, 0, 0.85);
    --bg-surface: rgba(255, 255, 255, 0.04);
    --bg-surface-hover: rgba(255, 255, 255, 0.06);
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --bg-modal: rgba(10, 10, 10, 0.95);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --text-placeholder: rgba(255, 255, 255, 0.25);

    --accent: #3fbfff;
    --accent-rgb: 63, 191, 255;
    --accent-hover: #3fbfff;
    --accent-muted: rgba(63, 191, 255, 0.5);
    --accent-subtle: rgba(63, 191, 255, 0.15);
    --accent-faint: rgba(63, 191, 255, 0.08);

    --border-primary: rgba(128, 128, 128, 0.4);
    --border-secondary: rgba(128, 128, 128, 0.3);
    --border-subtle: rgba(128, 128, 128, 0.1);
    --border-accent: rgba(63, 191, 255, 0.2);
    --border-accent-hover: rgba(63, 191, 255, 0.6);

    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-accent: rgba(63, 191, 255, 0.15);

    --input-bg: rgba(255, 255, 255, 0.05);
    --input-bg-focus: rgba(255, 255, 255, 0.08);
    --input-border: rgba(128, 128, 128, 0.4);

    --navbar-bg: rgba(0, 0, 0, 0.7);
    --navbar-border: rgba(63, 191, 255, 0.3);

    --gradient-overlay: radial-gradient(
        ellipse at bottom right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 15%,
        rgba(0, 0, 0, 0.85) 25%,
        rgba(0, 0, 0, 1) 30%,
        rgba(0, 0, 0, 1) 100%
    );

    --scrollbar-track: rgba(255, 255, 255, 0.05);
    --scrollbar-thumb: rgba(63, 191, 255, 0.3);
    --scrollbar-thumb-hover: rgba(63, 191, 255, 0.5);

    --map-filter: invert(90%) hue-rotate(180deg) brightness(0.8) contrast(1.2);
    --img-filter: grayscale(30%) brightness(0.85);
    --img-filter-hover: grayscale(0%) brightness(1);
}

/* Light theme overrides */
[data-theme="light"] {
    --bg-primary: #f0f4f8;
    --bg-secondary: #e2e8f0;
    --bg-elevated: rgba(255, 255, 255, 0.92);
    --bg-surface: rgba(0, 0, 0, 0.03);
    --bg-surface-hover: rgba(0, 0, 0, 0.06);
    --bg-overlay: rgba(255, 255, 255, 0.85);
    --bg-modal: rgba(255, 255, 255, 0.97);

    --text-primary: #1a202c;
    --text-secondary: rgba(26, 32, 44, 0.65);
    --text-tertiary: rgba(26, 32, 44, 0.45);
    --text-placeholder: rgba(26, 32, 44, 0.3);

    --accent: #0077cc;
    --accent-rgb: 0, 119, 204;
    --accent-hover: #005fa3;
    --accent-muted: rgba(0, 119, 204, 0.5);
    --accent-subtle: rgba(0, 119, 204, 0.12);
    --accent-faint: rgba(0, 119, 204, 0.06);

    --border-primary: rgba(0, 0, 0, 0.15);
    --border-secondary: rgba(0, 0, 0, 0.1);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-accent: rgba(0, 119, 204, 0.2);
    --border-accent-hover: rgba(0, 119, 204, 0.5);

    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-accent: rgba(0, 119, 204, 0.12);

    --input-bg: rgba(0, 0, 0, 0.04);
    --input-bg-focus: rgba(0, 0, 0, 0.06);
    --input-border: rgba(0, 0, 0, 0.2);

    --navbar-bg: rgba(255, 255, 255, 0.6);
    --navbar-border: rgba(0, 119, 204, 0.3);

    --gradient-overlay: radial-gradient(
        ellipse at bottom right,
        rgba(240, 244, 248, 0) 0%,
        rgba(240, 244, 248, 0.4) 15%,
        rgba(240, 244, 248, 0.85) 25%,
        rgba(240, 244, 248, 1) 30%,
        rgba(240, 244, 248, 1) 100%
    );

    --scrollbar-track: rgba(0, 0, 0, 0.05);
    --scrollbar-thumb: rgba(0, 119, 204, 0.3);
    --scrollbar-thumb-hover: rgba(0, 119, 204, 0.5);

    --map-filter: none;
    --img-filter: grayscale(10%) brightness(1);
    --img-filter-hover: grayscale(0%) brightness(1.02);
}

/* =====================================================
   Navbar stays dark in light theme
   ===================================================== */
[data-theme="light"] .navbar {
    background: rgba(0, 0, 0, 0.7);
    border-bottom-color: rgba(63, 191, 255, 0.3);
}

[data-theme="light"] .navbar-brand {
    color: #fff;
}

[data-theme="light"] .navbar-brand:hover {
    color: #3fbfff;
}

[data-theme="light"] .navbar-link {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .navbar-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .navbar-link.active {
    color: #3fbfff;
}

[data-theme="light"] .navbar-hamburger span {
    background: #fff;
}

[data-theme="light"] .navbar-dropdown-menu {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(63, 191, 255, 0.3);
}

[data-theme="light"] .navbar-dropdown-menu .navbar-link:hover {
    background-color: rgba(63, 191, 255, 0.1);
    color: #3fbfff;
}

@media (max-width: 900px) {
    [data-theme="light"] .navbar-links {
        background: rgba(0, 0, 0, 0.8);
    }

    [data-theme="light"] .navbar-link {
        border-bottom-color: rgba(128, 128, 128, 0.1);
    }

    [data-theme="light"] .navbar-dropdown-menu {
        background: rgba(255, 255, 255, 0.03);
    }
}

/* =====================================================
   Theme Toggle Button
   ===================================================== */

.theme-toggle-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.theme-toggle-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

[data-theme="light"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .theme-toggle-btn:hover {
    border-color: rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: rgba(0, 0, 0, 0.8);
}

.theme-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.theme-toggle-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hide theme toggle on landing page (index.html) */
body:not(.has-navbar) .theme-toggle-btn {
    display: none !important;
}

/* =====================================================
   Reset
   ===================================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Non-index pages with navbar: allow scrolling, no centering */
body.has-navbar {
    display: block;
    overflow: auto;
    overflow-x: hidden;
}

/* Vanta background */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Gradient overlay on non-index pages: fades animation from bottom-right toward top-left */
body.has-navbar #vanta-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: var(--gradient-overlay);
}

/* Main content area */
.main-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 80px 40px 40px;
}

/* Main content on navbar pages - flows naturally */
body.has-navbar .main-content {
    display: block;
    min-height: auto;
    padding: 80px 40px 30px;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

/* Button container (homepage) */
.button-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.btn {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    padding: 32px 0;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    text-transform: uppercase;
    width: 280px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.btn:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-secondary);
}

/* Image carousel */
.carousel-wrapper {
    position: fixed;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-wrapper.visible {
    opacity: 1;
}

.carousel-viewport {
    width: 440px;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s ease;
    height: 100%;
}

.carousel-slide {
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    margin: 0 5px;
    transition: opacity 0.4s ease;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid var(--accent-muted);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.carousel-slide.prev,
.carousel-slide.next {
    opacity: 0.3;
}

.carousel-slide.active {
    opacity: 1;
}

/* Dropdown menu */
.dropdown {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10;
}

.dropdown-toggle {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    padding: 12px 24px;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.dropdown-toggle:hover {
    border-color: var(--text-primary);
}

.dropdown-toggle .arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: none;
    min-width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    padding-top: 5px;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 24px;
    color: var(--text-primary);
    background: none;
    border: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: left;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-primary);
    margin: 6px 24px;
}

.dropdown-item:hover {
    background-color: var(--bg-secondary);
    color: var(--accent);
}

/* Page content styles */
.page-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.page-content h1 {
    font-size: 42px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Page header left-aligned (e.g. Our Journey) */
.page-content.page-left-aligned {
    max-width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
    margin: 0 -10px 0 0;
}

.page-content.page-left-aligned h1 {
    position: fixed;
    top: 30px;
    left: 40px;
    z-index: 10;
    margin-bottom: 0;
    font-size: 36px;
}

/* Navbar pages: override page-left-aligned constraints */
body.has-navbar .page-content.page-left-aligned {
    height: auto;
    margin: 0;
}

body.has-navbar .page-content.page-left-aligned h1 {
    position: static;
    margin-bottom: 30px;
    font-size: 42px;
}

/* Content bounding box */
.content-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 0;
    padding: 20px 30px;
    margin-top: 10px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 0 40px var(--shadow-color), inset 0 0 30px rgba(0, 0, 0, 0.3);
}

/* Navbar pages: remove the content bounding box */
body.has-navbar .content-box {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    flex: none;
    overflow-y: visible;
    overflow-x: visible;
    box-shadow: none;
}

/* Custom scrollbar for content box */
.content-box::-webkit-scrollbar {
    width: 6px;
}

.content-box::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 3px;
}

.content-box::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}

.content-box::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 10px auto 0;
    padding: 10px 0;
    max-width: 800px;
}

/* Vertical line (background track) */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent-subtle);
}

/* Animated progress line */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.4));
    transition: height 0.4s ease-out;
    z-index: 1;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.4);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px; /* fallback; overridden by JS for relative spacing */
    display: flex;
    align-items: flex-start;
    /* Scroll animation - start hidden */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.aos-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Glowing dot on the line */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.5), inset 0 0 8px rgba(var(--accent-rgb), 0.15);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.8), inset 0 0 12px rgba(var(--accent-rgb), 0.25);
    transform: translateX(-50%) scale(1.15);
}

/* Pulse animation on dots */
.timeline-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    animation: timeline-pulse 3s ease-in-out infinite;
}

@keyframes timeline-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0; }
}

/* Icon inside dot */
.timeline-icon {
    font-size: 14px;
    line-height: 1;
    z-index: 1;
}

/* Year label - right side (default) */
.timeline-date {
    position: absolute;
    right: calc(50% + 34px);
    top: 5px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent);
    text-align: right;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

/* Card - right side (default) */
.timeline-card {
    margin-left: calc(50% + 34px);
    background: var(--bg-surface);
    border: 1px solid var(--border-accent);
    border-radius: 6px;
    padding: 12px 16px;
    text-align: left;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(4px);
    position: relative;
}

/* Connector arrow from card to dot */
.timeline-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--border-accent);
}

.timeline-card:hover {
    border-color: var(--border-accent-hover);
    box-shadow: 0 0 30px var(--shadow-accent), 0 4px 20px var(--shadow-color);
    transform: translateY(-2px);
    background: var(--bg-surface-hover);
}

.timeline-card h3 {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-card p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Alternating left layout */
.timeline-item-left .timeline-date {
    right: auto;
    left: calc(50% + 34px);
    text-align: left;
}

.timeline-item-left .timeline-card {
    margin-left: 0;
    margin-right: calc(50% + 34px);
    text-align: right;
}

.timeline-item-left .timeline-card::before {
    left: auto;
    right: -8px;
    border-right: none;
    border-left: 8px solid var(--border-accent);
}

/* "Now" card special styling */
.timeline-card-now {
    border-color: var(--accent-muted);
    background: var(--accent-faint);
    box-shadow: 0 0 20px var(--shadow-accent), 0 0 40px rgba(var(--accent-rgb), 0.05);
}

.timeline-card-now h3 {
    color: var(--accent);
    font-size: 16px;
    letter-spacing: 2px;
}

.timeline-card-now:hover {
    border-color: rgba(var(--accent-rgb), 0.8);
    background: rgba(var(--accent-rgb), 0.12);
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.25), 0 4px 20px var(--shadow-color);
}

/* Stagger animation delays */
.timeline-item:nth-child(2) { transition-delay: 0s; }
.timeline-item:nth-child(3) { transition-delay: 0.1s; }
.timeline-item:nth-child(4) { transition-delay: 0.1s; }
.timeline-item:nth-child(5) { transition-delay: 0.1s; }
.timeline-item:nth-child(6) { transition-delay: 0.1s; }

/* Timeline responsive */
@media (max-width: 700px) {
    .timeline::before,
    .timeline-progress {
        left: 22px;
        transform: none;
    }

    .timeline-dot {
        left: 22px;
        transform: translateX(-50%);
    }

    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.15);
    }

    .timeline-date {
        position: relative;
        right: auto;
        left: 0;
        margin-left: 56px;
        text-align: left;
        margin-bottom: 8px;
        font-size: 20px;
    }

    .timeline-item,
    .timeline-item-left {
        flex-direction: column;
    }

    .timeline-card,
    .timeline-item-left .timeline-card {
        margin-left: 56px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-card::before,
    .timeline-item-left .timeline-card::before {
        display: none;
    }

    .timeline-item-left .timeline-date {
        left: 0;
        margin-left: 56px;
        text-align: left;
    }
}

/* ===== Policies Page ===== */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-surface);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    border-radius: 8px;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.policy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.policy-item:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    background: var(--accent-faint);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--shadow-accent), 0 2px 8px var(--shadow-color);
}

.policy-item:hover::before {
    opacity: 1;
}

.policy-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-faint);
    border: 1px solid var(--accent-subtle);
    border-radius: 8px;
    color: var(--accent);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.policy-icon svg {
    width: 20px;
    height: 20px;
}

.policy-item:hover .policy-icon {
    background: var(--accent-subtle);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 0 12px var(--shadow-accent);
}

.policy-name {
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-item:hover .policy-name {
    color: var(--text-primary);
}

@media (max-width: 700px) {
    .policy-list {
        grid-template-columns: 1fr;
    }
}

/* Policy Modal */
.policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.policy-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.policy-modal {
    background: var(--bg-modal);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
    box-shadow: 0 0 60px var(--shadow-color), 0 0 30px var(--shadow-accent);
}

.policy-modal-overlay.active .policy-modal {
    transform: scale(1) translateY(0);
}

.policy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--accent-subtle);
    flex-shrink: 0;
}

.policy-modal-title {
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 600;
}

.policy-modal-close {
    background: none;
    border: 1px solid var(--border-secondary);
    color: var(--text-primary);
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
    line-height: 1;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.policy-modal-close:hover {
    border-color: var(--accent);
    background: var(--accent-faint);
    color: var(--accent);
}

.policy-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.policy-modal-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 16px;
    padding: 40px;
    text-align: center;
}

.policy-modal-placeholder-icon {
    line-height: 1;
    opacity: 0.4;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-modal-placeholder-icon svg {
    width: 64px;
    height: 64px;
}

.policy-modal-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-modal-placeholder-sub {
    font-size: 14px !important;
    color: var(--text-tertiary) !important;
}

.policy-modal-pdf {
    width: 100%;
    flex: 1;
    border: none;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 700px) {
    .policy-modal {
        width: 95%;
        height: 85vh;
        max-height: none;
    }

    .policy-modal-header {
        padding: 16px 20px;
    }

    .policy-modal-title {
        font-size: 15px;
        letter-spacing: 1px;
    }
}

/* ===== Contact Page ===== */
.contact-layout {
    display: flex;
    gap: 40px;
    min-height: 100%;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-layout h2 {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Contact info grid */
.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    font-size: 20px;
    line-height: 1.4;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    padding: 12px 14px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-placeholder);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--input-bg-focus);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    padding: 14px 32px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    border-color: var(--accent);
    background: var(--accent-faint);
    color: var(--accent);
}

/* Map */
.contact-map {
    flex: 1;
    min-height: 400px;
    border: 1px solid var(--border-primary);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    filter: var(--map-filter);
}

/* Contact responsive */
@media (max-width: 800px) {
    .contact-layout {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-map {
        min-height: 300px;
    }

    .contact-map iframe {
        min-height: 300px;
    }
}

/* ===== Fixed Navbar (non-index pages) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.15),
                0 4px 20px rgba(0, 0, 0, 0.2),
                inset 0 -1px 0 rgba(var(--accent-rgb), 0.2);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 60px;
}

.navbar-brand {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-brand:hover {
    color: var(--accent);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px 16px;
    transition: color 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-link:hover {
    color: var(--text-primary);
    background-color: var(--bg-surface);
}

.navbar-link.active {
    color: var(--accent);
}

/* Navbar Services dropdown */
.navbar-dropdown {
    position: relative;
}

.navbar-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-arrow {
    font-size: 9px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.navbar-dropdown.open .navbar-arrow {
    transform: rotate(180deg);
}

.navbar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-modal);
    border: 1px solid var(--border-accent);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    padding: 6px 0;
    margin-top: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2),
                0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.navbar-dropdown.open .navbar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-dropdown-menu .navbar-link {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 13px;
}

.navbar-dropdown-menu .navbar-link:hover {
    background-color: var(--accent-faint);
    color: var(--accent);
}

/* Hamburger button (hidden on desktop) */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.navbar-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.navbar-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Navbar responsive */
@media (max-width: 900px) {
    .navbar-hamburger {
        display: flex;
    }

    .navbar-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-modal);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.2);
    }

    .navbar-links.open {
        transform: translateX(0);
    }

    .navbar-link {
        padding: 14px 30px;
        font-size: 16px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .navbar-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-surface);
        border: none;
        margin-top: 0;
        padding: 0;
        display: none;
    }

    .navbar-dropdown.open .navbar-dropdown-menu {
        display: block;
    }

    .navbar-dropdown-menu .navbar-link {
        padding-left: 50px;
        font-size: 15px;
    }

    body.has-navbar .main-content {
        padding: 80px 20px 40px;
    }
}

/* Custom scrollbar for navbar pages */
body.has-navbar::-webkit-scrollbar {
    width: 8px;
}

body.has-navbar::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

body.has-navbar::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}

body.has-navbar::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* =====================================================
   Portfolio Page Styles
   ===================================================== */

/* Portfolio Category Header */
.portfolio-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    text-align: center;
}

.portfolio-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.portfolio-header-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    border-color: var(--accent-muted);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-color), 0 0 20px var(--shadow-accent);
}

.portfolio-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--bg-primary);
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-tertiary);
    background: linear-gradient(145deg, var(--bg-elevated), var(--bg-primary));
}

.portfolio-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid var(--border-accent);
}

.portfolio-card-content {
    padding: 24px;
}

.portfolio-card-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.portfolio-card-category {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.portfolio-card-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.portfolio-card-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 12px 0 16px;
}

.portfolio-card-btn {
    background: var(--accent-subtle);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 4px;
    width: 100%;
}

.portfolio-card-btn:hover {
    background: var(--accent);
    color: #000;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 40px 20px;
    overflow-y: auto;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-content {
    background: var(--bg-modal);
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 30px 80px var(--shadow-color), 0 0 40px var(--shadow-accent);
}

.portfolio-modal.active .portfolio-modal-content {
    transform: translateY(0) scale(1);
}

.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.portfolio-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

#modal-body {
    padding: 40px;
}

.portfolio-modal-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.portfolio-modal-category {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.portfolio-modal-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-secondary);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 16px;
}

.header-title-section {
    flex: 1;
}

.header-value {
    text-align: right;
    padding: 12px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-accent);
    border-radius: 6px;
}

.value-label {
    font-size: 10px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.value-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.portfolio-modal-info-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 0;
}

.info-compact-item {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-compact-item strong {
    color: var(--text-tertiary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-compact-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-compact-item a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Slideshow Styles */
.portfolio-modal-slideshow {
    position: relative;
    background: var(--bg-elevated);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-secondary);
    margin-top: 8px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-primary);
}

.slideshow-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: 12px;
}

.slideshow-next {
    right: 12px;
}

.slideshow-caption {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-secondary);
    min-height: 20px;
    text-align: center;
}

.slideshow-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-elevated);
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.slideshow-dot:hover {
    background: var(--text-tertiary);
    transform: scale(1.2);
}

.slideshow-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
}

.portfolio-modal-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portfolio-modal-section {
    margin-bottom: 24px;
}

.portfolio-modal-section h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-secondary);
    padding-bottom: 8px;
}

.portfolio-modal-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.portfolio-modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.portfolio-modal-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portfolio-modal-info-item strong {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-modal-info-item span {
    font-size: 14px;
    color: var(--text-primary);
}

.portfolio-modal-info-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-modal-info-item a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Scrollbar for modal */
.portfolio-modal-content::-webkit-scrollbar {
    width: 8px;
}

.portfolio-modal-content::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

.portfolio-modal-content::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}

.portfolio-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-header {
        padding: 0 20px 30px 20px;
    }
    
    .portfolio-header-title {
        font-size: 1.875rem;
    }
    
    .portfolio-header-description {
        font-size: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-card-image {
        height: 200px;
    }
    
    #modal-body {
        padding: 24px;
    }
    
    .portfolio-modal-title {
        font-size: 22px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 16px;
    }
    
    .header-value {
        width: 100%;
        text-align: left;
    }
    
    .portfolio-modal-info-compact {
        flex-direction: column;
        gap: 12px;
    }
    
    .slideshow-container {
        aspect-ratio: 4 / 3;
    }
    
    .slideshow-btn {
        padding: 8px;
    }
    
    .slideshow-prev {
        left: 8px;
    }
    
    .slideshow-next {
        right: 8px;
    }
    
    .portfolio-modal-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
    
    .portfolio-modal-info-grid {
        grid-template-columns: 1fr;
    }
}
