:root {
  --bg: #07141b;
  --bg-soft: #0f2330;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: #ffffff;
  --text: #e8f3ee;
  --muted: #9bb4b2;
  --primary: #50bb79;
  --primary-dark: #2f8f55;
  --accent: #6fe0a2;
  --neon: #00f0c2;
  --cyan: #00bfae;
  --border: rgba(255,255,255,0.12);
  --shadow: 0 20px 50px rgba(0,0,0,0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, var(--bg) 0%, #102833 100%);
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 90px 0;
}

.container {
  max-width: 1200px;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading h2,
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.25;
  color: white;
  margin-bottom: 18px;
}

.section-heading h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--neon));
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(0,240,194,0.06);
}

.section-heading p {
  max-width: 720px;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(80, 187, 121, 0.2);
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--neon) 100%);
  color: #05221a;
  box-shadow: 0 8px 30px rgba(0,240,194,0.08);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,240,194,0.12);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.header-area {
  background: rgba(7, 20, 27, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
}

.header-area .main-nav {
  min-height: 80px;
}

.header-area .main-nav .logo {
  line-height: 80px;
}

.header-area .main-nav .logo img {
  height: 42px;
  width: auto;
}

.header-area .main-nav .nav li a {
  color: var(--text);
  font-weight: 500;
}

.header-area .main-nav .nav li a.active,
.header-area .main-nav .nav li:hover a {
  color: var(--accent) !important;
}

.hero {
  padding-top: 100px;
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 30px;
  bottom: 30px;
  width: 44%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%2300f0c2' stop-opacity='0.06'/><stop offset='1' stop-color='%2300bfae' stop-opacity='0.02'/></linearGradient></defs><rect width='100%' height='100%' fill='none'/><g stroke='%2300f0c2' stroke-opacity='0.06' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'><path d='M40 100h140v40h80v-40h80v120h120' /><circle cx='300' cy='220' r='6' fill='%2300f0c2' /><path d='M10 260h120v40h80' /><path d='M200 40v40h80v40' /></g></svg>");
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  filter: blur(0px) saturate(120%);
  mix-blend-mode: screen;
}

.hero-copy h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 18px;
  max-width: 520px;
  word-break: break-word;
  background: linear-gradient(90deg, var(--accent) 0%, var(--neon) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 20px rgba(6,18,16,0.45);
}

.hero-copy .eyebrow {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(111, 224, 162, 0.22);
  border-radius: 999px;
  background: rgba(111, 224, 162, 0.08);
  transform: none !important;
  writing-mode: horizontal-tb !important;
}
.hero-copy .eyebrow {
  box-shadow: 0 6px 18px rgba(0,240,194,0.06), inset 0 1px 0 rgba(255,255,255,0.02);
  border-color: rgba(0,240,194,0.18);
}

.hero-copy {
  padding-right: 18px;
}

/* STRONG HERO LAYOUT OVERRIDES to avoid template conflicts */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero .row {
  align-items: center;
  display: flex;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.hero-copy h1 {
  /* force a sane maximum size to prevent the huge stacked layout */
  font-size: clamp(1.4rem, 3.2vw, 2.4rem) !important;
  line-height: 1.06 !important;
  margin: 0 0 8px 0 !important;
  max-width: 560px !important;
}

.hero-copy p {
  max-width: 520px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
}

.tag-list {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list .tag {
  display: inline-block;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.9);
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
  letter-spacing: 0.02em;
}

/* HERO CARD */
.hero-card {
  max-width: 420px;
  margin-left: auto;
  background: rgba(10,20,22,0.35);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45) inset;
  border: 1px solid rgba(255,255,255,0.03);
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 14px;
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #e6f7ef;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero { padding-top: 28px; padding-bottom: 28px; }
  .hero-copy h1 { font-size: 1.6rem !important; }
  .hero-card { max-width: 100%; margin-top: 20px; }
}

@media (max-width: 575px) {
  .hero { min-height: auto; }
  .hero-copy h1 { font-size: 1.4rem !important; }
  .eyebrow { font-size: 0.72rem; padding: 5px 8px; }
}

.hero-copy p {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
}

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
  border-left: 4px solid rgba(0,240,194,0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-card img {
  border-radius: 16px;
  margin-bottom: 16px;
  min-height: 260px;
  object-fit: cover;
}

.hero-card h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-card li:last-child {
  border-bottom: 0;
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.stats-bar {
  margin-top: -12px;
  padding-top: 0;
}

.stats-bar .container {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-box {
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.stat-box strong {
  display: block;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.stat-box span {
  color: var(--muted);
  font-size: 0.92rem;
}

.about-section .row,
.contact-section .row {
  align-items: center;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.check-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}

.check-list i {
  color: var(--primary);
  margin-top: 4px;
}

.service-grid,
.project-grid,
.review-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.project-card,
.review-card,
.faq-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-card h3,
.project-card h3,
.review-card h3,
.faq-card h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(80, 187, 121, 0.16);
  color: var(--accent);
  margin-bottom: 14px;
}

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

.process-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.process-card .step {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tech-list span {
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(80, 187, 121, 0.14);
  color: var(--accent);
  border: 1px solid rgba(80, 187, 121, 0.22);
}

.brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}

.brands-row a {
  background: rgba(255,255,255,0.045);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: inline-flex;

/* Brand logo + caption styles */
.brands-row .brand-link {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.brands-row .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.brands-row img {
  max-height: 56px;
  width: auto;
  display: block;
  filter: none;
  opacity: 1;
}

.brand-name {
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .brands-row img { max-height: 44px; }
  .brand-name { font-size: 0.85rem; }
}
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

.brands-row img {
  max-height: 60px;
  width: auto;
}

.review-card .stars {
  color: #ffce31;
  margin-bottom: 10px;
}

.review-card blockquote {
  color: var(--text);
  font-size: 0.98rem;
  margin: 0 0 16px;
  line-height: 1.9;
}

.review-card cite {
  color: var(--muted);
  font-style: normal;
}

.contact-card {
  background: linear-gradient(135deg, rgba(80, 187, 121, 0.16), rgba(255,255,255,0.05));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: white;
  margin-bottom: 14px;
}

.contact-card a {
  color: var(--text);
}

.contact-card a:hover {
  color: var(--accent);
}

.form-control {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  padding: 13px 15px;
  color: white;
  margin-bottom: 14px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(80, 187, 121, 0.16);
}

.form-control::placeholder {
  color: #8ba4a0;
}

.footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  text-align: center;
}

.whatsappicon {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 1200;
}

.whatsappicon a {
  color: white;
  font-size: 28px;
}

@media (max-width: 991px) {
  .stats-bar .container,
  .service-grid,
  .project-grid,
  .review-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .header-area {
    height: 72px;
  }

  .header-area .main-nav .nav {
    display: none;
  }

  .hero {
    padding-top: 80px;
  }

  .stats-bar .container,
  .service-grid,
  .project-grid,
  .review-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
