/* ============================================
   pawan-jadhav.css
   Portfolio Styles — SkilledTrader
   ============================================ */

/* ---- RESET & ROOT VARIABLES ---- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:        #2E7D5B;
  --green-light:  #4CAF7A;
  --green-pale:   #E3ECE7;
  --green-border: rgba(46, 125, 91, 0.14);
  --bg:           #F5F7F6;
  --card:         #ffffff;
  --card-tint:    #E3ECE7;
  --text:         #1F2A2E;
  --text-mid:     rgba(31, 42, 46, 0.55);
  --text-soft:    rgba(31, 42, 46, 0.38);
  --shadow:       0 2px 16px rgba(31, 42, 46, 0.07);
  --shadow-md:    0 6px 32px rgba(31, 42, 46, 0.09);
  --r:            14px;
  --r-sm:         10px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--green-light); border-radius: 2px; }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(245, 247, 246, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--green-border);
  transition: padding .3s, box-shadow .3s;
}

nav.scrolled {
  box-shadow: var(--shadow);
  padding: .8rem 3rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}

.nav-logo-text {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  letter-spacing: -.01em;
}

.nav-logo-text span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .2s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  padding: .52rem 1.2rem;
  border-radius: 8px;
  font-size: .78rem !important;
  transition: background .2s, transform .2s !important;
}

.nav-cta:hover {
  background: #266b4e !important;
  transform: translateY(-1px) !important;
}

/* LOGOUT BUTTON */
.logout-btn{
  background: #2E7D5B;
  color: #fff;
  border: none;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.logout-btn:hover{
  background: #266b4e;
  transform: translateY(-1px);
}

/* =========================================
   MOBILE NAVBAR
========================================= */

.hamburger{
  display:none;
  border:none;
  background:var(--green);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-size:20px;
  cursor:pointer;
}

@media(max-width:768px){

  #nav{
    padding:16px 20px;
    position:relative;
  }

  .nav-links{
    display:none;

    position:absolute;

    top:80px;
    left:20px;
    right:20px;

    background:#fff;

    flex-direction:column;

    padding:20px;

    border-radius:16px;

    box-shadow:0 20px 50px rgba(0,0,0,.12);

    gap:18px;
  }

  .nav-links.active{
    display:flex;
  }

  .hamburger{
    display:block;
  }

}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #f0f5f2 0%, #F5F7F6 50%, #eaf2ee 100%);
}

/* subtle dot grid */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(46, 125, 91, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* green blob */
.hero-blob {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 175, 122, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 125, 91, 0.08);
  border: 1px solid rgba(46, 125, 91, 0.18);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 1.3rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 2.4rem;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  padding: .85rem 1.8rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .875rem;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(46, 125, 91, 0.3);
}

.btn-primary:hover {
  background: #266b4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 91, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(31, 42, 46, 0.12);
  padding: .85rem 1.8rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .875rem;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  border-color: rgba(46, 125, 91, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hero-stats { display: flex; gap: 2rem; }

.h-stat em {
  display: block;
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.04em;
}

.h-stat span {
  font-size: .72rem;
  color: var(--text-soft);
  font-weight: 400;
  letter-spacing: .01em;
}

/* ---- Hero Card ---- */
.hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(31, 42, 46, 0.06);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hc-name  { font-weight: 600; font-size: 1.05rem; color: var(--text); margin-bottom: 2px; }
.hc-role  { font-size: .78rem; color: var(--text-soft); margin-bottom: 1.4rem; }
.hc-divider { height: 1px; background: var(--green-border); margin-bottom: 1.4rem; }
.hc-items { display: flex; flex-direction: column; gap: .85rem; }

.hc-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.hc-item-text em   { display: block; font-style: normal; font-size: .78rem; font-weight: 500; color: var(--text); }
.hc-item-text span { font-size: .7rem; color: var(--text-soft); }

.hc-badge {
  margin-top: 1.4rem;
  background: rgba(46, 125, 91, 0.07);
  border: 1px solid rgba(46, 125, 91, 0.16);
  border-radius: 10px;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  animation: blink 2s infinite;
}

.hc-badge-text { font-size: .72rem; color: var(--green); font-weight: 500; }
/* =========================
   RECENT COURSES CARD
========================= */

.recent-courses-card{
  background:#ffffff;
  border:1px solid #e6ece8;
  border-radius:26px;
  padding:22px;
  box-shadow:0 10px 30px rgba(0,0,0,0.04);

  max-width:430px;
  width:100%;
}

/* TOP */
.rc-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}

.rc-title{
  font-size:26px;
  font-weight:700;
  color:#111827;
}

.rc-view{
  text-decoration:none;
  color:#1f8f5f;
  font-size:14px;
  font-weight:600;
  transition:.3s;
}

/* COURSE ITEM */
.rc-course{
  display:flex;
  align-items:center;
  gap:14px;

  padding:14px 0;

  border-bottom:1px solid #edf2ef;
}

.rc-course:last-of-type{
  border-bottom:none;
}

/* ICON */
.rc-image{
  width:56px;
  height:56px;

  border-radius:14px;

  background:linear-gradient(
    135deg,
    #1f8f5f,
    #43c485
  );

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:22px;
  flex-shrink:0;

  color:#fff;
}

/* CONTENT */
.rc-content{
  flex:1;
}

.rc-content h4{
  font-size:17px;
  margin-bottom:4px;
  color:#111827;
}

.rc-content p{
  font-size:13px;
  line-height:1.5;
  color:#6b7280;
}

/* TAGS */
.rc-tag{
  padding:6px 10px;
  border-radius:999px;

  font-size:11px;
  font-weight:600;

  white-space:nowrap;
}

.rc-tag.beginner{
  background:#fff3d6;
  color:#c58900;
}

.rc-tag.intermediate{
  background:#dcfce7;
  color:#15803d;
}

/* BUTTON */
.rc-btn{
  width:100%;

  margin-top:18px;

  display:flex;
  align-items:center;
  justify-content:center;

  text-decoration:none;

  padding:14px;

  border-radius:14px;

  border:1px solid #b8dec9;

  background:#f7fbf8;
  color:#1f8f5f;

  font-size:15px;
  font-weight:700;

  transition:.3s;
}

.rc-btn:hover{
  background:#1f8f5f;
  color:#fff;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
section { padding: 6rem 3rem; }

.max-w {
  max-width: 1100px;
  margin: 0 auto;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .8rem;
}

.sec-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--green-light);
  border-radius: 1px;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 1rem;
}

.sec-body {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--text-mid);
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p + p { margin-top: 1rem; }

.skills-wrap  { margin-top: 2rem; }

.skills-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .85rem;
}

.skills-chips { display: flex; flex-wrap: wrap; gap: .55rem; }

.chip {
  background: var(--card-tint);
  border: 1px solid rgba(46, 125, 91, 0.14);
  color: var(--text);
  font-size: .76rem;
  font-weight: 500;
  padding: .42rem .9rem;
  border-radius: 100px;
  transition: background .2s, color .2s, border-color .2s;
}

.chip:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.info-cards { display: flex; flex-direction: column; gap: 1rem; }

.info-card {
  background: #fff;
  border: 1px solid rgba(31, 42, 46, 0.08);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: box-shadow .25s, transform .25s;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ic-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--card-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ic-body h4    { font-weight: 600; font-size: .88rem; color: var(--text); margin-bottom: 3px; }
.ic-body p     { font-size: .78rem; color: var(--text-soft); line-height: 1.6; }
.ic-body small { font-size: .7rem; color: var(--green); font-weight: 500; margin-top: 4px; display: block; }

/* ============================================
   EXPERIENCE
   ============================================ */
.experience { background: var(--bg); }

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 3rem;
}

.exp-card {
  background: #fff;
  border: 1px solid rgba(31, 42, 46, 0.07);
  border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}

/* animated top border on hover */
.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.exp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--green-border);
}

.exp-card:hover::before { transform: scaleX(1); }

.exp-period {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(46, 125, 91, 0.07);
  border-radius: 6px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 1rem;
}

.exp-card h3     { font-weight: 600; font-size: .95rem; color: var(--text); margin-bottom: 4px; }
.exp-card .exp-org { font-size: .78rem; color: var(--text-soft); margin-bottom: .85rem; }
.exp-card p      { font-size: .82rem; line-height: 1.72; color: var(--text-mid); }

/* ============================================
   PHILOSOPHY / INSIGHTS
   ============================================ */
.philosophy { background: #fff; }

.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}

.p-card {
  background: var(--bg);
  border: 1px solid rgba(31, 42, 46, 0.06);
  border-radius: var(--r);
  padding: 1.6rem;
  transition: background .25s, box-shadow .25s, transform .25s, border-color .25s;
  cursor: default;
}

.p-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(46, 125, 91, 0.18);
}

.p-emoji  { font-size: 1.4rem; margin-bottom: 1rem; display: block; }
.p-card h3 { font-weight: 600; font-size: .9rem; color: var(--text); line-height: 1.45; margin-bottom: .6rem; }
.p-card p  { font-size: .8rem; line-height: 1.72; color: var(--text-soft); }

/* ============================================
   CONTACT
   ============================================ */
.contact      { background: var(--bg); text-align: center; }
.contact-wrap { max-width: 600px; margin: 0 auto; }

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(31, 42, 46, 0.07);
  margin-top: 3rem;
}

.c-links { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.8rem; }

.c-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid rgba(31, 42, 46, 0.09);
  border-radius: var(--r-sm);
  padding: .9rem 1.2rem;
  text-decoration: none;
  color: var(--text);
  font-size: .84rem;
  font-weight: 500;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.c-link:hover {
  background: #fff;
  border-color: rgba(46, 125, 91, 0.25);
  box-shadow: var(--shadow);
  transform: translateX(3px);
}

.c-link:hover .c-icon {
  background: var(--green);
  color: #fff;
}

.c-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--card-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s;
  font-size: .85rem;
}

.c-link-label { flex: 1; text-align: left; }

.c-link-sub {
  display: block;
  font-size: .7rem;
  color: var(--text-soft);
  font-weight: 400;
  margin-top: 1px;
}

.c-arrow {
  color: var(--text-soft);
  font-size: .75rem;
  transition: transform .2s;
}

.c-link:hover .c-arrow {
  transform: translateX(2px);
  color: var(--green);
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 125, 91, 0.07);
  border: 1px solid rgba(46, 125, 91, 0.18);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-top: 2rem;
}

.open-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  animation: blink 2s infinite;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--text);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: .03em;
}

footer strong { color: rgba(255, 255, 255, 0.6); font-weight: 500; }

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — max 960px
============================================ */

@media (max-width: 960px) {

  nav{
    padding:.9rem 1.4rem;
  }

  .nav-links{
    display:none;
  }

  .hamburger{
    display:block;
  }

  .nav-links.active{
    display:flex;
  }

  section{
    padding:4rem 1.4rem;
  }

  .hero{
    padding:7rem 1.4rem 4rem;
  }

  .hero-inner{
    grid-template-columns:1fr;
    gap:3rem;
  }

  .hero-card{
    display:none;
  }

  .about-grid,
  .exp-grid,
  .p-grid{
    grid-template-columns:1fr;
  }

}