/* ==========================================================================
   F8 AGENCY — MASTER STYLESHEET
   Aesthetic: Luxury High-End Monochrome (Black & White, Editorial, Sleek)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Syne:wght@500;600;700;800&display=swap');

:root {
    --bg-primary: #08080a;
    --bg-secondary: #0f0f12;
    --bg-tertiary: #16161a;
    --bg-card: rgba(22, 22, 26, 0.7);
    --bg-card-hover: rgba(30, 30, 36, 0.9);
    --bg-glass: rgba(10, 10, 12, 0.75);
    
    --text-primary: #ffffff;
    --text-secondary: #e2e2e8;
    --text-muted: #8e8e99;
    --text-dim: #5c5c66;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.16);
    --border-bright: rgba(255, 255, 255, 0.35);

    --accent-white: #ffffff;
    --accent-silver: #d4d4d8;
    --accent-dark: #000000;
    --accent-glow: rgba(255, 255, 255, 0.12);

    --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.08);
    --shadow-elevated: 0 20px 40px -15px rgba(0, 0, 0, 0.8);

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light mode override support if toggled or needed */
[data-theme="light"] {
    --bg-primary: #f8f8fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f0f4;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(248, 248, 250, 0.85);
    --text-primary: #0a0a0c;
    --text-secondary: #27272e;
    --text-muted: #5c5c68;
    --text-dim: #8e8e99;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.16);
    --border-bright: rgba(0, 0, 0, 0.4);
    --accent-dark: #ffffff;
    --accent-glow: rgba(0, 0, 0, 0.08);
}

/* Base & Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Background Ambient Lighting */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1400px;
    height: 600px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

p.lead {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 1;
}

.container-narrow {
    max-width: 960px;
}

.container-fluid {
    max-width: 1440px;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #ffffff !important; }
.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #8e8e99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mono-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.mono-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-white);
    color: #000000 !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background-color: #e5e5ea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-bright);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
}

.btn-sm {
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Header & Navigation */
.header-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.header-glass.scrolled {
    background: rgba(8, 8, 10, 0.95);
    border-bottom-color: var(--border-medium);
    box-shadow: var(--shadow-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    width: 100%;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
}

.brand-logo .aperture-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: -0.05em;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color var(--transition-fast);
}

.nav-caret {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* Nav Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: -1rem;
    width: 250px;
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    list-style: none;
    z-index: 100;
}

.dropdown-menu-wide {
    width: 280px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(4px);
}

.dropdown-item:hover i {
    color: #ffffff;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 0.4rem 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: all var(--transition-fast);
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-bright);
}

.mobile-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active .bar1 {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar2 {
    opacity: 0;
}

.mobile-toggle.active .bar3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer & Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #0a0a0d;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
    border-left: 1px solid var(--border-medium);
}

.mobile-drawer.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
    background: #ffffff;
    color: #000000;
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mobile-nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-nav-links > li > a:hover, .mobile-nav-links > li > a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding-left: 0.85rem;
}

.mobile-nav-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin: 0.4rem 0;
}

.mobile-group-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.mobile-sublinks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-sublinks a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-sublinks a i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.mobile-sublinks a:hover, .mobile-sublinks a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    padding-left: 0.75rem;
}

.mobile-sublinks a:hover i, .mobile-sublinks a.active i {
    color: #ffffff;
}

.mobile-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: #08080a;
}

/* Section Spacing */
.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-sm {
    padding: 4rem 0;
}

.section-lg {
    padding: 8.5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 92vh;
    padding-top: 130px;
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.08;
}

.hero-title .highlight {
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.stat-item .stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 520px;
}

.hero-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: grayscale(100%) contrast(110%);
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--border-medium);
    transition: filter var(--transition-smooth);
}

.hero-img-main:hover {
    filter: grayscale(40%) contrast(115%);
}

.hero-img-float {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 55%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    filter: grayscale(100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    border: 2px solid #ffffff;
    z-index: 2;
    transition: all var(--transition-smooth);
}

.hero-img-float:hover {
    filter: grayscale(0%);
    transform: translateY(-5px);
}

.hero-floating-card {
    position: absolute;
    top: 25px;
    left: -20px;
    background: rgba(18, 18, 22, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-elevated);
}

.hero-floating-card .icon-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Cards & Glass Containers */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-bright);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.card-title {
    margin-bottom: 0.85rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

/* Career Track Cards */
.career-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-medium);
    background: linear-gradient(180deg, rgba(25, 25, 30, 0.6) 0%, rgba(14, 14, 18, 0.9) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-smooth);
}

.career-card.featured {
    border-color: #ffffff;
    background: linear-gradient(180deg, rgba(35, 35, 42, 0.8) 0%, rgba(18, 18, 22, 0.95) 100%);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.08);
}

.career-card.featured::before {
    content: 'POPULAR CHOICE';
    position: absolute;
    top: -12px;
    right: 25px;
    background: #ffffff;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.career-card:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
}

.career-features-list {
    list-style: none;
    margin: 1.8rem 0 2.2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.career-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.career-features-list li svg, .career-features-list li i {
    flex-shrink: 0;
    margin-top: 4px;
    color: #ffffff;
}

/* Tourism Showcase Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    group: cursor-pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    filter: grayscale(0%) scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(10px);
    transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-silver);
    margin-bottom: 0.35rem;
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

/* Steps / How It Works */
.steps-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: all var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--border-bright);
    transform: translateX(8px);
    background: var(--bg-card-hover);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

/* Sponsorship Banner (Foap) */
.sponsorship-banner {
    background: linear-gradient(90deg, #111114 0%, #1a1a20 50%, #111114 100%);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
}

.foap-logo-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

/* FAQ Accordion */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item.active {
    border-color: var(--border-bright);
    background: var(--bg-card-hover);
}

.faq-question {
    padding: 1.35rem 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    user-select: none;
}

.faq-question .icon {
    font-size: 1.25rem;
    transition: transform var(--transition-smooth);
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 1.75rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

/* Forms & Application Controls */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-elevated);
    backdrop-filter: blur(20px);
}

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

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: #ffffff;
    opacity: 0.7;
}

.form-control, .form-select, textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: rgba(8, 8, 10, 0.7);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus, textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    background: rgba(18, 18, 22, 0.9);
}

.form-select option {
    background: #121216;
    color: #ffffff;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #ffffff;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Alert Notification Boxes */
.alert {
    padding: 1.1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.alert-success {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    color: #ffffff;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.alert-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
}

/* Policy Highlight Boxes */
.policy-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #ffffff;
    padding: 1.5rem 1.8rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
}

/* Footer */
.footer {
    background: #040405;
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 2rem 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 320px;
    margin-top: 1rem;
}

.footer-col-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 1.4rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #08080a;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

/* ==========================================================================
   Trustpilot Reviews Section
   ========================================================================== */
.trustpilot-badge-header {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
    justify-content: center;
    backdrop-filter: blur(12px);
}

.tp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.tp-brand i {
    color: #00b67a;
    font-size: 1.25rem;
}

.tp-stars-container {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.tp-star-box {
    width: 22px;
    height: 22px;
    background: #00b67a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 11px;
    border-radius: 2px;
}

.tp-score-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.tp-score-text strong {
    color: #ffffff;
    font-weight: 700;
}

.trustpilot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.trustpilot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-smooth);
    position: relative;
    backdrop-filter: blur(12px);
}

.trustpilot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 182, 122, 0.4);
    box-shadow: 0 15px 35px rgba(0, 182, 122, 0.08);
}

.tp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.tp-card-stars {
    display: flex;
    gap: 3px;
}

.tp-card-date {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.tp-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    font-family: var(--font-body);
}

.tp-card-body {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tp-card-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.tp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27272e 0%, #16161a 100%);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    flex-shrink: 0;
}

.tp-author-info {
    display: flex;
    flex-direction: column;
}

.tp-author-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tp-verified-badge {
    color: #00b67a;
    font-size: 0.8rem;
}

.tp-author-role {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-image-stack {
        height: 380px;
    }
    .hero-floating-card {
        left: 0;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .trustpilot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu, .nav-actions {
        display: none !important;
    }
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-left: auto;
        flex-shrink: 0;
    }
    .brand-logo {
        font-size: 1.15rem;
        gap: 0.5rem;
    }
    .brand-name {
        font-size: 1.15rem;
    }
    .brand-logo .aperture-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .section {
        padding: 4.5rem 0;
    }
    .hero {
        padding-top: 100px;
        padding-bottom: 3.5rem;
        min-height: auto;
    }
    .hero-title {
        font-size: clamp(1.85rem, 7.5vw, 2.75rem);
        line-height: 1.15;
        margin-bottom: 1.15rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    .hero-cta-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
        margin-bottom: 2rem;
    }
    .hero-cta-group .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }
    .hero-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding-top: 1.5rem;
    }
    .stat-item .stat-num {
        font-size: 1.45rem;
    }
    .stat-item .stat-label {
        font-size: 0.75rem;
    }
    .hero-image-stack {
        height: 320px;
    }
    .hero-img-main {
        height: 290px;
        width: 85%;
    }
    .hero-img-float {
        height: 170px;
        width: 55%;
        bottom: 10px;
    }
    .hero-floating-card {
        left: 0;
        top: 10px;
        padding: 0.65rem 0.9rem;
        gap: 0.65rem;
        max-width: 90%;
    }
    .hero-floating-card .icon-box {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
    .grid-2, .grid-3, .grid-4, .trustpilot-grid {
        grid-template-columns: 1fr;
    }
    .step-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .nav-container {
        height: 64px;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .brand-logo {
        font-size: 1rem;
        gap: 0.45rem;
    }
    .brand-name {
        font-size: 1rem;
    }
    .brand-logo .aperture-icon {
        width: 28px;
        height: 28px;
        font-size: 8px;
    }
    .mobile-toggle {
        width: 38px;
        height: 38px;
    }
    .hero {
        padding-top: 86px;
        padding-bottom: 2.75rem;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.15;
    }
    .hero-subtitle {
        font-size: 0.98rem;
    }
    .mono-badge {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
        padding: 0.35rem 0.75rem;
    }
    .hero-stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    .stat-item {
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
    }
    .stat-item .stat-num {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    .stat-item .stat-label {
        font-size: 0.82rem;
    }
    .hero-image-stack {
        height: 270px;
    }
    .hero-img-main {
        height: 240px;
        width: 88%;
    }
    .hero-img-float {
        height: 140px;
        width: 58%;
    }
    .trustpilot-badge-header {
        padding: 0.65rem 1rem;
        gap: 0.65rem;
        font-size: 0.85rem;
    }
    .tp-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-br {
        display: none;
    }
    .hero-title {
        font-size: clamp(1.85rem, 7.2vw, 2.15rem);
    }
    .hero-floating-card {
        padding: 0.5rem 0.75rem;
    }
    .hero-floating-card .icon-box {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}


