/* ================================
   GLOBAL BODY STYLES
================================= */

body {
    font-family: 'Poppins', sans-serif;
    background: #0b0711;
    color: #f6f0f7;
    margin: 0;
    padding: 0;
}

.mmih-main {
    padding-top: 95px; /* navbar space */
}

/* ================================
   NAVBAR
================================= */

.mmih-navbar {
    background: linear-gradient(90deg, #1d0b22 0%, #2a0f2a 45%, #3b1037 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
}

.mmih-logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffdde1, #ee9ca7, #7b2c82);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.mmih-tagline {
    font-size: 10px;
    opacity: 0.85;
    margin-top: -1px;
}

/* NAV LINKS */

.navbar-dark .navbar-nav .nav-link {
    color: #f2dce8;
    font-size: 0.94rem;
    padding-bottom: 3px;
    position: relative;
    transition: 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffbccc;
}

.navbar-dark .navbar-nav .nav-link.active::after,
.navbar-dark .navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #ffbccc;
    border-radius: 20px;
}

/* Right Side Buttons */

.mmih-btn-outline {
    border: 1px solid #ffb6c1;
    border-radius: 999px;
    background: transparent;
    color: #ffd9e2;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.3s ease;
}

.mmih-btn-outline:hover {
    background: rgba(255,182,193,0.18);
    color: #ffffff;
}

.mmih-btn-fill {
    background: linear-gradient(135deg,#ff85a1,#ffc3a0);
    border: none;
    color: #3a0930;
    font-weight: 600;
    padding: 6px 18px;
    font-size: 0.85rem;
    border-radius: 999px;
}

.mmih-btn-fill:hover {
    filter: brightness(1.12);
}

/* ================================
   HERO SECTION
================================= */

.mmih-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, rgba(255,190,220,0.2), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255,130,180,0.22), transparent 60%),
                #0b0711;
}

.mmih-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.3rem, 4vw, 3.3rem);
    line-height: 1.15;
}

.mmih-hero-heart {
    font-size: 1.6rem;
    animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {
    0%,100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(0.98); }
    75% { transform: scale(1.1); }
}

.mmih-hero-img img {
    border-radius: 28px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.6);
}

/* ================================
   SECTION HEADINGS
================================= */

.mmih-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-align: center;
}

/* ================================
   CARDS
================================= */

.mmih-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 182, 193, 0.25);
    border-radius: 22px;
    padding: 25px;
    transition: 0.35s ease;
    height: 100%;
    box-shadow: 0 12px 35px rgba(0,0,0,0.55);
}

.mmih-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.65);
    border-color: rgba(255,182,193,0.55);
}

/* Card Typography */

.mmih-card h5,
.mmih-card h4 {
    color: #ffffff;
    font-weight: 600;
}

.mmih-card p,
.mmih-card .small {
    color: rgba(255,255,255,0.85);
}

.mmih-card a {
    color: #7dafff !important;
    font-weight: 500;
}

.mmih-card a:hover {
    color: #b9cfff !important;
}

/* Card Images */

.mmih-card img {
    border-radius: 20px 20px 0 0;
    width: 100%;
}

/* ================================
   TIMELINE (YEARLY CALENDAR)
================================= */

.mmih-timeline {
    border-left: 2px dashed rgba(255, 182, 193, 0.5);
    padding-left: 1.5rem;
}

.mmih-timeline-item {
    margin-bottom: 1.6rem;
    position: relative;
}

.mmih-timeline-item::before {
    content: "";
    position: absolute;
    left: -1.7rem;
    top: 4px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg,#ff85a1,#ffc3a0);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,182,193,0.25);
}

/* ================================
   AUTH FORMS (LOGIN / REGISTER)
================================= */

.mmih-auth-wrapper {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mmih-auth-card {
    background: rgba(20, 12, 40, 0.92);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,182,193,0.25);
}

.mmih-auth-card input {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,182,193,0.18);
    color: #fff;
}

.mmih-auth-card input:focus {
    border-color: #ffb6c1;
    box-shadow: 0 0 0 3px rgba(255,182,193,0.25);
}

/* ================================
   FOOTER
================================= */

.mmih-footer {
    background: #07040a;
    border-top: 1px solid rgba(255,182,193,0.15);
    color: rgba(255,255,255,0.85);
    margin-top: 60px;
}

.mmih-footer a {
    color: #ffc9d9;
    text-decoration: none;
}

.mmih-footer a:hover {
    text-decoration: underline;
}

.mmih-footer-hr {
    border-color: rgba(255,182,193,0.25);
}

/* ================================
   RESPONSIVE ADJUSTMENTS
================================= */

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* ======================================
   FORCE TEXT TO BE BRIGHT & READABLE
====================================== */

/* All headings inside cards */
.mmih-card h1,
.mmih-card h2,
.mmih-card h3,
.mmih-card h4,
.mmih-card h5,
.mmih-card h6 {
    color: #ffffff !important;
}

/* All paragraphs & small text inside cards */
.mmih-card p,
.mmih-card .small,
.mmih-card span,
.mmih-card li {
    color: #f8eefe !important;   /* soft bright lavender/white */
    opacity: 1 !important;       /* ensure full visibility */
}

/* Improve contrast further if needed */
.mmih-card {
    background: rgba(255, 255, 255, 0.06) !important; /* slightly lighter */
    border-color: rgba(255, 182, 193, 0.35) !important;
}

/* Card links */
.mmih-card a {
    color: #89b0ff !important;   /* brighter blue */
    font-weight: 600 !important;
}

.mmih-card a:hover {
    color: #c4d7ff !important;
}
/* ======================================
   FIX DARK PARAGRAPH / TEXT VISIBILITY
   (Overrides Bootstrap .text-muted)
====================================== */

p,
.text-muted,
.mmih-dark-text,
section p,
.container p {
    color: rgba(255, 255, 255, 0.90) !important;  /* bright white/lavender */
    opacity: 1 !important;
}

/* If you want slightly softer text */
p.small,
small,
.container .small {
    color: rgba(255, 255, 255, 0.78) !important;
}
/* Squad Page Background */
.mmih-squad-bg {
    background: 
        linear-gradient(rgba(11,7,17,0.85), rgba(11,7,17,0.90)),
        url('../img/squad-bg.jpg') center/cover no-repeat;
    padding-top: 80px;
    padding-bottom: 80px;
}
/* clickable timeline */
.clickable-event {
    cursor: pointer;
    padding: 5px 0;
    border-radius: 8px;
    transition: 0.2s ease;
}

.clickable-event:hover {
    background: rgba(255,255,255,0.05);
}

.active-timeline {
    background: rgba(255,192,203,0.15);
    border-left: 3px solid #ff9fbd;
    padding-left: 8px;
}
/* Prevent footer overlap */
.mmih-footer {
    position: relative;
    z-index: 2;
}

main.mmih-main {
    min-height: 70vh; /* ensures content area is tall enough */
    display: block;
    padding-bottom: 60px; /* prevents footer overlap */
}
.partnership-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* ============================
   PARTNERSHIP PAGE HERO
============================ */
.mmih-partner-hero {
    background: 
        linear-gradient(rgba(20, 8, 30, 0.85), rgba(20, 8, 30, 0.9)),
        url('../img/partner-bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 182, 193, 0.15);
}

/* improves card consistency */
.partnership-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ensure footer does not overlap */
main.mmih-main {
    padding-bottom: 80px;
    display: block;
    min-height: 70vh;
}
.section-label {
    font-size: 1rem;
    font-weight: 600;
    color: #ffdee9;
}

.mmih-input {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

.mmih-input:focus {
    border-color: #ffb6c1 !important;
    box-shadow: 0 0 8px rgba(255,182,193,0.35) !important;
}

.register-card {
    max-width: 550px;
}

form select.mmih-input {
    color: #fff !important;
}
/* Wider registration card */
.register-wide-card {
    max-width: 950px !important;
    width: 100%;
    border-radius: 28px;
}

/* Improve spacing and structure */
.section-label {
    color: #ffdde6;
    font-weight: 600;
    margin-top: 10px;
}

.mmih-input {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-radius: 10px;
}

.mmih-input:focus {
    border-color: #ffb6c1 !important;
    box-shadow: 0 0 0 3px rgba(255,182,193,0.25) !important;
}
/* Wider, elegant registration card */
.register-wide-card {
    max-width: 850px;
    width: 100%;
    border-radius: 28px;
}

/* Section titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #ffd9e6;
    border-left: 4px solid #ffb6c1;
    padding-left: 12px;
}

/* Section spacing */
.form-section {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.form-section:last-of-type {
    border-bottom: none;
}

/* Inputs */
.mmih-input {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-radius: 10px;
}

.mmih-input:focus {
    border-color: #ffb6c1 !important;
    box-shadow: 0 0 0 3px rgba(255,182,193,0.25) !important;
}

/* Form select color fix */
form select.mmih-input {
    color: #fff !important;
}
.form-section small a:hover {
    text-decoration: underline;
}
/* ============================
   CUSTOM MMIH DROPDOWN
============================ */
.mmih-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.mmih-dropdown-display {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
}

.mmih-dropdown-display:after {
    content: "▾";
    float: right;
    opacity: 0.8;
}

.mmih-dropdown-options {
    display: none;
    position: absolute;
    width: 100%;
    background: #ffffff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0px 8px 18px rgba(0,0,0,0.2);
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 6px;
}

.mmih-dropdown.open .mmih-dropdown-options {
    display: block;
}

.mmih-dropdown-options .option {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

.mmih-dropdown-options .option:hover {
    background: #ffe6ef;
}

.mmih-dropdown-options .option:last-child {
    border-bottom: none;
}

/* Hidden input field */
.mmih-dropdown-hidden {
    display: none;
}
