/* Perwasha Mujeeb Portfolio - Matching Reference Theme */
:root {
  --dark: #111827;
  --darker: #0b1220;
  --yellow: #FAAC1D;
  --yellow-hover: #e09b1a;
  --light: #EEE CFA;
  --white: #ffffff;
  --offwhite: #f9fafb;
  --text: #1f2937;
  --muted: #6b7280;
  --card-bg: #f3f4fd;
  --border: #e5e7eb;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAV ===== */
.navbar {
  background: var(--dark);
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo span { color: var(--yellow); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: #d1d5db;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.btn-hire {
  background: var(--yellow);
  color: var(--dark) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-hire:hover {
  background: var(--yellow-hover);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(
        to right,
        #111827 0%,
        #111827 70.25%,
        #fdb515 70.25%,
        #fdb515 100%
    );
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 580px;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero .title-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  color: #9ca3af;
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover { background: var(--yellow-hover); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid #4b5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }

.socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.socials span {
  color: #9ca3af;
  font-size: 14px;
  margin-right: 4px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 14px;
  transition: all 0.2s;
}

.socials a:hover {
  background: var(--yellow);
  color: var(--dark);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-bg {
  width: 420px;
  height: 480px;
  background: var(--yellow);
  border-radius: 24px;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-image img {
  
  height: auto;
  object-fit: cover;
  
  position: relative;
  z-index: 2;
  
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-header h2 span {
  background: var(--yellow);
  color: var(--dark);
  padding: 4px 16px;
  border-radius: 50px;
  display: inline-block;
}

.section-header p {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card ul {
  text-align: left;
  color: var(--muted);
  font-size: 13px;
}

.service-card ul li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.services-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--dark);
  cursor: pointer;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

/* ===== ABOUT TEASER ===== */
.about-teaser {
  background: var(--light);
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px;
}

.about-img-wrap {
  flex: 0 0 380px;
  position: relative;
}

/*.about-img-wrap::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  width: 340px;*/
/*  height: 340px;*/
/*  background: var(--yellow);*/
/*  border-radius: 50%;*/
/*  left: -20px;*/
/*  top: 20px;*/
/*  z-index: 0;*/
/*}*/

.about-img-wrap img {
  width: 400px;
  height: auto;
  
  
  position: relative;
  z-index: 1;
  
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.about-content h2 span {
  background: var(--yellow);
  color: var(--dark);
  padding: 4px 14px;
  border-radius: 50px;
  display: inline-block;
}

.about-content > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 500px;
}

.about-content ul {
  margin-bottom: 28px;
}

.about-content ul li {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.about-content ul li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.stat-box {
  background: var(--white);
  padding: 20px 28px;
  border-radius: 12px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-box .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}

.stat-box .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--dark);
  padding: 80px 80px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header h1 span {
  background: var(--yellow);
  color: var(--dark);
  padding: 4px 18px;
  border-radius: 50px;
  display: inline-block;
}

.page-header p {
  color: #9ca3af;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 60px 80px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  font-size: 14px;
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: var(--yellow);
  color: var(--dark);
}

/* ===== INNER PAGE CONTENT ===== */
.content-section {
  padding: 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Skills page */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.skill-category {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
}

.skill-category h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Experience */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 32px;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--yellow);
}

.timeline-item .role {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-item .company {
  font-size: 15px;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item .date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.timeline-item ul li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.timeline-item ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card .card-top {
  background: var(--dark);
  padding: 24px;
  color: var(--white);
}

.project-card .card-top h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.project-card .card-top .meta {
  font-size: 13px;
  color: #9ca3af;
}

.project-card .card-body {
  padding: 24px;
}

.project-card .card-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card .tag {
  background: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--text);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: var(--card-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 14px;
  color: var(--muted);
}

.contact-form {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Education cards */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.edu-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
}

.edu-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.edu-card .school {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.edu-card .date {
  font-size: 13px;
  color: var(--muted);
}

/* Awards */
.awards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.award-item {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.award-item h4 {
  font-size: 15px;
  font-weight: 600;
}

.award-item .date {
  font-size: 13px;
  color: var(--muted);
}

/* Responsive helpers for mock */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-image { margin-top: 40px; }
  .about-teaser { flex-direction: column; }
}
/* ===== SMOOTH TRANSITIONS & ANIMATIONS ===== */
html {
  scroll-behavior: smooth;
}

a, button, .btn-primary, .btn-secondary, .btn-hire, .btn-outline, .btn-dark,
.service-card, .case-card, .project-card, .skill-tag, .nav-links a {
  transition: all 0.3s ease;
}

.service-card:hover,
.case-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid #1f2937;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .navbar {
    position: relative;
  }
}
