/* =========================================================
QUANTEXDB AI
COMMON WEBSITE CSS
Compact Professional IT Company Design
========================================================= */

/* =========================================================

1. RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: "Segoe UI", Arial, Helvetica, sans-serif;
background: #F8FAFC;
color: #111827;
font-size: 14px;
line-height: 1.5;
}

a {
text-decoration: none;
color: inherit;
}

img {
max-width: 100%;
display: block;
}

button,
input,
select,
textarea {
font-family: inherit;
}

/* =========================================================
2. CONTAINER
========================================================= */

.container {
width: 92%;
max-width: 1180px;
margin: 0 auto;
}

/* =========================================================
3. HEADER
========================================================= */

.site-header {
background-color: #0B1220 !important;
color: #FFFFFF;
border-bottom: 1px solid #1E293B;
}

.navbar {
min-height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;
}

/* Logo */

.logo {
font-size: 20px;
font-weight: 800;
letter-spacing: -0.3px;
white-space: nowrap;
color: #FFFFFF;
}

.logo span {
color: #60A5FA;
}

/* Navigation */

nav {
margin-left: auto;
}

.nav-links {
list-style: none;
display: flex;
align-items: center;
gap: 22px;
}

.nav-links li {
list-style: none;
margin: 0;
padding: 0;
}

.nav-links a {
color: #CBD5E1;
font-size: 13px;
font-weight: 600;
padding: 5px 0;
transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
color: #FFFFFF;
}

/* Mobile menu */

.menu-button {
display: none;
background: transparent;
border: none;
color: #FFFFFF;
font-size: 22px;
cursor: pointer;
padding: 4px;
}

/* =========================================================
4. HERO
========================================================= */

.hero {
background: #FFFFFF;
padding: 42px 0 40px;
border-bottom: 1px solid #E2E8F0;
}

.hero-grid {
display: grid;
grid-template-columns: 1.15fr 0.85fr;
align-items: center;
gap: 42px;
}

.hero-content {
max-width: 650px;
}

.eyebrow {
color: #2563EB;
font-size: 11px;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 8px;
}

.hero h1 {
color: #111827;
font-size: 38px;
line-height: 1.12;
font-weight: 800;
letter-spacing: -0.8px;
margin-bottom: 12px;
}

.hero h1 span {
color: #2563EB;
}

.hero-text {
max-width: 580px;
color: #64748B;
font-size: 15px;
line-height: 1.6;
margin-bottom: 20px;
}

.hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 9px;
}

/* =========================================================
5. BUTTONS
========================================================= */

.btn {
min-height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 17px;
border-radius: 5px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition:
background 0.2s ease,
border-color 0.2s ease,
color 0.2s ease;
}

.btn-primary {
background: #2563EB;
color: #FFFFFF;
border: 1px solid #2563EB;
}

.btn-primary:hover {
background: #1D4ED8;
border-color: #1D4ED8;
}

.btn-secondary {
background: #FFFFFF;
color: #1E40AF;
border: 1px solid #CBD5E1;
}

.btn-secondary:hover {
background: #F1F5F9;
}

/* =========================================================
6. HERO PANEL
========================================================= */

.hero-panel {
background: #0B1220;
border: 1px solid #1E293B;
border-radius: 7px;
padding: 22px;
color: #FFFFFF;
}

.panel-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
padding-bottom: 14px;
margin-bottom: 14px;
border-bottom: 1px solid #334155;
font-size: 15px;
font-weight: 800;
}

.panel-title span {
color: #60A5FA;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.8px;
}

.panel-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 9px;
}

.panel-item {
background: #111827;
border: 1px solid #1E293B;
border-radius: 5px;
padding: 12px;
}

.panel-item strong {
display: block;
color: #FFFFFF;
font-size: 13px;
margin-bottom: 3px;
}

.panel-item small {
display: block;
color: #94A3B8;
font-size: 11px;
line-height: 1.4;
}

.panel-footer {
border-top: 1px solid #334155;
margin-top: 14px;
padding-top: 12px;
color: #94A3B8;
font-size: 11px;
}

/* =========================================================
7. COMMON SECTIONS
========================================================= */

.services-section,
.capabilities-section,
.service-details,
.section,
.content-section,
.legal-section {
padding: 30px 0;
}

.section-header {
margin: 0 0 16px 0;
padding: 0;
}

.section-label {
display: block;
color: #2563EB;
font-size: 11px;
line-height: 1.2;
font-weight: 700;
letter-spacing: 1px;
margin: 0 0 5px 0;
}

.section-header h2 {
color: #111827;
font-size: 23px;
line-height: 1.25;
font-weight: 800;
letter-spacing: -0.4px;
margin: 0 0 6px 0;
}

.section-header p {
max-width: 760px;
color: #64748B;
font-size: 14px;
line-height: 1.45;
margin: 0;
}

/* =========================================================
8. SERVICES
========================================================= */

.services-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}

.service-card {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 6px;
padding: 16px;
transition:
border-color 0.2s ease,
transform 0.2s ease,
box-shadow 0.2s ease;
}

.service-card:hover {
border-color: #BFDBFE;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(15, 23, 42, 0.06);
}

.service-number {
display: block;
color: #2563EB;
font-size: 10px;
font-weight: 700;
margin-bottom: 6px;
}

.service-card h3 {
color: #111827;
font-size: 16px;
line-height: 1.3;
font-weight: 700;
margin-bottom: 6px;
}

.service-card p {
color: #64748B;
font-size: 13px;
line-height: 1.5;
margin-bottom: 10px;
}

.service-link {
color: #2563EB;
font-size: 11px;
font-weight: 700;
}

/* =========================================================
9. TECHNOLOGY SECTION
========================================================= */

.technology-section {
background: #FFFFFF;
border-top: 1px solid #E2E8F0;
border-bottom: 1px solid #E2E8F0;
padding: 26px 0;
}

.technology-section .section-header {
margin-bottom: 14px;
}

.technology-row {
display: grid;
grid-template-columns: 170px 1fr;
align-items: start;
gap: 18px;
}

.technology-heading {
min-width: 0;
}

.technology-heading h3 {
color: #111827;
font-size: 16px;
line-height: 1.3;
margin: 0;
}

.technology-heading strong {
color: #111827;
font-size: 14px;
}

.technology-heading span {
display: block;
color: #2563EB;
font-size: 10px;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 3px;
}

.technology-list {
display: flex;
flex-wrap: wrap;
gap: 7px;
margin: 0;
padding: 0;
}

.technology-list span {
display: inline-block;
background: #F8FAFC;
border: 1px solid #E2E8F0;
border-radius: 4px;
padding: 6px 9px;
color: #475569;
font-size: 12px;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
}

/* =========================================================
10. CAPABILITIES
========================================================= */

.capabilities-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin: 0;
}

.capability {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 6px;
padding: 14px 15px;
color: #334155;
}

.capability > span {
display: inline-block;
color: #2563EB;
font-size: 11px;
font-weight: 700;
line-height: 1.2;
margin-bottom: 5px;
}

.capability h3 {
color: #111827;
font-size: 16px;
line-height: 1.3;
font-weight: 700;
margin: 0 0 5px 0;
}

.capability p {
color: #64748B;
font-size: 13px;
line-height: 1.45;
margin: 0;
}

/* =========================================================
11. INNER PAGE INTRO
========================================================= */

.page-intro {
background: #FFFFFF;
border-bottom: 1px solid #E2E8F0;
padding: 30px 0 24px;
}

.page-intro .section-label {
margin-bottom: 5px;
}

.page-intro h1 {
color: #111827;
font-size: 28px;
line-height: 1.25;
font-weight: 800;
margin: 0 0 7px 0;
}

.page-intro p {
max-width: 760px;
color: #64748B;
font-size: 14px;
line-height: 1.5;
margin: 0;
}

/* =========================================================
12. SERVICE / CONTENT CARDS
========================================================= */

.content-grid,
.service-detail-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin: 0;
}

.content-card,
.service-detail-card,
.legal-block {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 6px;
padding: 15px 16px;
margin: 0;
}

.service-detail-number {
display: inline-block;
color: #2563EB;
font-size: 11px;
font-weight: 700;
line-height: 1.2;
margin: 0;
}

.service-detail-card h2 {
color: #111827;
font-size: 17px;
line-height: 1.3;
font-weight: 700;
margin: 6px 0 5px 0;
}

.service-detail-card p {
color: #64748B;
font-size: 13px;
line-height: 1.45;
margin: 0;
}

/* =========================================================
13. ABOUT PAGE
========================================================= */

.about-content {
display: grid;
grid-template-columns: 1.7fr 1fr;
gap: 18px;
align-items: start;
padding: 0;
}

.about-text {
margin: 0;
padding: 0;
}

.about-text p {
color: #475569;
font-size: 14px;
line-height: 1.5;
margin: 0 0 9px 0;
}

.about-text p:last-child {
margin-bottom: 0;
}

.about-box {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 6px;
padding: 16px 18px;
margin: 0;
}

.about-box .section-label {
margin-bottom: 5px;
}

.about-box h3 {
color: #111827;
font-size: 19px;
line-height: 1.3;
margin: 0 0 5px 0;
}

.about-box p {
color: #64748B;
font-size: 13px;
line-height: 1.45;
margin: 0;
}

/* =========================================================
14. TRAINING SECTION
========================================================= */

.training-section {
background: #F1F5F9;
border-top: 1px solid #E2E8F0;
border-bottom: 1px solid #E2E8F0;
padding: 26px 0;
}

.training-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}

.training-row h2 {
color: #111827;
font-size: 21px;
line-height: 1.3;
font-weight: 800;
margin: 0 0 4px 0;
}

.training-row p {
color: #64748B;
font-size: 13px;
margin: 0;
}

/* =========================================================
15. CONTACT PAGE
========================================================= */

.contact-page {
padding: 28px 0;
}

.contact-grid {
display: grid;
grid-template-columns: 0.9fr 1.1fr;
gap: 18px;
align-items: start;
}

/* Contact information */

.contact-info {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 6px;
padding: 18px;
}

.contact-info h2 {
color: #111827;
font-size: 21px;
line-height: 1.3;
margin: 0 0 8px 0;
}

.contact-intro {
color: #64748B;
font-size: 13px;
line-height: 1.5;
margin: 0 0 17px 0;
}

.contact-item {
border-top: 1px solid #E2E8F0;
padding: 11px 0;
}

.contact-item strong {
display: block;
color: #111827;
font-size: 12px;
margin-bottom: 3px;
}

.contact-item p {
color: #64748B;
font-size: 13px;
line-height: 1.45;
margin: 0;
}

.contact-item a {
color: #2563EB;
}

.contact-whatsapp {
margin-top: 10px;
}

/* Contact form */

.contact-form-box {
background: #FFFFFF;
border: 1px solid #E2E8F0;
border-radius: 6px;
padding: 18px;
}

.contact-form-box h2 {
color: #111827;
font-size: 21px;
line-height: 1.3;
margin: 0 0 16px 0;
}

.form-group {
margin-bottom: 12px;
}

.form-group label {
display: block;
color: #334155;
font-size: 12px;
font-weight: 600;
margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
background: #FFFFFF;
border: 1px solid #CBD5E1;
border-radius: 4px;
color: #111827;
font-size: 13px;
padding: 9px 10px;
outline: none;
}

.form-group input,
.form-group select {
height: 38px;
}

.form-group textarea {
min-height: 110px;
resize: vertical;
line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: #2563EB;
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.contact-form-box .btn {
margin-top: 2px;
}

.form-message {
color: #15803D;
font-size: 12px;
margin-top: 9px;
}

/* =========================================================
16. CONTACT STRIP / CTA
========================================================= */

.contact-strip {
background: #EFF6FF;
border-top: 1px solid #DBEAFE;
border-bottom: 1px solid #DBEAFE;
padding: 24px 0;
}

.contact-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
}

.contact-row .section-label {
margin-bottom: 5px;
}

.contact-row h2 {
color: #111827;
font-size: 22px;
line-height: 1.3;
font-weight: 800;
margin: 0 0 5px 0;
}

.contact-row p {
color: #64748B;
font-size: 14px;
line-height: 1.45;
margin: 0;
}

/* =========================================================
17. FOOTER
SAME COLOR AS HEADER
========================================================= */

.site-footer,
footer {
background-color: #0B1220 !important;
color: #FFFFFF;
border-top: 1px solid #1E293B;
padding: 18px 0 12px;
}

.footer-row {
display: grid;
grid-template-columns: 1fr 2fr;
align-items: center;
gap: 20px;
}

.footer-brand {
min-width: 0;
}

.footer-logo {
display: inline-block;
color: #FFFFFF;
font-size: 16px;
font-weight: 800;
margin-bottom: 2px;
}

.footer-logo span {
color: #60A5FA;
}

.footer-brand p {
color: #94A3B8;
font-size: 10px;
margin: 0;
}

.footer-links {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 8px 13px;
}

.footer-links a {
color: #CBD5E1;
font-size: 10px;
font-weight: 600;
}

.footer-links a:hover {
color: #FFFFFF;
}

/* =========================================================
17A. FOOTER SOCIAL ICONS
========================================================= */

.footer-social {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
}

.footer-social a {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 30px;
padding: 4px 8px;
border: 1px solid #1E293B;
border-radius: 5px;
color: #CBD5E1;
font-size: 11px;
font-weight: 600;
transition:
color 0.2s ease,
border-color 0.2s ease,
background 0.2s ease;
}

.footer-social a:hover {
color: #FFFFFF;
border-color: #334155;
background: #111827;
}

.footer-icon {
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.footer-icon svg {
width: 20px;
height: 20px;
display: block;
}

.footer-social .whatsapp-icon svg,
.footer-social .instagram-icon svg {
width: 21px;
height: 21px;
}

/* =========================================================
17B. FOOTER BOTTOM
========================================================= */

.footer-bottom {
border-top: 1px solid #1E293B;
margin-top: 12px;
padding-top: 9px;
}

.footer-bottom p {
color: #64748B;
font-size: 10px;
margin: 0;
}

/* =========================================================
18. RESPONSIVE - TABLET
========================================================= */

@media (max-width: 950px) {

.hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
}

.hero-content {
    max-width: 800px;
}

.services-grid {
    grid-template-columns: repeat(2, 1fr);
}

.capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
}

.technology-row {
    grid-template-columns: 1fr;
    gap: 10px;
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
}

.footer-row {
    grid-template-columns: 1fr 1.5fr;
    gap: 15px;
}

.footer-links,
.footer-social {
    justify-content: flex-end;
}


}

/* =========================================================
19. RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 700px) {


.container {
    width: 94%;
}

/* Header */

.navbar {
    min-height: 60px;
}

.logo {
    font-size: 19px;
}

.menu-button {
    display: block;
}

nav {
    position: relative;
}

.nav-links {
    display: none;
    position: absolute;
    top: 38px;
    right: 0;
    width: 210px;
    background: #0B1220;
    border: 1px solid #1E293B;
    border-radius: 5px;
    padding: 8px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 1000;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid #1E293B;
}

.nav-links li:last-child a {
    border-bottom: none;
}

/* Hero */

.hero {
    padding: 32px 0;
}

.hero h1 {
    font-size: 30px;
    letter-spacing: -0.5px;
}

.hero-text {
    font-size: 14px;
    margin-bottom: 17px;
}

.hero-panel {
    padding: 18px;
}

/* Sections */

.services-section,
.capabilities-section,
.service-details,
.section,
.content-section,
.legal-section {
    padding: 24px 0;
}

.section-header {
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 21px;
}

.section-header p {
    max-width: 100%;
    font-size: 13px;
}

/* Cards */

.services-grid,
.capabilities-grid,
.content-grid,
.service-detail-grid {
    grid-template-columns: 1fr;
}

/* Inner page */

.page-intro {
    padding: 24px 0 20px;
}

.page-intro h1 {
    font-size: 24px;
}

/* About */

.about-content {
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Contact */

.contact-page {
    padding: 22px 0;
}

.contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.contact-info,
.contact-form-box {
    padding: 16px;
}

/* Technology */

.technology-section {
    padding: 22px 0;
}

.technology-row {
    grid-template-columns: 1fr;
    gap: 10px;
}

.technology-list {
    gap: 6px;
}

.technology-list span {
    font-size: 12px;
    padding: 5px 8px;
}

/* Training */

.training-section {
    padding: 22px 0;
}

.training-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* Contact strip */

.contact-strip {
    padding: 21px 0;
}

.contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.contact-row h2 {
    font-size: 20px;
}

/* Footer */

.site-footer {
    padding: 16px 0 11px;
}

.footer-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links,
.footer-social {
    justify-content: flex-start;
}

.footer-social {
    width: 100%;
    gap: 7px;
}

.footer-social a {
    min-height: 30px;
    padding: 4px 7px;
    font-size: 10px;
}

.footer-icon {
    width: 19px;
    height: 19px;
}

.footer-icon svg {
    width: 19px;
    height: 19px;
}

.footer-social .whatsapp-icon svg,
.footer-social .instagram-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    margin-top: 10px;
}


}
