/* =============================================================
   VigilanceTech.com - site styles
   Recreated from wix capture 2024-08-14
   ============================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  color: rgb(6, 33, 52);
  background-color: rgb(255, 255, 255);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Header --- */
#site-header {
  background-color: rgb(6, 33, 52);
  color: rgb(255, 255, 255);
  height: 102px;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-family: verdana, geneva, sans-serif;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: normal;
}

.site-title a {
  color: rgb(255, 255, 255);
}

.site-title a:hover {
  color: rgb(218, 237, 255);
}

#main-nav ul {
  display: flex;
  gap: 10px;
}

#main-nav ul li a {
  display: block;
  padding: 6px 10px;
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

#main-nav ul li a:hover {
  color: rgb(57, 114, 155);
}

#main-nav ul li a.current {
  color: rgb(57, 114, 155);
}

/* --- Hero Slideshow --- */
#hero-slideshow {
  background-color: rgb(255, 255, 255);
  padding: 20px 0 30px;
}

.slideshow-container {
  position: relative;
  max-width: 940px;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: rgb(0, 0, 0);
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.slide-caption h3 {
  font-family: tahoma, tahoma-w01-regular, tahoma-w02-regular, sans-serif;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 4px;
}

.slide-caption p {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.2;
  max-width: 500px;
}

.slideshow-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slide-dot.active {
  background-color: rgb(255, 255, 255);
}

/* --- Section Tagline --- */
.section-tagline {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 980px;
  margin: 0 auto;
}

.section-label {
  font-family: verdana, geneva, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: rgb(6, 33, 52);
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.tagline {
  font-family: verdana, geneva, sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: rgb(6, 33, 52);
  line-height: 1.4;
}

/* --- Three-column cards --- */
.cards-row {
  display: flex;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 0 20px;
}

.card-blue {
  background-color: rgb(20, 104, 168);
  color: rgb(255, 255, 255);
  width: 300px;
  padding: 17px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.card-blue h3 {
  font-family: verdana, geneva, sans-serif;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 15px;
}

.card-blue p {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.btn-more {
  display: inline-block;
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.3s ease;
}

.btn-more:hover {
  border-bottom-color: rgb(255, 255, 255);
}

/* --- Testimonial Section --- */
.section-testimonial {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

.testimonial-headline {
  font-family: verdana, geneva, sans-serif;
  font-size: 60px;
  font-weight: normal;
  line-height: 1.2;
  color: rgb(6, 33, 52);
  margin-bottom: 30px;
}

.testimonial-box {
  background-color: rgb(218, 237, 255);
  padding: 30px 40px;
  margin-bottom: 30px;
  text-align: left;
}

.testimonial-box p {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
  color: rgb(12, 60, 96);
  margin-bottom: 12px;
}

.testimonial-box p:last-of-type {
  margin-bottom: 20px;
}

.btn-learn {
  display: inline-block;
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: rgb(6, 33, 52);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(6, 33, 52, 0.4);
  transition: border-color 0.3s ease;
}

.btn-learn:hover {
  border-bottom-color: rgb(6, 33, 52);
}

.testimonial-quote {
  padding: 20px 0;
}

.testimonial-quote h6 {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.2;
  color: rgb(6, 33, 52);
  font-style: italic;
  margin-bottom: 15px;
}

.quote-author {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 14px;
  color: rgb(6, 33, 52);
}

/* --- Footer --- */
#site-footer {
  background-color: rgb(6, 33, 52);
  color: rgb(255, 255, 255);
  padding: 30px 20px;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-nav ul li a {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: rgb(57, 114, 155);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.social-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  color: rgb(255, 255, 255);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 1;
}

.footer-admin {
  margin-top: 10px;
}

.webmaster-login {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 12px;
  color: rgb(255, 255, 255);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.webmaster-login:hover {
  opacity: 1;
}

/* --- Subpage Styles --- */
.page-banner {
  background-color: rgb(6, 33, 52);
  padding: 60px 20px;
  text-align: center;
}

.page-banner h1 {
  font-family: verdana, geneva, sans-serif;
  font-size: 60px;
  font-weight: normal;
  line-height: 1.2;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 4px;
}

.page-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 20px 70px;
}

.page-content h2 {
  font-family: verdana, geneva, sans-serif;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.2;
  color: rgb(6, 33, 52);
  margin-bottom: 20px;
  margin-top: 40px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-family: verdana, geneva, sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.2;
  color: rgb(6, 33, 52);
  margin-bottom: 10px;
  margin-top: 30px;
}

.page-content p {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.7;
  color: rgb(6, 33, 52);
  margin-bottom: 16px;
}

.page-content blockquote {
  border-left: 4px solid rgb(20, 104, 168);
  padding: 15px 20px;
  margin: 30px 0;
  background-color: rgb(218, 237, 255);
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: rgb(12, 60, 96);
}

.page-content blockquote .attribution {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 14px;
  color: rgb(57, 114, 155);
}

.page-content ul {
  list-style: disc;
  margin: 15px 0 15px 20px;
}

.page-content ul li {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgb(6, 33, 52);
  margin-bottom: 6px;
}

.contact-details {
  background-color: rgb(218, 237, 255);
  padding: 30px 40px;
  margin: 30px 0;
}

.contact-details p {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details a {
  color: rgb(20, 104, 168);
  text-decoration: underline;
}

.contact-details a:hover {
  color: rgb(6, 33, 52);
}

/* --- Project entries (alternating image+text) --- */
.project-entry {
  margin: 40px 0;
  overflow: hidden;
}

.project-entry .project-image {
  width: 300px;
}

.project-entry .project-image.left {
  float: left;
  margin: 0 30px 15px 0;
}

.project-entry .project-image.right {
  float: right;
  margin: 0 0 15px 30px;
}

.project-entry .project-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-entry h2 {
  margin-top: 0;
}

.project-entry .project-subtitle {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: rgb(57, 114, 155);
  margin-bottom: 15px;
}

/* --- Client Gallery Grid --- */
.client-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 30px 0;
}

.client-card {
  background-color: rgb(218, 237, 255);
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.client-card:hover {
  background-color: rgb(175, 203, 224);
}

.client-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.client-card-link:hover {
  text-decoration: none;
}

.client-card img {
  width: 100%;
  height: 163px;
  object-fit: cover;
  display: block;
}

.client-card .client-info {
  padding: 10px 12px 14px;
}

.client-card .client-info h3 {
  font-family: verdana, geneva, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.2;
  color: rgb(6, 33, 52);
  margin: 0 0 6px;
}

.client-card .client-info p {
  font-family: arial, "ｍｓ ｐゴシック", "ms pgothic", 돋움, dotum, helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
  color: rgb(12, 60, 96);
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  #site-header {
    height: auto;
    padding: 15px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .site-title {
    font-size: 24px;
  }

  #main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #main-nav ul li a {
    font-size: 12px;
    padding: 4px 6px;
  }

  .slideshow-container {
    height: 250px;
  }

  .slide img {
    height: 250px;
  }

  .slide-caption {
    bottom: 20px;
    left: 20px;
  }

  .slide-caption h3 {
    font-size: 18px;
  }

  .slide-caption p {
    font-size: 14px;
  }

  .cards-row {
    flex-direction: column;
    align-items: center;
  }

  .card-blue {
    width: 100%;
    max-width: 400px;
    margin-bottom: 2px;
  }

  .testimonial-headline {
    font-size: 36px;
  }

  .testimonial-box {
    padding: 20px;
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .client-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-entry .project-image.left,
  .project-entry .project-image.right {
    float: none;
    width: 100%;
    margin: 0 0 15px 0;
  }
}
