/* ============================================================
   TRIUMPH LUXURY HOTEL — CAREERS PORTAL
   Premium Design System v2.0
   ============================================================ */

/* ==== CSS VARIABLES & RESET ==== */
:root {
    --primary-color: #9F8546;
    --primary-hover: #BDA05A;
    --primary-glow: rgba(159, 133, 70, 0.22);
    --primary-subtle: rgba(159, 133, 70, 0.10);
    --primary-deep: #7A6530;

    --bg-dark: #FAF9F6;
    --bg-dark-2: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 0.96);
    --bg-glass: rgba(255, 255, 255, 0.82);

    --text-main: #302A1F;
    --text-muted: #746A5A;
    --text-dim: #9A907E;
    --border-color: rgba(159, 133, 70, 0.28);
    --border-subtle: rgba(93, 76, 44, 0.10);

    --success: #2ECC71;
    --warning: #F39C12;
    --danger: #E74C3C;
    --info: #3498DB;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-arabic: 'Cairo', Tahoma, Arial, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 30px;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 2px 12px rgba(70, 54, 25, 0.06);
    --shadow-md: 0 10px 40px rgba(70, 54, 25, 0.10);
    --shadow-lg: 0 20px 60px rgba(70, 54, 25, 0.15);
    --shadow-gold: 0 8px 28px rgba(159, 133, 70, 0.16);
    --shadow-gold-lg: 0 14px 48px rgba(159, 133, 70, 0.22);
}

/* Dark Mode Theme */
:root.dark-mode {
    --bg-dark: #0C0B09;
    --bg-dark-2: #161412;
    --bg-card: rgba(26, 23, 18, 0.92);
    --bg-card-hover: rgba(36, 32, 24, 0.96);
    --bg-glass: rgba(22, 20, 16, 0.88);

    --text-main: #F0EBE0;
    --text-muted: #B8AD9A;
    --text-dim: #7A7060;
    
    --border-color: rgba(159, 133, 70, 0.4);
    --border-subtle: rgba(159, 133, 70, 0.12);
    
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(250,249,246,0.98));
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

/* ==== UTILITIES ==== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #C9AD66);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), #D7BD78);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary-subtle);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
}

/* ==== GOLDEN PARTICLES CANVAS ==== */
#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ==== NAVIGATION ==== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 30px rgba(70, 54, 25, 0.10);
}

.logo h1 {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: -5px;
}

.logo span {
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.brand-logo-img {
    display: block;
    width: 230px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-cta {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

/* ==== HAMBURGER MENU (MOBILE) ==== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 110;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 105;
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--border-subtle);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(48,42,31,0.34);
    z-index: 104;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.mobile-overlay.show {
    opacity: 1;
}

/* ==== HERO SECTION ==== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1542314831-c6a4d14d8c15?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(18, 14, 8, 0.35) 0%,
        rgba(40, 32, 18, 0.22) 35%,
        rgba(159, 133, 70, 0.08) 60%,
        rgba(247, 243, 234, 0.94) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-pill);
    background: rgba(159, 133, 70, 0.12);
    border: 1px solid rgba(159, 133, 70, 0.3);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease 0.1s backwards;
}

.hero-badge i {
    animation: pulse-gold 2s ease-in-out infinite;
}

.hero .subtitle {
    font-family: var(--font-body);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    animation: fadeInDown 1s ease 0.2s backwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero .subtitle::before,
.hero .subtitle::after {
    content: '';
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.hero .subtitle::after {
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.hero .title {
    font-size: 4.2rem;
    line-height: 1.06;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.3s backwards;
    background: linear-gradient(135deg, #8B7235, #C9AD66, #9F8546, #D4BC72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(159, 133, 70, 0.25));
}

.hero .description {
    font-size: 1.15rem;
    color: #3d3325;
    font-weight: 500;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 22px rgba(70, 54, 25, 0.16);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.5s backwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(159, 133, 70, 0.5);
    border-radius: 13px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    opacity: 0.7;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

/* ==== WHY TRIUMPH SECTION ==== */
.why-section {
    padding: 8rem 0;
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
}

.why-section::after {
    content: '◆';
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: var(--primary-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    counter-reset: why-counter;
}

.why-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    counter-increment: why-counter;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.why-card::after {
    content: counter(why-counter, decimal-leading-zero);
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.06;
    font-family: var(--font-heading);
    line-height: 1;
    transition: opacity var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-color);
    box-shadow: var(--shadow-gold);
}

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

.why-card:hover::after {
    opacity: 0.12;
}

.why-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
    position: relative;
}

.why-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px dashed rgba(159, 133, 70, 0.2);
    opacity: 0;
    transition: var(--transition-smooth);
    animation: spin-slow 12s linear infinite;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-gold-lg);
}

.why-card:hover .why-icon::after {
    opacity: 1;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
}

/* ==== STATS COUNTER ==== */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255,253,248,0.7), rgba(159,133,70,0.08), rgba(255,253,248,0.9));
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(159,133,70,0.06), transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
}

.stat-item {
    position: relative;
    padding: 1rem 0;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==== JOBS SECTION ==== */
.jobs-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-header p {
    color: var(--primary-color);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Search Bar */
.job-search-wrapper {
    max-width: 520px;
    margin: 0 auto 2rem;
    position: relative;
}

.job-search-wrapper i.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.job-search-input {
    width: 100%;
    padding: 0.9rem 3rem 0.9rem 3rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-card);
    transition: var(--transition-smooth);
    outline: none;
}

.job-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-sm);
    background: #fff;
}

.job-search-input::placeholder {
    color: var(--text-dim);
    font-style: italic;
}

.job-search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.3rem;
    transition: var(--transition-fast);
    display: none;
}

.job-search-clear.visible {
    display: block;
}

.job-search-clear:hover {
    color: var(--danger);
}

.job-search-count {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: inherit;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-subtle);
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

/* Job Grid */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.job-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-hover));
    transition: height var(--transition-smooth);
    border-radius: 0 2px 2px 0;
}

.job-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(159,133,70,0.08), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.job-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(159, 133, 70, 0.25);
    box-shadow: 0 12px 40px rgba(159, 133, 70, 0.12), 0 4px 12px rgba(70, 54, 25, 0.06);
}

.job-card:hover::before {
    height: 100%;
}

.job-card:hover::after {
    opacity: 1;
}

/* Hotel Badge */
.job-hotel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.8rem;
}

.job-hotel-badge i {
    font-size: 0.65rem;
}

.job-hotel-badge.hotel-luxury {
    background: linear-gradient(135deg, rgba(159,133,70,0.15), rgba(201,173,102,0.1));
    color: #9F8546;
    border: 1px solid rgba(159,133,70,0.25);
}

.job-hotel-badge.hotel-plaza {
    background: linear-gradient(135deg, rgba(52,152,219,0.12), rgba(41,128,185,0.08));
    color: #2980B9;
    border: 1px solid rgba(52,152,219,0.22);
}

.job-hotel-badge.hotel-whitesands {
    background: linear-gradient(135deg, rgba(26,188,156,0.12), rgba(22,160,133,0.08));
    color: #16A085;
    border: 1px solid rgba(26,188,156,0.22);
}

/* New Job Tag */
.job-new-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    margin-left: 0.5rem;
    animation: pulse-new 2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes pulse-new {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
    50% { box-shadow: 0 0 12px 3px rgba(231,76,60,0.25); }
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.3rem;
}

.job-dept {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

.job-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-bottom: 1rem;
    align-items: center;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.35;
}

.job-meta i {
    margin-right: 0;
    color: var(--primary-color);
    flex: 0 0 auto;
}

.job-card .btn {
    width: 100%;
}

.job-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

/* ==== TESTIMONIALS ==== */
.testimonials-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 1.333rem);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--primary-subtle);
    font-family: var(--font-heading);
    line-height: 1;
    opacity: 0.5;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.testimonial-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav button:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dots span.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* ==== FORM PROGRESS BAR ==== */
.form-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
}

.progress-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: var(--transition-smooth);
    position: relative;
    background: var(--bg-dark);
    z-index: 1;
    flex-shrink: 0;
}

.progress-circle.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.progress-circle.completed {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.progress-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-top: 0.4rem;
    white-space: nowrap;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.progress-step .progress-circle.active ~ .progress-label,
.progress-step .progress-circle.completed ~ .progress-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: var(--text-dim);
    transition: background var(--transition-smooth);
    flex-shrink: 0;
    margin-top: 17px;
}

.progress-line.completed {
    background: var(--primary-color);
}

/* ==== MODAL ==== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(48,42,31,0.45);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 4rem 1rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    width: 100%;
    max-width: 680px;
    background: var(--bg-dark-2);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
    margin: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.modal-content,
.toast,
.job-card,
.why-card,
.testimonial-card,
.chart-card,
.stat-card,
.filter-bar,
.data-table {
    box-shadow: var(--shadow-sm);
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(159,133,70,0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(231,76,60,0.15);
    border-color: var(--danger);
    color: var(--danger);
}

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-job-description {
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--primary-color);
    background: var(--primary-subtle);
    line-height: 1.55;
    white-space: pre-line;
}

.step {
    display: none;
    animation: fadeSlideIn 0.5s ease;
}

.step.active {
    display: block;
}

.step h4 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.drag-drop-area {
    border: 2px dashed rgba(159, 133, 70, 0.28);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.drag-drop-area:hover, .drag-drop-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-subtle);
}

.drag-drop-area i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.drag-drop-area .browse {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.file-name {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Success Step */
.step-success {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: successPop 0.6s var(--transition-spring);
}

.step-success h4 {
    justify-content: center;
    font-size: 1.5rem;
}

.step-success h4::before {
    display: none;
}

/* ==== TOAST NOTIFICATIONS ==== */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 253, 248, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 450px;
    pointer-events: all;
    animation: toastSlideIn 0.4s var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.toast.removing {
    animation: toastSlideOut 0.3s ease forwards;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-body {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-main);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    animation: toastProgress linear forwards;
}

.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-success .toast-icon { color: var(--success); }
.toast.toast-success .toast-progress { background: var(--success); }

.toast.toast-error { border-left: 3px solid var(--danger); }
.toast.toast-error .toast-icon { color: var(--danger); }
.toast.toast-error .toast-progress { background: var(--danger); }

.toast.toast-warning { border-left: 3px solid var(--warning); }
.toast.toast-warning .toast-icon { color: var(--warning); }
.toast.toast-warning .toast-progress { background: var(--warning); }

.toast.toast-info { border-left: 3px solid var(--info); }
.toast.toast-info .toast-icon { color: var(--info); }
.toast.toast-info .toast-progress { background: var(--info); }

/* ==== FOOTER ==== */
footer {
    border-top: none;
    padding: 0;
    margin-top: 0;
    background: linear-gradient(to top, rgba(159,133,70,0.09), transparent);
    position: relative;
}

.footer-wave {
    display: block;
    width: 100%;
    height: 60px;
    fill: none;
    stroke: rgba(159, 133, 70, 0.15);
    stroke-width: 1;
}

.footer-inner {
    padding: 3rem 4rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    letter-spacing: 4px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--text-main), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.3rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    margin-left: 0.8rem;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.footer-bottom .heart {
    color: var(--primary-color);
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

/* ==== SCROLL ANIMATION ==== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
    .testimonial-card {
        min-width: calc(50% - 1rem);
    }
    .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }
}

@media (max-width: 768px) {
    .hero .title {
        font-size: 2.8rem;
    }

    .hero .subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar.scrolled {
        padding: 0.8rem 1.5rem;
    }

    .brand-logo-img {
        width: 170px;
        max-height: 62px;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-socials a {
        margin: 0 0.3rem;
    }

    footer .footer-inner {
        padding: 2rem 1.5rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-md);
    }

    .progress-line {
        width: 20px;
        margin-top: 14px;
    }

    .progress-circle {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .progress-label {
        font-size: 0.5rem;
        letter-spacing: 0;
    }

    .form-progress {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero .title {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .toast {
        min-width: unset;
        max-width: calc(100vw - 3rem);
    }

    .toast-container {
        right: 0.75rem;
        left: 0.75rem;
    }
}

/* ==== ANIMATIONS ==== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 20px 5px var(--primary-glow); }
}

/* ==== INLINE FORM STYLES (used in index.html) ==== */
.d-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.lang-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    font-size: 0.9em;
    margin-bottom: 1rem;
}

.lang-grid .header {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.8em;
}

.lang-grid select {
    padding: 0.4rem;
    font-size: 0.9em;
}

.dynamic-row {
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    position: relative;
    transition: border-color var(--transition-fast);
}

.dynamic-row:hover {
    border-color: var(--border-color);
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    transition: var(--transition-fast);
    opacity: 0.6;
}

.remove-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

span.ar {
    font-family: var(--font-arabic);
    direction: rtl;
    unicode-bidi: isolate;
    display: inline-block;
}

h4 span.ar {
    color: var(--primary-color);
    font-size: 0.85em;
    font-weight: normal;
    margin-left: 10px;
}

label span.ar {
    color: rgba(48,42,31,0.52);
    font-size: 0.8em;
    margin-left: 5px;
}

/* ==== SKELETON LOADERS ==== */
.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: var(--radius-md);
    min-height: 220px;
}

.skeleton-line {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg,
        rgba(159,133,70,0.08) 25%,
        rgba(159,133,70,0.18) 50%,
        rgba(159,133,70,0.08) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 0.8rem;
}

.skeleton-line.short {
    width: 40%;
}

.skeleton-line.medium {
    width: 65%;
}

.skeleton-line.long {
    width: 90%;
}

.skeleton-line.full {
    width: 100%;
    height: 38px;
    margin-top: 1.2rem;
}

.skeleton-badge {
    width: 80px;
    height: 22px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg,
        rgba(159,133,70,0.08) 25%,
        rgba(159,133,70,0.18) 50%,
        rgba(159,133,70,0.08) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 0.8rem;
}

.skeleton-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skeleton-meta .skeleton-line {
    width: 80px;
    height: 12px;
    margin-bottom: 0;
}

/* ==== SCROLLBAR ==== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(159, 133, 70, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(159, 133, 70, 0.58);
}

/* ==== GALLERY SECTION ==== */
.gallery-section {
    padding: 6rem 5%;
    background: var(--bg-dark-2);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-spring);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2) 70%, transparent);
    color: #fff;
    transform: translateY(10px);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h4 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.gallery-caption p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
}

/* ==== INLINE VALIDATION ==== */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: var(--danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
    border-color: var(--success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--danger);
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* ==== DARK MODE TOGGLE ==== */
.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.dark-mode-toggle:hover {
    color: var(--primary-color);
}

/* ==== CURSOR GLOW (desktop only) ==== */
.cursor-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(159, 133, 70, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    will-change: left, top;
}

@media (max-width: 768px) {
    .cursor-glow { display: none; }
    .scroll-indicator { display: none; }
}

/* ==== ENHANCED BUTTON RIPPLE ==== */
.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* ==== STAGGER REVEAL DELAYS ==== */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ==== DARK MODE HERO ==== */
:root.dark-mode .hero .title {
    background: linear-gradient(135deg, #C9AD66, #E8D48B, #BDA05A, #F0DFA0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(159, 133, 70, 0.4));
}

:root.dark-mode .hero .description {
    color: #D4C9B0;
    text-shadow: none;
}

:root.dark-mode .hero-overlay {
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(12, 11, 9, 0.5) 40%,
        rgba(12, 11, 9, 0.92) 100%
    );
}

:root.dark-mode .navbar.scrolled {
    background: rgba(12, 11, 9, 0.94);
    border-bottom-color: rgba(159, 133, 70, 0.15);
}

:root.dark-mode .stats-section {
    background: linear-gradient(135deg, rgba(12,11,9,0.95), rgba(159,133,70,0.06), rgba(12,11,9,0.95));
}

:root.dark-mode .toast {
    background: rgba(22, 20, 18, 0.97);
}

:root.dark-mode .mobile-menu {
    background: rgba(16, 14, 12, 0.98);
}

:root.dark-mode input[type="text"],
:root.dark-mode input[type="email"],
:root.dark-mode input[type="tel"],
:root.dark-mode input[type="url"],
:root.dark-mode input[type="number"],
:root.dark-mode input[type="date"],
:root.dark-mode input[type="password"],
:root.dark-mode select,
:root.dark-mode textarea {
    background: rgba(26, 23, 18, 0.8);
}

:root.dark-mode input:focus,
:root.dark-mode select:focus,
:root.dark-mode textarea:focus {
    background: rgba(30, 26, 20, 1);
}
