/* ============================================
   minuteloanscenter.com — Master Stylesheet
   Theme: #ffffff / #2d65ad / #0c9e4b
   Layout: 1-column with Sidebar
   ============================================ */

/* === RESET & BASE === */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --white:#ffffff;--blue:#2d65ad;--green:#0c9e4b;
  --blue-dark:#1e4a80;--blue-light:#e8f0fb;--green-light:#e6f7ee;
  --gray-50:#f8f9fa;--gray-100:#f1f3f5;--gray-200:#e9ecef;
  --gray-300:#dee2e6;--gray-400:#ced4da;--gray-500:#adb5bd;
  --gray-600:#868e96;--gray-700:#495057;--gray-800:#343a40;
  --gray-900:#212529;
  --font-heading:'Merriweather',Georgia,serif;
  --font-body:'Source Sans 3','Source Sans Pro',system-ui,sans-serif;
  --max-w:1200px;--sidebar-w:320px;--gap:2rem;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08);
  --shadow-md:0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:0 8px 30px rgba(0,0,0,.12);
  --radius:8px;--radius-lg:12px;
  --transition:all .3s ease;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font-body);color:var(--gray-800);background:var(--white);line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none;transition:var(--transition)}
a:hover{color:var(--blue-dark)}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);line-height:1.3;color:var(--gray-900)}
h1{font-size:2.4rem;margin-bottom:1rem}
h2{font-size:1.8rem;margin-bottom:.8rem}
h3{font-size:1.35rem;margin-bottom:.6rem}
h4{font-size:1.15rem;margin-bottom:.5rem}
p{margin-bottom:1rem}
ul,ol{margin-bottom:1rem;padding-left:1.5rem}

/* === UTILITY === */
.container{max-width:var(--max-w);margin:0 auto;padding:0 1.5rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.text-center{text-align:center}
.text-blue{color:var(--blue)}
.text-green{color:var(--green)}
.bg-blue{background:var(--blue);color:var(--white)}
.bg-green{background:var(--green);color:var(--white)}
.bg-light{background:var(--gray-50)}
.bg-blue-light{background:var(--blue-light)}

/* === BUTTONS === */
.btn{display:inline-block;padding:.75rem 1.75rem;border-radius:var(--radius);font-weight:600;font-size:1rem;cursor:pointer;border:none;transition:var(--transition);font-family:var(--font-body);text-align:center}
.btn-primary{background:var(--blue);color:var(--white)}
.btn-primary:hover{background:var(--blue-dark);color:var(--white);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.btn-green{background:var(--green);color:var(--white)}
.btn-green:hover{background:#0a8740;color:var(--white);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.btn-outline{background:transparent;border:2px solid var(--blue);color:var(--blue)}
.btn-outline:hover{background:var(--blue);color:var(--white)}
.btn-sm{padding:.5rem 1.2rem;font-size:.875rem}
.btn-lg{padding:1rem 2.5rem;font-size:1.1rem}

/* === HEADER / NAV === */
.site-header{background:var(--white);border-bottom:1px solid var(--gray-200);position:sticky;top:0;z-index:1000;box-shadow:var(--shadow-sm)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:70px}
.logo{display:flex;align-items:center;gap:.6rem;font-family:var(--font-heading);font-size:1.3rem;font-weight:700;color:var(--gray-900)}
.logo img{width:36px;height:36px;border-radius:6px}
.logo span.green{color:var(--green)}

.nav-menu{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.nav-menu>li{position:relative}
.nav-menu>li>a{display:block;padding:.5rem 1rem;font-weight:600;font-size:.925rem;color:var(--gray-700);transition:var(--transition)}
.nav-menu>li>a:hover,.nav-menu>li.active>a{color:var(--blue)}
.nav-menu>li>a::after{content:'';display:block;height:2px;background:var(--blue);transform:scaleX(0);transition:transform .3s;margin-top:2px}
.nav-menu>li>a:hover::after,.nav-menu>li.active>a::after{transform:scaleX(1)}

/* Dropdown */
.dropdown-menu{position:absolute;top:100%;left:0;background:var(--white);min-width:220px;box-shadow:var(--shadow-lg);border-radius:var(--radius);padding:.5rem 0;opacity:0;visibility:hidden;transform:translateY(10px);transition:var(--transition);z-index:100}
.nav-menu>li:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown-menu a{display:block;padding:.5rem 1.2rem;font-size:.875rem;color:var(--gray-700)}
.dropdown-menu a:hover{background:var(--blue-light);color:var(--blue)}
.dropdown-toggle>a::after{content:'▾';margin-left:4px;font-size:.7em}

/* Mobile toggle */
.nav-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--gray-700);padding:.25rem}

/* === BREADCRUMB === */
.breadcrumb{padding:.75rem 0;font-size:.85rem;color:var(--gray-500)}
.breadcrumb a{color:var(--blue)}
.breadcrumb span{margin:0 .4rem}

/* === HERO === */
.hero{position:relative;min-height:480px;display:flex;align-items:center;overflow:hidden;background:var(--gray-900)}
.hero-bg{position:absolute;inset:0;z-index:1}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(45,101,173,.85) 0%,rgba(12,158,75,.6) 100%);z-index:2}
.hero-content{position:relative;z-index:3;color:var(--white);max-width:640px;padding:3rem 0}
.hero h1{color:var(--white);font-size:2.6rem;margin-bottom:1rem;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.hero p{font-size:1.15rem;margin-bottom:1.5rem;opacity:.95;text-shadow:0 1px 4px rgba(0,0,0,.2)}
.hero .btn{margin-right:.75rem;margin-bottom:.5rem}

/* === LAYOUT: 1 col + sidebar === */
.page-layout{display:grid;grid-template-columns:1fr var(--sidebar-w);gap:var(--gap);padding:2.5rem 0}
.main-content{min-width:0}
.sidebar{position:sticky;top:90px;align-self:start}

/* === SECTIONS === */
.section{padding:3rem 0}
.section-header{text-align:center;max-width:700px;margin:0 auto 2.5rem}
.section-header p{color:var(--gray-600);font-size:1.05rem}
.section-label{display:inline-block;background:var(--blue-light);color:var(--blue);padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600;margin-bottom:.75rem;letter-spacing:.5px;text-transform:uppercase}

/* === CARDS === */
.card{background:var(--white);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);transition:var(--transition)}
.card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.card-img{overflow:hidden;aspect-ratio:3/2}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .card-img img{transform:scale(1.05)}
.card-body{padding:1.25rem}
.card-body h3 a{color:var(--gray-900)}
.card-body h3 a:hover{color:var(--blue)}
.card-meta{font-size:.8rem;color:var(--gray-500);margin-bottom:.5rem}

/* === GRID === */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}

/* === FEATURES / ICON BOXES === */
.feature-box{text-align:center;padding:2rem 1.5rem;border-radius:var(--radius-lg);background:var(--white);box-shadow:var(--shadow-sm);transition:var(--transition)}
.feature-box:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}
.feature-icon{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:1.5rem;background:var(--blue-light);color:var(--blue)}
.feature-box h3{font-size:1.1rem}

/* === STATS BAR === */
.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:2rem 0}
.stat-item{text-align:center;padding:1.5rem 1rem;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.stat-number{font-size:2rem;font-weight:700;color:var(--blue);font-family:var(--font-heading)}
.stat-label{font-size:.85rem;color:var(--gray-600);margin-top:.25rem}

/* === REVIEW STARS === */
.stars{color:#f5a623;font-size:1.2rem;letter-spacing:2px}
.stars-lg{font-size:1.6rem}
.rating-summary{display:flex;align-items:center;gap:1rem}
.rating-big{font-size:3rem;font-weight:700;color:var(--gray-900);font-family:var(--font-heading)}
.rating-bars{flex:1;max-width:100%}
.bar-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem;font-size:.85rem}
.bar-track{flex:1;height:8px;background:var(--gray-200);border-radius:4px;overflow:hidden}
.bar-fill{height:100%;background:var(--blue);border-radius:4px;transition:width .6s ease}

/* === TESTIMONIALS === */
.testimonial{background:var(--white);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-sm);border-left:4px solid var(--green)}
.testimonial p{font-style:italic;font-size:1.05rem;margin-bottom:1rem}
.testimonial-author{font-weight:600;color:var(--gray-900)}

/* === CALCULATOR === */
.calc-widget{background:var(--white);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-md);border:1px solid var(--gray-200)}
.calc-widget label{display:block;font-weight:600;margin-bottom:.25rem;color:var(--gray-700)}
.calc-widget input[type="range"]{width:100%;margin:.5rem 0;accent-color:var(--blue)}
.calc-output{font-size:1.3rem;font-weight:700;color:var(--blue);text-align:center;padding:1rem;background:var(--blue-light);border-radius:var(--radius);margin-top:1rem}
.range-labels{display:flex;justify-content:space-between;font-size:.8rem;color:var(--gray-500)}

/* === ALTERNATIVE TABLE === */
.alt-table{width:100%;border-collapse:separate;border-spacing:0;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.alt-table thead th{background:var(--blue);color:var(--white);padding:.75rem 1rem;text-align:left;font-size:.9rem;font-weight:600}
.alt-table tbody td{padding:.75rem 1rem;border-bottom:1px solid var(--gray-200);font-size:.9rem}
.alt-table tbody tr:hover{background:var(--blue-light)}
.alt-table tbody tr:last-child td{border-bottom:none}

/* === BLOG POST SINGLE === */
.post-header{margin-bottom:2rem}
.post-header h1{font-size:2.2rem}
.post-meta{display:flex;align-items:center;gap:1.5rem;color:var(--gray-600);font-size:.9rem;margin-bottom:1.5rem}
.author-name{font-weight:600;color:var(--gray-800)}
.post-content h2{margin-top:2rem;font-size:1.5rem}
.post-content h3{margin-top:1.5rem;font-size:1.2rem}
.post-content img{border-radius:var(--radius);margin:1.5rem 0}
.post-content blockquote{border-left:4px solid var(--blue);padding:1rem 1.5rem;background:var(--blue-light);margin:1.5rem 0;border-radius:0 var(--radius) var(--radius) 0;font-style:italic}

/* Social share */
.social-share{display:flex;gap:.5rem;margin:2rem 0}
.social-share a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--gray-100);color:var(--gray-600);font-size:.9rem;transition:var(--transition)}
.social-share a:hover{background:var(--blue);color:var(--white)}

/* Related posts */
.related-posts{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2rem}

/* === FORM SECTION === */
.form-section{background:linear-gradient(135deg,var(--blue-light) 0%,var(--green-light) 100%);padding:3rem 0;border-radius:var(--radius-lg);margin:2rem 0}
.form-wrapper{max-width:600px;margin:0 auto;padding:0 1.5rem}
.form-section h2{text-align:center;margin-bottom:.5rem}
.form-section p{text-align:center;color:var(--gray-600)}
#_lg_form_{margin-top:1.5rem}

/* === CTA SECTION === */
.cta-section{position:relative;padding:4rem 0;overflow:hidden;text-align:center}
.cta-section .cta-bg{position:absolute;inset:0}
.cta-section .cta-bg img{width:100%;height:100%;object-fit:cover}
.cta-section .cta-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(45,101,173,.9),rgba(12,158,75,.85))}
.cta-section .cta-content{position:relative;z-index:2;color:var(--white)}
.cta-section h2{color:var(--white);font-size:2rem;margin-bottom:1rem}
.cta-section p{color:rgba(255,255,255,.9);max-width:600px;margin:0 auto 1.5rem;font-size:1.1rem}

/* === SIDEBAR WIDGETS === */
.widget{background:var(--white);border-radius:var(--radius-lg);padding:1.5rem;margin-bottom:1.5rem;box-shadow:var(--shadow-sm)}
.widget h4{font-size:1rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid var(--blue)}
.widget ul{list-style:none;padding:0}
.widget ul li{padding:.4rem 0;border-bottom:1px solid var(--gray-100)}
.widget ul li:last-child{border-bottom:none}
.widget ul li a{color:var(--gray-700);font-size:.9rem}
.widget ul li a:hover{color:var(--blue);padding-left:4px}

/* === FOOTER === */
.site-footer{background:var(--gray-900);color:var(--gray-400);padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-col h4{color:var(--white);font-size:1rem;margin-bottom:1rem;font-family:var(--font-heading)}
.footer-col p{font-size:.875rem;line-height:1.6}
.footer-col ul{list-style:none;padding:0}
.footer-col ul li{margin-bottom:.4rem}
.footer-col ul li a{color:var(--gray-400);font-size:.875rem;transition:var(--transition)}
.footer-col ul li a:hover{color:var(--white);padding-left:4px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.8rem}
.footer-disclosure{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1);font-size:.75rem;line-height:1.6;color:var(--gray-500)}

/* === SCROLL TO TOP === */
.scroll-top{position:fixed;bottom:2rem;right:2rem;width:44px;height:44px;border-radius:50%;background:var(--blue);color:var(--white);display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;border:none;opacity:0;visibility:hidden;transition:var(--transition);z-index:999;box-shadow:var(--shadow-md)}
.scroll-top.visible{opacity:1;visibility:visible}
.scroll-top:hover{background:var(--blue-dark);transform:translateY(-3px)}

/* === PAGINATION === */
.pagination{display:flex;justify-content:center;gap:.5rem;margin:2rem 0}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius);font-size:.9rem;font-weight:600;transition:var(--transition)}
.pagination a{background:var(--gray-100);color:var(--gray-700)}
.pagination a:hover{background:var(--blue);color:var(--white)}
.pagination .current{background:var(--blue);color:var(--white)}

/* === ANIMATIONS === */
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.animate-in{animation:fadeInUp .6s ease forwards}
.animate-delay-1{animation-delay:.1s}
.animate-delay-2{animation-delay:.2s}
.animate-delay-3{animation-delay:.3s}

/* === RESPONSIVE === */
@media(max-width:1024px){
  .page-layout{grid-template-columns:1fr}
  .sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:1rem}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  h1{font-size:1.8rem}h2{font-size:1.4rem}
  .hero{min-height:380px}
  .hero h1{font-size:2rem}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .stats-bar{grid-template-columns:1fr 1fr}
  .related-posts{grid-template-columns:1fr}
  .nav-menu{position:fixed;top:70px;left:0;right:0;background:var(--white);flex-direction:column;padding:1rem;box-shadow:var(--shadow-lg);transform:translateY(-120%);transition:transform .3s;z-index:999}
  .nav-menu.active{transform:translateY(0)}
  .nav-toggle{display:block}
  .dropdown-menu{position:static;box-shadow:none;opacity:1;visibility:visible;transform:none;padding-left:1rem}
  .sidebar{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .header-inner{padding:0 1rem}
}

/* === SPECIFIC PAGE TWEAKS === */
.img-rounded{border-radius:var(--radius-lg)}
.highlight-box{background:var(--green-light);border:1px solid var(--green);border-radius:var(--radius);padding:1.5rem;margin:0 0 .75rem}
.highlight-box.blue{background:var(--blue-light);border-color:var(--blue)}
.two-col-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;margin:2rem 0}
.two-col-content img{border-radius:var(--radius-lg)}
.checklist{list-style:none;padding:0}
.checklist li{padding:.5rem 0 .5rem 1.75rem;position:relative}
.checklist li::before{content:'✓';position:absolute;left:0;color:var(--green);font-weight:700}
.numbered-steps{counter-reset:steps}
.numbered-steps li{counter-increment:steps;padding:.75rem 0 .75rem 3rem;position:relative;border-bottom:1px solid var(--gray-100)}
.numbered-steps li::before{content:counter(steps);position:absolute;left:0;width:2rem;height:2rem;border-radius:50%;background:var(--blue);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}

/* Form hide */


/* Form hide - LeadAPI */



/* Spacing between Blog and Apply button */
.nav-menu>li:last-child{margin-left:1rem}
