/*
Theme Name: OjasQuest
Theme URI: https://ojasquest.com
Author: OjasQuest Engineering
Author URI: https://ojasquest.com
Description: Professional WordPress theme for OjasQuest - Deep engineering for industrial, embedded and digital systems. Features configurable UI themes, dynamic content management, and a modern responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ojasquest
Tags: custom-menu, custom-logo, featured-images, theme-options, translation-ready

OjasQuest - Engineering the software that runs the physical world.
*/

/* ==========================================================================
   CSS Custom Properties - Design Tokens (Defaults, overridden by theme options)
   ========================================================================== */
:root {
    /* Primary Colors */
    --oq-ink: #07151c;
    --oq-navy: #061520;
    --oq-steel: #0a2d3a;
    --oq-cyan: #2de0cf;
    --oq-lime: #d8f05b;
    --oq-paper: #ffffff;
    --oq-muted: #9db3bb;
    --oq-line: #d5dfdf;
    --oq-orange: #2de0cf;
    --oq-white: #ffffff;

    /* Dark Section Colors */
    --oq-dark-bg: #061520;
    --oq-dark-card: rgba(255, 255, 255, 0.04);
    --oq-dark-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --oq-font-primary: 'Inter', 'Segoe UI', Arial, sans-serif;
    --oq-font-mono: 'Courier New', monospace;
    --oq-font-size-base: 1rem;
    --oq-line-height: 1.55;
    --oq-letter-spacing-tight: -0.03em;
    --oq-letter-spacing-heading: -0.045em;

    /* Spacing */
    --oq-section-padding: 80px;
    --oq-container-max: 1240px;
    --oq-border-radius: 18px;
    --oq-border-radius-sm: 10px;
    --oq-border-radius-pill: 50px;

    /* Transitions */
    --oq-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --oq-transition-fast: all 0.15s ease;

    /* Shadows */
    --oq-shadow-card: 0 2px 16px rgba(7, 21, 28, 0.06);
    --oq-shadow-card-hover: 0 12px 32px rgba(7, 21, 28, 0.12);
    --oq-shadow-nav: 0 8px 32px rgba(6, 27, 39, 0.18);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--oq-font-primary);
    font-size: var(--oq-font-size-base);
    line-height: var(--oq-line-height);
    color: var(--oq-ink);
    background: var(--oq-paper);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--oq-transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: var(--oq-letter-spacing-tight);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: var(--oq-letter-spacing-heading);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
}

.eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--oq-cyan);
    margin-bottom: 0.75rem;
    display: block;
}

.mono-value {
    font-family: var(--oq-font-mono);
    font-weight: 700;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--oq-container-max);
    margin: 0 auto;
    padding: 0 28px;
    width: min(var(--oq-container-max, 1240px), calc(100% - 56px));
}

.section {
    padding: var(--oq-section-padding) 0;
}

.section--dark {
    background: var(--oq-navy);
    color: var(--oq-white);
}

.section--paper {
    background: var(--oq-paper);
}

.grid {
    display: grid;
    gap: 24px;
}

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

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--oq-border-radius-pill);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--oq-transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--oq-orange);
    color: var(--oq-white);
}

.btn--primary:hover {
    background: #d68a2f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 155, 60, 0.3);
}

.btn--outline {
    border: 1.5px solid var(--oq-line);
    color: var(--oq-ink);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--oq-cyan);
    color: var(--oq-cyan);
    transform: translateY(-2px);
}

.btn--outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: var(--oq-white);
    background: transparent;
}

.btn--outline-light:hover {
    border-color: var(--oq-cyan);
    color: var(--oq-cyan);
}

.btn--lime {
    background: var(--oq-ink);
    color: var(--oq-white);
}

.btn--lime:hover {
    background: var(--oq-steel);
    transform: translateY(-2px);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background: var(--oq-white);
    border: 1px solid var(--oq-line);
    border-radius: var(--oq-border-radius);
    padding: 32px;
    transition: var(--oq-transition);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--oq-shadow-card-hover);
    border-color: var(--oq-cyan);
}

.card__eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--oq-cyan);
    margin-bottom: 12px;
}

.card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card__description {
    color: var(--oq-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card__arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--oq-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--oq-transition);
}

.card:hover .card__arrow {
    border-color: var(--oq-cyan);
    color: var(--oq-cyan);
    transform: rotate(-45deg);
}

/* Dark card variant */
.card--dark {
    background: var(--oq-dark-card);
    border-color: var(--oq-dark-border);
    color: var(--oq-white);
}

.card--dark:hover {
    border-color: var(--oq-cyan);
    background: rgba(45, 224, 207, 0.04);
}

.card--dark .card__description {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Chips / Tags
   ========================================================================== */
.chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--oq-border-radius-pill);
    border: 1px solid var(--oq-line);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--oq-steel);
    transition: var(--oq-transition);
}

.chip:hover {
    border-color: var(--oq-cyan);
    color: var(--oq-cyan);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero {
    background: linear-gradient(125deg, var(--oq-navy) 0%, var(--oq-steel) 55%, #0d3d4a 100%);
    color: var(--oq-white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 224, 207, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 52% 48%;
    gap: 48px;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--oq-cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--oq-cyan);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero__stat strong {
    color: var(--oq-white);
    font-weight: 600;
}

/* Page Hero (interior pages) */
.page-hero {
    background:
        linear-gradient(125deg, var(--oq-navy) 0%, var(--oq-steel) 55%, #0d3d4a 100%),
        url('/wp-content/themes/ojasquest/assets/image/5.jpg') center/cover no-repeat;
    color: var(--oq-white);
    padding: 140px 0 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(45, 224, 207, 0.06) 0%, transparent 70%);
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.page-hero h1 {
    margin-bottom: 16px;
    position: relative;
}

.page-hero__description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 0 32px;
    line-height: 1.65;
}

.page-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Center-aligned page hero variant */
.page-hero--center {
    text-align: center !important;
}

.page-hero--center .page-hero__description {
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-hero--center .page-hero__actions {
    justify-content: center !important;
}

.page-hero__actions .btn--outline-light {
    background: transparent !important;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    font-weight: 600;
}

.page-hero__actions .btn--outline-light:hover {
    border-color: var(--oq-cyan) !important;
    color: var(--oq-cyan) !important;
    background: transparent !important;
}

.page-hero__actions .btn--primary {
    background: var(--oq-cyan);
    color: var(--oq-navy);
}

.page-hero__actions .btn--primary:hover {
    background: #26c9ba;
    color: var(--oq-navy);
    box-shadow: 0 8px 24px rgba(45, 224, 207, 0.3);
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-strip {
    background: var(--oq-ink);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip__inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-strip__item {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-strip__item::before {
    content: '✓';
    color: var(--oq-cyan);
    font-weight: 700;
}

/* ==========================================================================
   CTA Band (Lime)
   ========================================================================== */
.cta-band {
    background: linear-gradient(100deg, var(--oq-lime), #bce85f);
    padding: 60px 0;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--oq-ink);
}

.cta-band p {
    color: var(--oq-steel);
    margin-bottom: 0;
}

.cta-band__eyebrow {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--oq-steel);
    margin-bottom: 8px;
}

.btn--dark {
    background: var(--oq-ink);
    color: var(--oq-white);
    border-radius: 6px;
    padding: 14px 24px;
    font-weight: 600;
}

.btn--dark:hover {
    background: var(--oq-steel);
    transform: translateY(-2px);
}

/* ==========================================================================
   Side Navigation (Services/Products Pages)
   ========================================================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: var(--oq-section-padding) 0;
}

.side-nav {
    position: sticky;
    top: 100px;
    align-self: start;
}

.side-nav__list {
    border-left: 2px solid var(--oq-line);
}

.side-nav__item {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--oq-muted);
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: var(--oq-transition);
}

.side-nav__item:hover,
.side-nav__item.active {
    color: var(--oq-cyan);
    border-left-color: var(--oq-cyan);
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.content-section {
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--oq-line);
}

.content-section:last-child {
    border-bottom: none;
}

.content-section__eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--oq-cyan);
    margin-bottom: 12px;
}

.content-section h2 {
    margin-bottom: 16px;
}

.content-section__body {
    color: var(--oq-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    padding: var(--oq-section-padding) 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--oq-ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--oq-line);
    border-radius: var(--oq-border-radius-sm);
    font-family: var(--oq-font-primary);
    font-size: 0.95rem;
    transition: var(--oq-transition);
    background: var(--oq-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--oq-cyan);
    box-shadow: 0 0 0 3px rgba(45, 224, 207, 0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ==========================================================================
   Tabs
   ========================================================================== */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: var(--oq-border-radius-pill);
    border: 1px solid var(--oq-line);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--oq-muted);
    transition: var(--oq-transition);
}

.tab-btn:hover {
    border-color: var(--oq-cyan);
    color: var(--oq-cyan);
}

.tab-btn.active {
    background: var(--oq-ink);
    color: var(--oq-white);
    border-color: var(--oq-ink);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ==========================================================================
   Resource Cards
   ========================================================================== */
.resource-card {
    background: var(--oq-white);
    border: 1px solid var(--oq-line);
    border-radius: var(--oq-border-radius);
    padding: 28px;
    transition: var(--oq-transition);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--oq-shadow-card-hover);
    border-color: var(--oq-cyan);
}

.resource-card__icon {
    width: 44px;
    height: 44px;
    background: var(--oq-paper);
    border-radius: var(--oq-border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.resource-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.resource-card__meta {
    font-size: 0.82rem;
    color: var(--oq-muted);
    margin-bottom: 12px;
}

.resource-card__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--oq-border-radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
}

.resource-card__badge--access {
    background: rgba(232, 155, 60, 0.12);
    color: var(--oq-orange);
}

.resource-card__badge--free {
    background: rgba(45, 224, 207, 0.12);
    color: #1ab5a6;
}

/* ==========================================================================
   Team Grid
   ========================================================================== */
.team-card {
    text-align: center;
    padding: 32px 20px;
}

.team-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--oq-steel), var(--oq-navy));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--oq-cyan);
}

.team-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.88rem;
    color: var(--oq-muted);
}

/* ==========================================================================
   Metric Cards
   ========================================================================== */
.metric-card {
    background: var(--oq-white);
    border: 1px solid var(--oq-line);
    border-radius: var(--oq-border-radius);
    padding: 24px;
    text-align: center;
}

.metric-card__value {
    font-family: var(--oq-font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--oq-cyan);
    margin-bottom: 8px;
}

.metric-card__label {
    font-size: 0.85rem;
    color: var(--oq-muted);
}

/* ==========================================================================
   Stats Band
   ========================================================================== */
.stats-band {
    background: var(--oq-navy);
    padding: 60px 0;
}

.stats-band__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-band__item h3 {
    font-family: var(--oq-font-mono);
    font-size: 1.8rem;
    color: var(--oq-cyan);
    margin-bottom: 8px;
}

.stats-band__item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

/* ==========================================================================
   Customer Journey
   ========================================================================== */
.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.journey-step {
    counter-increment: step;
    padding: 32px 24px;
    border-radius: var(--oq-border-radius);
    background: var(--oq-dark-card);
    border: 1px solid var(--oq-dark-border);
    position: relative;
}

.journey-step::before {
    content: '0' counter(step);
    font-family: var(--oq-font-mono);
    font-size: 0.8rem;
    color: var(--oq-cyan);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.journey-step h4 {
    margin-top: 12px;
    margin-bottom: 10px;
    color: var(--oq-white);
}

.journey-step p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
}

/* ==========================================================================
   Search Overlay
   ========================================================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 39, 0.95);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--oq-transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay__inner {
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
}

.search-overlay__input {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--oq-border-radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--oq-white);
    font-size: 1.1rem;
    font-family: var(--oq-font-primary);
    outline: none;
    transition: var(--oq-transition);
}

.search-overlay__input:focus {
    border-color: var(--oq-cyan);
}

.search-overlay__suggestions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-overlay__suggestion {
    padding: 8px 16px;
    border-radius: var(--oq-border-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--oq-transition);
}

.search-overlay__suggestion:hover {
    border-color: var(--oq-cyan);
    color: var(--oq-cyan);
}

.search-overlay__close {
    position: absolute;
    top: 32px;
    right: 32px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.wp-block-image img {
    border-radius: var(--oq-border-radius-sm);
}

.alignwide {
    max-width: calc(var(--oq-container-max) + 100px);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.section__header--center {
    text-align: center;
    margin-bottom: 48px;
}

/* Focus visible indicators (accessibility) */
:focus-visible {
    outline: 2px solid var(--oq-cyan);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--oq-cyan);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(45, 224, 207, 0.2);
}

.site-nav__list > li > a:focus-visible {
    outline: 2px solid var(--oq-cyan);
    outline-offset: 2px;
    border-radius: 4px;
}

.search-overlay__close:focus-visible {
    outline: 2px solid var(--oq-cyan);
    outline-offset: 4px;
}

.side-nav__item:focus-visible {
    outline: 2px solid var(--oq-cyan);
    outline-offset: 2px;
}

.tab-btn:focus-visible {
    outline: 2px solid var(--oq-cyan);
    outline-offset: 2px;
}

/* Honeypot field (hidden from users, visible to bots) */
.oq-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ==========================================================================
   Responsive Design
   All responsive rules are in assets/css/responsive.css
   (loaded separately for better caching and maintainability)
   ========================================================================== */


/* ==========================================================================
   Resources Page - Tabs & Cards
   ========================================================================== */

.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 99px;
    border: 1px solid #d5dfdf;
    background: transparent;
    color: #64777d;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: #0a1e2e;
    color: #fff;
    border-color: #0a1e2e;
}

.tab-btn:hover:not(.active) {
    border-color: #0a1e2e;
    color: #0a1e2e;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

@media (max-width: 920px) {
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .grid--3 {
        grid-template-columns: 1fr;
    }
}

.resource-card {
    background: #fff;
    border: 1px solid #d5dfdf;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: var(--oq-cyan, #2de0cf);
}

.resource-card__icon {
    width: 48px;
    height: 48px;
    background: #f4f7f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.resource-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b1c24;
    line-height: 1.3;
    margin: 0 0 12px;
}

.resource-card__meta {
    color: #64777d;
    font-size: 0.9rem;
    margin: 0 0 24px;
}

.resource-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: auto;
}

.resource-card__badge--access {
    background: #fef4e6;
    color: #b8760a;
}

.resource-card__badge--free {
    background: #e7f0ef;
    color: #087b73;
}
