/* Hero */
.sectors-hero {
    position: relative;
    text-align: center;
}
.sectors-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); /* dark overlay */
}
.sectors-hero .container {
    position: relative;
    z-index: 2;
}
.sectors-hero h1 {
    font-size: 3rem;
}
.sectors-hero p {
    font-size: 1.2rem;
}

/* Intro */
.sectors-intro h2 {
    font-size: 2rem;
    color: #0a1931;
}
.sectors-intro p {
    font-size: 1.1rem;
    color: #444;
}

/* Alternating Sector Layout */
.sectors-list .sector-img {
    border-radius: 12px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.sectors-list h3 {
    color: #0a1931;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.sectors-list p {
    color: #555;
    font-size: 1rem;
}

/* CTA */
.sectors-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sectors-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.sectors-cta .container {
    position: relative;
    z-index: 2;
}

/* Hidden content */
.collapse-content {
    display: none;
    margin-top: 10px;
    padding: 10px 15px;
    border-left: 3px solid #006400;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Arrow animation */
.sector-toggle {
    cursor: pointer;
}
.sector-toggle .arrow {
    font-size: 1rem;
    transition: transform 0.3s;
}
.sector-toggle.active .arrow {
    transform: rotate(180deg); /* rotate when open */
}

/* Hide subsidiaries initially */
.sector-extra {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease-in-out;
}

/* Show subsidiaries when hovering over whole sector box */
.sector-box:hover .sector-extra {
    opacity: 1;
    max-height: 300px; /* enough to show links */
    transform: translateY(0);
}

/* Subsidiary Cards */
.subsidiary-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.subsidiary-card {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f9fa;
    text-decoration: none;
    color: #152e6b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subsidiary-card:hover {
    background: #152e6b;
    color: #fff;
}



/* ------------------- */
/* Hero Section */
/* ------------------- */
.subsector-hero {
  position: relative;
  text-align: center;
}
.subsector-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* dark overlay */
}
.subsector-hero .container {
  position: relative;
  z-index: 2;
}
.subsector-hero h1 {
  font-size: 3rem;
}
.subsector-hero p {
  font-size: 1.2rem;
}

/* ------------------- */
/* Overview Section */
/* ------------------- */
.subsector-overview h2 {
  font-size: 2rem;
  color: #0a1931;
}
.subsector-overview p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

/* ------------------- */
/* Services Section */
/* ------------------- */
.subsector-services .service-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.subsector-services .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.subsector-services h3 {
  color: #0a1931;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.subsector-services p {
  color: #555;
  font-size: 1rem;
}

/* ------------------- */
/* CTA Section */
/* ------------------- */
.subsector-cta {
  position: relative;
  text-align: center;
}
.subsector-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.subsector-cta .container {
  position: relative;
  z-index: 2;
}
.subsector-cta h2 {
  font-size: 2rem;
}
.subsector-cta p {
  font-size: 1.1rem;
}

/* ------------------- */
/* Utility */
/* ------------------- */
.btn-shadow {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.subsector-hero {
  position: relative;
  color: #fff; /* ensure text stays white */
}

.subsector-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* semi-transparent dark overlay */
  z-index: 1;
}

.subsector-hero .container {
  position: relative;
  z-index: 2;
}

