/**
 * PROYAPI - ULTRA PREMIUM CORPORATE DESIGN SYSTEM
 * Concept: Architectural Excellence & Quiet Luxury
 * Version: 2.0.0
 */

:root {
    /* --- COLOR PALETTE: REFINED LUXURY --- */

    /* Primary Backgrounds - Deep, Rich, Matte */
    --bg-main: #080808;
    /* Absolute void */
    --bg-surface: #0f0f0f;
    /* Primary card surface */
    --bg-surface-2: #141414;
    /* Hover states */
    --bg-surface-3: #1a1a1a;
    /* Borders/Separators */

    /* Accents - Champagne & Bronze (No cheap yellow) */
    --accent-gold: #D4AF37;
    /* Classic Metallic Gold */
    --accent-champagne: #F7E7CE;
    /* Highlight */
    --accent-bronze: #cd7f32;
    /* Warmth */
    --accent-glow: rgba(212, 175, 55, 0.15);

    /* Text Typography */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    /* Muted neutral */
    --text-tertiary: #666666;
    /* Subtle details */

    /* Status Colors - Desaturated */
    --success: #4ade80;
    --error: #f87171;
    --warning: #fbbf24;

    /* --- TYPOGRAPHY: ARCHITECTURAL --- */
    --font-display: 'Outfit', sans-serif;
    /* Modern, Geometric */
    --font-body: 'Inter', sans-serif;
    /* Clean, Legible */

    /* --- SPACING & LAYOUT --- */
    --container-max: 1400px;
    --container-pad: 2rem;
    --grid-gap: 2rem;

    /* --- GLASSMORPHISM: CRYSTAL CLEAR --- */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(10px);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* --- ANIMATIONS: CINEMATIC --- */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --duration-slow: 0.8s;
    --duration-medium: 0.5s;
    --duration-fast: 0.3s;
}

/* --- RESET & BASE --- */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(0, 0, 0, 0.98);
}

.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Nav Links Container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Individual Nav Link */
.nav-link {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Nav Dropdown Container */
.nav-dropdown {
    position: relative;
}

/* Dropdown Menu & Mega Menu - HIDDEN BY DEFAULT */
.dropdown-menu,
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

/* Show Dropdown on Hover */
.nav-dropdown:hover>.dropdown-menu,
.nav-dropdown:hover>.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown Links */
.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    padding-left: 1.5rem;
}

/* Mega Menu Styles */
.mega-menu {
    min-width: 650px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mega-col h4 {
    color: var(--accent-gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.mega-col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
}

.mega-col a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.mega-col a i {
    width: 18px;
    font-size: 0.75rem;
    color: var(--accent-gold);
    opacity: 0.7;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Mobile Toggle Hidden on Desktop */
.mobile-toggle {
    display: none !important;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #0a0a0a;
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 1.5rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.mobile-nav a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
}

.mobile-nav a.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block !important;
    }
}

/* --- LOGO STYLES: FLEXIBLE & ADAPTIVE --- */

.logo-img {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    height: auto;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.header-logo:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: auto;
    max-height: 55px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

/* Bank logo styles */
.bank-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
}

/* Partner logo styles */
.partner-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--duration-fast);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .header-logo {
        max-height: 45px;
    }

    .footer-logo {
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        max-height: 38px;
    }

    .footer-logo {
        max-height: 38px;
    }
}

/* ... existing code ... */

/* --- COMPONENT: BUTTONS --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all var(--duration-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Static 3D Effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ... existing code ... */

/* --- COMPONENT: CARDS & GLASS --- */

.glass-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* Top highlight */
    border-radius: 16px;
    padding: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, #0e0e0e, #080808);
    padding: 2.5rem;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    box-shadow: 5px 5px 15px #040404,
        -5px -5px 15px #161616;
    /* Neumorphic Dark 3D */
    transition: all var(--duration-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* --- TYPOGRAPHY UTILITIES --- */

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--duration-fast);
}

a:hover {
    color: var(--accent-gold);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.text-gold {
    color: var(--accent-gold);
}

.text-muted {
    color: var(--text-secondary);
}

.text-justify {
    text-align: justify;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- LAYOUT UTILITIES --- */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    width: 100%;
}

section {
    padding: 8rem 0;
    /* More breathing room */
    position: relative;
    overflow: hidden;
    /* Prevent spillover */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    :root {
        --container-pad: 1.5rem;
        --grid-gap: 1.5rem;
    }

    section {
        padding: 4rem 0;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: var(--grid-gap);
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--bg-surface-3);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-medium) var(--ease-out-expo);
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.col-span-2 {
    grid-column: span 2;
}

.row-span-2 {
    grid-row: span 2;
}

/* --- COMPONENT: BUTTONS --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    /* Architectural sharp corners */
    transition: all var(--duration-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
    border: 1px solid var(--accent-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: all var(--duration-medium) var(--ease-out-expo);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* --- COMPONENT: CARDS & GLASS --- */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.feature-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 0;
    /* Sharp architectural look */
    border-left: 2px solid transparent;
    transition: all var(--duration-medium);
}

.feature-card:hover {
    background: var(--bg-surface-2);
    border-left-color: var(--accent-gold);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

/* --- HEADER & NAV --- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* Always on top */
    padding: 1.5rem 0;
    transition: all var(--duration-medium);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(8, 8, 8, 0.95);
    /* More opaque */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.75rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-gold);
    transition: width var(--duration-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/* Dropdown System */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-surface-2);
    min-width: 220px;
    padding: 1rem;
    border: 1px solid var(--bg-surface-3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.5rem;
}

/* --- FILTERS & TABS --- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: all var(--duration-fast);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--bg-surface-3);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--bg-surface-3);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* --- PAGE SPECIFIC --- */

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-subtitle {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

/* Project Cards - Professional Real Estate Style */
.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    background: var(--bg-surface);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Professional 16:9 Aspect Ratio Image Container */
.project-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 12px;
}

.project-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow);
}

.project-card:hover .project-bg {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-loc {
    color: var(--accent-gold);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* Projects Grid - Professional Layout */
.projects-grid .grid-3 {
    gap: 2rem;
}

/* Project Info Section */
.project-info {
    padding: 1.5rem 0;
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --container-pad: 1.5rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .col-span-2 {
        grid-column: auto;
    }

    .row-span-2 {
        grid-row: auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .mega-menu {
        min-width: 500px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-pad: 1rem;
        --grid-gap: 1rem;
    }

    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links,
    .nav-dropdown {
        display: none !important;
    }

    .mobile-toggle {
        display: block !important;
    }

    .header-actions .btn-outline,
    .header-actions .btn-primary {
        display: none;
    }

    .header-actions .mobile-toggle {
        display: block !important;
    }

    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    /* Page Header */
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Cards */
    .glass-card,
    .project-card {
        padding: 1.5rem;
    }

    .project-card {
        height: 350px;
    }

    .project-title {
        font-size: 1.2rem;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Forms */
    .search-grid {
        grid-template-columns: 1fr !important;
    }

    .search-actions {
        flex-direction: column;
    }

    .search-actions .btn {
        width: 100%;
    }

    /* Stats */
    .stat-num {
        font-size: 2rem;
    }

    /* Doc filters */
    .doc-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .doc-tab {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    .project-card {
        height: 300px;
    }

    .glass-card {
        padding: 1rem;
    }
}

/* --- FORM SELECT DROPDOWNS --- */
select,
.form-input[type="select"],
select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-surface-2) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

select option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 10px;
}

select::-ms-expand {
    display: none;
}