/* ============================================================
   FREE INDEED MPC SOCIETY — PUBLIC CSS
   ============================================================ */

:root {
    --navy:       #1B3A6B;
    --navy-dark:  #122848;
    --gold:       #C8960C;
    --gold-light: #F5C842;
    --white:      #FFFFFF;
    --light-bg:   #F8F9FA;
    --text-dark:  #2C3E50;
    --text-muted: #6C757D;
}

/* ── BASE ── */
* { box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Raleway', sans-serif; }
a { text-decoration: none; }

/* ── NAVBAR ── */
#navbar {
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
    padding: 18px 0;
    z-index: 1000;
}
#navbar.scrolled {
    background: var(--navy-dark) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
    padding: 10px 0;
}
#navbar .navbar-toggler { border-color: rgba(255,255,255,0.5); }
#navbar .navbar-toggler-icon { filter: invert(1); }
.brand-text { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--gold); letter-spacing: 1px; }
.nav-link { color: rgba(255,255,255,0.9) !important; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.5px; text-transform: uppercase; padding: 8px 14px !important; transition: color 0.2s; }
.nav-link:hover { color: var(--gold-light) !important; }
.btn-login { background: var(--gold); color: var(--navy-dark) !important; font-weight: 700; font-size: 0.88rem; border-radius: 25px; padding: 8px 24px !important; letter-spacing: 0.5px; transition: all 0.3s; }
.btn-login:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(200,150,12,0.4); }

/* ── HERO ── */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-dark) 0%, #2a5298 50%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.15); }
.hero-tagline { color: var(--gold-light); font-size: 1rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; }
.hero-title { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.2; margin: 16px 0; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); font-style: italic; }
.btn-hero-primary { background: var(--gold); color: var(--navy-dark); font-weight: 700; border-radius: 30px; padding: 14px 32px; font-size: 1rem; transition: all 0.3s; border: none; }
.btn-hero-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,150,12,0.4); color: var(--navy-dark); }
.btn-hero-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6); border-radius: 30px; padding: 13px 32px; font-size: 1rem; transition: all 0.3s; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.scroll-indicator a { color: rgba(255,255,255,0.6); font-size: 1.5rem; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── SECTION COMMON ── */
.section-padding { padding: 90px 0; }
.section-label { color: var(--gold); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 0.8rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin: 10px 0 0; }
.section-divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin: 15px auto 20px; }
.section-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.btn-primary-custom { background: var(--navy); color: white; border-radius: 25px; padding: 12px 28px; font-weight: 600; transition: all 0.3s; }
.btn-primary-custom:hover { background: var(--navy-dark); color: white; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(27,58,107,0.3); }

/* ── ABOUT ── */
.about-section { background: var(--white); }
.mission-card { background: var(--white); border: 1px solid #e8ecf0; border-radius: 16px; padding: 32px 24px; text-align: center; height: 100%; transition: all 0.3s; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.mission-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(27,58,107,0.12); border-color: var(--gold); }
.mission-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--navy), #2a5298); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: white; }
.mission-card h5 { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.mission-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.about-text { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-stat-card { background: linear-gradient(135deg, var(--navy), #2a5298); border-radius: 12px; padding: 20px; text-align: center; color: white; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--gold-light); margin: 0; }
.stat-label { font-size: 0.8rem; margin: 4px 0 0; opacity: 0.8; }
.about-sub-title { font-weight: 800; color: var(--navy); font-size: 1.4rem; margin-bottom: 16px; }
.about-principles { background: #f8f9ff; border-radius: 16px; padding: 32px; border-left: 4px solid var(--navy); }
.about-principles h4 { font-weight: 800; color: var(--navy); }
.principle-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.principle-item:last-child { margin-bottom: 0; }
.principle-icon { width: 44px; height: 44px; background: var(--navy); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.principle-item h6 { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.principle-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ── PRODUCTS ── */
.products-section { background: linear-gradient(135deg, #f0f4ff 0%, #fafafa 100%); }
.product-card { background: white; border-radius: 16px; padding: 36px 28px; text-align: center; height: 100%; transition: all 0.3s; border: 1px solid #e8ecf0; position: relative; overflow: hidden; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.product-icon { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 20px; }
.savings-icon { background: linear-gradient(135deg, #28a745, #20c997); color: white; }
.loans-icon   { background: linear-gradient(135deg, #fd7e14, #ffc107); color: white; }
.shares-icon  { background: linear-gradient(135deg, #6f42c1, #e83e8c); color: white; }
.services-icon{ background: linear-gradient(135deg, var(--navy), #2a5298); color: white; }
.product-card h5 { font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.product-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.product-badge { display: inline-block; background: var(--light-bg); color: var(--navy); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-top: 16px; border: 1px solid #dee2e6; }

/* ── EXECUTIVES ── */
.executives-section { }

/* ── CONTACT ── */
.contact-section { background: white; }
.contact-info-card { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: white; border-radius: 16px; padding: 36px 28px; height: 100%; }
.contact-info-card h5 { font-weight: 700; color: var(--gold-light); }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-item i { font-size: 1.3rem; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; margin-bottom: 4px; }
.contact-info-item p { margin: 0; }
.contact-info-item a { color: white; }
.contact-info-item a:hover { color: var(--gold-light); }
.contact-form-card { background: #f8f9ff; border-radius: 16px; padding: 36px 28px; border: 1px solid #e8ecf0; }
.contact-form-card h5 { font-weight: 700; color: var(--navy); }
.contact-form-card .form-control { border-radius: 8px; border-color: #dee2e6; padding: 10px 14px; }
.contact-form-card .form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,107,0.1); }

/* ── FOOTER ── */
#footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 60px 0 30px; }
.footer-brand { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--gold); font-size: 1.1rem; letter-spacing: 1px; }
.footer-tagline { color: var(--gold-light); font-style: italic; font-size: 0.9rem; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; }
.footer-heading { color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-links i { font-size: 0.7rem; margin-right: 4px; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--gold); }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 30px 0 20px; }
.footer-copyright p { font-size: 0.84rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ── LOGIN PAGE ── */
.login-body { margin: 0; padding: 0; background: #f0f4ff; }
.login-wrapper { display: flex; min-height: 100vh; }
.login-left { width: 45%; background: linear-gradient(150deg, var(--navy-dark) 0%, #2a5298 60%, var(--navy) 100%); flex-direction: column; align-items: center; justify-content: center; padding: 60px 50px; position: relative; overflow: hidden; }
.login-left::before { content: ''; position: absolute; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; top: -100px; right: -100px; }
.login-left::after  { content: ''; position: absolute; width: 300px; height: 300px; background: rgba(255,255,255,0.03); border-radius: 50%; bottom: -80px; left: -80px; }
.login-left-content { position: relative; z-index: 1; }
.login-back-link { color: rgba(255,255,255,0.6); font-size: 0.85rem; display: inline-block; margin-bottom: 50px; transition: color 0.2s; }
.login-back-link:hover { color: var(--gold-light); }
.login-brand-name { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 2rem; color: white; line-height: 1.2; margin-bottom: 10px; }
.login-brand-tag { color: var(--gold-light); font-style: italic; font-size: 1rem; }
.login-features { margin-top: 50px; }
.login-feature-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: rgba(255,255,255,0.8); }
.login-feature-item i { font-size: 1.2rem; color: var(--gold-light); }
.login-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-form-container { width: 100%; max-width: 440px; }
.login-form-header h3 { font-weight: 800; color: var(--navy); font-size: 1.8rem; }
.login-form-header p { color: var(--text-muted); margin-bottom: 24px; }
.login-form-container .form-label { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }
.login-form-container .input-group-text { background: #f0f4ff; border-right: none; color: var(--navy); }
.login-form-container .form-control { border-left: none; }
.login-form-container .form-control:focus { box-shadow: none; border-color: #ced4da; }
.login-form-container .input-group:focus-within .input-group-text,
.login-form-container .input-group:focus-within .form-control { border-color: var(--navy); }
.btn-login-submit { background: linear-gradient(135deg, var(--navy), #2a5298); color: white; border-radius: 10px; padding: 14px; font-weight: 700; font-size: 1rem; transition: all 0.3s; border: none; }
.btn-login-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27,58,107,0.35); background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: white; }

/* ── ANIMATIONS ── */
.animate-fadeup { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    #navbar { background: var(--navy-dark) !important; }
    .hero-section { padding-top: 80px; }
    .login-left { display: none; }
}
@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
}
