/*
Theme Name: VARQ technologies
Theme URI: https://varqtechnologies.com
Author: Talha Manzoor
Author URI: https://varqtechnologies.com
Description: IT consulting theme for VARQ technologies – modern, responsive, with a fixed background image.
Version: 1.0
License: GPL v2 or later
Text Domain: varq-technologies
*/

/* ----- GLOBAL BACKGROUND WITH OVERLAY ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

body {
  background: #f8fafc;
  color: #0b1a2f;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Background image on body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  filter: brightness(0.9) saturate(0.7);
  z-index: -2;
}

/* Semi‑transparent overlay for readability */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.75);
  z-index: -1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* HEADER / NAV */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0, 20, 50, 0.08);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #0a1e3c;
}
.logo a {
  text-decoration: none;
  color: #0a1e3c;
}
.logo i {
  color: #2563eb;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  color: #1e2f4a;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #1e2f4a;
  transition: color 0.2s;
  font-size: 1.05rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.current-menu-item {
  color: #2563eb;
  border-bottom-color: #2563eb;
}
.nav-links a i {
  margin-right: 6px;
}

.btn-outline {
  border: 1.5px solid #2563eb;
  background: transparent;
  padding: 0.5rem 1.4rem;
  border-radius: 40px;
  font-weight: 600;
  color: #2563eb;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  background: #2563eb;
  color: white;
}

/* HERO (home) */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 0 4rem;
}

.hero-badge {
  background: #dbeafe;
  color: #1e4f8a;
  padding: 0.35rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  margin-bottom: 1.8rem;
  display: inline-block;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 850px;
  color: #0b1a2f;
}
.hero h1 span {
  background: linear-gradient(145deg, #2563eb, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: #33435c;
  max-width: 640px;
  margin: 1.5rem auto 2.2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  background: #2563eb;
  color: white;
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
  text-decoration: none;
}
.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: white;
  color: #1e2f4a;
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  border: 1px solid #d1d9e8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* Services grid (home) */
.services-section {
  padding: 3.5rem 0 4.5rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0b1a2f;
}

.section-sub {
  text-align: center;
  color: #475a78;
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 28px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 20, 40, 0.08);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #bdd3f0;
  box-shadow: 0 20px 35px rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.service-icon {
  background: #e8effa;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.4rem;
  color: #2563eb;
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: #3b4e6b;
  margin-bottom: 1.4rem;
}

.service-tag {
  display: inline-block;
  background: #eef4ff;
  color: #1f4c8a;
  border-radius: 50px;
  padding: 0.25rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Page header for sub‑pages */
.page-header {
  padding: 3rem 0 1.5rem;
  text-align: center;
}
.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #0b1a2f;
}
.page-header p {
  color: #475a78;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* Detail cards (for consultancy, support) */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.detail-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 24px;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: 0.2s;
}
.detail-card:hover {
  border-color: #bdd3f0;
  background: rgba(255, 255, 255, 0.98);
}
.detail-card i {
  font-size: 2.2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}
.detail-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.detail-card p {
  color: #3b4e6b;
}

/* Equipment showcase */
.equipment-showcase {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 40px;
  padding: 3rem 2.5rem;
  margin: 2rem 0 3rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}

.equipment-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.equipment-text {
  flex: 1 1 300px;
}
.equipment-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.equipment-text h2 i {
  color: #2563eb;
  margin-right: 10px;
}
.equipment-text p {
  color: #3b4e6b;
  font-size: 1.05rem;
  max-width: 450px;
}

.equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.2rem;
  margin-top: 1.2rem;
}
.equipment-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.equipment-list i {
  color: #2563eb;
  font-size: 1.2rem;
  width: 1.6rem;
}

.equipment-image {
  flex: 0 1 240px;
  text-align: center;
  background: rgba(241, 246, 254, 0.8);
  border-radius: 40px;
  padding: 1.5rem 0.5rem;
}
.equipment-image i {
  font-size: 5rem;
  color: #1a3d7a;
  opacity: 0.8;
}
.equipment-image p {
  font-weight: 600;
  margin-top: 0.5rem;
  color: #0f2b4f;
}

/* Trust bar (home) */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.8rem 4rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(0, 20, 40, 0.08);
  margin-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: #1f3a5f;
}
.trust-item i {
  color: #2563eb;
  font-size: 1.6rem;
}
.trust-item span {
  font-weight: 300;
  color: #4a6180;
}

/* FOOTER */
.footer {
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(0, 20, 40, 0.08);
  text-align: center;
  color: #3d5779;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: #1e3b61;
  text-decoration: none;
  font-weight: 500;
}
.footer-links a i {
  margin-right: 6px;
  color: #2563eb;
}

.footer-copy {
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 750px) {
  .navbar {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }
  .nav-links {
    gap: 1rem 1.6rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .equipment-flex {
    flex-direction: column;
    text-align: center;
  }
  .equipment-text p {
    max-width: 100%;
  }
  .equipment-list {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .page-header h1 {
    font-size: 2.2rem;
  }
}