/* =============================================================
   PAGES  —  mr-solutions · defence · aerospace · energy
   ============================================================= */

/* ── MR Solutions hero ── */
.mr-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 100vh;
  padding: 120px 8%;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.mr-hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(122, 162, 255, 0.25), transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

.mr-hero-left,
.mr-hero-right {
  position: relative;
  z-index: 2;
  will-change: transform;
}

.mr-hero h1 {
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.mr-hero p {
  margin-top: 22px;
  max-width: 560px;
  font-size: 17px;
  opacity: 0.75;
}

.mr-hero-right img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s ease;
}

/* .mr-hero-right:hover img { transform: scale(1.04); } */

/* ── MR Industries ── */
.mr-industries {
  padding: 100px 8%;
  display: flex;
  flex-direction: column;
  gap: 120px;
  position: relative;
  overflow: hidden;
}

.mr-industries::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(122, 162, 255, 0.15), transparent 70%);
  filter: blur(80px);
  top: 10%;
  left: -10%;
  animation: floatGlow 18s ease-in-out infinite;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(60px, -40px);
  }
}

.mr-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mr-block img {
  width: 100%;
  border-radius: var(--radius-md);
  will-change: transform;
  transition: transform 0.2s ease-out, filter 0.7s ease;
  filter: brightness(0.9);
}

.mr-block:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.mr-text h2 {
  font-size: 44px;
}

.mr-text button {
  margin-top: 20px;
  padding: 12px 22px;
  background: var(--red);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mr-text button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.mr-text button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 90, 95, 0.4);
}

.mr-text button:hover::after {
  opacity: 1;
}

/* ── MR Expertise ── */
.mr-expertise {
  padding: 140px 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mr-expertise::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(122, 162, 255, 0.18), transparent 70%);
  top: 20%;
  left: -10%;
  filter: blur(90px);
  animation: floatGlow 18s ease-in-out infinite;
}

.mr-exp-title {
  font-size: 48px;
  margin-bottom: 70px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mr-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

/* ── Defence hero ── */
.defence-hero {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  position: relative;
  overflow: hidden;
}

.defence-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 120, 255, 0.25), transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from {
    transform: translateX(-50%) scale(1);
  }

  to {
    transform: translateX(-50%) scale(1.2);
  }
}

.defence-hero-content {
  position: relative;
  z-index: 2;
}

.defence-hero h1 {
  font-size: 56px;
  margin-bottom: 16px;
}

.defence-hero p {
  max-width: 700px;
  margin: auto;
  opacity: 0.8;
}

/* ── Defence / Aero / Energy content grid ── */
.defence-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 120px 8%;
  align-items: start;
}

.defence-images img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.defence-images img:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.defence-text h3 {
  margin-top: 28px;
  font-size: 22px;
}

.defence-text p {
  margin-top: 14px;
  opacity: 0.85;
  line-height: 1.8;
  color: #c9d3ff;
}

/* ── Defence CTA ── */
.defence-cta {
  text-align: center;
  padding: 120px 8%;
  background: linear-gradient(180deg, transparent, #02040a);
}

.defence-cta h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

/* ── Aerospace text content ── */
.aero-content {
  max-width: 620px;
  margin-left: 40px;
  color: #cfd8ff;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aero-content .intro {
  font-size: 15px;
  color: #9fb3ff;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.aero-content h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.3;
  position: relative;
}

.aero-content h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, #7c8cff, #4be1ff);
  box-shadow: 0 0 12px rgba(75, 225, 255, 0.6);
}

.aero-content ul {
  margin-top: 14px;
  padding-left: 18px;
}

.aero-content li {
  font-size: 15px;
  margin-bottom: 12px;
  color: #b8c6ff;
}

.aero-content li::marker {
  color: #6fa8ff;
}

/* ── Energy hero ── */
.energy-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.energy-hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(80, 140, 255, 0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
}

.energy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 150, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 150, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.energy-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.energy-hero h1 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.energy-hero p {
  font-size: 18px;
  color: #a9b8ff;
  line-height: 1.6;
}

.energy-divider {
  width: 90px;
  height: 3px;
  margin: 28px auto;
  background: linear-gradient(90deg, #7c8cff, #4be1ff);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(75, 225, 255, 0.7);
}

.energy-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 2px solid rgba(180, 200, 255, 0.5);
  border-radius: 20px;
}

.energy-scroll::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: #9fb3ff;
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}


/* =============================================================
   INVESTOR LAYOUT (Sidebar + Content)
   ============================================================= */

.ir-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 40px 100px;
  gap: 60px;
}



/* ── Sidebar ── */
.ir-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  padding: 30px;
  background: rgba(15, 20, 35, 0.5);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  align-self: start;
}

.ir-sidebar ul {
  list-style: none;
}

.ir-content {
  position: relative;
  z-index: 2;
}

.ir-sidebar {
  z-index: 3;
}


.ir-sidebar li {
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  cursor: pointer;
}

.ir-sidebar li:hover {
  background: rgba(122, 162, 255, 0.1);
  color: #fff;
  transform: translateX(6px);
}

.ir-sidebar li.active {
  background: linear-gradient(90deg,
      rgba(122, 162, 255, 0.15),
      rgba(255, 77, 141, 0.15));
  color: #fff;
  border-left: 3px solid var(--blue);
}

/* ── Content Area ── */
.ir-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}


.ir-content h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
  letter-spacing: -0.5px;
}

.ir-content h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 14px;
  background: var(--blue);
  border-radius: 2px;
}



.ir-year {
  margin-bottom: 60px;
}

.ir-year h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.ir-files {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.ir-file {
  padding: 18px 28px;
  border-radius: var(--radius-md);
  background: rgba(15, 20, 35, 0.45);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  font-weight: 500;
  color: #fff;
  transition: all 0.4s var(--ease-smooth);
}

.ir-file:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(122, 162, 255, 0.4);
}

.ir-content {
  position: relative;
  padding: 60px 20px 60px 20px;
}

.ir-content::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(122, 162, 255, 0.15),
      transparent 70%);
  top: 10%;
  right: 0;
  filter: blur(80px);
  z-index: 0;
}

.ir-content>* {
  position: relative;
  z-index: 2;
}


.ir-section-content {
  display: none;
  animation: fadeSwitch 0.4s ease forwards;
}

.ir-section-content.active {
  display: block;
}

@keyframes fadeSwitch {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
