/* ===============================
   MER & IR PAGE
=============================== */

:root{
  --primary:#002f6c;
  --accent:#c41230;
  --bg:#f4f6fb;
  --text:#333;
}

/* ===== HERO ===== */
.merir-hero{
  position: relative;
  height: 60vh;
  min-height: 920px;
  overflow: hidden;
  color: #fff;

  display: grid;
  grid-template-columns: 120px 600px 1fr;
  align-items: center;
}

.merir-hero-slider{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.merir-hero-slider .slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.merir-hero-slider .slide.active{
  opacity: 1;
  z-index: 1;
}

.merir-hero-slider img{
  width: 100%;
  object-fit: cover;
}

.merir-hero-overlay{
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.75),
    rgba(0,0,0,.35)
  );
  z-index: 1;
}

.merir-hero-content{
  grid-column: 2;
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.merir-badge{
  display:inline-block;
  background:var(--accent);
  padding:6px 14px;
  border-radius:50px;
  font-size:14px;
  margin-bottom:15px;
}

.merir-hero h1{
  font-size:42px;
  margin-bottom:15px;
}

.merir-hero p{
  font-size:18px;
  line-height:1.6;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}


/* ===== OVERVIEW ===== */
.merir-overview{
  background:#fff;
  padding:80px 0;
}

.merir-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:60px;
  align-items:center;
}

.merir-content h2{
  font-size:32px;
  color:var(--primary);
  margin-bottom:20px;
  margin-left: 160px;
}

.merir-content p{
  font-size:16px;
  line-height:1.8;
  margin-bottom:20px;
  margin-left: 160px;
}

.merir-points{
  list-style:none;
  padding:0;
  margin-left: 160px;
}

.merir-points li{
  position:relative;
  padding-left:25px;
  margin-bottom:12px;
}

.merir-points li::before{
  content:"✈";
  position:absolute;
  left:0;
  color:var(--accent);
}


.merir-image img{
  width:100%;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,.15);
}

/* ===== ELIGIBILITY ===== */
.merir-eligibility{
  background:var(--bg);
  padding:80px 0;
}

.merir-eligibility h2{
  text-align:center;
  font-size:32px;
  color:var(--primary);
  margin-bottom:50px;
}

.eligibility-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.eligibility-card{
  background:#fff;
  padding:30px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.eligibility-card:hover{
  transform: translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.eligibility-card h4{
  color:var(--primary);
  margin-bottom:10px;
}

/* ===== HIGHLIGHTS ===== */
.merir-highlights{
  background:#fff;
  padding:70px 0;
}

.highlight-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.highlight-box{
  background:#f9fafc;
  padding:25px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  transition: transform .4s ease, box-shadow .4s ease;
}

.highlight-box:hover{
  transform: translateY(-10px) scale(1.03);
  box-shadow:0 25px 50px rgba(0,0,0,.12);
}

.highlight-box h3{
  color:var(--primary);
  margin-bottom:10px;
}

/* ===== STRUCTURE ===== */
.merir-structure{
  background:var(--bg);
  padding:80px 390px;
}

.merir-structure h2{
  text-align:center;
  margin-bottom:50px;
  color:var(--primary);
}

.structure-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
}

.structure-card{
  background:#fff;
  border-radius:14px;
  box-shadow:0 15px 35px rgba(0,0,0,.08);
  transition: transform .4s ease, box-shadow .4s ease;
}

.structure-card:hover{
  transform: translateY(-8px);
  box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.structure-card h3{
  margin-bottom:15px;
  color:var(--accent);
  padding-left: 20px;
}

.structure-card li{
  margin-bottom:10px;
}

/* ===== STRUCTURE IMAGES ===== */
.structure-image{
  position: relative;
  height: 370px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 12px;
}

.structure-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

/* subtle zoom on hover */
.structure-card:hover .structure-image img{
  transform: scale(1.08);
}

/* optional dark overlay for premium feel */
.structure-image::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.45)
  );
}


/* ===== CTA Section ===== */
.merir-cta {
  padding: 90px 0;
  background: linear-gradient(
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.75)
    ),
    url("../images/cta-bg.jpg") center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.merir-cta h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.merir-cta p {
  font-size: 1.05rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.merir-btn{
    display: inline-block;
    margin-top: 24px;
    padding: 14px 34px;
    background: #fff;
    color: #002F6C;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}


.merir-final-cta{
  background:linear-gradient(90deg,#002F6C,#C41230);
  color:#fff;
  text-align:center;
  padding:70px 20px;
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:none}
}

.extra-footer {
  background: linear-gradient(180deg, #001f47, #062c56);  
  padding: 90px 0;
  color: #e5e5e5;
  font-family: "Inter", sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1300px;
  margin: auto;
}

/* LOGO + TEXT */
.footer-logo {
  height: 90px;
  margin-bottom: 25px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #cfcfcf;
  max-width: 420px;
}

/* SOCIAL */
.footer-social {
  margin-top: 25px;
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #b08d57;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffffff;
  color: #000;
}

/* LINK COLUMNS */
.footer-links h4 {
  color: #ffffff;
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  font-size: 14px;
  color: #cfcfcf;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-links ul li:hover {
  color: #ffffff;
}

.footer-links ul li {
  margin-bottom: 12px;
}

/* anchor styling */
.footer-links ul li a {
  display: inline-block;
  color: #cfcfcf;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* hover effect */
.footer-links ul li a:hover {
  color: #ffffff;
}

/* ================= REVEAL SYSTEM ================= */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Direction variants */
.reveal-left {
  transform: translateX(-70px);
}

.reveal-right {
  transform: translateX(70px);
}

.reveal-left.active,
.reveal-right.active {
  transform: translateX(0);
}

/* Stagger support (optional) */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }


/* ===== RESPONSIVE ===== */
@media(max-width:992px){
  .highlight-grid,
  .structure-grid{
    grid-template-columns:1fr;
  }
}


/* ===== RESPONSIVE ===== */
@media(max-width:992px){
  .merir-grid{
    grid-template-columns:1fr;
  }
  .eligibility-grid{
    grid-template-columns:1fr;
  }
  .merir-hero h1{
    font-size:34px;
  }
}
