/* GSSI EMPRISE MASTER STYLES - v6.1 
   Features: Dual-Axis Sticky Banners, Curtain Reveal, Frosted Overlap Cards
*/

:root {
  --navy: #0b1220;
  --copper: #b87333;
  --slate: #475569;
  --light-gray: #f8fafc;
  --radius: 4px;
  --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- REVEAL STACK ENGINE --- */
.reveal-stack {
  position: relative;
  width: 100%;
  background: white;
  overflow: visible; /* Allows long content to scroll naturally */
}

/* SLIMMER STICKY BANNER */
.sticky-banner {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 35vh; /* Slim profile as requested */
  width: 100%;
  background-size: cover;
  background-position: bottom 0%; /* Start image at top for Dual-Axis scroll */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Sits behind the following section */
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.6);
  z-index: 1;
}

.banner-text {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  border-left: 6px solid var(--copper);
  padding-left: 15px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- SECTION ARCHITECTURE --- */
section {
  position: relative;
  padding: 10px 0;
  background: #fff;
  z-index: 10; /* Higher than banner to slide OVER it */
  box-shadow: 0 -20px 40px rgba(0,0,0,0.2); /* The "Curtain" edge */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-lead {
    text-align: left;
  font-size: 1.15rem;
  color: var(--slate);
/*  max-width: 800px;
*/  line-height: 1.6;
}

/* --- OVERLAP GRID ENGINE (Consistency for Products & Services) --- */
.OvrLp_section {
  padding-bottom: 160px; /* Extra space for overlapping cards */
}

.OvrLp_wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 6rem 4rem;
  margin-top: 4rem;
}

.OvrLp_card {
  position: relative;
  height: 480px; /* Height to support 1400px image assets */
  transition: var(--transition);
}

.OvrLp_imageLayer {
  height: 75%;
  width: 100%;
  border-radius: var(--radius);
  background-size: contain;
  background-position: center;
  filter: grayscale(20%);
  transition: var(--transition);
}

/* FROSTED STYLE (Used for Technical Products & Detailed Services) */
.OvrLp_textLayer.frosted {
  position: absolute;
  left: 5%;
  bottom: 0;
  width: 90%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1.8rem;
  border-radius: var(--radius);
  border-left: 5px solid var(--copper);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transform: translateY(25%);
  transition: var(--transition);
}

/* CORPORATE STYLE (Used for About Us) */
.OvrLp_textLayer.corporate {
  position: absolute;
  left: 5%;
  bottom: 0;
  width: 90%;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--navy);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(20%);
  transition: var(--transition);
}

.OvrLp_label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.OvrLp_title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.OvrLp_subtitle {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.5;
}

/* Hover Effects */
.OvrLp_card:hover .OvrLp_imageLayer {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.OvrLp_card:hover .OvrLp_textLayer {
  transform: translateY(15%); /* Lift effect on hover */
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* --- TWO COLUMN UTILITY (Why GSSI) --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col .media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- BULLET LISTS --- */
.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--slate);
}

.bullet-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: bold;
}

.bullet-list-small {
  list-style: none;
  padding: 0;
}

.bullet-list-small li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--slate);
}

.bullet-list-small li::before {
  content: '•';
  color: var(--copper);
  margin-right: 8px;
}

/* --- SECTOR TILES --- */
.sector-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.sector {
  background: var(--light-gray);
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.sector:hover {
  background: var(--navy);
  color: #fff;
  border-bottom-color: var(--copper);
  transform: translateY(-5px);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
  .two-col { grid-template-columns: 1fr; }
  .sticky-banner { height: 25vh; }
  .OvrLp_wrap { grid-template-columns: 1fr; }
  .OvrLp_card { height: 400px; }
}

/* Styling for Sector Cards */
/* Full Color Sector Styling */
.sector-card {
  height: 320px !important; /* Increased height for better "Cover" visibility */
  overflow: hidden;
}

.sector-img {
  /* No more grayscale or tiling */
  filter: brightness(0.75); 
  transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sector-card:hover .sector-img {
  filter: brightness(1); /* Full vibrant color on hover */
  transform: scale(1.08); /* Sophisticated zoom without tiling */
}

/* Enhancing the Frosted Label for readability over colored images */
.sector-card .OvrLp_textLayer.frosted {
  background: rgba(11, 18, 32, 0.6); /* Darker frost to contrast with vivid images */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 85%;
  bottom: 20px;
}

.sector-card .OvrLp_title {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
}