@import url('https://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&subset=latin%2Clatin-ext');

:root {
  --accent:      #3452ff;
  --blue:        #3498db;
  --blue-dark:   #2176ae;
  --text:        #676767;
  --heading:     #444;
  --dark:        #2c3e50;
  --white:       #ffffff;
  --light-bg:    #f5f7fa;
  --border:      #e8ecef;
  --card-shadow: 0 5px 15px rgba(44,62,80,0.08);
  --bg-img:      url('uploads/2017/01/background_website_final.jpg');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background-image: var(--bg-img);
  background-size: cover;
  background-attachment: fixed;
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  color: var(--text);
  background-color: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--blue); }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--heading);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}
h1 { font-size: 54px; line-height: 62px; margin-bottom: 7px; }
h2 { font-size: 34px; line-height: 44px; margin-bottom: 7px; }
h3 { font-size: 22px; line-height: 34px; margin-bottom: 7px; }
h4 { font-size: 18px; line-height: 32px; margin-bottom: 7px; }
h5 { font-size: 16px; line-height: 26px; margin-bottom: 7px; }
p  { color: var(--text); padding-bottom: 1.5em; }
p:last-child { padding-bottom: 0; }
em { font-style: italic; }
strong { font-weight: 600; }

/* ── NAV ─────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 9999;
  background: #6c6565;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 2rem; height: 86px;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-menu {
  display: flex; list-style: none;
  margin-left: auto; gap: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 0 10px; height: 86px;
  line-height: 86px; color: #fff;
  font-size: 14px; font-weight: 400;
  transition: color 0.2s; white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--blue); }

.nav-menu li:hover > .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-top: 2px solid var(--accent); z-index: 200;
}
.dropdown li { position: relative; }
.dropdown a {
  display: block; padding: 10px 18px;
  color: var(--text); font-size: 12px; line-height: 13px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--accent); color: #fff; }
.sub-dropdown {
  display: none; position: absolute; top: 0; left: 100%;
  background: #fff; border-top: 2px solid var(--accent);
  min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.dropdown li:hover > .sub-dropdown { display: block; }

.nav-toggle {
  display: none; cursor: pointer;
  flex-direction: column; gap: 5px;
  margin-left: auto; padding: 4px;
  background: none; border: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; flex-direction: column;
    position: absolute; top: 86px; left: 0; right: 0;
    background: #2c2c2c; border-top: 2px solid var(--accent);
    padding: 0.5rem 0; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { height: auto; line-height: 1.4; padding: 0.75rem 1.5rem; }
  .dropdown { position: static; box-shadow: none; border-top: none; display: none; background: var(--light-bg); }
  .dropdown.open { display: block; }
  .sub-dropdown { position: static; box-shadow: none; display: none; background: #eef0ff; padding-left: 1rem; }
  .sub-dropdown.open { display: block; }
  .dropdown a { padding-left: 2.5rem; }
}

/* ── BREADCRUMB ──────────────────────────────── */
.breadcrumb {
  background: rgba(255,255,255,0.88);
  padding: 0.7rem 2rem;
  font-size: 13px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; color: #aaa; }

/* ── HERO ────────────────────────────────────── */
.hero {
  padding: 5rem 2rem 4rem;
  background-image: var(--bg-img);
  background-size: cover; background-attachment: fixed;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(44,62,80,0.6);
}
.hero-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); margin-bottom: 1rem;
}
.hero h1 { color: #fff; font-size: clamp(2rem,5vw,54px); line-height: 1.1; margin-bottom: 1rem; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 600px; margin-bottom: 2rem; padding-bottom:0; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-block; padding: 1rem 2rem;
  border-radius: 8px; font-weight: 600; font-size: 1rem;
  text-align: center; cursor: pointer;
  transition: all 0.3s; border: 2px solid transparent;
  font-family: 'Open Sans', sans-serif; line-height: 1;
}
.btn-primary  { background: var(--blue);   color: #fff; border-color: var(--blue); }
.btn-primary:hover  { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover  { background: var(--blue); color: #fff; }
.btn-dark     { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover     { background: #1a252f; color: #fff; }
.btn-white    { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover    { background: var(--light-bg); }

/* ── LAYOUT ──────────────────────────────────── */
.container        { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 800px;  margin: 0 auto; }

.section { padding: 5rem 2rem; }

/* Sections get the texture with overlays */
.section-white {
  position: relative;
  background-image: var(--bg-img);
  background-size: cover; background-attachment: fixed;
}
.section-white::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.93); pointer-events: none;
}
.section-white > .container,
.section-white > .container-narrow { position: relative; z-index: 1; }

.section-light {
  position: relative;
  background-image: var(--bg-img);
  background-size: cover; background-attachment: fixed;
}
.section-light::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(245,247,250,0.95); pointer-events: none;
}
.section-light > .container,
.section-light > .container-narrow { position: relative; z-index: 1; }

.section-dark { background: var(--dark); }
.section-mid  { background: #34495e; }

/* Section labels / titles */
.section-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.5rem;
}
h2.section-title {
  font-size: clamp(1.6rem,3.5vw,34px); line-height: 1.25;
  margin-bottom: 0.5rem; color: var(--heading);
}
.section-dark h2.section-title,
.section-mid  h2.section-title { color: #fff; }
h3.section-sub {
  font-size: 14px; font-weight: 300;
  color: var(--text); max-width: 560px;
  margin-bottom: 2.5rem; line-height: 1.7; padding-bottom: 0;
}
.section-dark h3.section-sub,
.section-mid  h3.section-sub { color: rgba(255,255,255,0.65); }

/* ── STATS BAR ───────────────────────────────── */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); background: var(--blue); }
.stat-item {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; }
@media (max-width: 600px) { .stats-bar { grid-template-columns: repeat(2,1fr); } }

/* ── PRODUCT CARDS ───────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; }
.product-card {
  background: #fff; border-radius: 10px;
  box-shadow: var(--card-shadow); border: 1px solid var(--border);
  border-top: 4px solid var(--blue); padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(44,62,80,0.14); }
.product-card-badge { font-size: 0.8rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.product-card h3 { font-size: 22px; font-weight: 600; color: var(--dark); margin-bottom: 0.6rem; }
.product-card p { font-size: 14px; color: var(--text); margin-bottom: 1rem; flex: 1; padding-bottom: 0; }
.product-card ul { list-style: none; margin: 0 0 1.5rem; }
.product-card ul li { font-size: 13px; color: var(--text); padding: 0.3rem 0; border-bottom: 1px solid var(--border); display: flex; gap: 0.5rem; }
.product-card ul li::before { content: '—'; color: var(--blue); flex-shrink: 0; }
.product-card .btn { align-self: flex-start; padding: 0.6rem 1.4rem; font-size: 0.9rem; }

/* ── FEATURE CARDS ───────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1.5rem; }
.feature-card {
  background: #fff; border-radius: 10px; padding: 2rem;
  border: 1px solid var(--border); border-top: 4px solid var(--blue);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(44,62,80,0.12); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h4 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.feature-card p { font-size: 13px; color: var(--text) !important; line-height: 1.6; padding-bottom: 0; }
.section-dark .feature-card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); border-top-color: var(--blue); }
.section-dark .feature-card h4 { color: #fff; }
.section-dark .feature-card p { color: rgba(255,255,255,0.65) !important; }

/* ── TWO-COL ─────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.two-col-img img { width: 100%; display: block; border-radius: 4px; }
@media (max-width: 750px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ── CLIENT LOGOS ────────────────────────────── */
.clients-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.client-logo img { height: 48px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: filter 0.2s; }
.client-logo img:hover { filter: grayscale(0%) opacity(1); }

/* ── BADGES ──────────────────────────────────── */
.product-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.badge { background: #ebf5fb; color: var(--blue); border: 1px solid var(--blue); padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.badge.green { background: #eafaf1; color: #27ae60; border-color: #27ae60; }

/* ── PRODUCT HERO ────────────────────────────── */
.product-hero {
  background-image: var(--bg-img);
  background-size: cover; background-attachment: fixed;
  padding: 4rem 2rem 3rem; position: relative;
}
.product-hero::before { content: ''; position: absolute; inset: 0; background: rgba(44,62,80,0.72); }
.product-hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem; align-items: center;
  position: relative; z-index: 1;
}
.product-hero-img img { width: 100%; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.product-hero-content h1 { font-size: clamp(2rem,4vw,3.2rem); color: #fff; line-height: 1.1; margin-bottom: 0.4rem; }
.product-hero-content .subtitle { font-size: 13px; color: var(--blue); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.product-hero-content > p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 1.5rem; padding-bottom: 0; }
@media (max-width: 700px) { .product-hero-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ── SPEC TABLE ──────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
.spec-table th { background: var(--dark); color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; }
.spec-table td:first-child { font-weight: 600; color: var(--dark); }
.spec-table tr:nth-child(even) td { background: var(--light-bg); }

/* ── COMPARISON TABLE ────────────────────────── */
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 0.8rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
.comparison-table th { background: var(--dark); color: #fff; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }
.comparison-table td:first-child { font-weight: 600; color: var(--dark); }
.comparison-table .yes { color: #27ae60; font-weight: 600; }
.comparison-table .no  { color: #e74c3c; }
.comparison-table tr:nth-child(even) td { background: var(--light-bg); }

/* ── CONTACT FORM ────────────────────────────── */
.contact-form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 800px) { .contact-form-wrap { grid-template-columns: 1fr; gap: 2.5rem; } }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dark); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 4px; background: #fff; font-size: 14px; font-family: 'Open Sans',sans-serif; color: var(--dark); outline: none; transition: border-color 0.2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--light-bg); border-radius: 10px; padding: 2rem; border: 1px solid var(--border); }
.contact-info-card h3 { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--blue); }
.contact-detail { display: flex; gap: 0.8rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-detail-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-detail-text { font-size: 13px; color: var(--text); line-height: 1.6; }
.contact-detail-text strong { display: block; color: var(--dark); margin-bottom: 0.2rem; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-detail-text a { color: var(--text); }
.contact-detail-text a:hover { color: var(--accent); }

/* ── INDUSTRY GRID ───────────────────────────── */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1.5rem; }
.industry-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 2rem; border-top: 4px solid var(--blue); transition: transform 0.3s; }
.industry-item:hover { transform: translateY(-3px); }
.industry-item .icon { font-size: 2rem; margin-bottom: 0.8rem; }
.industry-item h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.industry-item p { font-size: 13px; color: rgba(255,255,255,0.6); padding-bottom: 0; }
.industry-item small { display: block; margin-top: 0.8rem; font-size: 12px; color: var(--blue); font-weight: 600; }

/* ── TABS ────────────────────────────────────── */
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.tab-btn { padding: 0.75rem 1.4rem; background: none; border: none; font-family: 'Open Sans',sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; color: var(--text); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.2s, border-color 0.2s; }
.tab-btn.active { color: var(--blue); border-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 3.5rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; } }
footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(52,82,255,0.4); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul li a { color: rgba(255,255,255,0.55); font-size: 13px; transition: color 0.2s; }
footer ul li a:hover { color: var(--blue); }
footer address { font-style: normal; font-size: 13px; line-height: 1.7; }
footer address a { color: rgba(255,255,255,0.6); }
footer address a:hover { color: var(--blue); }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 40px; }
.footer-cert { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(52,152,219,0.15); border: 1px solid rgba(52,152,219,0.35); padding: 0.3rem 0.8rem; font-size: 12px; color: #7ec8f0; border-radius: 4px; margin-bottom: 0.4rem; }
.footer-bottom { max-width: 1200px; margin: 1.5rem auto 0; display: flex; justify-content: space-between; font-size: 12px; gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,0.4); }

/* ── PAGE CONTENT ────────────────────────────── */
.page-content h2 { font-size: 22px; font-weight: 600; color: var(--dark); margin: 2rem 0 0.8rem; }
.page-content p { color: var(--text); line-height: 1.7; }
.page-content ul { margin: 0.8rem 0 1.2rem 1.5rem; }
.page-content ul li { margin-bottom: 0.5rem; color: var(--text); list-style: disc; }

blockquote { border-left: 4px solid var(--blue); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--light-bg); border-radius: 0 8px 8px 0; }
blockquote p { color: var(--dark); font-style: italic; padding-bottom: 0; }

.form-success { display: none; padding: 1rem 1.5rem; background: #eafaf1; border: 1px solid #27ae60; color: #27ae60; margin-top: 1rem; font-weight: 600; border-radius: 6px; }

.text-blue   { color: var(--blue); }
.text-accent { color: var(--accent); }
.mt1 { margin-top: 1rem; }
.mt2 { margin-top: 2rem; }
.mt3 { margin-top: 3rem; }
