/* ============================================================
   NIKARAM Technologies — Custom Modern Theme
   Layered on top of Vella/Bootstrap 3
   ============================================================ */

/* ── Google Font upgrade ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:   #07152d;
  --blue:   #02488F;
  --blue2:  #1a6fc4;
  --grad:   linear-gradient(135deg, #07152d 0%, #02488F 100%);
  --grad2:  linear-gradient(135deg, #02488F 0%, #1a6fc4 100%);
  --light:  #f4f7fb;
  --border: #e4eaf3;
  --text:   #444;
  --muted:  #788898;
  --white:  #ffffff;
  --shadow: 0 8px 32px rgba(2,72,143,0.12);
  --shadow-hover: 0 16px 48px rgba(2,72,143,0.22);
  --radius: 10px;
  --radius-lg: 16px;
}

/* ── Base ── */
body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Poppins', 'Open Sans', sans-serif; }

a { transition: color 0.25s; }

/* ============================================================
   NAVBAR
   ============================================================ */
header .navbar.navbar-default.navbar-top {
  background: var(--navy) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  border: none;
}

.navbar-default .navbar-nav > li > a {
  color: #c8d6e5 !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 28px 16px;
  transition: color 0.25s;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a.active {
  color: #fff !important;
  border-bottom: 3px solid var(--blue2);
}

/* Dropdown */
.navbar-default .navbar-nav li .dropdown {
  background: var(--navy);
  border-top: 3px solid var(--blue2);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  min-width: 210px;
}
.navbar-default .navbar-nav li .dropdown li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.navbar-default .navbar-nav li .dropdown li:last-child { border-bottom: none; }
.navbar-default .navbar-nav li .dropdown li a {
  color: #b0c4d8 !important;
  font-size: 13px;
  font-weight: 400;
  padding: 11px 20px;
  display: block;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.navbar-default .navbar-nav li .dropdown li a:hover {
  background: var(--blue) !important;
  color: #fff !important;
  padding-left: 26px;
}

/* ============================================================
   PAGE BANNER — modern gradient hero
   ============================================================ */
.page-banner {
  background: var(--grad) !important;
  padding: 60px 0 !important;
  position: relative;
  overflow: hidden;
}

/* Geometric pattern overlay */
.page-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 10%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.page-banner h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.page-banner h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}
.page-banner p, .page-banner h6 {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin: 0;
  font-weight: 400;
}

/* Breadcrumbs in banner */
.page-banner .breadcrumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
}
.page-banner .breadcrumbs li { color: rgba(255,255,255,0.6); font-size: 13px; }
.page-banner .breadcrumbs li a { color: rgba(255,255,255,0.85); text-decoration: none; }
.page-banner .breadcrumbs li a:hover { color: #fff; }
.page-banner .breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255,255,255,0.4); }

/* ============================================================
   CONTENT AREA
   ============================================================ */
#content { padding: 60px 0; }
.page-content { padding-top: 10px; }

/* Section heading */
h4.classic-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
h4.classic-title span {
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--blue);
}

/* Paragraphs */
p { color: var(--text); line-height: 1.75; }

/* Feature lists */
ul.icons-list { list-style: none; padding: 0; margin: 0 0 10px 0; }
ul.icons-list li {
  padding: 5px 0 5px 4px;
  color: #555;
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}
ul.icons-list li i {
  color: var(--blue);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Divider */
.hr1 { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ============================================================
   FEATURE BOX (product detail pages)
   ============================================================ */
.feature-box {
  background: var(--light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s;
}
.feature-box:hover { box-shadow: var(--shadow); }
.feature-box h5 {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

/* ============================================================
   PRODUCT / SERVICE CARDS (products.php)
   ============================================================ */
.product-box {
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  margin-bottom: 28px;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.product-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--blue2);
}
.product-icon { font-size: 36px; color: var(--blue); margin-bottom: 14px; }
.product-title { font-size: 15px; font-weight: 700; color: var(--navy); font-family: 'Poppins', sans-serif; }

/* ============================================================
   ICON FEATURE BOXES (why-choose section)
   ============================================================ */
.icon-feature-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-bottom: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.icon-feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.icon-feature-box .icon-wrap {
  width: 52px; height: 52px;
  background: var(--grad2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 22px; color: #fff;
}
.icon-feature-box h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.icon-feature-box p { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   STATS / MILESTONE STRIP
   ============================================================ */
.stats-strip {
  background: var(--grad);
  padding: 48px 0;
  margin: 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  display: block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================================
   INDUSTRY BOXES (customized-products.php)
   ============================================================ */
.industry-box {
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 24px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.industry-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-top-color: var(--blue2);
}
.industry-box i {
  font-size: 34px;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.industry-box h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 14px;
}
.industry-box p { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
  background: #fff;
  transition: box-shadow 0.25s;
}
.process-step:hover { box-shadow: var(--shadow); }
.process-step .step-num {
  background: var(--grad2);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.process-step h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 14px;
}
.process-step p { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   WORKFLOW STEPS (bluemetal-software.php)
   ============================================================ */
.workflow-step {
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  font-size: 13px;
  border-left: 4px solid var(--blue2);
}
.workflow-step strong { color: #7ec8e3; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-system, a.btn-system {
  background: var(--grad2) !important;
  color: #fff !important;
  border: none !important;
  padding: 11px 28px !important;
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s !important;
  display: inline-block;
  text-decoration: none;
}
.btn-system:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2,72,143,0.35) !important;
  color: #fff !important;
}
.btn-outline {
  background: transparent !important;
  color: var(--blue) !important;
  border: 2px solid var(--blue) !important;
  padding: 9px 26px !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  transition: all 0.25s !important;
  display: inline-block;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--blue) !important;
  color: #fff !important;
}
.btn-white {
  background: #fff !important;
  color: var(--navy) !important;
  border: none !important;
  padding: 11px 28px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  transition: all 0.25s !important;
}
.btn-white:hover {
  background: var(--light) !important;
  color: var(--blue) !important;
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  background: var(--grad);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-block h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
}
.cta-block p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 24px; text-align: center !important; }
.cta-block .btn-white { margin: 4px 6px; }
.cta-block .btn-outline-white {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
  padding: 9px 26px !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  margin: 4px 6px;
  display: inline-block;
  transition: all 0.25s !important;
}
.cta-block .btn-outline-white:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* ============================================================
   SERVICES PAGE — service cards
   ============================================================ */
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 24px;
  background: #fff;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card .svc-icon {
  width: 68px; height: 68px;
  border-radius: 16px;
  background: var(--grad2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  margin: 0 auto 18px;
}
.service-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.service-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--blue);
  border: 1px solid var(--border);
}
.contact-info-item h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; color: var(--navy);
  margin-bottom: 3px; font-size: 13px;
}
.contact-info-item p { font-size: 13px; color: var(--muted); margin: 0; }

.contact-form .form-control {
  border: 1px solid var(--border);
  border-radius: 6px;
  height: 44px;
  font-size: 13px;
  color: var(--text);
  box-shadow: none;
  transition: border-color 0.25s;
  margin-bottom: 16px;
}
.contact-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2,72,143,0.1);
}
.contact-form textarea.form-control { height: 130px; resize: vertical; }
.contact-form label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  display: block;
}

/* ============================================================
   ABOUT PAGE — team / milestone
   ============================================================ */
.milestone-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.milestone-box .number {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1;
}
.milestone-box p { font-size: 13px; color: var(--muted); margin: 6px 0 0; text-align: center !important; }

/* ============================================================
   TECH LOGO STRIP
   ============================================================ */
.tech-strip {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.tech-strip img { opacity: 0.6; transition: opacity 0.25s; height: 40px; }
.tech-strip img:hover { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy) !important;
  color: #a0b4c8;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad2);
}
footer h4 {
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px !important;
}
footer h4 .head-line {
  display: block;
  width: 32px; height: 3px;
  background: var(--blue2);
  margin-top: 8px;
  border-radius: 2px;
}
footer ul li { color: #8ca0b8; font-size: 13px; line-height: 1.9; }
footer ul li i { color: var(--blue2); margin-right: 6px; }
footer a { color: #8ca0b8; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #fff; }
.footer-widgets { padding: 50px 0 30px; }
.copyright-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 12.5px;
  color: #607080;
}
.copyright-section a { color: var(--blue2); }

/* Footer flickr (tech logo) widget */
.flickr-list li { display: inline-block; margin: 0 4px 8px 0; }
.flickr-list li a img {
  width: 64px; height: 44px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px;
  filter: brightness(0.85) grayscale(0.2);
  transition: filter 0.25s, background 0.25s;
}
.flickr-list li a img:hover {
  filter: brightness(1) grayscale(0);
  background: rgba(255,255,255,0.12);
}

/* Social icons footer */
ul.social-icons li { display: inline-block; margin: 0 6px 6px 0; }
ul.social-icons li a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #a0b4c8 !important;
  font-size: 15px;
  transition: background 0.25s, color 0.25s;
}
ul.social-icons li a:hover { background: var(--blue); color: #fff !important; }

/* ============================================================
   SUPPORT PAGE
   ============================================================ */
.support-box {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-bottom: 24px;
  transition: box-shadow 0.25s;
}
.support-box:hover { box-shadow: var(--shadow); }
.support-box i { font-size: 32px; color: var(--blue); margin-bottom: 12px; display: block; }
.support-box h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; color: var(--navy);
  font-size: 15px; margin-bottom: 8px;
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.career-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s;
}
.career-card:hover { box-shadow: var(--shadow); }
.career-card h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; color: var(--navy);
  font-size: 16px; margin-bottom: 6px;
}

/* ============================================================
   TOUCH SLIDER (product images)
   ============================================================ */
.touch-slider { border-radius: var(--radius); overflow: hidden; }
.touch-slider img { border-radius: var(--radius); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  background: var(--blue) !important;
  border-radius: 8px !important;
  color: #fff !important;
  width: 40px; height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(2,72,143,0.35);
  transition: background 0.25s, transform 0.25s;
}
.back-to-top:hover {
  background: var(--navy) !important;
  transform: translateY(-3px);
}

/* ============================================================
   HIDDEN HEADER (spacer)
   ============================================================ */
.hidden-header { height: 80px; }

/* ============================================================
   FOOTER — modern redesign
   ============================================================ */
.site-footer {
  background: #07152d;
  color: rgba(255,255,255,0.72);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}
.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col { padding-right: 20px; }

.footer-about {
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7) !important;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--blue);
  color: #fff !important;
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-links li a:before {
  content: '›';
  margin-right: 6px;
  color: var(--blue2);
}
.footer-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.footer-tech span {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.footer-contact {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.footer-contact li i {
  color: var(--blue2);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer-contact li a:hover { color: #fff; }

.footer-bottom {
  padding: 16px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  line-height: 2;
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   EQUAL-HEIGHT CARD ROWS — global fix
   Overrides Bootstrap 3 floats with flexbox so all columns in
   a .row share the same height; .feature-box / .industry-box /
   .milestone-box inside each column stretch to fill it.
   ============================================================ */
.page-content .row {
  display: flex;
  flex-wrap: wrap;
}
.page-content .row::before,
.page-content .row::after {
  content: none !important;
}
.page-content .row > [class*="col-"] {
  float: none;
  display: flex;
  flex-direction: column;
}
.page-content .row > [class*="col-"] > .feature-box:only-child,
.page-content .row > [class*="col-"] > .industry-box:only-child,
.page-content .row > [class*="col-"] > .milestone-box:only-child {
  flex: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   TABLET  (768px – 991px)
   ============================================================ */
@media (max-width: 991px) {
  /* Navbar: reduce padding so links fit */
  .navbar-default .navbar-nav > li > a { padding: 20px 10px; font-size: 13px; }

  /* Page banner */
  .page-banner h1 { font-size: 28px; }
  .page-banner h2 { font-size: 26px; }

  /* Stats */
  .stat-number { font-size: 34px; }

  /* Content padding */
  #content { padding: 40px 0; }

  /* Touch slider: equal height both cols */
  .touch-slider { margin-top: 0; }
}

/* ============================================================
   MOBILE  (< 768px)
   ============================================================ */
@media (max-width: 767px) {

  /* ── Navbar ── */
  .navbar-brand img { max-height: 48px !important; height: auto !important; width: auto !important; }
  .navbar-default .navbar-toggle { border-color: rgba(255,255,255,0.3); margin-top: 10px; }
  .navbar-default .navbar-toggle .icon-bar { background-color: #fff; }
  .navbar-default .navbar-collapse {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0;
  }
  .navbar-default .navbar-nav > li > a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .navbar-default .navbar-nav > li > a:hover { border-bottom-color: rgba(255,255,255,0.07); }
  /* Mobile submenu: collapsed by default, toggle on tap */
  .navbar-default .navbar-nav li .dropdown {
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    box-shadow: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    background: rgba(0,0,0,0.25) !important;
    padding-left: 0 !important;
  }
  .navbar-default .navbar-nav li.mob-open > .dropdown { display: block !important; }
  .navbar-default .navbar-nav li .dropdown li a {
    padding: 10px 32px !important;
    color: #b0c4d8 !important;
  }
  .navbar-default .navbar-nav li .dropdown li a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
  }

  /* Arrow indicator for items with a submenu */
  .navbar-default .navbar-nav li.drop > a .mob-arrow {
    float: right;
    font-style: normal;
    font-size: 12px;
    line-height: 1;
    margin-top: 2px;
    transition: transform 0.2s;
    display: inline-block;
  }
  .navbar-default .navbar-nav li.drop.mob-open > a .mob-arrow { transform: rotate(180deg); }

  /* ── Page Banner ── */
  .page-banner { padding: 32px 0 !important; }
  .page-banner h1 { font-size: 22px; margin-bottom: 6px; }
  .page-banner h2 { font-size: 20px; }
  .page-banner p  { font-size: 13px; }
  .page-banner .breadcrumbs { justify-content: flex-start; margin-top: 14px; }
  .page-banner .col-md-6:last-child { margin-top: 10px; }

  /* ── Stats Strip ── */
  .stats-strip { padding: 28px 0; }
  .stat-item { width: 50%; float: left; padding: 12px 8px; }
  .stat-number { font-size: 30px; }
  .stat-label  { font-size: 10px; }

  /* ── Clients Ticker ── */
  .clients-ticker { padding: 12px 0; }
  .ticker-label-fixed { display: none; }
  .clients-ticker .container { padding: 0 10px; }
  .ticker-card { min-width: 150px; padding: 6px 12px; font-size: 12px; }
  .ticker-card span { font-size: 10px; }

  /* ── Content ── */
  #content { padding: 30px 0; }
  .page-content { padding-top: 6px; }
  h4.classic-title { font-size: 17px; }

  /* ── Touch Slider (product pages) ── */
  .touch-slider { margin-top: 24px; }
  .touch-slider img { max-width: 100% !important; height: auto !important; border-radius: 6px !important; }

  /* ── Product Cards (index) ── */
  .product-box { padding: 22px 16px 18px; margin-bottom: 18px; }
  .product-icon { font-size: 28px; }
  .product-title { font-size: 14px; }

  /* ── Service Boxes (index) ── */
  .service-box { margin-bottom: 16px; }

  /* ── Feature Boxes (product detail pages) ── */
  .feature-box { padding: 14px 16px; margin-bottom: 14px; }
  .feature-box h5 { font-size: 13px; }

  /* ── CTA Block ── */
  .cta-block { padding: 28px 16px !important; }
  .cta-block h3 { font-size: 19px !important; }
  .cta-block p  { font-size: 13px; }
  .cta-block .btn { display: block; width: 100%; margin: 8px 0 0 0 !important; text-align: center; }

  /* ── Milestone Boxes (about) ── */
  .milestone-box { margin-bottom: 18px; }

  /* ── Service-point Badges ── */
  .sp-badge { font-size: 11px; padding: 3px 8px; margin: 2px; }

  /* ── Icons-list ── */
  ul.icons-list li { font-size: 13px; }

  /* ── Footer ── */
  .footer-top { padding: 36px 0 20px; }
  .footer-col { margin-bottom: 28px; }
  .site-footer .footer-social a { width: 34px; height: 34px; font-size: 15px; }
  .footer-tech span { font-size: 10px; padding: 3px 8px; }
  .footer-bottom { padding: 14px 0; }
  .footer-bottom .text-right { text-align: left !important; }
  .footer-bottom p { font-size: 12px; }

  /* ── Contact Page ── */
  .contact-info-item { padding: 12px 0; }

  /* ── Headings ── */
  h2 { font-size: 20px !important; }
  h3 { font-size: 18px !important; }

  /* ── HR dividers: reduce spacing ── */
  .hr1 { margin: 24px 0; }
}

/* ── Mobile: disable justify — causes ragged gaps on narrow screens ── */
@media (max-width: 767px) {
  p { text-align: left !important; }
}

/* ============================================================
   SMALL MOBILE  (< 480px)
   ============================================================ */
@media (max-width: 480px) {
  .page-banner h1 { font-size: 19px; }
  .page-banner h2 { font-size: 18px; }
  .stat-number { font-size: 26px; }
  .stat-label  { font-size: 9px; letter-spacing: 0; }
  .navbar-brand img { max-height: 40px !important; height: auto !important; width: auto !important; }
  .ticker-card { min-width: 140px; font-size: 11px; }
  h4.classic-title { font-size: 16px; }
  .cta-block h3 { font-size: 17px !important; }
  #content { padding: 24px 0; }
}
