/* BusinessMate static website CSS */
/* Folder: assets/css/style.css */

:root {
  --primary: #111827;
  --secondary: #f5f5f5;
  --accent: #999999;
  --dark: #0f172a;
  --text: #4b5563;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: #f8fafc;
}

.section-dark {
  background: #111827;
  color: var(--white);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 18px;
}

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

.section-subtitle {
  max-width: 760px;
  margin: 0 auto 42px;
  color: var(--muted);
  text-align: center;
}

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

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

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

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

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

/* Header */
.header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  width: 170px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  font-weight: 700;
  color: #111827;
  font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.header-phone {
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--primary);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 22px;
}

/* Hero */
.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 45%, rgba(255,255,255,0.1) 100%),
    url("https://www.bm.lk/wp-content/uploads/elementor/thumbs/cons009-q3k5vr5nd4v9420vrzxenzvgxesoax7liggb94idd4.jpg") center right / cover no-repeat;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  color: var(--primary);
  margin-bottom: 22px;
}

.hero p {
  font-size: 17px;
  margin-bottom: 28px;
}

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

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 18px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

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

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

.kicker {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* Services */
.service-link {
  display: block;
  margin-top: 18px;
  font-weight: 800;
  color: var(--primary);
}

/* CTA */
.cta {
  text-align: center;
  padding: 76px 0;
  background: linear-gradient(135deg, #111827, #374151);
  color: var(--white);
}

.cta h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-item {
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.contact-item h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

.form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid var(--border);
}

.form label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 18px;
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

/* Footer */
.footer {
  background: #0b1220;
  color: #d1d5db;
  padding-top: 64px;
}

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

.footer h3 {
  color: var(--white);
  margin-bottom: 18px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: #d1d5db;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
}

/* Small pages */
.page-hero {
  padding: 95px 0;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  text-align: center;
}

.page-hero h1 {
  color: var(--primary);
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 12px;
}

.article-card {
  min-height: 220px;
}

.notice {
  display: none;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 6%;
    gap: 16px;
    display: none;
  }

  .nav-menu.show {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 620px;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82)),
      url("https://www.bm.lk/wp-content/uploads/elementor/thumbs/cons009-q3k5vr5nd4v9420vrzxenzvgxesoax7liggb94idd4.jpg") center / cover no-repeat;
  }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .section {
    padding: 58px 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .logo img {
    width: 140px;
  }
}
