/* HBM IT – Plain CSS (no Tailwind) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --background: 216 28% 7%;
  --foreground: 210 40% 98%;
  --card: 216 28% 10%;
  --card-foreground: 210 40% 98%;
  --primary: 192 91% 47%;
  --primary-foreground: 216 28% 7%;
  --secondary: 216 28% 14%;
  --secondary-foreground: 210 40% 98%;
  --muted: 216 20% 16%;
  --muted-foreground: 215 20% 55%;
  --border: 216 20% 18%;
  --input: 216 20% 18%;
  --ring: 192 91% 47%;
  --radius: 0.75rem;
  --navy-deep: 216 33% 5%;
  --navy: 216 28% 7%;
  --navy-light: 216 28% 12%;
  --cyan-glow: 192 91% 47%;
  --gradient-hero: linear-gradient(135deg, hsl(216, 28%, 7%) 0%, hsl(216, 33%, 12%) 50%, hsl(216, 28%, 7%) 100%);
  --gradient-card: linear-gradient(180deg, hsl(216, 28%, 12%) 0%, hsl(216, 28%, 8%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(192, 91%, 47%) 0%, hsl(200, 80%, 55%) 100%);
  --shadow-glow: 0 0 30px -5px hsl(192 91% 47% / 0.25);
  --shadow-card: 0 8px 32px -8px hsl(216 28% 3% / 0.6);
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* Utilities */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, hsl(192, 91%, 47%) 0%, hsl(200, 80%, 65%) 100%);
}

.bg-navy-deep { background-color: hsl(var(--navy-deep)); }
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-card { background: var(--gradient-card); }
.bg-gradient-accent { background: var(--gradient-accent); }
.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-card { box-shadow: var(--shadow-card); }
.glow-border { border: 1px solid hsl(192 91% 47% / 0.2); }
.glow-border-hover:hover { border-color: hsl(192 91% 47% / 0.5); box-shadow: var(--shadow-glow); }

.font-display { font-family: 'Space Grotesk', system-ui, sans-serif; }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.bg-primary\/10 { background-color: hsl(var(--primary) / 0.1); }
.bg-primary\/20 { background-color: hsl(var(--primary) / 0.2); }
.border-primary\/20 { border-color: hsl(var(--primary) / 0.2); }

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(var(--border));
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.navbar-logo { height: 2.5rem; width: auto; display: block; }
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}
.nav-desktop a:hover { color: hsl(var(--foreground)); }
.nav-desktop a.active { color: hsl(var(--primary)); }
.nav-mobile-btn {
  display: flex;
  padding: 0.5rem;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .nav-mobile-btn { display: none; }
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  background-color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  overflow: hidden;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-menu a.active { color: hsl(var(--primary)); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background) / 0.5), transparent 50%, hsl(var(--background)));
}
.hero-bg-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: hsl(var(--background) / 0.7);
}
.hero-content {
  position: relative;
  padding: 6rem 0 4rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 5rem;
}
.hero-btns .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  background: var(--gradient-accent);
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.hero-btns .btn-primary:hover { box-shadow: var(--shadow-glow); }
.hero-btns .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  text-decoration: none;
  transition: background 0.2s;
}
.hero-btns .btn-secondary:hover { background: hsl(var(--secondary)); }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(192 91% 47% / 0.2);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-stat:hover {
  border-color: hsl(192 91% 47% / 0.5);
  box-shadow: var(--shadow-glow);
}
.hero-stat svg { color: hsl(var(--primary)); flex-shrink: 0; }
.hero-stat strong { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.hero-stat span { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Page hero (Services / Contact) */
.page-hero {
  padding-top: 4rem;
}
.page-hero-inner {
  position: relative;
  height: 16rem;
  overflow: hidden;
}
@media (min-width: 640px) { .page-hero-inner { height: 20rem; } }
.page-hero-inner img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: hsl(var(--background) / 0.7);
}
.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
}
.page-hero p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Sections */
.section { padding: 6rem 0; }
.section-hero { background: var(--gradient-hero); }
.section-alt { background: hsl(var(--background)); }
.section-center { text-align: center; margin-bottom: 4rem; }
.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
  margin-bottom: 1rem;
}
.section h2 {
  font-size: clamp(1.875rem, 3vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
}
.section-desc {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Services overview grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: block;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--gradient-card);
  border: 1px solid hsl(192 91% 47% / 0.2);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  border-color: hsl(192 91% 47% / 0.5);
  box-shadow: var(--shadow-glow);
}
.service-card .icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card .icon-wrap svg { color: hsl(var(--primary)); }
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.service-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.service-card .link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
  transition: gap 0.2s;
}
.service-card:hover .link-more { gap: 0.75rem; }

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.about-grid > div:first-child {
  min-width: 0;
  padding-right: 0;
}
@media (min-width: 1024px) {
  .about-grid > div:first-child { padding-right: 2rem; }
}
.about-strengths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .about-strengths { grid-template-columns: 1fr 1fr; }
}
.about-strength {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.about-strength svg { color: hsl(var(--primary)); flex-shrink: 0; margin-top: 2px; }
.about-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: visible;
  border: 1px solid hsl(192 91% 47% / 0.2);
  box-shadow: var(--shadow-card);
}
.about-img-inner {
  overflow: hidden;
  border-radius: 1rem;
  height: 20rem;
}
@media (min-width: 1024px) { .about-img-inner { height: 24rem; } }
.about-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-card-overlay {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(192 91% 47% / 0.2);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px hsl(var(--border) / 0.5);
}
@media (min-width: 1024px) {
  .about-card-overlay { left: -2rem; }
}
.about-card-overlay .num { font-size: 1.875rem; font-weight: 700; }
.about-card-overlay .num.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, hsl(192, 91%, 47%) 0%, hsl(200, 80%, 65%) 100%);
}
.about-card-overlay .label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Contact section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon-box svg { color: hsl(var(--primary)); }
.contact-info-item h4 { font-size: 0.875rem; font-weight: 600; margin: 0 0 0.25rem; }
.contact-info-item a, .contact-info-item p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
.contact-info-item a:hover { color: hsl(var(--primary)); }

/* Form */
.contact-form-box {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--gradient-card);
  border: 1px solid hsl(192 91% 47% / 0.2);
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
  transition: outline 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: hsl(var(--muted-foreground));
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(var(--ring) / 0.6);
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.4);
}
.form-group textarea { resize: none; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gradient-accent);
  color: hsl(var(--primary-foreground));
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: box-shadow 0.2s;
}
.btn-submit:hover:not(:disabled) { box-shadow: var(--shadow-glow); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Services detail page */
.services-detail { padding: 5rem 0; }
.services-detail .container > .service-block { margin-bottom: 6rem; }
.services-detail .container > .service-block:last-child { margin-bottom: 0; }
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .service-block { grid-template-columns: 1fr 1fr; }
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block-img {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(192 91% 47% / 0.2);
  box-shadow: var(--shadow-card);
}
.service-block-img img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
@media (min-width: 640px) { .service-block-img img { height: 20rem; } }
.service-block h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.service-block-desc {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.service-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.service-block ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}
.service-block ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--primary));
  margin-top: 0.5rem;
  flex-shrink: 0;
}
.service-block .btn-enquire {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gradient-accent);
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.service-block .btn-enquire:hover { box-shadow: var(--shadow-glow); }

/* Footer */
.footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer .logo { height: 2.5rem; width: auto; margin-bottom: 1rem; display: block; }
.footer p.footer-tagline {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  max-width: 18rem;
  margin: 0;
}
.footer h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: hsl(var(--foreground));
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: hsl(var(--primary)); }
.footer-contact p, .footer-contact a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.625rem;
}
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: hsl(var(--primary)); }
.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
}
.toast {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  animation: toast-in 0.25s ease;
}
.toast.success { border-color: hsl(var(--primary) / 0.5); }
.toast.error { border-color: hsl(0 84% 60% / 0.5); }
.toast strong { display: block; margin-bottom: 0.25rem; }
.toast span { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* 404 */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  text-align: center;
  padding: 2rem;
}
.page-404 h1 { font-size: 2.25rem; font-weight: 700; margin: 0 0 1rem; }
.page-404 p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); margin: 0 0 1rem; }
.page-404 a {
  color: hsl(var(--primary));
  text-decoration: underline;
}
.page-404 a:hover { color: hsl(var(--primary) / 0.9); }
