/* =========================================================
   CareerOdisha — Design tokens
   Palette drawn from the Odisha coast at dusk (deep indigo)
   and the saffron flags of Puri's Jagannath temple (marigold).
   ========================================================= */
:root{
  --navy:        #1B2A4A;
  --navy-2:      #24365F;
  --navy-ink:    #0F1830;
  --saffron:     #E8A33D;
  --saffron-dark:#C9821F;
  --teal:        #0F7173;
  --teal-light:  #E4F3F2;
  --bg:          #FAFAF8;
  --surface:     #FFFFFF;
  --ink:         #182338;
  --muted:       #5B6B82;
  --line:        #E7E9EE;
  --success:     #2F9E44;
  --danger:      #D64545;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --shadow-card: 0 1px 2px rgba(15,24,48,.06), 0 8px 24px -12px rgba(15,24,48,.18);
  --font-display:'Poppins', sans-serif;
  --font-body:   'Inter', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display); color:var(--navy-ink); font-weight:700; line-height:1.2;}
p{color:var(--muted);}
a{text-decoration:none; color:var(--teal);}
a:hover{color:var(--saffron-dark);}
::selection{background:var(--saffron); color:#fff;}
:focus-visible{outline:3px solid var(--teal); outline-offset:2px;}

.container{max-width:1220px;}
.section{padding:76px 0;}
.section-tight{padding:52px 0;}
.section-title{font-size:2.1rem; margin-bottom:.6rem;}
.section-sub{color:var(--muted); max-width:640px; margin-bottom:2.5rem; font-size:1.05rem;}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:1rem; margin-bottom:2.5rem;}
.section-head .section-sub{margin-bottom:0;}
.bg-navy{background:var(--navy);}
.bg-teal-light{background:var(--teal-light);}
.bg-surface{background:var(--surface);}

@media (max-width:767px){
  .section{padding:52px 0;}
  .section-title{font-size:1.6rem;}
}

/* ---------- Buttons ---------- */
.btn{font-family:var(--font-body); font-weight:600; border-radius:var(--radius-sm); padding:.65rem 1.4rem;}
.btn-lg{padding:.85rem 1.9rem; font-size:1.02rem;}
.btn-saffron{background:var(--saffron); border-color:var(--saffron); color:#fff;}
.btn-saffron:hover{background:var(--saffron-dark); border-color:var(--saffron-dark); color:#fff;}
.btn-navy{background:var(--navy); border-color:var(--navy); color:#fff;}
.btn-navy:hover{background:var(--navy-2); border-color:var(--navy-2); color:#fff;}
.btn-outline-navy{border:1.5px solid var(--navy); color:var(--navy); background:transparent;}
.btn-outline-navy:hover{background:var(--navy); color:#fff;}
.btn-teal{background:var(--teal); border-color:var(--teal); color:#fff;}
.btn-teal:hover{background:#0b5a5c; border-color:#0b5a5c; color:#fff;}

/* ---------- Header ---------- */
.topbar{background:var(--navy-ink); color:#cdd6e6; font-size:.85rem; padding:7px 0;}
.topbar-msg i{color:var(--saffron);}
.topbar-links a{color:#cdd6e6; margin-left:1.4rem;}
.topbar-links a:hover{color:var(--saffron);}
.main-nav{background:#fff; padding:14px 0; box-shadow:0 2px 10px rgba(15,24,48,.05); position:sticky; top:0; z-index:1000;}
.navbar-brand{display:flex; align-items:center; gap:.6rem;}
.navbar-brand img{height:42px; width:auto;}
.brand-fallback{height:42px; width:42px; border-radius:10px; background:var(--navy); color:var(--saffron); align-items:center; justify-content:center; font-size:1.3rem;}
.brand-text{font-family:var(--font-display); font-weight:800; font-size:1.3rem; color:var(--navy-ink); line-height:1.1; display:flex; flex-direction:column;}
.brand-text small{font-family:var(--font-body); font-weight:500; font-size:.68rem; color:var(--muted); text-transform:none; letter-spacing:0;}
.main-nav .nav-link{color:var(--ink); font-weight:600; padding:.5rem 1rem;}
.main-nav .nav-link:hover{color:var(--teal);}
.nav-cta{display:flex; gap:.6rem; align-items:center; margin-top:.5rem;}
@media (min-width:992px){.nav-cta{margin-top:0;}}
.btn-outline-nav{border:1.5px solid var(--line); color:var(--navy); font-weight:600; border-radius:var(--radius-sm); background:#fff;}
.btn-outline-nav:hover{border-color:var(--teal); color:var(--teal);}
.btn-primary-nav{background:var(--saffron); border:1.5px solid var(--saffron); color:#fff; font-weight:600; border-radius:var(--radius-sm);}
.btn-primary-nav:hover{background:var(--saffron-dark); border-color:var(--saffron-dark); color:#fff;}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-ink) 100%);
  color:#fff;
  padding:72px 0 110px;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; right:-120px; top:-120px; width:420px; height:420px;
  background:radial-gradient(circle, rgba(232,163,61,.22) 0%, rgba(232,163,61,0) 70%);
}
.hero-eyebrow{color:var(--saffron); font-weight:700; letter-spacing:.02em; margin-bottom:.9rem; display:inline-flex; align-items:center; gap:.5rem;}
.hero h1{color:#fff; font-size:3rem; margin-bottom:1.1rem;}
.hero h1 span{color:var(--saffron);}
.hero-lead{color:#C6CEDD; font-size:1.15rem; max-width:520px; margin-bottom:2rem;}
@media (max-width:767px){.hero h1{font-size:2.1rem;}}

.search-card{background:#fff; border-radius:var(--radius-md); padding:1.1rem; box-shadow:0 20px 45px -20px rgba(0,0,0,.5);}
.search-card select, .search-card input{border:1px solid var(--line); border-radius:var(--radius-sm); padding:.7rem .9rem; width:100%;}
.search-chip{display:inline-block; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); color:#dbe2ee; padding:.3rem .8rem; border-radius:30px; font-size:.82rem; margin:.25rem .35rem .25rem 0;}
.search-chip:hover{background:rgba(255,255,255,.16); color:#fff;}

.hero-board{background:#fff; border-radius:var(--radius-lg); padding:1.5rem; box-shadow:0 30px 60px -25px rgba(0,0,0,.55);}
.hero-board-row{display:flex; align-items:center; gap:.9rem; padding:.7rem 0; border-bottom:1px dashed var(--line);}
.hero-board-row:last-child{border-bottom:none;}
.hero-board-icon{width:42px; height:42px; border-radius:10px; background:var(--teal-light); color:var(--teal); display:flex; align-items:center; justify-content:center; font-size:1.05rem; flex:none;}
.hero-board-title{font-weight:700; color:var(--navy-ink); font-size:.92rem;}
.hero-board-sub{font-size:.78rem; color:var(--muted);}
.hero-floating-stat{position:absolute; background:#fff; border-radius:var(--radius-md); padding:.8rem 1.1rem; box-shadow:var(--shadow-card); display:flex; align-items:center; gap:.7rem;}
.hero-floating-stat i{color:var(--saffron); font-size:1.3rem;}
.hero-floating-stat .num{font-family:var(--font-display); font-weight:800; color:var(--navy-ink); font-size:1.15rem; line-height:1;}
.hero-floating-stat .lbl{font-size:.72rem; color:var(--muted);}

/* ---------- Stats strip ---------- */
.stats-strip{background:var(--surface); margin-top:-58px; position:relative; z-index:5; border-radius:var(--radius-lg); box-shadow:var(--shadow-card); padding:2rem 1rem;}
.stat-item{text-align:center; padding:.5rem 1rem;}
.stat-item .num{font-family:var(--font-display); font-weight:800; font-size:2.1rem; color:var(--navy); display:block;}
.stat-item .lbl{color:var(--muted); font-size:.92rem;}

/* ---------- Category cards ---------- */
.category-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:1.5rem 1.2rem; height:100%; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;}
.category-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-card); border-color:transparent;}
.category-icon{width:52px; height:52px; border-radius:12px; background:var(--teal-light); color:var(--teal); display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1rem;}
.category-card h6{margin-bottom:.25rem; font-size:1rem;}
.category-card .count{color:var(--muted); font-size:.85rem;}

/* ---------- Job cards ---------- */
.job-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:1.4rem; height:100%; transition:box-shadow .15s ease, transform .15s ease;}
.job-card:hover{box-shadow:var(--shadow-card); transform:translateY(-3px);}
.job-card-top{display:flex; gap:.9rem; align-items:flex-start;}
.job-logo{width:52px; height:52px; border-radius:10px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--font-display); flex:none; font-size:1.1rem;}
.job-card h5{font-size:1.08rem; margin-bottom:.15rem;}
.job-company{color:var(--muted); font-size:.88rem;}
.job-meta{display:flex; flex-wrap:wrap; gap:.5rem 1rem; margin:1rem 0; font-size:.84rem; color:var(--muted);}
.job-meta span i{color:var(--teal); width:14px;}
.job-salary{font-weight:700; color:var(--navy); font-size:.95rem;}
.job-type-badge{background:var(--teal-light); color:var(--teal); border-radius:20px; padding:.2rem .7rem; font-size:.74rem; font-weight:600;}

/* ---------- Steps (how it works) ---------- */
.step-item{position:relative; padding-left:0;}
.step-num{width:46px; height:46px; border-radius:50%; background:var(--navy); color:var(--saffron); font-family:var(--font-display); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:1.1rem; margin-bottom:1rem;}
.step-item h6{font-size:1.05rem;}

/* ---------- Companies / logos ---------- */
.company-tile{background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:1.4rem 1rem; text-align:center; height:100%;}
.company-tile .logo-box{width:64px; height:64px; margin:0 auto .9rem; border-radius:14px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:1.3rem;}
.company-tile h6{font-size:.95rem; margin-bottom:.15rem;}
.company-tile .muted-sm{font-size:.78rem; color:var(--muted);}

/* ---------- City tiles ---------- */
.city-tile{position:relative; border-radius:var(--radius-md); overflow:hidden; height:150px; display:flex; align-items:flex-end; color:#fff; background-size:cover; background-position:center;}
.city-tile::before{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,24,48,0) 30%, rgba(15,24,48,.82) 100%);}
.city-tile span{position:relative; padding:.9rem; font-weight:700; font-family:var(--font-display);}

/* ---------- Testimonials ---------- */
.testimonial-card{background:#fff; border-radius:var(--radius-md); padding:1.6rem; height:100%; border:1px solid var(--line);}
.testimonial-avatar{width:50px; height:50px; border-radius:50%; object-fit:cover;}
.testimonial-quote{color:var(--ink); font-style:normal; margin-bottom:1.1rem;}
.stars{color:var(--saffron); font-size:.85rem; margin-bottom:.6rem;}

/* ---------- Why us ---------- */
.feature-row{display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.6rem;}
.feature-icon{width:46px; height:46px; border-radius:12px; background:var(--saffron); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.15rem; flex:none;}
.feature-row h6{margin-bottom:.2rem;}

/* ---------- CTA banner ---------- */
.cta-banner{background:var(--teal); border-radius:var(--radius-lg); padding:3rem; color:#fff; position:relative; overflow:hidden;}
.cta-banner h3{color:#fff; font-size:1.8rem;}
.cta-banner p{color:#D7EEEC;}

/* ---------- Blog / resources ---------- */
.article-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; height:100%;}
.article-card img{height:170px; width:100%; object-fit:cover;}
.article-card .body{padding:1.2rem;}
.article-tag{color:var(--saffron-dark); font-size:.76rem; font-weight:700;}

/* ---------- Newsletter ---------- */
.newsletter-box{background:var(--navy); border-radius:var(--radius-lg); padding:2.6rem; color:#fff;}
.newsletter-box input{border-radius:var(--radius-sm); border:none; padding:.8rem 1rem;}

/* ---------- Forms / auth cards ---------- */
.auth-wrap{background:var(--navy-ink); min-height:100vh; display:flex; align-items:center; padding:60px 0;}
.auth-card{background:#fff; border-radius:var(--radius-lg); padding:2.4rem; box-shadow:0 30px 70px -30px rgba(0,0,0,.6);}
.auth-side{color:#fff; padding:2rem;}
.auth-side h2{color:#fff;}
.form-label{font-weight:600; color:var(--navy-ink); font-size:.92rem;}
.form-control, .form-select{border-radius:var(--radius-sm); border:1px solid var(--line); padding:.65rem .9rem;}
.form-control:focus, .form-select:focus{border-color:var(--teal); box-shadow:0 0 0 .18rem rgba(15,113,115,.15);}

/* ---------- Generic page header (inner pages) ---------- */
.page-header{background:var(--navy); color:#fff; padding:52px 0; text-align:center;}
.page-header h1{color:#fff; font-size:2.1rem; margin-bottom:.3rem;}
.page-header .crumb a{color:#C6CEDD;}
.page-header .crumb span{color:var(--saffron);}

/* ---------- Filters / sidebar (jobs listing) ---------- */
.filter-box{background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:1.3rem;}
.filter-box h6{font-weight:700; margin-bottom:.8rem; font-size:.92rem; text-transform:none;}
.filter-box .form-check{margin-bottom:.4rem;}

/* ---------- Dashboards ---------- */
.dash-shell{display:flex; min-height:calc(100vh - 250px);}
.dash-sidebar{width:250px; background:var(--navy-ink); color:#cfd8e8; flex:none; padding:1.8rem 1.1rem;}
.dash-sidebar .user-chip{display:flex; align-items:center; gap:.7rem; margin-bottom:1.6rem; padding-bottom:1.2rem; border-bottom:1px solid rgba(255,255,255,.12);}
.dash-sidebar .user-chip .avatar{width:44px; height:44px; border-radius:50%; background:var(--saffron); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--font-display);}
.dash-sidebar a{display:flex; align-items:center; gap:.7rem; color:#cfd8e8; padding:.65rem .8rem; border-radius:var(--radius-sm); margin-bottom:.2rem; font-weight:500; font-size:.92rem;}
.dash-sidebar a:hover, .dash-sidebar a.active{background:rgba(255,255,255,.08); color:#fff;}
.dash-sidebar a.active{background:var(--saffron); color:#fff;}
.dash-sidebar i{width:18px; text-align:center;}
.dash-main{flex:1; padding:2rem; background:var(--bg);}
@media (max-width:767px){
  .dash-shell{flex-direction:column;}
  .dash-sidebar{width:100%; display:flex; flex-wrap:wrap; gap:.3rem; padding:1rem;}
  .dash-sidebar .user-chip{width:100%;}
}
.dash-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:1.4rem;}
.kpi-card{background:#fff; border-radius:var(--radius-md); padding:1.4rem; border:1px solid var(--line);}
.kpi-card .num{font-family:var(--font-display); font-size:1.9rem; font-weight:800; color:var(--navy);}
.kpi-card .lbl{color:var(--muted); font-size:.86rem;}
.kpi-icon{width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; margin-bottom:.8rem;}

.table-clean thead{background:var(--bg);}
.table-clean th{font-size:.8rem; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); font-weight:700; border-bottom:2px solid var(--line);}
.table-clean td{vertical-align:middle; font-size:.92rem;}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-ink); color:#aab5c9;}
.footer-top{padding:60px 0 30px;}
.footer-brand{display:flex; align-items:center; gap:.6rem; margin-bottom:1rem;}
.footer-brand img{height:38px;}
.footer-brand span{font-family:var(--font-display); font-weight:800; color:#fff; font-size:1.2rem;}
.footer-about{font-size:.9rem; color:#98a4bb;}
.footer-social{display:flex; gap:.6rem; margin-top:1rem;}
.footer-social a{width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.07); color:#cfd8e8; display:flex; align-items:center; justify-content:center;}
.footer-social a:hover{background:var(--saffron); color:#fff;}
.footer-heading{color:#fff; font-family:var(--font-display); font-size:.95rem; margin-bottom:1.1rem;}
.footer-links{list-style:none; padding:0; margin:0; font-size:.88rem;}
.footer-links li{margin-bottom:.6rem; color:#98a4bb;}
.footer-links a{color:#aab5c9;}
.footer-links a:hover{color:var(--saffron);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08); padding:18px 0; font-size:.82rem;}

.back-to-top{position:fixed; right:22px; bottom:22px; width:44px; height:44px; border-radius:50%; background:var(--navy); color:var(--saffron); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-card); opacity:0; visibility:hidden; transition:opacity .2s ease; z-index:999;}
.back-to-top.show{opacity:1; visibility:visible;}
.back-to-top:hover{background:var(--saffron); color:#fff;}

/* ---------- Misc ---------- */
.badge-free{background:var(--success); color:#fff; font-size:.72rem; padding:.3rem .7rem; border-radius:20px; font-weight:600;}
.divider-dot{color:var(--line);}
.empty-state{text-align:center; padding:3rem 1rem; color:var(--muted);}
.empty-state i{font-size:2.4rem; color:var(--line); margin-bottom:1rem; display:block;}
