/* ========== GLOBAL STYLE ========== */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  overflow-x: hidden;
  color: white;
  background-color: #2C353C;
}

a {
  transition: all 0.3s ease;
  text-decoration: none;
}
a:hover { text-decoration: none; }

ul { padding: 0; }
button:focus { outline: none; }
p { line-height: 1.9; }

/* Scrollbar */
::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(255,255,255,.8);
  box-shadow: 0 0 1px rgba(255,255,255,.8);
}

/* ========== HEADER ========== */
.tm-site-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
}
.tm-site-header img {
  width: 80px;
  height: auto;
  margin-right: 10px;
}
.tm-sitename {
  color: #007bff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.6;
}
.tm-slogon {
  font-size: 14px;
  margin: 5px 0 0;
  line-height: 1;
}

/* ========== NAVIGATION ========== */
.navbar-toggler {
  padding: 8px 15px;
  border: 0;
  border-radius: 0;
  transform: skewX(-15deg);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
}
.navbar-toggler i { transform: skewX(15deg); }

.navbar-expand-lg { padding: 0; }
.navbar-expand-lg .navbar-nav .nav-link { padding: 0; }

.tm-nav-link {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgb(255, 255, 255);
  padding-bottom: 30px;
}
.nav-item { margin-right: 60px; }
.nav-item:last-child { margin-right: 0; }
.nav-item.active .tm-nav-link,
.nav-item:hover .tm-nav-link {
  color: #9CC;
}

/* ========== LAYOUT ========== */
.tm-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.tm-row { display: flex; }

.tm-col-left {
  width: 50%;
  padding: 0 40px;
}
.tm-col-right {
  width: 50%;
  padding: 0 100px 0 50px;
}

.tm-content {
  max-width: 660px;
  margin-top: 50px;
  padding-right: 20px;
}
.tm-content-title {
  font-size: 1.5rem;
  color: #007bff;
  font-weight: 700;
  text-transform: uppercase;
}
hr { border-top: 1px solid white; }

/* Background split */
.tm-bg {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: -1000;
}
.tm-bg-left,
.tm-bg-right {
  width: 100%;
  height: 100%;
}
.tm-bg-right { background-color: rgba(0, 0, 0, 0.5); }
.tm-bg-left {
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  border-top: 100vh solid transparent;
}
.tm-bg-controls-wrapper { display: inline-block; margin-left: -150px; }
.tm-bg-control {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 6px;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.tm-bg-control.active,
.tm-bg-control:hover { background-color: white; }

/* ========== BUTTONS ========== */
.btn {
  padding: 10px 25px;
  border-radius: 0;
}
.btn-big {
  padding: 9px 40px;
  font-size: 1.2rem;
}
.btn-primary {
  background-color: white;
  color: black;
  border: 0;
}
.btn-primary:hover {
  background-color: #9CC;
  color: black;
}

/* ========== SERVICE SECTION ========== */
.service-item {
  text-align: center;
  margin-bottom: 40px;
}
.service-text p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Website (1 image) */
.service-image1 {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.service-image1 img {
  width: 60%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.service-image1 img:hover { transform: scale(2); }

/* CCTV (3 images) */
.service-image2 {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.service-image2 img {
  width: 30%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-image2 img:hover { transform: scale(2); }

/* Networking (4 images grid) */
.service-image3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-items: center;
  margin-top: 10px;
}
.service-image3 img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-image3 img:hover { transform: scale(1.5); }

/* Service media */
.tm-service-media:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.12);
}
.tm-service-img,
.tm-service-img-r {
  max-width: 100px;
  border-radius: 12px;
  margin-right: 20px;
}
.tm-service-text {
  flex: 1;
  max-width: 365px;
}
.tm-service-text h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #007bff;
  font-weight: 600;
}
.tm-service-text p {
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
}

/* ========== CONTACT SECTION ========== */
.tm-contact {
  max-width: 420px;
  margin: 0 auto;
}
.tm-contact-main { max-width: 690px; }
.mb-85 { margin-bottom: 85px; }

.tm-contact .tm-content-title {
  margin-top: 20px;   /* sebelumnya -100px */
  margin-left: 0;     /* sebelumnya -50px */
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 25px 0; /* hapus -50px */
}

.contact-item svg {
  width: 40px;
  height: 40px;
  color: #ffffff;
  flex-shrink: 0;
}
.contact-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
  color: #fff;
}

.form-control,
textarea {
  color: white;
  background: transparent;
  border: none;
  border-bottom: 1px solid #999A9B;
  border-radius: 0;
  padding: 10px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
.form-control:focus {
  color: white;
  background: transparent;
  box-shadow: none;
  border-color: #9CC;
  outline: none;
}
.form-control::placeholder { color: white; }

/* ========== FOOTER ========== */
.tm-site-footer {
  padding: 40px 0 20px;
  max-width: 660px;
  font-size: 0.95rem;
}
.tm-col-footer { padding-left: 0; }
.tm-text-link { color: white; }
.tm-text-link:hover,
.tm-text-link:focus { color: #9CC; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .nav-item { margin-right: 30px; }
  .tm-page-right { padding: 0 30px; }
}
@media (max-width: 992px) {
  .tm-nav {
    position: absolute;
    top: 44px;
    right: 4px;
    background: rgba(0,0,0,0.8);
    color: white;
  }
  .tm-nav-link {
    color: white;
    font-size: 1.1rem;
    padding: 13px 20px;
  }
  .tm-content { margin-top: 20px; }
  .tm-site-footer { padding-top: 40px; }
  .tm-col-left { width: 40%; }
  .tm-col-right {
    width: 60%;
    padding: 0 30px 0 100px;
  }
}
@media (max-width: 768px) {
  .tm-row { flex-direction: column; }
  .tm-col-left,
  .tm-col-right,
  .tm-bg-left,
  .tm-bg-right { width: 100%; }

  #tm-main-nav {
    position: fixed;
    top: 50px;
    right: 40px;
  }
  .tm-bg { flex-direction: column; }
  .tm-bg-left {
    height: 200px;
    border-bottom: 50px solid rgba(0,0,0,0.5);
    border-right: 0;
    border-top: 0;
  }
  .tm-bg-right { height: calc(100% - 200px); }
  .tm-bg-controls-wrapper { margin: 50px 0 0; }
  .tm-content { margin-top: 40px; }
  .tm-col-right { padding: 40px 30px 0; }
  .tm-col-footer { padding: 0 10px; }
}
@media (max-width: 450px),
       (min-width: 768px) and (max-width: 830px),
       (min-width: 992px) and (max-width: 1040px) {
  .tm-service-media { flex-direction: column; }
  .tm-service-media-img-l { flex-direction: column-reverse; }
  .tm-service-text { margin-top: 20px; }
  .tm-service-img,
  .tm-service-img-r { margin: 0 0 15px; }
}
@media (max-width: 250px) {
  .tm-sitename { font-size: 1.8rem; }
  .tm-slogon { font-size: 0.8rem; }
}
