
/* TABASUM PORTFOLIO - COMPLETE CSS */

:root {
  --bg: #090b16;
  --bg-alt: #101426;
  --card: #171b30;
  --purple: #9b78ff;
  --pink: #f472d0;
  --white: #f8f7ff;
  --muted: #a6acc5;
  --border: rgba(255,255,255,.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1140px, 90%);
  margin: auto;
}

/* NAVIGATION */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9,11,22,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 25px;
  font-weight: 800;
}

.logo span,
.section-title h2 span {
  color: var(--purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 140px 0 85px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 35%,
      rgba(139,92,246,.19), transparent 36%),
    radial-gradient(circle at 10% 80%,
      rgba(244,114,208,.09), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--pink);
}

.hero h1 {
  font-size: clamp(40px, 5.3vw, 69px);
  line-height: 1.17;
  margin: 20px 0;
  letter-spacing: -2px;
}

.gradient-text {
  background: linear-gradient(100deg,
    #a78bfa, #f472d0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero h2 {
  color: #d4c5ff;
  font-size: clamp(18px, 2.5vw, 25px);
  margin-bottom: 20px;
  min-height: 40px;
}

.cursor {
  color: var(--pink);
  animation: blink .8s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-text > p {
  color: var(--muted);
  max-width: 590px;
  font-size: 15px;
}

.hero-buttons,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 23px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: .3s;
}

.btn-primary {
  background: linear-gradient(120deg,
    #7955ec, #c65be3);
  color: white;
  box-shadow: 0 8px 25px rgba(139,92,246,.2);
}

.btn-outline {
  border: 1px solid var(--purple);
  color: #c4b5fd;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-outline:hover {
  background: rgba(155,120,255,.12);
}

.hero-stats {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  color: var(--purple);
  font-size: 27px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
}

/* ANIMATED HERO PROFILE */

.hero-visual {
  position: relative;
  height: 420px;
  display: grid;
  place-items: center;
}

.profile-circle {
  width: 275px;
  height: 275px;
  border-radius: 50%;
  background: linear-gradient(145deg,
    #2b2152, #171b30);
  border: 2px solid rgba(167,139,250,.6);
  box-shadow:
    0 0 75px rgba(139,92,246,.2),
    inset 0 0 40px rgba(139,92,246,.13);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.profile-circle > span {
  font-size: 90px;
  font-weight: 800;
  background: linear-gradient(90deg,
    #a78bfa, #f472d0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.profile-circle p {
  color: var(--muted);
  font-size: 12px;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(167,139,250,.3);
}

.orbit-one {
  width: 340px;
  height: 340px;
}

.orbit-two {
  width: 410px;
  height: 410px;
  border-color: rgba(244,114,208,.16);
}

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 17px;
  border-radius: 12px;
  background: #22203e;
  border: 1px solid var(--border);
  color: #ddd2ff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
  animation: float 4s ease-in-out infinite;
}

.chip-one {
  top: 48px;
  left: 30px;
}

.chip-two {
  right: 5px;
  top: 105px;
  animation-delay: 1s;
}

.chip-three {
  bottom: 55px;
  left: 40px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

/* GENERAL SECTIONS */

.section {
  padding: 100px 0;
}

.alternate {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(29px, 4vw, 40px);
  letter-spacing: -1px;
  margin: 8px 0;
}

.section-title p {
  color: var(--muted);
  font-size: 14px;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 26px;
  transition: transform .3s, border-color .3s;
}

.glass-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167,139,250,.6);
}

/* ABOUT */

.about-layout {
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 45px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(145deg,
    #241d44, #14182a);
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 340px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-avatar {
  width: 135px;
  height: 135px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg,
    #8059e9, #db69cd);
  font-size: 49px;
  font-weight: 800;
  margin-bottom: 23px;
}

.about-visual h3 {
  font-size: 20px;
}

.about-visual p,
.about-content p {
  color: var(--muted);
}

.about-content h3 {
  font-size: 23px;
  margin-bottom: 15px;
}

.about-content p {
  margin-bottom: 15px;
  font-size: 14px;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin-top: 23px;
}

.about-details div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px;
}

.about-details span,
.about-details strong {
  display: block;
  font-size: 12px;
}

.about-details span {
  color: var(--pink);
}

.about-details strong {
  margin-top: 4px;
  font-weight: 600;
}

/* SKILLS */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(155,120,255,.15);
  color: var(--purple);
  font-size: 25px;
  margin-bottom: 18px;
}

.glass-card h3 {
  font-size: 17px;
  margin-bottom: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(155,120,255,.12);
  color: #d9caff;
  border: 1px solid rgba(155,120,255,.18);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* PROJECT CARDS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.project-card {
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: .3s;
}

.project-art {
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.project-art > span {
  font-size: 65px;
}

.project-art small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.art-android {
  background: linear-gradient(135deg, #174a49, #17322f);
}

.art-java {
  background: linear-gradient(135deg, #543421, #302139);
}

.art-ai {
  background: linear-gradient(135deg, #40206a, #17264e);
}

.art-data {
  background: linear-gradient(135deg, #584417, #28243d);
}

.art-cv {
  background: linear-gradient(135deg, #173d63, #232044);
}

.art-vr {
  background: linear-gradient(135deg, #542750, #2b2156);
}

.project-body {
  padding: 25px;
}

.project-body h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.project-body p,
.project-body li {
  color: var(--muted);
  font-size: 13px;
}

.project-body ul {
  margin: 15px 0 20px;
  padding-left: 19px;
}

.project-body li {
  margin-bottom: 7px;
}

/* EXPERIENCE */

.timeline {
  max-width: 820px;
  margin: auto;
  border-left: 2px solid rgba(155,120,255,.4);
  padding-left: 30px;
}

.timeline-card {
  position: relative;
  padding: 25px;
  margin-bottom: 23px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.timeline-dot {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--purple);
  left: -39px;
  top: 30px;
  box-shadow: 0 0 15px var(--purple);
}

.timeline-card h3 {
  font-size: 19px;
}

.timeline-card h4 {
  color: var(--pink);
  font-size: 13px;
  margin: 7px 0;
}

.timeline-card p {
  color: var(--muted);
  font-size: 14px;
}

/* EDUCATION */

.education-card {
  max-width: 760px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.education-icon {
  font-size: 60px;
}

.education-card h3 {
  font-size: 22px;
}

.education-card h4 {
  color: var(--purple);
  margin: 7px 0;
}

.education-card p {
  color: var(--muted);
  font-size: 14px;
}

.highlight-pill {
  display: inline-block;
  margin-top: 15px;
  padding: 7px 15px;
  border-radius: 30px;
  background: rgba(155,120,255,.15);
  color: #d8c9ff;
  font-size: 13px;
  font-weight: 700;
}

/* CERTIFICATIONS */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cert-card > span {
  color: var(--pink);
  font-weight: 800;
  font-size: 25px;
}

.cert-card h3 {
  margin: 12px 0 8px;
}

.cert-card p {
  color: var(--muted);
  font-size: 13px;
}

/* ACHIEVEMENTS */

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.achievement-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.achievement-grid p {
  color: var(--muted);
  font-size: 14px;
}

/* CONTACT */

.contact-section {
  background:
    radial-gradient(circle at 50% 100%,
      rgba(155,120,255,.13), transparent 55%);
}

.contact-panel {
  max-width: 780px;
  margin: auto;
  padding: 45px 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
}

.contact-symbol {
  font-size: 45px;
  color: var(--pink);
}

.contact-panel h3 {
  font-size: 26px;
  margin: 12px 0;
}

.contact-panel p {
  color: var(--muted);
  font-size: 14px;
}

.contact-actions {
  justify-content: center;
}

.contact-location {
  margin-top: 28px;
}

/* FOOTER */

.footer {
  padding: 25px 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.footer p {
  color: var(--muted);
  font-size: 12px;
}

/* SCROLL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 950px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .skills-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background: #121527;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px;
    font-size: 14px;
  }

  .hero {
    padding: 130px 0 65px;
  }

  .hero-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 350px;
  }

  .orbit-one {
    width: 290px;
    height: 290px;
  }

  .orbit-two {
    width: 330px;
    height: 330px;
  }

  .profile-circle {
    width: 240px;
    height: 240px;
  }

  .section {
    padding: 75px 0;
  }

  .project-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 23px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 39px;
  }

  .skills-grid,
  .cert-grid,
  .about-details {
    grid-template-columns: 1fr;
  }

  .education-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .chip-one { left: 0; }
  .chip-two { right: 0; }
  .chip-three { left: 10px; }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== PORTFOLIO DISPLAY FIX ===== */

/* Force dark website background */
html,
body {
    background-color: #090b16 !important;
    color: #f8f7ff !important;
    min-height: 100%;
}

body {
    font-family: "Inter", sans-serif !important;
}

/* Fix section backgrounds */
.hero,
.section,
.contact-section {
    background-color: #090b16 !important;
    color: #f8f7ff !important;
}

.alternate {
    background-color: #101426 !important;
}

/* Fix headings and paragraphs */
h1, h2, h3, h4 {
    color: #f8f7ff;
}

p {
    color: #a6acc5;
}

/* Fix cards */
.glass-card,
.project-card,
.timeline-card,
.contact-panel,
.education-card {
    background-color: #171b30 !important;
    color: #f8f7ff !important;
    border: 1px solid rgba(255,255,255,.12);
}

/* Fix navigation */
.header {
    background: rgba(9,11,22,.96) !important;
}

.nav-links a {
    color: #c4c0d6;
}

/* IMPORTANT: Make content visible */
.reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Fix hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Fix project layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* Mobile layout */
@media(max-width: 760px) {
    .project-grid,
    .skills-grid,
    .cert-grid,
    .achievement-grid {
        grid-template-columns: 1fr;
    }
}
