/* admission.css — cleaned & page-specific */

/* -------------------------
   Wrapper & base
.mmet-portal-wrapper {
  width: 100%;
  min-height: 100vh;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: #f8fafc;
  overflow-x: hidden;
}

/* -------------------------
   Header with animated gradient
   ------------------------- */
.mmet-portal-header {
  position: relative;
  padding: 100px 20px;
  padding-top: calc(100px + 80px);
  padding-bottom: 80px; /* enough space for subtitle */
  text-align: center;

  background: linear-gradient(-45deg, #3c6beb, #1e40af, #5687d7, #333f67);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;

  /*  removed clip-path */
  box-sizing: border-box;
}

/* slightly smaller header on narrower screens */
@media (max-width: 1200px) {
  .mmet-portal-header {
    padding-top: calc(90px + 70px);
  }
}
@media (max-width: 768px) {
  .mmet-portal-header {
    padding-top: calc(70px + 60px);
  }
}

/* gradient animation */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* blinking cursor */
@keyframes blink {
  50% { opacity: 0; }
}

/* -------------------------
   Typing / Hero text
   ------------------------- */
.mmet-portal-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-shadow: 0 10px 20px rgba(106, 98, 98, 0.2);
   color: #ffffff; /* ADD THIS */

  min-height: 1.2em; /* keeps height stable while typing */
}

/* small blinking pipe after the title */
.mmet-portal-title::after {
  content: "|";
  animation: blink 0.8s infinite;
  color: #fbbf24;
}

.mmet-portal-subtitle {
  font-size: 1.4rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* -------------------------
   Grid & glass panes
   ------------------------- */
.mmet-portal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  margin-top: -50px; /* overlap effect with header */
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* pane (card) */
.mmet-portal-pane {
  background: rgba(10,21,39,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  flex: 1 1 450px;
  padding: 50px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  overflow: hidden;
  box-sizing: border-box;
}

.mmet-portal-pane:hover {
  transform: translateY(-15px);
  background: rgba(30,41,59,0.9);
  border-color: #fbbf24;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* pane heading & label */
.mmet-pane-heading {
  color: #fbbf24;
  font-size: 1.2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 600;
  margin-bottom: 30px;
  border-left: 5px solid #fbbf24;
  padding-left: 15px;
}

.mmet-sub-label {
  color: #38bdf8;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 30px;
  font-weight: bold;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* subtle decorative icon in pane footer (faint until hover) */
.pane-footer-icon {
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 2rem;
  opacity: 0.08;
  transition: 0.3s;
}
.mmet-portal-pane:hover .pane-footer-icon {
  opacity: 1;
  right: 20px;
  color: #fbbf24;
}

/* -------------------------
   Documents list
   ------------------------- */
.mmet-doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mmet-doc-list li {
  position: relative;               /* required so ::before positions correctly */
  padding: 15px 0 15px 40px;
  color: #cbd5e1;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.mmet-doc-list li:hover {
  color: #ffffff;
  padding-left: 50px;
}

.mmet-doc-list li::before {
  content: "✦";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fbbf24;
  text-shadow: 0 0 10px #fbbf24;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* -------------------------
   Small-screen adjustments
   ------------------------- */
@media (max-width: 600px) {
  .mmet-portal-grid { padding: 15px; }
  .mmet-portal-pane { padding: 30px; }
}

/* Responsive behaviour for narrow devices:
   keep the portal layout readable on tablets / phones */
@media (max-width: 900px) {
  .mmet-portal-grid { gap: 20px; }
  .mmet-pane-heading { font-size: 1.4rem; }
}
/* FIX ADMISSION HEADING SIZE */
.mmet-portal-pane h2.mmet-pane-heading{
  font-size: 40px !important;
  line-height: 1.3 !important;
}

.mmet-action-footer {
  display: flex;
  justify-content: center;
  padding: 60px 20px 80px; /* Space above and below the button */
  width: 100%;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* The Button Styling */
.mmet-apply-now-btn {
  background: #fbbf24; /* Matches your gold accents */
  color: #131314;      /* Dark blue text for contrast */
  padding: 20px 50px;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 15px;
  border: 2px solid transparent;
}

/* Animation on Hover */
.mmet-apply-now-btn:hover {
  transform: translateY(-8px) scale(1.03);
  background: #ffffff;
  color: #1e40af;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: #fbbf24;
}

.mmet-apply-now-btn i {
  transition: transform 0.3s ease;
}

.mmet-apply-now-btn:hover i {
  transform: translateX(8px);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .mmet-apply-now-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px 30px;
  }
}






/* ======= 1. SECTION BASE (Deep Midnight Navy) ======= */
.why-section {
  padding: 80px 0;
  /* PROFESSIONAL DEEP NAVY: Gradient for 3D depth */
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 70%, #020617 100%) !important;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ======= 2. CINEMATIC HEADER (Silver & Sky Shine) ======= */
.why-title {
  font-size: 40px !important;  /* 🔥 force apply */
  font-weight: 900;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: Georgia, 'Times New Roman', Times, serif;

  background: linear-gradient(90deg, #e2e8f0, #0ea5e9, #ffffff, #0ea5e9, #e2e8f0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: metallicShine 4s linear infinite;
  letter-spacing: -1px;
}
@keyframes metallicShine { to { background-position: 200% center; } }

.why-subtitle {
  font-size: 19px;
  color: #fbfdff; /* Soft Slate-Blue */
  max-width: 850px;
  margin: 0 auto 60px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  line-height: 1.6;
}

/* ======= 3. POINT-WISE LAYOUT (No Boxes) ======= */
.why-container {
  width: 100%;
  max-width: 100%;        /* remove 1200px restriction */
  margin: 0;
  
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */

  gap: 50px 60px;        /* better spacing */

  padding: 0 8%;         /* side spacing (premium look) */
  box-sizing: border-box;
}

/* ======= 4. SHINING STAR POINTS ======= */
.why-box {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 10px 0;
  transition: all 0.4s ease;
  background: transparent !important; /* Forces removal of any box bg */
  border: none !important; /* Forces removal of borders */
}
.why-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%; /* perfect circle */

  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.4);

  font-size: 26px; /* controls emoji/icon size */
  line-height: 1;

  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);

  flex-shrink: 0; /* prevents shrinking */
}
/* Icon Glow Effect */
.why-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  padding: 10px 0;
  width: 100%;
}
.why-box:hover .why-icon {
  background: #f5f8fa;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
}

/* Text Content Styling */
.why-box h3 {
  font-size: 22px;
  line-height: 1.3;
   color: #0ea5e9;
}

.why-box p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 320px; /* keeps text neat */
}

.why-box p {
  font-size: 16px;
  color: #cbd5e1; /* Soft Silver-Grey */
  line-height: 1.6;
  margin: 0;
  position: relative;
  padding-left: 20px;
}

/* THE STAR BULLET: Point-wise Styling */
.why-box p::before {
  content: "✦"; /* Posh Shining Star */
  position: absolute;
  left: 0;
  color: #0ea5e9;
  font-size: 14px;
  top: 2px;
  text-shadow: 0 0 10px #0ea5e9;
}

/* ======= 5. INTERACTIVE HOVER ======= */
.why-box:hover h3 {
  color: #0ea5e9; /* Sky Blue Highlight */
  transform: translateX(5px);
  transition: 0.3s ease;
}
@media (max-width: 1000px) {
  .why-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 6%;
  }
}

@media (max-width: 600px) {
  .why-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}
/* ======= 6. RESPONSIVE ======= */
@media (max-width: 900px) {
  .why-container { grid-template-columns: 1fr; row-gap: 40px; }
  .why-title { font-size: 38px; }
}
/* -------------------------space */
/* REMOVE GAP ABOVE WHY SECTION */
.why-section {
  margin-top: 0 !important;
  padding-top: 30px !important;   /* reduced from 80px */
  padding-bottom: 60px;
}

/* remove space from title */
.why-title {
  margin-top: 0 !important;
}

/* remove extra gap from subtitle */
.why-subtitle {
  margin-top: 10px;
  margin-bottom: 40px; /* reduced */
}

/* FIX HEADER BOTTOM SPACE */
.mmet-portal-header {
  padding-bottom: 40px; /* reduce bottom gap */
}

/* REMOVE OVERLAP ISSUE */
.mmet-portal-grid {
  margin-top: 20px !important; /* was negative before */
}
/* ===== FIX SPACING BETWEEN SECTIONS ===== */

/* Remove unwanted big gaps */
.mmet-portal-wrapper {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Fix header bottom spacing */
.mmet-portal-header {
  padding-bottom: 80px; /* reduced from large visual gap */
}

/* REMOVE overlap issue */
.mmet-portal-grid {
  margin-top: 30px; /* was -50px (causing spacing issue) */
  padding-top: 0;
}

/* Reduce WHY section top gap */
.why-section {
  padding-top: 60px;
  padding-bottom: 60px;
  margin-top: 0;
}

/* Reduce space below WHY section */
.why-container {
  margin-bottom: 0;
}

/* Tighten gap before cards */
.mmet-portal-grid {
  margin-bottom: 20px;
}

/* Reduce button spacing */
.mmet-action-footer {
  padding: 40px 20px 50px; /* reduced from 60px 80px */
}

/* Remove extra space from headings */
h1, h2, h3, p {
  margin-top: 0;
}
/* space for primary */
/* remove unwanted gaps */
.why-section {
  margin-bottom: 0 !important;
  padding-bottom: 40px;
}

.mmet-portal-wrapper {
  margin-bottom: 0;
}
.mmet-portal-grid {
  margin-top: 0 !important;
  padding-top: 20px; /* small clean spacing */
}
/* 🔥 FULL WIDTH HD NAVY BACKGROUND */
.mmet-portal-grid {
  width: 100%;
  max-width: 100%;   /* remove restriction */
  margin: 0;         /* remove center spacing */

  background: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 40%,
    #1e293b 70%,
    #020617 100%
  );

  padding: 60px 6%;  /* responsive side spacing */
  
  border-radius: 0;  /* full width look (no cut edges) */
  box-shadow: inset 0 0 120px rgba(0,0,0,0.6);

  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
/* prim space */
/* 🔥 REMOVE ALL SPACE ABOVE CARDS (FINAL FIX) */

/* remove space below WHY section */
.why-section {
  margin-bottom: 0 !important;
  padding-bottom: 20px !important;
}

/* remove extra space from header bottom */
.mmet-portal-header {
  padding-bottom: 20px !important;
}

/* 🔥 MAKE CARDS TOUCH TOP CLEANLY */
.mmet-portal-grid {
  margin-top: 0 !important;
  padding-top: 0 !important;
}