/**
 * Aiming Invest - Dedicated Styles for Internal Pages
 * High-Tech Glassmorphism, Bilingual Readiness, Fully Responsive
 */

/* ==================== INTERNAL PAGE HERO ==================== */
.page-hero {
    position: relative;
    padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px);
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(224, 169, 109, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #070B19 0%, #080D1D 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.page-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.page-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 780px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.page-breadcrumb a {
    color: var(--accent-cyan);
    transition: all 0.2s;
}

.page-breadcrumb a:hover {
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.page-breadcrumb span.sep {
    color: rgba(255, 255, 255, 0.2);
}

/* ==================== CONTENT CARDS & SECTIONS ==================== */
.internal-content-wrap {
    padding: clamp(50px, 8vw, 90px) 0;
}

.content-card {
    background: rgba(16, 26, 48, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    margin-bottom: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.content-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.content-card-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.content-card-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: #FFFFFF;
}

/* Grid Layouts */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin: 30px 0;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.feature-box {
    background: rgba(11, 19, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 26px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.feature-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== CORRIDORS & TIMELINE ==================== */
.corridor-row {
    background: rgba(11, 19, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transition: all 0.25s ease;
}

.corridor-row:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(16, 27, 50, 0.9);
}

.corridor-info h4 {
    font-size: 1.15rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.corridor-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.corridor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(224, 169, 109, 0.12);
    border: 1px solid rgba(224, 169, 109, 0.35);
    color: var(--accent-gold);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ==================== CONTACT DETAILS & GRID ==================== */
.contact-hub-card {
    background: rgba(16, 26, 48, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 20px;
}

.contact-hub-card h4 {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-size: 0.85rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-item-text span,
.contact-item-text a {
    color: #FFFFFF;
    font-size: 0.98rem;
    line-height: 1.5;
}

.contact-item-text a:hover {
    color: var(--accent-cyan);
}

/* ==================== EMBEDDED RFQ FORM ON CONTACT PAGE ==================== */
.internal-rfq-box {
    background: rgba(13, 22, 44, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.internal-rfq-box h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.internal-rfq-box p.rfq-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.form-group-custom {
    margin-bottom: 18px;
}

.form-group-custom label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 8px;
}

.form-group-custom input,
.form-group-custom select,
.form-group-custom textarea {
    width: 100%;
    background: rgba(6, 10, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    padding: 12px 16px;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.form-group-custom input:focus,
.form-group-custom select:focus,
.form-group-custom textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.25);
    outline: none;
    background: rgba(9, 15, 34, 0.95);
}

.form-group-custom select option {
    background: #080D1D;
    color: #FFFFFF;
}

/* ==================== GENERAL ARTICLE CONTENT ==================== */
.entry-content h2 {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin: 35px 0 16px;
}

.entry-content h3 {
    font-size: 1.4rem;
    color: #FFFFFF;
    margin: 28px 0 14px;
}

.entry-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content blockquote {
    border-left: 3px solid var(--accent-cyan);
    padding: 16px 24px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 0 14px 14px 0;
    margin: 25px 0;
    font-style: italic;
    color: #E2E8F0;
}

/* ==================== RTL (ARABIC) SUPPORT FOR INTERNAL PAGES ==================== */
body.rtl .page-hero-inner,
body.rtl .content-card,
body.rtl .feature-box,
body.rtl .contact-hub-card,
body.rtl .corridor-row,
body.rtl .internal-rfq-box {
    text-align: right;
}

body.rtl .page-badge {
    margin-left: auto;
    margin-right: 0;
}

body.rtl .page-breadcrumb {
    flex-direction: row;
}

body.rtl .content-card-header {
    flex-direction: row-reverse;
}

body.rtl .entry-content ul,
body.rtl .entry-content ol {
    margin: 0 24px 24px 0;
    padding-right: 18px;
    padding-left: 0;
}

body.rtl .entry-content blockquote {
    border-left: none;
    border-right: 3px solid var(--accent-cyan);
    border-radius: 14px 0 0 14px;
}

body.rtl .contact-item {
    flex-direction: row;
}

body.rtl .contact-item-icon {
    margin-left: 14px;
    margin-right: 0;
}

body.rtl .corridor-row {
    flex-direction: row-reverse;
}

body.rtl .corridor-info {
    text-align: right;
}

body.rtl .widefat th,
body.rtl .widefat td {
    text-align: right;
}

body.rtl .form-group-custom label,
body.rtl .form-group-custom input,
body.rtl .form-group-custom select,
body.rtl .form-group-custom textarea {
    text-align: right;
    direction: rtl;
}

body.rtl .form-group-custom select {
    background-position: left 16px center;
}

