html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom Bootstrap-like styles for TechPartapCorp home page */
:root {
  --primary: #1b6ec2;
  --primary-dark: #1861ac;
  --muted: #6c757d;
  --bg: #f8f9fa;
  --card-bg: #ffffff;
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: #212529;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}
.navbar .navbar-brand {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.25rem;
}
.navbar .navbar-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.navbar .nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
}
.navbar .nav-link:hover { color: var(--primary); }

/* Grid system (simple) */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col { padding: 0 15px; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-auto { flex: 0 0 auto; }

/* Responsive breakpoints */
@media (max-width: 991.98px) {
  .col-6, .col-4, .col-3 { flex: 0 0 100%; max-width: 100%; }
  .hero { padding: 3rem 0; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: .25rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.p-3 { padding: 1rem; }
.lead { font-size: 1.125rem; color: var(--muted); }
.small { font-size: .875rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: .5rem 1rem;
  font-size: 1rem;
  border-radius: .375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary-dark);
}
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid #e9ecef;
  border-radius: .5rem;
  padding: 1.25rem;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,0.03);
}
.card .card-title { font-weight: 600; margin-bottom: .5rem; }
.card .card-text { color: var(--muted); }

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 60%);
  padding: 5rem 0;
  border-radius: .5rem;
}
.hero .hero-title { font-size: 2.25rem; margin-bottom: .5rem; color: #212529; }
.hero .hero-sub { color: var(--muted); margin-bottom: 1.25rem; }
.hero-visual {
  background: linear-gradient(135deg, rgba(27,110,194,0.08), rgba(27,110,194,0.02));
  border-radius: .5rem;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Features */
.features { padding: 3rem 0; }
.features .feature { text-align: left; }
.features .feature h4 { margin-top: .5rem; margin-bottom: .5rem; }

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  color: var(--muted);
  text-align: center;
}

/* Small visual tweaks */
.header-branding { display:flex; align-items:center; gap:.75rem; }
.header-logo {
  width: 40px; height: 40px; border-radius: 6px;
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  display:inline-block;
}

/* Accessibility focus */
a:focus, button:focus { outline: 3px solid rgba(27,110,194,0.15); outline-offset: 2px; }

/* End of custom styles */