* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

a {
  color: #337ab7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* HEADER */

header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo img {
  max-height: 70px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  font-weight: 700;
  color: #222;
  font-size: 14px;
}

/* HERO */

.hero {
  position: relative;
  min-height: 460px;
  background: url("img/tech.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* BUTTON */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid #222;
  color: #222;
  font-weight: 700;
  transition: 0.3s;
  background: transparent;
}

.btn:hover {
  background: #337ab7;
  border-color: #337ab7;
  color: #fff;
  text-decoration: none;
}

/* MAIN GRID */

.main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 50px 0;
}

.content h2,
.content h3,
.sidebar h2 {
  margin-bottom: 16px;
}

.content p {
  margin-bottom: 18px;
}

/* SIDEBAR */

.sidebar-card {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 24px;
  background: #fafafa;
}

.search-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 15px;
}

/* FOOTER */

footer {
  border-top: 1px solid #ddd;
  padding: 24px 0;
  text-align: center;
  color: #666;
  font-size: 14px;
}

/* MOBILE */

@media (max-width: 900px) {

  .main-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 360px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

}

/* PAGE BANNER */

.page-banner {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 40px 0;
}

.page-banner h1 {
  font-size: 2rem;
  color: #222;
}

/* PAGE CONTENT */

.page-content {
  padding: 50px 0;
}

.content-single {
  max-width: 800px;
}

.content-single p {
  margin-bottom: 18px;
}

/* FORM */

.site-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #337ab7;
}

.site-form .btn {
  cursor: pointer;
}

.contact-card {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 24px;
  margin: 24px 0 32px;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.contact-table td {
  border: 1px solid #ddd;
  padding: 12px;
  vertical-align: top;
}