/* =======================================
   CMV Tech – Clean Shared Stylesheet 
   colors used are for main page hero section #BFE5FF
   for other pages hero section color is #003BA2
   for cards and features the background is #BFE5FF
   the white color code is #FCFCFC
   the black color code is #000000
   font-family: 'NanumGothic'
   ---------------------------------------
   Reset + core components for all pages.
   As we refactor each template we’ll grow
   this file and keep colors/styles uniform.
   ======================================= */

/* --- Reset & Base Typography --- 

body { outline: 10px solid red; } */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'NanumGothic', sans-serif;
  color: #003BA2;
  line-height: 1.6;
  background: #FCFCFC;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.container   { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }


/* ---------- Top Header --------- */
.top-bar {
  background-color: #000000;
  color: #FCFCFC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-section {
  flex: 1;
  min-width: 150px; /* Optional: prevents overflow on small screens */
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center; /* center each section's content */
}

.top-bar select {
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
}

.top-bar i {
  margin-right: 5px;
  font-size: 1rem;
}

/*------- Hero ------- for main(home) page -------*/
.hero-section {
  background-color: #BFE5FF;
  padding: 80px 20px;
  text-align: center;
}
.hero-text h1 {
  font-size: 3rem;
  color: #003BA2;
  margin-bottom: 0.5em;
}
.hero-text p {
  font-size: 1.25rem;
  color: #003BA2;
  margin-bottom: 1em;
}
.explore-btn {
  background-color: #003BA2;
  color: #FCFCFC;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* Highlight */
.highlight-section {
  background: #003BA2;
  padding: 60px 20px;
  text-align: center;
}
.highlight-text h2 {
  font-size: 2rem;
  color: #FCFCFC;
  line-height: 1.2;
}

/* Industries */
.industries-section {
  background: #FCFCFC;
  padding: 70px 20px;
}
.industries-container {
  max-width: 1200px;
  margin: 0 auto;
}
.industries-container h2 {
  text-align: center;
  font-size: 1.9rem;
  color: #000000;
  margin-bottom: 1em;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}
.industry-card {
  position: relative;
  width: 100%;
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #004471;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s;
  cursor: pointer;
}
.industry-card:hover {
  transform: scale(1.05);
}
.card-front, .card-back {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s;
  color: #FCFCFC;
}
.card-front {
  background: #004471;
  opacity: 1;
}
.card-back {
  background: #004471;
  flex-direction: column;
  opacity: 0;
}
.industry-card:hover .card-front {
  opacity: 0;
}
.industry-card:hover .card-back {
  opacity: 1;
}

/* Services */
.services-section {
  background: #BFE5FF;
  padding: 80px 20px;
  text-align: center;
}
.services-section h2 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 1em;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.service-box {
  width: 300px;
  height: 360px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.3s;
}
.service-box:hover {
  transform: scale(1.05);
}
.service-box .service-overlay {
  position: absolute;
  inset: 0;
  background: #004471;
  color: #FCFCFC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-box:hover .service-overlay {
  opacity: 1;
}
.service-box.consulting {
  background-image: url('../images/service-consulting.png');
}
.service-box.development {
  background-image: url('../images/service-development.png');
}
.service-box.support {
  background-image: url('../images/service-support.jpeg');
}

/* Contact */
.contact-section {
  background: #004471;
  padding: 20px 20px;
  text-align: center;
}
.contact-section h2 {
  font-size: 2rem;
  color: #FCFCFC;
  margin-bottom: 1em;
}
.contact-section form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-section input,
.contact-section textarea {
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #FCFCFC;
  border-radius: 6px;
  font-family: 'Segoe UI', sans-serif;
}
.contact-section textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-section button {
  background: #003BA2;
  color: #FCFCFC;
  padding: 14px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.25s;
}
.contact-section button:hover {
  opacity: 0.9;
}


/* ------ Footer section ------- */

.footer-container {
  background-color: #003BA2; /* same as navbar */
  color: #FCFCFC;
  
}

/* Top section: fourâ€column layout */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

/* Each column */
.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #FCFCFC;
}

.footer-column p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #FCFCFC;
}

/* Services list */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #FCFCFC;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: #FCFCFC;
  text-decoration: underline;
}

/* Email link in the footer */
.elink {
     color: #FCFCFC;
}
.elink :hover{
    color: #000000;
    text-decoration: underline;
}

/* Newsletter form */
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-newsletter-form input[type="email"] {
  padding: 10px 14px;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  outline: none;
}

.footer-newsletter-form button {
  background-color: #FCFCFC;
  color: #003BA2;
  border: none;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.footer-newsletter-form button:hover {
  background-color: #FCFCFC;
  transform: translateY(-2px);
}

/* Spacer below top section */
.footer-top + .footer-bottom {
  margin-top: 20px;
}

/* Bottom bar: social icons + copy */
/* =============================
   Footer Bottom (Full-Width)
   ============================= */

/* Remove the centering constraints (max-width, margin) */
.footer-bottom {
  width: 100%;                /* span entire viewport */
  background-color: #000000;  /* same dark-indigo as before */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  box-sizing: border-box;     /* ensure padding doesnâ€™t add extra width */
}

/* If you had previously set .footer-bottom with max-width and margin:  */
/* remove or override those, for example:                          */
.footer-bottom {
  max-width: none;
  margin: 0;
}

/* The child elements stay as they were: */
.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  filter: invert(100%);
  transition: filter 0.2s ease;
}

.footer-socials img:hover {
  filter: invert(70%);
}

.footer-copy {
  font-size: 0.9rem;
  color: #FCFCFC;
}

/* Mobile stack remains the same: */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* ---------  About footer ----------- */
.footer-banner {
    background-color: #004471;
    color: #FCFCFC;
    text-align: center;
    padding: 40px 20px;
}

/* ------ Navbar -------  */

.navbar {
  background-color: #003BA2;
  padding: 10px 20px;
  position: sticky;
  margin-bottom: 10px;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Segoe UI', sans-serif;
}

.logo img {
  height: 80px;
  width: auto;
}

/* Desktop Navigation */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

#service-link{
    background-color: #FCFCFC;
    color: #003BA2 !important;
}

#service-link :hover{
    color: #000000;
}

.nav-links li {
  position: relative;
}

.nav-links a, .nav-links label {
  text-decoration: none;
  color: #FCFCFC;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s;
}



.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
} 

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #FCFCFC;
  top: 100%;
  left: 0;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 999;
}

.dropdown-content li {
  display: block;
} 


.dropdown-content a {
  display: block;
  padding: 10px 15px;
}

/* Desktop Hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hide checkbox inputs visually */
.dropdown-toggle {
  display: none;
}

/* When checkbox is checked - show dropdown */
.dropdown-toggle:checked + label + .dropdown-content {
  display: block;
  background-color: #FCFCFC;
  color: #003BA2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*--- navbar Hamburger menu toggle hidden on desktop */
.menu-toggle {
  display: none;
}

/* Hamburger icon for mobile */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  height: 30px;
  justify-content: space-between;
}

.menu-icon span {
  background: #FCFCFC;
  height: 3px;
  width: 25px;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile view */
@media (max-width: 900px) {
  .menu-icon {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #003BA2;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
    transform: translateY(0);
  }

  /* Dropdown stays always visible in mobile view (optional simplified version) */
  .dropdown-content {
    position: static;
    box-shadow: none;
    padding-left: 0;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown > .dropbtn::after {
    content: " ▼";
  }
}


/* About section */

@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }
  .card-image {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/*  Products and services of CMV TECH  */

/* static/css/ats.css - Updated Blue Theme, No Hero Image */

/* Global & Utility */
body {
  margin: 0;
  font-family: 'NanumGothic', sans-serif;
  color: #003BA2;
  line-height: 1.6;
  background: #FCFCFC;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* HERO - Blue Background */
.prohero {
  background-color: #003BA2;
  padding: 80px 20px;
  text-align: center;
}
.prohero .prohero-content {
  max-width: 800px;
  margin: 0 auto;
}
.prohero .prohero-text h1 {
  font-size: 2.75rem;
  margin: 0;
  color: #FCFCFC;
}
.prohero .prohero-text p {
  font-size: 1.125rem;
  margin: 16px 0;
  color: #FCFCFC;
  line-height: 1.4;
}
.btn.primary {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: #FCFCFC;
  color: #003BA2;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}


/* DESCRIPTION */
.description {
  background: #BFE5FF;
  padding: 60px 20px;
  text-align: center;
}

.description .container p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #003BA2;
  line-height: 1.6;
}


/* FEATURES */
.features {
  background-color: #FCFCFC;
  padding: 60px 20px;
}
.features .container {
  display: grid;
  gap: 40px;
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #BFE5FF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  min-height: 180px;
  margin-bottom: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:last-child {
  margin-bottom: 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.picture-container {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  margin-left: 20px;
  overflow: hidden;
  border-radius: 8px;
}
.picture-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.text-content {
  flex: 1;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-content h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: #003BA2;
}
.text-content p {
  margin: 0;
  color: #000000;
  font-size: 1rem;
  line-height: 1.4;
}



/* DEMO CREDENTIALS 
.demo-credentials {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}
.demo-credentials .container {
  max-width: 600px;
}
.demo-credentials h2 {
  font-size: 1.5rem;
  color: #1F2937;
  margin-bottom: 12px;
}
.demo-credentials p {
  color: #374151;
  font-size: 1.05rem;
  margin: 0;
}



/* DEMO CREDENTIALS 
.ats-credentials {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #E5E7EB;
}
.ats-credentials h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: #1F2937;
}
.ats-credentials p {
  margin: 0;
  font-size: 1.05rem;
  color: #374151;
}
  */

/* Responsive 
@media (max-width: 768px) {
  .ats-hero .hero-content {
    text-align: center;
  }
}

