/*
  Agami IT Limited ওয়ান-পেজ ওয়েবসাইট
  রঙ: #ED1C24, সাদা, কালো
*/

:root {
  --primary: #ED1C24;
  --primary-dark: #c9141b;
  --black: #070707;
  --dark: #111111;
  --text: #343434;
  --muted: #6f6f6f;
  --white: #ffffff;
  --soft: #f8f8f8;
  --border: #e9e9e9;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.09);
  --shadow-red: 0 18px 40px rgba(237, 28, 36, 0.25);
  --radius: 22px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Noto Sans Bengali", system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
}

h1,
h2,
h3 {
  color: var(--black);
  line-height: 1.28;
}

h1 {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  margin-bottom: 16px;
}

h3 {
  font-size: 21px;
  font-weight: 800;
}

p {
  font-size: 17px;
  color: var(--text);
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-title p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* হেডার */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(237, 28, 36, 0.08);
}

.nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: 0.25s ease;
}

.nav-cta:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--black);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 10px;
  transition: 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* হিরো */
.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(237, 28, 36, 0.10), transparent 30%),
    radial-gradient(circle at 85% 25%, rgba(237, 28, 36, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.hero-content p {
  max-width: 660px;
  color: #4f4f4f;
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges span {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--black);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-visual-card {
  width: min(100%, 470px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(237, 28, 36, 0.16);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.main-visual-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 36px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(237, 28, 36, 0.7), transparent, rgba(0, 0, 0, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.visual-logo-box {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: inset 0 0 0 1px var(--border);
}

.visual-logo-box img {
  margin: 0 auto;
  max-width: 350px;
}

.visual-line {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(237, 28, 36, 0.12));
  margin: 28px 0;
}

.visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.visual-stats div {
  background: var(--soft);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.visual-stats strong {
  display: block;
  font-size: 34px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.visual-stats span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  z-index: 3;
  background: var(--black);
  color: var(--white);
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  animation: float 4.5s ease-in-out infinite;
}

.card-one {
  top: 70px;
  left: 15px;
}

.card-two {
  right: 5px;
  top: 145px;
  background: var(--primary);
  animation-delay: 0.5s;
}

.card-three {
  bottom: 72px;
  left: 70px;
  animation-delay: 1s;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.75;
}

.hero-shape-one {
  width: 420px;
  height: 420px;
  background: rgba(237, 28, 36, 0.08);
  top: 90px;
  right: -150px;
}

.hero-shape-two {
  width: 260px;
  height: 260px;
  background: rgba(0, 0, 0, 0.05);
  left: -110px;
  bottom: 50px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* আমাদের সম্পর্কে */
.about {
  background: var(--black);
}

.about h2,
.about p {
  color: var(--white);
}

.about p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.about-content {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 34px;
}

/* সার্ভিস */
.services {
  background: var(--soft);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  min-height: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(237, 28, 36, 0.35);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(237, 28, 36, 0.10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 22px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 16px;
}

/* কেন আমরা */
.why {
  background: var(--white);
}

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

.why-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  transition: 0.25s ease;
}

.why-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(237, 28, 36, 0.25);
}

.why-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
}

.why-item h3 {
  margin-bottom: 10px;
}

.why-item p {
  color: var(--muted);
  font-size: 16px;
}

/* ডেমো */
.demo {
  background:
    linear-gradient(rgba(7, 7, 7, 0.92), rgba(7, 7, 7, 0.92)),
    radial-gradient(circle at top right, rgba(237, 28, 36, 0.35), transparent 35%);
}

.demo .section-title h2,
.demo .section-title p {
  color: var(--white);
}

.demo .section-title p {
  color: rgba(255, 255, 255, 0.72);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.demo-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.25s ease;
}

.demo-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(237, 28, 36, 0.65);
}

.demo-card h3 {
  color: var(--white);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.demo-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--white);
  background: var(--primary);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.demo-card a:hover {
  background: var(--white);
  color: var(--primary);
}

/* ক্লায়েন্ট */
.clients {
  background: var(--soft);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  font-weight: 800;
  color: var(--black);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: 0.25s ease;
}

.client-card:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

/* যোগাযোগ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.contact-content p {
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-box {
  background: var(--black);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.35);
  right: -70px;
  top: -70px;
}

.contact-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.contact-row span,
.contact-row a {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-row a:hover {
  color: #ffb7ba;
}

/* ফুটার */
.site-footer {
  background: #050505;
  color: var(--white);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: 210px;
  background: var(--white);
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.footer-brand p,
.footer-contact p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 15px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  transition: 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
  padding: 18px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

/* স্ক্রল অ্যানিমেশন */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* রেসপন্সিভ */
@media (max-width: 1080px) {
  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }

  .card-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 6px;
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .brand-logo {
    width: 165px;
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .nav-wrapper {
    min-height: 70px;
  }

  .brand-logo {
    width: 145px;
  }

  h1 {
    letter-spacing: -0.5px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .main-visual-card {
    padding: 22px;
    border-radius: 26px;
  }

  .visual-logo-box {
    padding: 18px;
  }

  .visual-stats {
    grid-template-columns: 1fr;
  }

  .floating-card {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .card-one {
    left: 0;
    top: 40px;
  }

  .card-two {
    right: 0;
    top: 110px;
  }

  .card-three {
    left: 24px;
    bottom: 36px;
  }

  .card-grid,
  .why-grid,
  .demo-grid,
  .client-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .about-content,
  .contact-box {
    padding: 24px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-brand img {
    width: 180px;
  }
}
