/* ===== Expense Management Page — Unique Design ===== */

/* Reset & Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Poppins',sans-serif;color:#333;}

/* Nav dropdown icon sizing (match index.css) */
.mega-menu .icon{width:24px;height:24px;min-width:24px;margin-right:4px;}
.icon{width:32px;height:32px;}

/* Layout helpers */
.em-container{max-width:1140px;margin:0 auto;padding:0 24px;}
.em-section{padding:64px 0;border-top:0 !important;}

.em-bg-white{background:#fff;}
.em-bg-light{background:#f7f9fc;}
.em-text-center{text-align:center;}
.em-mb-32{margin-bottom:32px;}

/* ===== HERO — Staff Management style ===== */
.sm-hero{position:relative;padding:60px 24px 40px;background:#fff;overflow:visible;border:0 !important;border-bottom:0 !important;box-shadow:none !important;}

.sm-hero-grid{width:100%;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.sm-hero .sm-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--blue,#028ece);letter-spacing:1px;margin-bottom:16px;}
.sm-hero .sm-label::before{content:'';width:10px;height:10px;border-radius:50%;background:var(--orange-100,#ff4f0d);}
.sm-hero h1{font-size:44px;line-height:1.15;font-weight:800;margin:0 0 16px;}
.sm-hero h1 .accent{color:var(--blue,#028ece);}
.sm-hero p.sm-desc{color:var(--gray-80,#6b7589);font-size: 14px;line-height:1.7;max-width:480px;margin-bottom:26px;}
.sm-hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:22px;}
.sm-hero-img{position:relative;}
.sm-hero-img img{border-radius:20px;width:100%;box-shadow:0 12px 36px rgba(16,40,100,.12);}
.em-dot{width:10px;height:10px;background:#f26522;border-radius:50%;display:inline-block;}
.mm-btn-orange{display:inline-flex;align-items:center;gap:12px;background:linear-gradient(135deg,#ff4f0d,#e0450b);color:#fff;padding:6px 6px 6px 28px;border-radius:100px;font-size:15px;font-weight:600;text-decoration:none;letter-spacing:.5px;transition:transform .2s,brightness .2s;cursor:pointer;border:none;}
.mm-btn-orange:hover{transform:translateY(-2px);filter:brightness(1.03);}
.mm-btn-orange i{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:44px !important;height:44px !important;min-width:44px !important;border-radius:50% !important;background:#fff !important;color:#ff4f0d !important;font-size:16px !important;padding:0 !important;line-height:1 !important;transform:rotate(45deg) !important;transition:transform .2s !important;}
.mm-btn-orange:hover i{transform:rotate(45deg) translateX(3px) !important;}
@media(max-width:768px){.sm-hero-grid{grid-template-columns:1fr;}.sm-hero-img{display:none;}.sm-hero{min-height:auto !important;background-image:none !important;background:#fff !important;}}

/* keep the banner readable behind the text on small screens */
@media(max-width:900px){
  .sm-hero::after{display:none !important;}
  .sm-hero-grid{position:relative;z-index:1;}
}

/* ===== SPLIT LAYOUT ===== */
.em-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
@media(max-width:768px){.em-split{grid-template-columns:1fr;gap:24px;}}
.em-split-content{}
.em-split-image{}

.em-h2{font-size:36px;font-weight:800;color:#111;line-height:1.25;margin-bottom:18px;}
.em-h3{font-size:17px;font-weight:700;color:#111;margin-bottom:12px;}
.em-text{font-size: 14px;line-height:1.8;color:#555;margin-bottom:12px;}
.em-subheading{font-size:16px;font-weight:700;color:#333;margin:20px 0 14px;}

/* ===== IMAGE PLACEHOLDER ===== */
.em-img-placeholder{width:100%;aspect-ratio:16/10;background:#e9eef5;border:2px dashed #c5d1de;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#8a9bb5;font-size:13px;}
.em-img-placeholder i{font-size:32px;color:#b0bdd0;}

/* ===== CATEGORY CHIPS ===== */
.em-category-grid{display:flex;flex-wrap:wrap;gap:10px;}
.em-category-chip{display:inline-flex;align-items:center;gap:8px;background:#f0f5ff;border:1px solid #d6e2f3;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600;color:#333;}
.em-category-chip i{color:#31aae1;}

/* ===== FLOW STRIP ===== */
.em-flow-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:24px 0;}
.em-flow-item{display:inline-flex;align-items:center;gap:8px;background:#f0f5ff;border:1px solid #d6e2f3;padding:10px 18px;border-radius:8px;font-size:13px;font-weight:600;color:#333;}
.em-flow-item i{color:#31aae1;}
.em-flow-item.em-green{background:#f0f5ff;border-color:#d6e2f3;}.em-flow-item.em-green i{color:#31aae1;}
.em-flow-item.em-red{background:#f0f5ff;border-color:#d6e2f3;}.em-flow-item.em-red i{color:#028ece;}
.em-flow-item.em-blue{background:#e8f4fd;border-color:#b8ddf2;}.em-flow-item.em-blue i{color:#2980b9;}
.em-arrow{color:#b0bdd0;font-size:16px;}

/* ===== CHECK LIST ===== */
.em-check-list{display:flex;flex-direction:column;gap:12px;margin-top:16px;}
.em-check-item{display:flex;align-items:center;gap:10px;font-size:14px;color:#444;font-weight:500;}
.em-check-item i{color:#028ece;font-size:16px;}

/* ===== CARD GRID ===== */
.em-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
@media(max-width:900px){.em-card-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.em-card-grid{grid-template-columns:1fr;}}
.em-card{background:#fff;border:1px solid #e8ecf1;border-radius:12px;padding:28px 22px;text-align:center;transition:box-shadow .2s;}
.em-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.07);}
.em-card-icon{width:52px;height:52px;margin:0 auto 14px;background:linear-gradient(135deg,#e8f4fd,#d6eaf8);border-radius:50%;display:flex;align-items:center;justify-content:center;}
.em-card-icon i{font-size:22px;color:#31aae1;}
.em-card-title{font-size:15px;font-weight:700;color:#222;margin-bottom:6px;}
.em-card-desc{font-size: 14px;color:#666;line-height:1.6;}

/* ===== INSIGHT GRID ===== */
.em-insight-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:24px;}
@media(max-width:640px){.em-insight-grid{grid-template-columns:1fr;}}
.em-insight-card{background:#fff;border:1px solid #e8ecf1;border-radius:12px;padding:22px 20px;}
.em-insight-icon{width:42px;height:42px;background:linear-gradient(135deg,#fff3e6,#ffe8cc);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:10px;}
.em-insight-icon i{font-size:18px;color:#f26522;}
.em-insight-card h5{font-size:14px;font-weight:700;color:#222;margin-bottom:4px;}
.em-insight-card p{font-size: 14px;color:#666;line-height:1.6;}

/* ===== PROCESS STRIP ===== */
.em-process-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:24px;}
.em-process-step{background:#fff;border:1px solid #e8ecf1;border-radius:12px;padding:20px 14px;width:170px;text-align:center;}
.em-process-step p{font-size:13.5px;color:#666;line-height:1.45;}
.em-process-num{width:36px;height:36px;background:linear-gradient(135deg,#31aae1,#1a8cc0);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;margin:0 auto 10px;}
.em-process-step h5{font-size:14px;font-weight:700;color:#222;margin-bottom:4px;}
.em-process-step p{font-size: 13px;color:#666;line-height:1.5;}
.em-process-arrow{display:flex;align-items:center;color:#b0bdd0;font-size:16px;padding-top:14px;}

/* ===== BENEFIT GRID ===== */
.em-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
@media(max-width:900px){.em-benefit-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.em-benefit-grid{grid-template-columns:1fr;}}
.em-benefit-card{background:#f7f9fc;border:1px solid #e8ecf1;border-radius:12px;padding:22px 18px;text-align:center;transition:box-shadow .2s;}
.em-benefit-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.06);}
.em-benefit-icon{margin-bottom:8px;}
.em-benefit-icon i{font-size:28px;color:#028ece;}
.em-benefit-card h5{font-size:14px;font-weight:700;color:#222;margin-bottom:4px;}
.em-benefit-card p{font-size: 14px;color:#666;line-height:1.5;}

/* ===== CTA ===== */
.em-cta{background:#0b1a3d;padding:60px 24px;}
.em-cta-title{font-size:36px;font-weight:800;color:#fff;margin-bottom:14px;}
.em-cta-desc{font-size: 14px;color:rgba(255,255,255,.8);max-width:700px;margin:0 auto 10px;line-height:1.8;}
.em-cta-sub{font-size: 14px;color:rgba(255,255,255,.6);margin-bottom:28px;}

/* ===== FAQ ===== */
.em-faq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1000px;margin:32px auto 0;}
@media(max-width:900px){.em-faq-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.em-faq-grid{grid-template-columns:1fr;}}
.em-faq-item{background:#f8f9fc;border:1.5px solid #e0e6f0;border-radius:10px;padding:16px 22px;margin-bottom:12px;}
.em-faq-item details{cursor:pointer;}
.em-faq-item summary{font-size:15px;font-weight:700;color:#1c2436;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.em-faq-item summary::-webkit-details-marker{display:none;}
.em-faq-item summary::after{content:'+';margin-left:auto;font-size:20px;color:#028ece;font-weight:400;flex-shrink:0;transition:transform .2s;}
.em-faq-item details[open] summary::after{transform:rotate(45deg);}
.em-faq-item p{margin-top:12px;font-size: 14px;color:#6b7589;line-height:1.75;padding:0;}

/* Track Everyday Expenses: text-only, single centered column */
.em-split-solo{grid-template-columns:1fr;max-width:900px;margin:0 auto;}

/* Track Everyday Expenses: sab kuch middle align */
.em-track-center{text-align:center;}
.em-track-center .em-h2{margin-left:auto;margin-right:auto;}
.em-track-center .em-text{max-width:820px;margin-left:auto;margin-right:auto;}
.em-track-center .em-subheading{text-align:center;}
.em-track-center .em-category-grid{justify-content:center;}

/* ===== REVIEW EXPENSE REPORTS: insight row below image + content ===== */
.em-insight-wrap{margin-top:44px;}
.em-insight-wrap .em-subheading{margin:0 0 16px;text-align:center;}
.em-insight-grid-4{grid-template-columns:repeat(4,1fr);margin-top:0;}
@media(max-width:900px){.em-insight-grid-4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.em-insight-grid-4{grid-template-columns:1fr;}}
@media(max-width:640px){.em-process-strip{display:grid;grid-template-columns:1fr 22px;align-items:center;gap:10px 8px;width:100%;max-width:340px;margin:24px auto 0;}.em-process-step{width:100%;margin:0;}.em-process-arrow{padding-top:0;justify-content:center;}}
