/* Dev Enterprises – Turnkey Infrastructure & O&M Services | Bareilly — styles used only on this page (shared styles: assets/css/style.css) */

/* ── HERO ── */

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,20,36,0.82) 40%, rgba(7,20,36,0.35) 100%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-light);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--brand);
  display: block;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  max-width: 680px;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover { border-color: var(--brand); background: rgba(var(--brand-rgb),0.12); }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.hero-dot.active { background: var(--brand); transform: scale(1.3); }

/* ── STATS RIBBON ── */

.stats-ribbon {
  background: var(--ink);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid #3A4A5E;
}

.stat-item {
  padding: 32px 24px;
  border-right: 1px solid #3A4A5E;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.stat-item:hover { background: rgba(var(--brand-rgb),0.08); }

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.stat-item:hover::before { transform: scaleX(1); }

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-num sup { font-size: 24px; }

.stat-label { font-size: 12px; color: #9DA7B3; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; }

/* ── SECTION LABELS ── */

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--brand);
  display: block;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 15.5px;
  color: var(--gray-mid);
  max-width: 580px;
  line-height: 1.75;
}

.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-center .section-eyebrow { justify-content: center; }

.section-header-center .section-sub { margin: 0 auto; }

/* ── ABOUT ── */

.about { padding: var(--section-pad); background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-img-placeholder {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--ink) 0%, #3A4A5E 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5B6979;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.about-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--brand);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 32px rgba(var(--brand-rgb),0.4);
}

.about-badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.about-badge-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }

.about-text p { color: #4A5A6E; font-size: 15.5px; line-height: 1.8; margin-bottom: 20px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.about-feature-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-feature-icon::after {
  content: '✓';
  color: white;
  font-size: 11px;
  font-weight: 700;
}

/* ── SERVICES ── */

.services {
  padding: var(--section-pad);
  background: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  group: true;
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.service-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--ink), #4A5A6E);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5));
}

.service-card-body { padding: 22px 22px 26px; }

.service-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.01em;
  font-size: 19px;
}

.service-card-body p { font-size: 13.5px; color: #6B7887; line-height: 1.7; margin-bottom: 16px; }

.service-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-link:hover { gap: 10px; }

.service-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 1;
}

/* ── WHY US ── */

.why {
  padding: var(--section-pad);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: 'DEV';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: -8px;
  pointer-events: none;
  line-height: 1;
}

.why .section-title { color: var(--white); }

.why .section-sub { color: rgba(255,255,255,0.6); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  margin-top: 56px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: rgba(var(--brand-rgb),0.12);
  border: 1px solid rgba(var(--brand-rgb),0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: var(--brand);
}

.why-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.why-item p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* ── EXPERIENCE ── */

.experience {
  padding: var(--section-pad);
  background: var(--white);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.exp-card {
  border: 2px solid #ECF0F5;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.exp-card:hover { border-color: var(--brand); transform: translateY(-4px); }

.exp-card:hover::before { transform: scaleX(1); }

.exp-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 60px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.exp-num span { font-size: 28px; padding-bottom: 8px; }

.exp-card h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

/* ── CLIENTS ── */

.clients {
  padding: 72px 0;
  background: var(--gray-light);
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  height: 60px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9DA7B3;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  min-width: 140px;
  border: 1px solid #E4E9EF;
  transition: border-color var(--transition), color var(--transition);
  cursor: default;
}

.client-logo:hover { border-color: var(--brand); color: var(--brand); }

/* ── TESTIMONIALS ── */

.testimonials {
  padding: var(--section-pad);
  background: var(--white);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testi-card {
  border: 1px solid #E4E9EF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testi-card:hover { border-color: var(--brand); box-shadow: 0 8px 32px rgba(var(--brand-rgb),0.1); }

.testi-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 80px;
  font-weight: 900;
  color: #ECF0F5;
  line-height: 1;
}

.testi-stars { color: var(--brand); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }

.testi-card p { font-size: 14.5px; color: #5B6979; line-height: 1.8; margin-bottom: 24px; font-style: italic; }

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name { font-size: 14px; font-weight: 700; color: var(--ink); }

.testi-role { font-size: 12px; color: var(--gray-mid); }

/* ── CTA BAND ── */

.cta-band {
  padding: 72px 0;
  background: var(--brand);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}

.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }

.btn-white {
  background: var(--white);
  color: var(--brand);
  padding: 14px 34px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}

.btn-white:hover { background: #F4F7FA; transform: translateY(-2px); }

/* ── ISO BADGE ── */

.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  padding: 8px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.iso-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { height: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .about-img-placeholder { height: 320px; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
}

/* ── SCROLL ANIMATIONS ── */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible { opacity: 1; transform: none; }

/* phone: keep slider dots clear of the buttons */
@media (max-width: 768px) { .hero { height: 680px; } .hero-dots { bottom: 18px; } }
