:root {
  --primary-blue: #4a90e2;
  --primary-green: #50e3c2;
  --text: #4a4a4a;
  --bg: #ffffff;
  --muted: #f5f7fa;
  --border: #e6ecf2;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --container: 1120px;
  --nav-h: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #0073e6;
  outline-offset: 2px;
}

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s transform ease, 0.2s box-shadow ease;
  box-shadow: 0 6px 18px rgba(74, 144, 226, 0.2);
  background: var(--primary-blue);
  color: white;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(74, 144, 226, 0.28);
}

.btn.alt {
  background: var(--primary-green);
  box-shadow: 0 6px 18px rgba(80, 227, 194, 0.2);
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.section p.lead {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 0 24px;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card.item:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-green)
  );
  color: #fff;
  margin-bottom: 12px;
}

/* Header / Navbar */
#header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  height: var(--nav-h);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.2px;
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  padding: 10px 8px;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0.9;
}

nav a:hover {
  background: var(--muted);
}

.nav-cta {
  margin-left: 16px;
}

.header-shadow {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(
      1000px 600px at 90% -10%,
      #e8f2ff 0%,
      transparent 60%
    ),
    radial-gradient(1000px 600px at 10% -40%, #e6fff7 0%, transparent 50%);
}

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

h1 {
  font-size: 42px;
  line-height: 1.15;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero p {
  font-size: 18px;
  margin: 0 0 22px;
}

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

.mock {
  aspect-ratio: 4/3;
  border-radius: 18px;
  background: linear-gradient(160deg, #eff6ff, #f7fffb);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip {
  position: absolute;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary-green);
}

.chip1 {
  top: 14px;
  left: 14px;
}

.chip2 {
  bottom: 16px;
  right: 18px;
}

/* Grid items */
.item h3 {
  margin: 8px 0 8px;
  font-size: 18px;
}

.item p {
  margin: 0;
  opacity: 0.9;
}

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

.about .img {
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #f9fcff;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #7a8ca5;
}

/* Contact */
.contact-wrap {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  width: 100%;
}

.contact-info {
  display: grid;
  gap: 10px;
}

.contact-info a {
  color: var(--primary-blue);
  font-weight: 600;
}

form {
  display: grid;
  gap: 14px;
}

#contactForm .grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

#contactForm input,
#contactForm textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  outline: none;
  background: #fff;
  width: 100%;
  font-size: 16px;
  min-width: 0;
}

#contactForm textarea {
  min-height: 120px;
  resize: vertical;
}

#contactForm button {
  width: 100%;
}

.map {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #fbfdff;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.foot .links {
  display: flex;
  gap: 18px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0.8rem;
  color: #333;
}

.testimonial-author {
  font-size: 0.9rem;
  font-weight: bold;
  color: #555;
}

/* Anchors offset for sticky header */
section {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

/* Responsive Design */
@media (max-width: 980px) {
  .hero h1 {
    font-size: 36px;
  }

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

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

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

@media (max-width: 768px) {
  .contact-wrap {
    gap: 20px;
  }

  .contact-card {
    padding: 18px;
  }

  #contactForm .grid {
    gap: 12px;
  }
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 32px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  z-index: 60;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  transition: 0.3s ease;
  transform-origin: center;
  display: block;
  border-radius: 2px;
}

/* Hamburger animation when active */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 620px) {
  .grid.cols-4,
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 84px 0 56px;
  }

  .section {
    padding: 60px 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  nav ul {
    display: none;
  }

  #contactForm .grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .contact-wrap {
    gap: 16px;
  }

  .contact-card {
    padding: 16px;
  }

  /* Show hamburger button on mobile */
  .mobile-menu-btn {
    display: flex !important;
  }

  /* Mobile navigation menu */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    margin: 0;
  }

  .nav-menu a {
    display: block;
    padding: 12px 20px;
    margin: 0;
    text-align: center;
    border-radius: 0;
  }

  .nav-menu a:hover {
    background: var(--muted);
  }

  /* Make sure header has relative positioning for absolute nav menu */
  #header {
    position: relative;
  }
  
  /* Override the nav ul display: none for mobile menu */
  .nav-menu {
    display: flex;
  }
}

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

  .contact-card {
    padding: 12px;
  }

  #contactForm .grid {
    gap: 10px;
  }

  .container {
    padding-inline: 16px;
  }
}

.post .content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post .content p {
  margin-bottom: 1.5rem;
}

.post .content ul {
  margin: 1.5rem 0;
}

.post .content ul li {
  margin-bottom: 0.5rem;
}

.post footer.cta {
  text-align: center;
}