/* ============================================================
   Clever IT — Shared Stylesheet
   Extracted from inline <style> blocks in all pages.
   ============================================================ */

/* Design Tokens */
:root {
    --bg-base: #0b0f19;
    --bg-surface: #111827;
    --bg-card: #1f2937;
    --border-color: #374151;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-cyan: #06b6d4;
    --accent-cyan-hover: #0891b2;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Centered Header & Branding */
#header {
    background: radial-gradient(circle at top, #1e293b 0%, #0b0f19 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 20px 35px 20px;
    text-align: center;
}

.header_inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo_wrap img {
    max-width: 280px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.header_text h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.8px;
    color: #ffffff;
    margin-bottom: 8px;
}

.header_text h2 {
    font-size: 16px;
    font-weight: 400;
    color: var(--accent-cyan);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

/* Centered Navigation */
.nav_wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav_menu {
    display: inline-flex;
    list-style: none;
    background-color: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(8px);
    padding: 6px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    gap: 8px;
}

.nav_menu li a {
    display: block;
    padding: 8px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.nav_menu li.current-menu-item a,
.nav_menu li a:hover {
    background-color: var(--accent-cyan);
    color: #0b0f19;
    font-weight: 600;
}

/* Main Content — Lead Container */
.lead_container {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px auto;
}

.lead_title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.lead_desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Shared Card Styles (Services & Technologies) */
.card_img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.card_content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card_tag {
    align-self: flex-start;
    background-color: rgba(6, 182, 212, 0.12);
    color: var(--accent-cyan);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.card_title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.card_text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
#footer {
    background-color: #070a10;
    border-top: 1px solid var(--border-color);
    padding: 50px 20px 30px 20px;
    text-align: center;
    font-size: 14px;
}

.footer_inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer_title {
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer_contacts {
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.footer_contacts strong {
    color: var(--text-main);
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid #1f2937;
    color: #4b5563;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 640px) {
    .header_text h1 { font-size: 24px; }
    .header_text h2 { font-size: 14px; }
    .lead_title { font-size: 20px; }
    .nav_menu { width: 100%; justify-content: space-around; }
    .nav_menu li a { padding: 8px 14px; font-size: 13px; }
}

/* ============================================================
   Page: News
   ============================================================ */

body.page-news #main {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

body.page-news .lead_container {
    margin: 0 auto 40px auto;
}

body.page-news .lead_title {
    margin-bottom: 12px;
}

.article_card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 36px 32px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.article_tag {
    display: inline-block;
    background-color: rgba(6, 182, 212, 0.12);
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.article_heading {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article_body p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.article_body p strong {
    color: #ffffff;
}

.article_body a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article_body a:hover {
    color: #ffffff;
}

/* Responsive Video Embed Container */
.video_wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-top: 25px;
    background-color: #000000;
}

.video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   Page: Services & Technologies — Main container
   ============================================================ */

body.page-services #main,
body.page-technologies #main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* ============================================================
   Page: Services
   ============================================================ */

/* Stat Metrics Bar */
.stats_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    text-align: center;
}

.stat_item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 16px;
}

.stat_number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 4px;
}

.stat_label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Practice Areas Grid */
.section_heading {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 35px;
    color: #ffffff;
}

.services_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service_card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service_card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

/* ============================================================
   Page: Technologies
   ============================================================ */

.tech_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.tech_card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tech_card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

/* ============================================================
   Responsive — Page-specific overrides
   ============================================================ */

@media (max-width: 640px) {
    .article_card { padding: 24px 18px; }
    .article_heading { font-size: 19px; }
}
