/* =========================================================
   CLEAN STYLE.CSS — Gouthami Nadupuri Portfolio
   - Fixes duplicate/overriding rules
   - Fixes hero background path consistency
   - Adds layout offset for fixed navbar
   - Keeps light/dark mode
========================================================= */

/* -------------------- RESET / BASE -------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:root{
  --pink: #f9044d;
  --btn-gradient: linear-gradient(135deg, #ff4b5c 0%, #f9044d 50%, #ff1e80 100%);
  --ink: #2b1a1f;
  --text: #5c1224;
  --muted: rgba(92, 18, 36, 0.88);
  --heading-red: var(--pink);

  --container: 1120px;
  --panel-bg: rgba(255, 255, 255, 0.94);
  --shadow-lg: 0 24px 50px rgba(0,0,0,0.08);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.07);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 18px;
}

body {
  font-family: "Playfair Display", serif;
  background: linear-gradient(180deg,#ffe6ef 0%,#ffeaf2 35%,#fff1f6 70%,#fff6f9 100%);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

button, input, textarea, select { font-family: inherit; }
a { text-decoration: none; color: inherit; }
.text-center { text-align: center; }

/* Give space for fixed navbar */
main { padding-top: 84px; }

/* Global headings */
h1, h2, h3, h4, h5, h6{
  color: var(--heading-red);
  margin: 0;
}

/* -------------------- SPARKLES BACKGROUND -------------------- */
body::before,
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before{
  background:
    radial-gradient(circle, rgba(255,255,255,0.85) 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 2px),
    radial-gradient(circle, rgba(249, 4, 77, 0.07) 1.5px, transparent 3px);
  background-size: 160px 160px, 240px 240px, 320px 320px;
  background-position: 0 0, 80px 60px, 140px 120px;
  animation: sparkleFloat 26s linear infinite;
  opacity: 0.35;
}

body::after{
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.35), transparent 55%);
  animation: shinePulse 7s ease-in-out infinite;
  opacity: 0.35;
}

@keyframes sparkleFloat { from{transform:translateY(0)} to{transform:translateY(-90px)} }
@keyframes shinePulse { 0%,100%{opacity:.28} 50%{opacity:.45} }

/* Put content above sparkles */
.site-header, main, .site-footer{ position: relative; z-index: 1; }

/* -------------------- NAVBAR -------------------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 20;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(249, 4, 77, 0.10);
}

.nav-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: .75rem 1.75rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nav-brand{
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .08em;
  color: var(--pink);
}

.nav-right{
  display:flex;
  align-items:center;
  gap: 14px;
}

.nav-links{
  display:flex;
  gap: 1.5rem;
  font-size: .95rem;
}

.nav-links a{
  position: relative;
  font-weight: 500;
  color: #7b3042;
  opacity: 0.92;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-.35rem;
  width:0;
  height:2px;
  background: var(--pink);
  transition: width .2s ease;
}
.nav-links a:hover::after{ width:100%; }

/* Theme toggle */
.theme-toggle{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  transition: transform .15s ease, opacity .15s ease, background .2s ease, border-color .2s ease;
}
.theme-toggle:hover{ transform: translateY(-1px); opacity: .95; }
.theme-toggle i{ font-size: 16px; color: rgba(76, 60, 66, 0.75); }

/* -------------------- HERO -------------------- */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 18px 70px; /* keeps spacing below fixed navbar */
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f6c5d0 0%, #f7d4dc 35%, #fff6f8 100%);
}

/* Full hero background image */
.hero.hero-ggb::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/about/golden-gate.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  z-index: 0;
}

/* Soft premium overlay (readable text + smooth blend into theme) */
.hero.hero-ggb::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.45) 40%,
      rgba(255,255,255,0.85) 85%,
      rgba(255,255,255,1) 100%
    );
  z-index: 1;
}

/* If you still have <div class="hero-overlay"> in HTML, hide it */
.hero-ggb .hero-overlay{ display: none; }

.hero-inner{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  color: var(--ink);
}

.hero-eyebrow{
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
  font-weight: 600;
}

.hero-title{
  font-size: clamp(44px, 6vw, 86px);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 800;
  color: #f9044d;  
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero-subtitle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 34px;
  padding: 14px 34px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #ff4b5c 0%,
    #f9044d 50%,
    #ff1e80 100%
  );
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(249, 4, 77, 0.35);
}

.hero-actions{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 48px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
  cursor: pointer;
}

.btn:hover{ transform: translateY(-1px); opacity: 0.96; }

.btn-primary{
  background: linear-gradient(
    135deg,
    #ff4b5c 0%,
    #f9044d 50%,
    #ff1e80 100%
  );
  color: #fff;
  box-shadow: 0 12px 28px rgba(209, 45, 100, 0.22);
}

.btn-outline{
  background: rgba(255,255,255,0.75);
  color:#f9044d;
  border-color: rgba(209, 45, 100, 0.75);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Scroll */
.hero-scroll{
  display: grid;
  place-items: center;
  gap: 10px;
}

.hero-scroll-text{
  margin: 0;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
}

.hero-scroll-btn{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #f9044d;
  background: rgba(255,255,255,0.18);
  border: #f9044d;
  backdrop-filter: blur(8px);
}

/* -------------------- SECTIONS / PANELS -------------------- */
.section{ padding: 0 1.5rem 4.5rem; position: relative; }
#about.section{ padding-top: 2.5rem; }

.panel{
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 3.5rem;
  background: var(--panel-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.panel-header h2{
  font-size: 2.4rem;
  margin: 0 0 .4rem;
  font-weight: 900;
}

.panel-subtitle{
  font-size: .98rem;
  opacity: .92;
  color: #7b3042;
  max-width: 640px;
  margin: .75rem auto 0;
}

/* -------------------- ABOUT -------------------- */
.about-grid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.about-main{ text-align:left; line-height: 1.8; }
.about-image{ display:flex; justify-content:flex-end; align-items:flex-start; }

.profile-img{
  width:100%;
  max-width:400px;
  border-radius: 24px;
  object-fit:cover;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

/* About Social Icons (pink circles) */
.about-social{
  display:flex;
  align-items:center;
  gap: 22px;
  margin-top: 18px;
}

.social-bubble{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--pink);
  display:grid;
  place-items:center;
  color: #fff;
  box-shadow: 0 18px 40px rgba(249, 4, 77, 0.28);
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.social-bubble i{ font-size: 22px; line-height: 1; }

.social-bubble:hover{
  transform: translateY(-2px);
  opacity: 0.96;
  box-shadow: 0 22px 50px rgba(249, 4, 77, 0.33);
}

/* -------------------- EDUCATION -------------------- */
.edu-grid{
  margin-top: 2.1rem;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.edu-card{
  display:flex;
  justify-content:space-between;
  gap: 1rem;
  align-items:flex-start;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  background:#fff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(249, 4, 77, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.edu-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.10);
}

.edu-main h3{ margin:0 0 .35rem; font-size:1.05rem; font-weight: 800; }
.edu-inst{ margin:0; font-size:.9rem; opacity:.92; }
.edu-desc{ margin-top:.4rem; font-size:.88rem; opacity:.9; }

.edu-pill{
  font-size: .8rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(249, 4, 77, 0.08);
  color: #7b3042;
  white-space: nowrap;
}

/* ===============================
   Inline Education Logo (No Layout Change)
================================= */

.edu-card{
  position: relative;
  padding-left: 95px; /* make space for logo */
}

.edu-logo-inline{
  position: absolute;
  top: 22px;
  left: 22px;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(249, 4, 77, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.edu-logo-inline img{
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
}

/* -------------------- EXPERIENCE TIMELINE -------------------- */
.timeline{
  position: relative;
  margin-top: 2.2rem;
  padding: 1rem 0;
}
.timeline::before{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(249, 4, 77, 0.18);
  border-radius: 99px;
}

.tl-item{
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.3rem 0;
}
.tl-item.left { justify-items: end; }
.tl-item.right { justify-items: start; }

.tl-dot{
  position:absolute;
  left: 50%;
  top: 22px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(249,4,77,0.35);
  border: 4px solid rgba(255,255,255,0.9);
  z-index: 2;
}

.tl-card{
  width: min(520px, 92%);
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1.1rem;
  align-items: start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(249, 4, 77, 0.06);
  box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  z-index: 1;
}
.tl-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.10);
}

.tl-logo{
  width: 86px;
  height: 86px;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(249,4,77,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.tl-logo img{ max-width: 80%; height:auto; display:block; }

.tl-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: .9rem;
  margin-bottom:.25rem;
}
.tl-role{ margin:0; font-size: 1.05rem; font-weight: 800; }

.tl-pill{
  font-size: .82rem;
  padding: .28rem .85rem;
  border-radius: 999px;
  background: rgba(249, 4, 77, 0.08);
  color: #7b3042;
  white-space: nowrap;
}

.tl-company{
  margin: .1rem 0 .55rem;
  font-size: .95rem;
  font-weight: 600;
}
.tl-desc{
  margin:0;
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(92, 18, 36, 0.92);
}

.tl-item.left .tl-card{ grid-column: 1; }
.tl-item.right .tl-card{ grid-column: 2; }

/* -------------------- PROJECTS -------------------- */
.projects-grid{
  margin-top: 2.4rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card{
  background:#fff;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(249, 4, 77, 0.05);
  display:flex;
  flex-direction:column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.10);
}

.project-image{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}

.project-body{ padding: 1.4rem 1.5rem 1.5rem; }
.project-body h3{ margin:0 0 .5rem; font-size:1.1rem; font-weight: 900; }
.project-desc{ font-size:.9rem; margin-bottom:.6rem; line-height: 1.6; }
.project-tech{ font-size:.85rem; opacity:.85; margin-bottom:.85rem; }

.project-link{
  display:inline-block;
  padding:.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-size:.9rem;
  font-weight: 700;
  background:#fff;
  transition: .2s;
}
.project-link:hover{ background:#ffe3eb; }

/* ===============================
   Projects: Inline "Explore Work" Card
================================= */

.project-card.project-more-inline{
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(249, 4, 77, 0.18);
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
  position: relative;
}

body[data-theme="dark"] .project-card.project-more-inline{
  background: rgba(22, 22, 30, 0.72);
  border-color: rgba(249, 4, 77, 0.22);
}

.project-more-inline-link{
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 24px;
  position: relative;
}

.project-more-inline-content{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-more-inline-title{
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--heading-red);
}

.project-more-inline-icon{
  font-size: 34px;
  color: var(--heading-red);
  opacity: 0.95;
}

.project-more-inline-arrow{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--heading-red);
  border: 1px solid rgba(249, 4, 77, 0.28);
  background: rgba(249, 4, 77, 0.06);
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-card.project-more-inline:hover .project-more-inline-arrow{
  transform: translateY(-50%) translateX(4px);
  background: rgba(249, 4, 77, 0.12);
}

/* subtle hover */
.project-card.project-more-inline:hover{
  transform: translateY(-3px);
}

/* ===============================
   Projects Sections (Data & AI / Full Stack)
================================= */
.projects-section{
  margin-top: 2.2rem;
}

.projects-subhead{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.1rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(249, 4, 77, 0.08);
  border: 1px solid rgba(249, 4, 77, 0.14);
  color: var(--heading-red);
  font-size: 1.05rem;
  font-weight: 900;
}

.projects-subhead i{
  font-size: 16px;
}

body[data-theme="dark"] .projects-subhead{
  background: rgba(249, 4, 77, 0.12);
  border-color: rgba(249, 4, 77, 0.22);
}

/* -------------------- COURSES -------------------- */
.courses-grid{
  margin-top: 2.2rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.course-card{
  background:#fff;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(249, 4, 77, 0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.course-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.10);
}
.course-card h3{
  margin:0 0 .35rem;
  font-size:1rem;
  line-height: 1.35;
  font-weight: 900;
}
.course-meta{
  margin:0;
  font-size:.88rem;
  opacity:.9;
  line-height: 1.45;
}

/* -------------------- VOLUNTEER -------------------- */
.volunteer-list{
  margin-top: 2.2rem;
  display:grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.volunteer-card{
  background:#fff;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(249, 4, 77, 0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.volunteer-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.10);
}
.volunteer-card h3{ margin:0 0 .4rem; font-size:1.05rem; font-weight: 900; }
.volunteer-desc{ margin:0; font-size:.92rem; opacity:.95; line-height:1.6; }

/* -------------------- SKILLS -------------------- */
.skills { padding: 90px 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skills-head { text-align: center; margin-bottom: 46px; }

.skills-title{
  font-size: 56px;
  line-height: 1;
  margin: 0 0 12px;
  font-weight: 900;
}

.skills-subtitle{
  margin: 0;
  color: var(--heading-red);
  font-size: 16px;
}

.skills-grid-v2{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.skill-card-v2{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  min-height: 240px;
}

.skill-card-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.skill-ico{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fde6ee;
  color: #f9044d;
  border: 1px solid rgba(209, 45, 100, 0.14);
  font-size: 18px;
}

.skill-card-v2 h3{
  margin: 0;
  font-size: 16px;
  color: rgba(38, 30, 34, 0.9);
  font-weight: 900;
}

.chips-v2{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip-v2{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f5e3ea;
  color: #f9044d;
  border: 1px solid rgba(209, 45, 100, 0.10);
  font-size: 14px;
  font-weight: 700;
}

/* -------------------- CONTACT -------------------- */
.contact-grid{
  margin-top: 2.4rem;
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-form-wrapper{
  background:#fff;
  border-radius: var(--radius-md);
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(249, 4, 77, 0.08);
}

.form-row{ display:flex; gap: 1.2rem; }
.form-field{ flex:1; margin-bottom: 1rem; }

.form-field label{
  display:block;
  font-size:.8rem;
  margin-bottom:.35rem;
  font-weight: 800;
  color: #7b3042;
}

.form-field input,
.form-field textarea{
  width:100%;
  padding:.6rem .8rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size:.9rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus{
  outline:none;
  border-color: #ff4b5c;
  box-shadow: 0 0 0 2px rgba(249, 4, 77, 0.18);
}

.contact-btn{
  margin-top: .5rem;
  border:none;
  box-shadow: 0 16px 32px rgba(249, 4, 77, 0.30);
}

.success-message{
  display:none;
  margin-top:.75rem;
  font-size:.85rem;
  color:#178f35;
}

.contact-info{ text-align:left; }
.contact-info h3{ margin-top:0; font-size:1.4rem; font-weight: 900; }

.contact-role{ margin:.3rem 0 1rem; font-size:.95rem; opacity:.9; }
.contact-lines p{ margin:.3rem 0; }

.contact-social{
  margin-top: 1.3rem;
  display:flex;
  gap: .75rem;
}
.contact-social a{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:.95rem;
  box-shadow: 0 14px 28px rgba(249, 4, 77, 0.35);
}

/* -------------------- FOOTER -------------------- */
.site-footer{
  text-align:center;
  padding: 1.75rem 1rem 2.2rem;
  font-size:.8rem;
  opacity:.85;
  color:#7b3042;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 1100px){
  .skills-grid-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px){
  .panel{ padding: 2.6rem 1.8rem 2.8rem; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-image{ justify-content:center; }
  .about-social{ justify-content:center; }
  .edu-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 780px){
  .nav-links{ display:none; }
  .timeline::before{ left: 12px; transform:none; }
  .tl-dot{ left: 12px; transform:none; }
  .tl-item{ grid-template-columns: 1fr; justify-items: start; padding-left: 28px; }
  .tl-item.left .tl-card,
  .tl-item.right .tl-card{ grid-column: 1; width: 100%; }
  .tl-top{ flex-direction: column; align-items:flex-start; }
  .nav-right{ gap: 10px; }
}

@media (max-width: 640px){
  .skills-grid-v2 { grid-template-columns: 1fr; }
  .skills-title { font-size: 44px; }
}

@media (max-width: 520px){
  .panel{ border-radius: 24px; padding: 2.2rem 1.4rem 2.5rem; }
  .form-row{ flex-direction: column; }
}

/* =========================================================
   DARK MODE
========================================================= */
body[data-theme="dark"]{
  color: rgba(255,255,255,0.86);
  background: linear-gradient(180deg,#0b0b12 0%,#101023 35%,#0b0b12 100%);
}

body[data-theme="dark"]::before{ opacity: 0.20; }
body[data-theme="dark"]::after{ opacity: 0.18; }

body[data-theme="dark"] .site-header{
  background: rgba(12, 12, 20, 0.70);
  border-bottom: 1px solid rgba(249, 4, 77, 0.18);
}

body[data-theme="dark"] .nav-links a{ color: rgba(255,255,255,0.78); }

body[data-theme="dark"] .theme-toggle{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 14px 28px rgba(0,0,0,0.40);
}
body[data-theme="dark"] .theme-toggle i{ color: rgba(255,255,255,0.85); }

/* Dark hero tune */
body[data-theme="dark"] .hero{
  background: linear-gradient(180deg, #17172a 0%, #121226 40%, #0b0b12 100%);
}
body[data-theme="dark"] .hero.hero-ggb::before{
  opacity: 0.10;
  filter: saturate(0.9) brightness(0.75) contrast(1.0);
}
body[data-theme="dark"] .hero.hero-ggb::after{
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.75) 100%);
}

/* Dark surfaces */
body[data-theme="dark"] .panel{
  background: rgba(18, 18, 30, 0.86);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}

body[data-theme="dark"] .edu-card,
body[data-theme="dark"] .tl-card,
body[data-theme="dark"] .project-card,
body[data-theme="dark"] .course-card,
body[data-theme="dark"] .volunteer-card,
body[data-theme="dark"] .skill-card-v2,
body[data-theme="dark"] .contact-form-wrapper{
  background: rgba(20, 20, 34, 0.92);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

body[data-theme="dark"] .panel-subtitle,
body[data-theme="dark"] .hero-eyebrow,
body[data-theme="dark"] .hero-subtitle,
body[data-theme="dark"] .tl-desc,
body[data-theme="dark"] .project-desc,
body[data-theme="dark"] .course-meta,
body[data-theme="dark"] .volunteer-desc,
body[data-theme="dark"] .skills-subtitle{
  color: rgba(255,255,255,0.70) !important;
}

body[data-theme="dark"] .form-field input,
body[data-theme="dark"] .form-field textarea{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
}

body[data-theme="dark"] .form-field label{
  color: rgba(255,255,255,0.75);
}

body[data-theme="dark"] .chip-v2{
  background: rgba(249, 4, 77, 0.12);
  border-color: rgba(249, 4, 77, 0.20);
  color: rgba(255,255,255,0.86);
}

body[data-theme="dark"] .site-footer{
  color: rgba(255,255,255,0.65);
}

body[data-theme="dark"] .social-bubble{
  box-shadow: 0 18px 45px rgba(249, 4, 77, 0.40);
}





























