/* ===================================================
   MLUE TECHNOLOGY — Main Stylesheet
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --blue-900: #0d2137;
  --blue-800: #0d47a1;
  --blue-700: #1565c0;
  --blue-600: #1976d2;
  --blue-500: #1e88e5;
  --blue-400: #42a5f5;
  --blue-100: #bbdefb;
  --blue-50:  #e3f2fd;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --white: #ffffff;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main {
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-50) 100%);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-blue { color: var(--blue-700); }

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-label,
.section-title {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  gap: 8px;
}
.btn--primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(21,101,192,.3);
}
.btn--primary:hover {
  background: var(--blue-800);
  box-shadow: 0 4px 16px rgba(21,101,192,.35);
  transform: translateY(-1px);
}
.btn--outline {
  border: 2px solid var(--blue-700);
  color: var(--blue-700);
  background: transparent;
}
.btn--outline:hover {
  background: var(--blue-50);
}
.btn--sm { padding: 8px 20px; font-size: 0.875rem; }
.btn--full { width: 100%; }

/* ===================================================
   HEADER
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gray-900);
  letter-spacing: -.5px;
}
.logo-accent { color: var(--blue-700); }
.logo-text--light { color: var(--white); }
.logo-text--light .logo-accent { color: var(--blue-400); }

/* Nav */
.header__nav {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-700);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue-700);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}
.lang-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
}
.lang-btn.active {
  color: var(--blue-700);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.lang-divider {
  color: var(--gray-300);
  font-size: 0.75rem;
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.header__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-50) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Mission / Vision cards */
.hero__mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 40px;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: var(--transition);
}
.mv-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.mv-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.mv-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.mv-card__text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   ABOUT
   =================================================== */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.about-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
  transform: translateY(-4px);
}
.about-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.about-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.about-card__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ===================================================
   SERVICES
   =================================================== */
.services {
  padding: 100px 0;
  background: var(--gray-50);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--blue-700);
  border-radius: 0 0 4px 0;
  transition: height 0.4s ease;
}
.service-card:hover::before {
  height: 100%;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: 0.9rem;
  color: var(--gray-500);
  padding-left: 20px;
  position: relative;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
}

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-us {
  padding: 100px 0;
  background: var(--white);
}
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.why-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.why-card__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-100);
  margin-bottom: 12px;
  line-height: 1;
}
.why-card:hover .why-card__number {
  color: var(--blue-400);
}
.why-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.why-card__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact {
  padding: 100px 0;
  background: var(--gray-50);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.contact-item__label {
  font-size: 0.8125rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-item__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: var(--transition);
}
.contact-item__value:hover {
  color: var(--blue-700);
}

/* Form */
.contact__form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(30,136,229,.12);
  background: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--blue-900);
  color: var(--gray-400);
  padding: 60px 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__tagline {
  font-size: 0.9rem;
  margin-top: 10px;
  color: var(--gray-400);
  max-width: 320px;
  line-height: 1.6;
}
.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-300);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer__links a:hover {
  color: var(--white);
}
.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* css for privacy policy */

.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}

.privacy-policy h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.privacy-policy h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.privacy-policy p, .privacy-policy ul {
  margin-bottom: 16px;
}
.privacy-policy ul {
  padding-left: 20px;
}
.privacy-policy li {
  margin-bottom: 8px;
}

/* ===================================================
   TOAST NOTIFICATION
   =================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  min-width: 320px;
  max-width: 420px;
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1),
              opacity 0.4s ease,
              visibility 0.4s ease;
}
.toast--visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}
.toast--success { border-left: 4px solid #16a34a; }
.toast--error   { border-left: 4px solid #dc2626; }

.toast__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 2px;
}
.toast--success .toast__icon { color: #16a34a; }
.toast--error   .toast__icon { color: #dc2626; }

.toast__body { flex: 1; }
.toast__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.toast__msg {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.toast__close {
  font-size: 1.25rem;
  color: var(--gray-400);
  line-height: 1;
  padding: 0 0 0 8px;
  transition: var(--transition);
}
.toast__close:hover { color: var(--gray-700); }

/* ===================================================
   CHATBOT
   =================================================== */

/* Toggle button */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21,101,192,.4);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.chatbot-toggle:hover {
  background: var(--blue-800);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(21,101,192,.5);
}
.chatbot-toggle__icon--close { display: none; }
.chatbot-toggle--active .chatbot-toggle__icon--chat { display: none; }
.chatbot-toggle--active .chatbot-toggle__icon--close { display: block; }

/* Chat window */
.chatbot {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 10000;
  width: 380px;
  max-height: 520px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1),
              opacity 0.3s ease,
              visibility 0.3s ease;
}
.chatbot--open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Header */
.chatbot__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--blue-700);
  color: var(--white);
}
.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot__name {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.chatbot__status {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 500;
}
.chatbot__close {
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
}
.chatbot__close:hover { color: var(--white); }

/* Messages area */
.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 340px;
  background: var(--gray-50);
}

/* Message wrapper */
.chat-msg {
  display: flex;
}
.chat-msg--user {
  justify-content: flex-end;
}
.chat-msg--bot {
  justify-content: flex-start;
}

/* Bubbles */
.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
  word-wrap: break-word;
}
.chat-msg--user .chat-bubble {
  background: var(--blue-700);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg--bot .chat-bubble {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 4px;
}
.chat-msg--bot .chat-bubble a {
  color: var(--blue-700);
  text-decoration: underline;
  font-weight: 600;
}
.chat-msg--bot .chat-bubble a:hover {
  color: var(--blue-800);
}

/* Typing indicator */
.chat-bubble--typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
}
.chat-bubble--typing .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: chatTyping 1.4s ease-in-out infinite;
}
.chat-bubble--typing .dot:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble--typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatTyping {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

/* Input area */
.chatbot__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.chatbot__input input {
  flex: 1;
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 0.85rem;
  outline: none;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
}
.chatbot__input input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(30,136,229,.1);
  background: var(--white);
}
.chatbot__input button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.chatbot__input button:hover {
  background: var(--blue-800);
}
.chatbot__input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Scrollbar */
.chatbot__messages::-webkit-scrollbar { width: 5px; }
.chatbot__messages::-webkit-scrollbar-track { background: transparent; }
.chatbot__messages::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 10px;
}

/* ===================================================
   ANIMATIONS — Scroll reveal
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   PROJECTS SHOWCASE
   =================================================== */
.projects-showcase {
  padding: 120px 0 80px;
  background: transparent;
}

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

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.project-card__image {
  height: 190px;
  background: repeating-linear-gradient(
    -45deg,
    var(--gray-100),
    var(--gray-100) 14px,
    var(--gray-200) 14px,
    var(--gray-200) 28px
  );
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__content {
  padding: 22px;
}

.project-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.project-card__details {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.project-card__detail {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.project-card__detail.reveal {
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.project-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue-700);
  margin-bottom: 4px;
}

.project-card__text {
  color: var(--gray-600);
  font-size: 0.89rem;
  line-height: 1.6;
}

.project-card__detail--quote {
  border-left: 4px solid var(--blue-400);
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
}

.project-card__quote {
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.65;
  font-style: italic;
}

.project-card__link {
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-card__link::after {
  content: "\2192";
  transition: transform var(--transition);
}

.project-card__link:hover::after {
  transform: translateX(4px);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
  .projects-showcase__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Header mobile */
  .header__nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .header__nav.open { display: flex; }
  .nav-link {
    padding: 10px 0;
    font-size: 1rem;
  }
  .nav-link::after { display: none; }
  .header__hamburger { display: flex; }
  .header__actions .btn { display: none; }
  .header__actions .header__home-btn {
    display: inline-flex;
  }

  /* Hero */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__mv { grid-template-columns: 1fr; }

  /* About */
  .about__grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-showcase { padding: 100px 0 70px; }
  .projects-showcase__grid { grid-template-columns: 1fr; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Why */
  .why-us__grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .header__actions .header__home-btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }
  .mv-card { padding: 20px 16px; }
  .service-card { padding: 24px 20px; }
  .contact__form { padding: 24px 20px; }
  .toast { left: 16px; right: 16px; bottom: 16px; min-width: auto; max-width: none; }

  /* Chatbot mobile full-width */
  .chatbot {
    left: 8px;
    right: 8px;
    bottom: 84px;
    width: auto;
    max-height: 70vh;
  }
  .chatbot-toggle {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
}

:root{
  --max-width:1100px;
  --accent:#0f1724;
  --muted:#6b7280;
  --card-shadow: 0 6px 18px rgba(12,18,30,0.08);
  --hover-shadow: 0 10px 30px rgba(12,18,30,0.12);
  --radius:50%;
  --gap:28px;
  --bg:transparent;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.team-section{
  background: var(--bg);
  color: var(--accent);
  padding: 56px 20px;
  display: flex;
  justify-content: center;
}

.team-inner{
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
  margin: 0 auto;
}

.team-title{
  font-family: var(--font-sans);
  font-size: 1.6rem;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.team-intro{
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

/* Grid */
.team-grid{
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  justify-items: center;
}

/* Profile card */
.team-card{
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 260px;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}

.team-card:focus-within,
.team-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
  outline: none;
}

/* Photo: perfectly round 200px diameter */
.team-photo{
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  box-shadow: var(--card-shadow);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  backface-visibility: hidden;
}

/* subtle hover effect on image */
.team-card:hover .team-photo,
.team-card:focus-within .team-photo{
  transform: scale(1.04);
  filter: saturate(1.03);
}

/* meta text */
.team-meta{
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.team-name{
  color: var(--accent);
  font-weight: 600;
  font-size: 0.98rem;
}

/* Responsive */
@media (max-width: 900px){
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .team-grid{ grid-template-columns: 1fr; gap: 20px; }
  .team-photo{ width: 160px; height: 160px; } /* preserve roundness while staying mobile-friendly */
  .team-inner{ padding: 0 8px; }
}

