/* ----------------------------
   GLOBAL BASE STYLES
----------------------------- */

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #333;
}

/* ----------------------------
   HEADER
----------------------------- */

header {
  background: #0077cc;
  color: white;
  padding: 10px 20px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-block h1 {
  margin: 0;
}

.logo-block p {
  margin: 2px 0 0;
  font-size: 14px;
}

nav {
  margin-top: 8px;
}

nav a {
  color: white;
  margin: 0 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

/* ----------------------------
   HERO SECTION
----------------------------- */

#hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(233,245,255,0.95), rgba(245,249,255,0.95)),
    url("assets/hero-tech2go.png") no-repeat right center;
  background-size: contain;
  padding: 80px 20px;
}

.hero-overlay {
  max-width: 600px;
  margin: 0 auto;
}

.hero-overlay h2 {
  margin-top: 0;
  font-size: 32px;
  line-height: 1.3;
  color: #003b6f;
}

.hero-overlay p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
}

.hero-phone {
  margin-top: 10px;
  font-size: 14px;
}

.hero-phone a {
  color: #0077cc;
  text-decoration: none;
}

.btn,
.btn-secondary {
  display: inline-block;
  margin-top: 12px;
  background: #0077cc;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s ease-in-out;
}

.btn-secondary {
  background: #005fa3;
}

.btn:hover,
.btn-secondary:hover {
  background: #006cc2;
  color: white;
}

/* ----------------------------
   GENERAL SECTION LAYOUTS
----------------------------- */

section {
  padding: 40px 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #003b6f;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 25px;
  color: #555;
  font-size: 15px;
}

/* ----------------------------
   SERVICE GRID CARDS
----------------------------- */

.services {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
}

/* ----------------------------
   SERVICE DETAIL SECTIONS
----------------------------- */

.service-detail {
  background: #ffffff;
}

.service-detail.alt {
  background: #f1f6fb;
}

.service-detail-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 25px;
  align-items: center;
}

.service-detail h2 {
  text-align: left;
  margin-bottom: 10px;
  color: #003b6f;
}

.service-detail-text p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.service-detail-text ul {
  padding-left: 20px;
  margin: 10px 0 10px;
}

.service-detail-text li {
  margin-bottom: 4px;
}

.service-detail-graphic img {
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 0 auto;
}

/* ----------------------------
   BOOKING FORM
----------------------------- */

.book-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.book-form label {
  margin: 8px 0 4px;
  font-weight: 600;
}

.book-form input,
.book-form textarea {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
}

.book-form button {
  background: #0077cc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s ease-in-out;
}

.book-form button:hover {
  background: #006cc2;
}

/* ----------------------------
   MAP SECTION
----------------------------- */

.map-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  border: none;
}

.map-link {
  margin-top: 10px;
}

.map-link a {
  color: #0077cc;
  text-decoration: none;
}

.map-link a:hover {
  text-decoration: underline;
}

/* ----------------------------
   CONTACT
----------------------------- */

#contact {
  text-align: center;
  padding-bottom: 60px;
}

#contact a {
  color: #0077cc;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* ----------------------------
   FOOTER
----------------------------- */

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 14px;
}

/* ----------------------------
   RESPONSIVE DESIGN
----------------------------- */

@media (max-width: 950px) {
  #hero {
    background-position: center bottom;
    background-size: 300px auto;
    padding-bottom: 260px;
  }

  .hero-overlay {
    text-align: left;
  }
}

@media (max-width: 800px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 3px 6px;
  }
}

@media (max-width: 600px) {
  #hero {
    background-size: 240px auto;
    padding-bottom: 220px;
  }

  .hero-overlay h2 {
    font-size: 26px;
  }
}
