:root {
  --ast-primary: #00A3E0;
  --ast-dark: #003366;
  --ast-light: #ffffff;
  --ast-text: #222222;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: var(--ast-light);
  color: var(--ast-text);
}

.navbar {
  background-color: #333 !important; /* Dark grey header */
}

.navbar-brand {
  display: none; /* Hide AS&T label */
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
  background-color: #333;
  padding: 1rem;
}

.navbar-nav .nav-item .nav-link {
  color: #fff;
  font-weight: 500;
  margin-left: 15px;
}

html {
  scroll-padding-top: 60px; /* adjust to match your navbar height */
  scroll-behavior: smooth;
}

.masthead {
  position: relative;
  width: 100%;
  height: 100vh; /* FULL SCREEN HEIGHT */
  z-index: 1;
  overflow: hidden;
  transition: opacity 0.6s ease;
  opacity: 1;
}


.masthead.hidden {
  opacity: 0;
  pointer-events: none; /* Optional: disables links during fade-out */
}
.masthead-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.masthead-subheading,
.masthead-heading {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.masthead-subheading {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.masthead-heading {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}
/* --- AS&T Logo (massively increased size) --- */
.overlay-logo {
  width: 900px !important;      /* Very large default desktop size */
  max-width: 90vw !important;   /* Still responsive if screen is narrower */
  height: auto !important;
  filter: invert(1);
}

/* Large tablets & small laptops */
@media (max-width: 1200px) {
  .overlay-logo {
    width: 750px !important;
    max-width: 90vw !important;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .overlay-logo {
    width: 650px !important;
    max-width: 90vw !important;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  .overlay-logo {
    width: 500px !important;    /* Guarantee HUGE logo on phones */
    max-width: 95vw !important; /* fills the screen */
  }
}

/* Small phones */
@media (max-width: 480px) {
  .overlay-logo {
    width: 420px !important;    /* still very large */
    max-width: 95vw !important;
  }
}


.masthead-subheading,
.masthead-heading {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.masthead-subheading {
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: white;
}

.masthead-heading {
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.btn-primary {
  background-color: var(--ast-dark);
  color: var(--ast-light);
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--ast-primary);
  color: var(--ast-dark);
}

.page-section {
  padding: 60px 20px;
}

.bg-light {
  background-color: #f9f9f9;
}

h2.section-heading {
  color: var(--ast-dark);
}

.footer {
  background-color: var(--ast-dark);
  color: var(--ast-light);
}

.text-muted {
  color: #555;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
}


.industry-item img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.industry-item img:hover {
  transform: scale(1.05);
}

.industry-item h5 {
  margin-top: 10px;
  font-size: 1rem;
  color: #003366;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.product-item {
  text-align: center;
  width: 250px;
}

.product-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 12px;
}

.product-item h5 {
  font-size: 1.1rem;
  color: #003366;
  margin-bottom: 8px;
}

.product-text {
  font-size: 0.95rem;
  color: #333;
}
.supplier-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.supplier-grid img {
  max-width: 300px;      /* your size */
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
  border: 2px solid #000;   /* black border */
  border-radius: 6px;       /* optional */
  padding: 5px;             /* spacing so border doesn’t touch the logo */
  background: white;        /* keeps border clean even with transparent PNGs */
}

.supplier-grid img:hover {
  transform: scale(1.05);
}
