/* Mobile-only stylesheet (loaded with media query from HTML)
   Keep this file focused on overrides necessary for small screens.
   Breakpoint target: <= 900px
*/

/* ---------- Navigation ---------- */
.nav-menu { display: none; }
.mobile-menu-toggle { display: flex; }
.dropdown-container { display: block; }
.dropdown { 
  position: static; 
  transform: none; 
  visibility: visible; 
  opacity: 1; 
  box-shadow: none; 
  border: none; 
  padding: 8px 0; 
  min-width: 100%; 
}
.dropdown.mega { 
  grid-template-columns: 1fr 1fr;
  min-width: 100%; 
}

.header .hamburger-line{
  background-color: #8d8d8d;
}
.header.scrolled .hamburger-line{
  background-color: #000000 !important;
}



.dropdown-item { 
  padding: 10px 16px; 
}

.mobile-caret { 
  float: right;
  transform:rotate(0deg);
}
.mobile-submenu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 6px 0 10px; }
.mobile-submenu[hidden] { display: none; }
.mobile-item { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  padding: 8px 0; 
  text-decoration: none; 
  color: inherit; 
  font-weight: var(--font-weight-medium);

}

.mobile-item:hover,
.mobile-item:focus{
  color: #1f8bff;
  text-decoration: none;
}


.mobile-accordion:focus .mobile-caret{
  transform: rotate(180deg);
}



.mobile-item .dropdown-image { width: 28px; height: 28px; border-radius: 6px; }


.nav-container {
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
}

/* Prevent horizontal scroll on mobile */
html, body { overflow-x: hidden; }

/* Keep hamburger inside the viewport */
.mobile-menu-toggle { 
  right: 16px !important; 
}

.logo h1 { font-size: var(--font-size-body); }

.logo {
  width: 100%;
  height:40px
}
.logo-image {
  width: 100px;
  height: 75px;
  margin-left: 10px;
  margin-top: -15px;
}



/* ---------- Hero ---------- */
.hero-title { font-size: 2rem; }
.hero-subtitle { font-size: var(--font-size-body); }
.hero-scroll-indicator { bottom: var(--spacing-lg); }
.scroll-arrow { width: 20px; height: 20px; }

.hero-logo {
display: none;
}
.hero-section{
  background-size: cover;
  background-position: center;
}

/* ---------- Services ---------- */
.services-flex {
  flex-direction: column-reverse;
  gap: 1.5rem;
  padding: 1.5rem 0;
  height: auto;
  align-items: center;
  justify-content: center;
}

.service-card{
    height: 100%;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.services-cards-grid {
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 16px;
  box-sizing: border-box;
  margin: 0 auto;
}

/* Reset desktop grid placement so cards don't force a second column */
.services-cards-grid .service-card {
  grid-column: auto !important;
  grid-row: auto !important;
}

.service-card {
  --card-offset: 0rem !important;
  transform: translateY(0) !important;
  width: 100% !important;
  margin: 0 !important;
}

.service-card:hover .service-icon,
.service-card:focus .service-icon{
  transform: translateY(5px) rotate(5deg) !important;
}

.services-details-plain{
  margin-top: 0;
  margin-right: 0;
  padding: 1.5rem 1rem;
  /* align-items: flex-start; */
  text-align: center;
}

.section-title h2{
  text-align: center;
  align-items: center;
  justify-content: center;
  
}

.section-title { font-size: 1.6rem; }



/* ---------- Products ---------- */
.products-grid { grid-template-columns: 1fr !important; gap: var(--spacing-lg) !important; }
.products-grid .product-card {
  height: 350px;
}

.product-icon{
  width: 80px;
  height: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--border-radius-lg);
}

.product-icon.auditplus {
  background-image: url('../images/auditplus\(1\).png');
}

.product-icon.mbrs {
  background-image: url('../images/mbrs.ai\(1\).png');
  width: 100px;
}

.product-icon.docuplus {
  background-image: url('../images/docuplus.ai.png');
}

.product-icon.secplus {
  background-image: url('../images/secpluslogo.png');
}

/* ---------- Careers ---------- */
.jobs-list { display: grid; gap: var(--spacing-lg); }
.job-row { flex-direction: column; }
.job-image-container { width: 100%; height: 200px; }
.job-image { height: 100%; width: 100%; object-fit: cover; display: block; }



/* ---------- Locate / Contact ---------- */
.locate-us-section .locate-us-content { flex-direction: column; gap: var(--spacing-lg); }
.contact-form-container, .contact-info-side { width: 100%; }

/* ---------- Footer ---------- */
.footer-container { 
  grid-template-columns: 1fr 1fr !important; 
  gap: var(--spacing-md) !important;
}



/* ---------- Apply ---------- */
.application-section {
  margin-top: 20px;
}



