/* International Aviation Solutions - Custom CSS (no Tailwind) */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ========== Variables ========== */
:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --navy-muted: #334155;
    --grey-metallic: #64748b;
    --grey-light: #94a3b8;
    --grey-bg: #f1f5f9;
    --white: #ffffff;
    --accent: #38bdf8;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --max-w-7xl: 80rem;
    --max-w-2xl: 42rem;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #334155;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    margin: 0 0 0.5em;
}

/* ========== Components ========== */
.glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
}
.glass-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow: 0 10px 40px rgba(15,23,42,0.08);
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #fff;
    background: var(--navy);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    background: var(--navy-light);
    box-shadow: 0 10px 25px rgba(15,23,42,0.2);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    background: rgba(255,255,255,0.9);
    border: 2px solid var(--navy);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
}
.section-head {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.section-sub {
    color: var(--grey-metallic);
    font-size: 1.125rem;
    margin-top: 0.5rem;
    max-width: var(--max-w-2xl);
}

/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148,163,184,0.35);
}

.site-header-inner {
    max-width: var(--max-w-7xl);
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.site-logo {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(248,250,252,0.7);
    background: #0f172a;
    box-shadow: 0 10px 25px rgba(15,23,42,0.4);
}

.site-brand-text-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e5e7eb;
    line-height: 1;
}

.site-brand-text-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
}

.site-nav {
    display: none;
}

.site-nav a {
    font-size: 0.9rem;
    color: #e5e7eb;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    background: rgba(148,163,184,0.25);
    color: #fff;
}

.site-cta {
    display: none;
}

.site-cta a {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(248,250,252,0.7);
    color: #e5e7eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.site-cta a:hover {
    background: #f97316;
    border-color: #fed7aa;
    color: #0f172a;
}

.site-menu-toggle {
    border: none;
    background: transparent;
    color: #e5e7eb;
    padding: 0.35rem;
    border-radius: 999px;
}

.site-menu-toggle:hover {
    background: rgba(148,163,184,0.25);
}

/* Ensure mobile menu icon is visible */
.site-menu-toggle svg {
    width: 24px;
    height: 24px;
}
.hero-bg {
    /* Deep navy base with subtle crimson tint */
    background:
        radial-gradient(circle at top right, rgba(248,113,113,0.22), transparent 55%),
        radial-gradient(circle at bottom left, rgba(248,113,113,0.16), transparent 60%),
        #020617;
}
.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(239,68,68,0.35) 0%, transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(251,146,60,0.28) 0%, transparent 50%);
}

/* Fixed header logo size */
.header-logo-150 {
    width: 150px;
    height: 150px;
}

/* Colorful services background */
.services-section {
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(251,113,133,0.16), transparent 55%),
        var(--grey-bg);
}

.services-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15,23,42,0.02), rgba(15,23,42,0.06));
    border-top: 3px solid rgba(56,189,248,0.7);
}

.services-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0 0, rgba(56,189,248,0.18), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transform: translate3d(-10px, -10px, 0);
}

.services-card:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Colorful industries pills */
.industries-pill {
    background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(251,113,133,0.12));
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
}

/* ========== Layout ========== */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-20 { top: 5rem; }
.right-4 { right: 1rem; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Sizing */
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.max-w-7xl { max-width: var(--max-w-7xl); }
.max-w-2xl { max-width: var(--max-w-2xl); }
.max-w-3xl { max-width: 48rem; }
.max-w-lg { max-width: 32rem; }

/* Spacing */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Flex/Grid alignment */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Typography */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* Colors */
.text-white { color: #fff; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-\[var\(--grey-bg\)\] { background-color: var(--grey-bg); }
.bg-\[var\(--navy\)\] { background-color: var(--navy); }
.bg-\[var\(--navy\)\]\/10 { background-color: rgba(15,23,42,0.1); }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-100 { border-color: #f1f5f9; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-2 { border-width: 2px; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.07); }
.opacity-20 { opacity: 0.2; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.transition { transition: all 0.2s; }
.transition-all { transition: all 0.3s; }
.duration-300 { transition-duration: 0.3s; }
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; border-color: #e2e8f0; }

/* Form inputs */
input[type="text"], input[type="email"], input[type="number"], input[type="file"], textarea, select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 2px rgba(15,23,42,0.2);
}
label { display: block; }

/* Prose (simple) */
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose ul { padding-left: 1.5rem; margin: 0 0 1em; }

/* Hover / Group */
.hover\:text-white:hover { color: #fff; }
.hover\:bg-white\/10:hover { background: rgba(255,255,255,0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-hover\:bg-\[var\(--navy\)\] { background: var(--navy); }
.group:hover .group-hover\:text-white { color: #fff; }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }

/* Button overrides (for hero CTA) */
.btn-secondary.text-white.border-white.bg-transparent { background: transparent; color: #fff; border-color: #fff; }
.btn-secondary.text-white.border-white.bg-transparent:hover { background: #fff; color: var(--navy); }

/* ========== Responsive ========== */
@media (min-width: 640px) {
    .sm\:inline { display: inline; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:max-w-md { max-width: 28rem; }
    .sm\:rounded-lg { border-radius: 0.5rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .text-5xl { font-size: 3rem; }
}
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none !important; }
    .md\:h-20 { height: 5rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:text-2xl { font-size: 1.5rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .py-16.md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .text-6xl { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:gap-12 { gap: 3rem; }
    .text-7xl { font-size: 4.5rem; }
}

/* ========== Min height hero ========== */
.min-h-\[85vh\] { min-height: 85vh; }

/* ========== Table (admin) ========== */
table { width: 100%; border-collapse: collapse; }
thead th { text-align: left; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; color: #475569; background: #f8fafc; }
tbody td { padding: 1rem 1.5rem; border-bottom: 1px solid #e2e8f0; }
tbody tr:last-child td { border-bottom: 0; }

/* ========== Pagination ========== */
nav[aria-label="Pagination"] { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
nav[aria-label="Pagination"] a, nav[aria-label="Pagination"] span { padding: 0.5rem 0.75rem; border-radius: 0.25rem; }
nav[aria-label="Pagination"] a { color: var(--navy); text-decoration: none; }
nav[aria-label="Pagination"] a:hover { background: #f1f5f9; }
nav[aria-label="Pagination"] span { color: #64748b; }

/* ========== Alert animation ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.3s ease-out; }

/* ========== Aspect ratio ========== */
.aspect-video { aspect-ratio: 16/9; }
.aspect-video img { width: 100%; height: 100%; display: block; }
