/*
 * theme-frosted.css
 * Frosted Light theme override for septi-web-profile
 * Loaded AFTER style.css — overrides only what needs to change.
 * Routes, content, and Blade views are untouched.
 */

/* ─── FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS VARIABLES ──────────────────────────────── */
:root {
  --fr-a1: #6366f1;
  --fr-a2: #8b5cf6;
  --fr-a3: #06b6d4;
  --fr-a4: #ec4899;
  --fr-bg: #f0f2ff;
  --fr-text: #1e1b4b;
  --fr-muted: #64748b;
  --fr-soft: #94a3b8;
  --fr-border: rgba(99, 102, 241, .14);
  --fr-card: rgba(255, 255, 255, .68);
  --fr-accent: #6366f1;
}

/* ─── BACKGROUND BLOBS ───────────────────────────── */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
  opacity: .55;
}
body::before {
  width: 700px;
  height: 700px;
  background: rgba(139, 92, 246, .18);
  top: -200px;
  left: -150px;
}
body::after {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, .14);
  bottom: -100px;
  right: -100px;
}

/* ─── BODY ───────────────────────────────────────── */
body {
  background: var(--fr-bg) !important;
  font-family: 'Plus Jakarta Sans', 'Poppins', 'Montserrat', Arial, sans-serif !important;
  color: var(--fr-text) !important;
}

/* ─── SIDEBAR ────────────────────────────────────── */
#colorlib-aside {
  background: rgba(255, 255, 255, .78) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  border-right: 1px solid rgba(255, 255, 255, .92) !important;
  box-shadow: 4px 0 32px rgba(99, 102, 241, .09) !important;
}

#colorlib-logo a {
  color: var(--fr-a1) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: .5px;
}

#colorlib-main-menu ul li a {
  color: var(--fr-muted) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .3px;
  transition: color .2s !important;
}
#colorlib-main-menu ul li a:after {
  background-color: var(--fr-a1) !important;
}
#colorlib-main-menu ul li a:hover,
#colorlib-main-menu ul li.colorlib-active a {
  color: var(--fr-a1) !important;
}

.colorlib-footer,
.colorlib-footer p,
.colorlib-footer a {
  color: var(--fr-soft) !important;
  font-size: .8rem;
}

/* ─── MAIN CONTENT AREA ──────────────────────────── */
#colorlib-main {
  background: transparent !important;
}

/* ─── HERO SECTION (home page) ───────────────────── */
.hero-wrap {
  background-color: transparent !important;
}
.hero-wrap .overlay {
  background: linear-gradient(135deg,
    rgba(240, 242, 255, .88),
    rgba(245, 240, 255, .82)) !important;
  opacity: 1 !important;
}
.hero-wrap .text h2.subheading {
  color: var(--fr-muted) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .95rem;
}
.hero-wrap .text h1 {
  color: var(--fr-text) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.15;
}
.hero-wrap .text h6 {
  color: var(--fr-muted) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

/* Profile image circle in hero */
.hero-wrap .img {
  border: 3px solid #fff !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .25),
              0 8px 32px rgba(99, 102, 241, .2) !important;
}

/* ─── SOCIAL LINKS ───────────────────────────────── */
.ftco-social {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: .75rem;
}
.ftco-social li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50px !important;
  background: rgba(255, 255, 255, .75) !important;
  border: 1px solid rgba(99, 102, 241, .22) !important;
  box-shadow: 0 2px 12px rgba(99, 102, 241, .12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: background .22s, transform .22s, box-shadow .22s !important;
}
.ftco-social li a span {
  color: var(--fr-a1) !important;
  transition: color .22s !important;
}
.ftco-social li a:hover {
  background: linear-gradient(135deg, var(--fr-a1), var(--fr-a2)) !important;
  border-color: var(--fr-a1) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, .28) !important;
}
.ftco-social li a:hover span {
  color: #fff !important;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  transition: transform .22s, box-shadow .22s, background .22s !important;
}
.btn.btn-primary,
.btn-secondary {
  background: linear-gradient(135deg, var(--fr-a1), var(--fr-a2)) !important;
  border-color: var(--fr-a1) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, .3) !important;
}
.btn.btn-primary:hover,
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--fr-a2), var(--fr-a1)) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, .42) !important;
}
.btn.btn-sm {
  font-size: .8rem !important;
  padding: .35rem .85rem !important;
  border-radius: 9px !important;
}

/* ─── SECTIONS ───────────────────────────────────── */
.ftco-section,
.contact-section {
  background: transparent !important;
}

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--fr-text) !important;
}

p, span, div, li, td, th {
  font-family: 'Plus Jakarta Sans', 'Poppins', Arial, sans-serif !important;
}

/* Page section headings — consistent across all pages */
.h4.font-weight-bold {
  color: var(--fr-text) !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  padding-bottom: .65rem;
  border-bottom: 3px solid var(--fr-border);
  margin-bottom: 1.75rem !important;
  letter-spacing: -.2px;
}

/* Sub-section headings (e.g. Certifications, Awards) */
.h4.font-weight-bold.mt-5,
.h4.font-weight-bold.mt-4 {
  font-size: 1.25rem !important;
  border-bottom: 2px solid var(--fr-border);
}

/* ─── CARDS — FROSTED GLASS ──────────────────────── */
.card {
  background: var(--fr-card) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 24px rgba(99, 102, 241, .08) !important;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s !important;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 44px rgba(99, 102, 241, .16) !important;
}
.card-title {
  color: var(--fr-text) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
}
.card-text,
.card-body p,
.card-body div {
  color: var(--fr-muted) !important;
  line-height: 1.65;
}
.card-body {
  color: var(--fr-muted) !important;
}
.card-body b,
.card-body strong {
  color: var(--fr-text) !important;
}

/* ─── WORK EXPERIENCE CARDS ──────────────────────── */
/* Company logo side — frosted pill container */
.card .row.no-gutters > .col-md-3 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(240, 242, 255, .55) !important;
  border-right: 1px solid rgba(99, 102, 241, .08) !important;
}
.card .row.no-gutters > .col-md-3 img.img-thumbnail.border-0 {
  max-width: 120px !important;
  object-fit: contain !important;
  background: rgba(255, 255, 255, .85) !important;
  border-radius: 14px !important;
  padding: 10px !important;
  box-shadow: 0 2px 12px rgba(99, 102, 241, .1) !important;
}

/* Role / position badge */
.card-sub-title a {
  display: inline-block;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(139,92,246,.1)) !important;
  color: var(--fr-a1) !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  padding: .2rem .75rem !important;
  border-radius: 50px !important;
  border: 1px solid rgba(99,102,241,.2) !important;
  cursor: default !important;
  text-decoration: none !important;
  transition: background .2s !important;
}

/* Date row */
.card-body > div > .icon-calendar {
  color: var(--fr-a3) !important;
  margin-right: .35rem;
}
.card-body > div {
  color: var(--fr-soft) !important;
  font-size: .875rem !important;
  margin-bottom: .5rem !important;
}

/* ─── TECH STACK ICON BADGES ─────────────────────── */
/* Targets .img-thumbnail.border-0 with inline max-height style */
img.img-thumbnail.border-0[style*="max-height"] {
  background: rgba(255, 255, 255, .82) !important;
  border-radius: 10px !important;
  padding: 5px 7px !important;
  margin: 3px !important;
  box-shadow: 0 1px 8px rgba(99, 102, 241, .1) !important;
  border: 1px solid rgba(99, 102, 241, .12) !important;
  transition: transform .2s, box-shadow .2s !important;
}
img.img-thumbnail.border-0[style*="max-height"]:hover {
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, .2) !important;
}

/* ─── EDUCATION CARDS ────────────────────────────── */
.contact-section .card {
  border-radius: 18px !important;
}
.contact-section .card img.img {
  border-radius: 12px !important;
  background: #fff !important;
  padding: 10px !important;
}
.contact-section .card-body h6 {
  color: var(--fr-soft) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
}

/* Certification / Award section headings in education page */
.contact-section h2.h4 {
  color: var(--fr-text) !important;
  font-weight: 800 !important;
}

/* ─── PROJECT / BLOG ENTRIES ─────────────────────── */
.blog-entry {
  border-radius: 18px !important;
  overflow: hidden;
  background: var(--fr-card) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, .08) !important;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s !important;
}
.blog-entry:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 48px rgba(99, 102, 241, .17) !important;
}
.blog-entry .img.img-2 {
  border-radius: 14px 14px 0 0 !important;
  box-shadow: none !important;
  transition: transform .35s !important;
  overflow: hidden;
}
.blog-entry:hover .img.img-2 {
  transform: scale(1.03) !important;
}
.blog-entry .text h3 a {
  color: var(--fr-text) !important;
  font-weight: 700 !important;
  transition: color .2s !important;
}
.blog-entry .text h3 a:hover {
  color: var(--fr-a1) !important;
}
.blog-entry .text .category a {
  color: var(--fr-a1) !important;
  font-weight: 600 !important;
}
.blog-entry .text p {
  color: var(--fr-muted) !important;
}

/* ─── PROJECT SHOWCASE IMAGES ────────────────────── */
.image-container img,
.showcase-image img {
  border-radius: 12px !important;
  box-shadow: 0 3px 16px rgba(99, 102, 241, .12) !important;
  border: 1px solid rgba(255, 255, 255, .85) !important;
  transition: transform .3s, box-shadow .3s !important;
}
.image-container img:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 8px 28px rgba(99, 102, 241, .2) !important;
}

/* ─── LINKS ──────────────────────────────────────── */
a {
  color: var(--fr-a1) !important;
  transition: color .2s !important;
}
a:hover {
  color: var(--fr-a2) !important;
}
.text-danger {
  color: var(--fr-a1) !important;
}
.text-muted {
  color: var(--fr-soft) !important;
}

/* ─── SPINNER LOADER ─────────────────────────────── */
#ftco-loader circle.path {
  stroke: var(--fr-a1) !important;
}

/* ─── NAV TOGGLE (hamburger on mobile) ───────────── */
.colorlib-nav-toggle i,
.colorlib-nav-toggle i::before,
.colorlib-nav-toggle i::after {
  background: var(--fr-a1) !important;
  color: var(--fr-a1) !important;
}

/* ─── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--fr-bg); }
::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, .3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, .55);
}

/* ─── TECH STACK SECTION (home page) ────────────── */
.sp-stack-category {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: var(--fr-a1) !important;
  margin-bottom: .85rem !important;
  padding-bottom: .5rem !important;
  border-bottom: 2px solid var(--fr-border) !important;
}

.sp-stack-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-stack-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(99, 102, 241, .14);
  border-radius: 50px;
  padding: 4px 10px 4px 6px;
  box-shadow: 0 1px 6px rgba(99, 102, 241, .08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: default;
}

.sp-stack-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, .18);
  border-color: rgba(99, 102, 241, .35);
}

.sp-stack-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.sp-stack-item span {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  color: var(--fr-text) !important;
  white-space: nowrap;
}
