/* =========================================
   TAYYABA AROOJ — MINIMAL + CREATIVE TECH
   ========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: 0.2s ease;
}

a:hover {
  color: #1d4ed8;
}

h1,
h2,
h3 {
  color: #111827;
  font-weight: 600;
  letter-spacing: -0.02em;
}


/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  overflow: hidden;

  text-align: center;
  padding: 5.5rem 1.5rem 4.8rem;

  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(37, 99, 235, 0.10),
      transparent 20%
    ),
    radial-gradient(
      circle at 82% 26%,
      rgba(59, 130, 246, 0.08),
      transparent 22%
    ),
    linear-gradient(
      180deg,
      #fbfdff 0%,
      #ffffff 100%
    );

  border-bottom: 1px solid #eef1f5;
}

.hero::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;

  top: 32px;
  right: 8%;

  opacity: 0.3;

  background-image:
    radial-gradient(#2563eb 1px, transparent 1px);

  background-size: 12px 12px;

  pointer-events: none;
}

.hero h1 {
  position: relative;
  z-index: 1;

  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;

  margin-bottom: 0.7rem;
}

.tagline {
  position: relative;
  z-index: 1;

  font-size: 1rem;
  color: #5f6b7c;

  margin-bottom: 1.65rem;

  letter-spacing: 0.02em;
}


/* =========================================
   HERO LINKS
   ========================================= */

.links {
  position: relative;
  z-index: 1;

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

  gap: 0.75rem;
  flex-wrap: wrap;
}

.links a {
  width: 42px;
  height: 42px;

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

  color: #475569;

  font-size: 1rem;
  text-decoration: none;

  border: 1px solid #e4e9f0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.05);

  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.links a:hover {
  color: #2563eb;

  transform: translateY(-3px);

  border-color: #cfdcff;

  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.10);
}


/* =========================================
   SECTION BASE
   ========================================= */

.section {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;

  padding: 3.6rem 0;
}

.section.alt {
  position: relative;

  background: #fafbfc;

  box-shadow:
    0 0 0 100vmax #fafbfc;

  clip-path:
    inset(0 -100vmax);
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  font-size: 1.65rem;
  line-height: 1.2;

  margin-bottom: 2rem;
  padding-bottom: 0.8rem;

  border-bottom: 1px solid #e3e7ec;
}

.section h2::before {
  content: "";

  display: block;

  width: 4px;
  height: 22px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      #2563eb,
      #60a5fa
    );
}

.section p {
  font-size: 1rem;
  color: #4b5563;
}


/* =========================================
   ABOUT
   ========================================= */

.hero + .section {
  padding-top: 3.5rem;
  padding-bottom: 2.4rem;
}

.hero + .section p {
  max-width: 790px;

  line-height: 1.85;

  color: #3f4958;
}

.hero + .section + .section {
  padding-top: 2.6rem;
}


/* =========================================
   PROJECTS
   ========================================= */

.research-item {
  position: relative;

  padding:
    1.2rem
    1.2rem
    1.3rem
    4.4rem;

  margin-bottom: 1.2rem;

  border-radius: 14px;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.research-item::before {
  content: "✦";

  position: absolute;

  left: 1.1rem;
  top: 1.2rem;

  width: 38px;
  height: 38px;

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

  color: #2563eb;

  font-size: 0.9rem;

  background: #f8fbff;

  border: 1px solid #e4ecfb;
  border-radius: 10px;

  box-shadow:
    0 6px 16px rgba(15, 23, 42, 0.05);
}

.research-item:hover {
  background: #fbfcff;
  transform: translateY(-1px);
}

.research-item h3 {
  font-size: 1.18rem;
  line-height: 1.35;

  margin-bottom: 0.55rem;
}

.research-item p {
  font-size: 0.97rem;
  line-height: 1.75;

  color: #4b5563;
}

.research-item a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.research-item a:hover {
  color: #1d4ed8;
  text-decoration-thickness: 2px;
}


/* =========================================
   MELANODETECT FEATURE IMAGE
   ========================================= */

.project-image {
  width: 100%;

  margin:
    0.3rem
    0
    2.4rem;

  padding: 12px;

  background:
    linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.05),
      rgba(255, 255, 255, 0.96)
    );

  border: 1px solid #dfe8fb;
  border-radius: 18px;

  box-shadow:
    0 16px 38px rgba(37, 99, 235, 0.08);
}

.project-image img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;

  border-radius: 12px;

  background: #ffffff;
}


/* =========================================
   EDUCATION
   ========================================= */

.education-item {
  max-width: 760px;

  padding-left: 1rem;

  border-left: 3px solid #dbe7ff;
}

.education-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.education-item p {
  color: #4b5563;
  line-height: 1.75;
}


/* =========================================
   AWARDS
   ========================================= */

.awards-section {
  background: #ffffff;

  padding-top: 2.6rem;
  padding-bottom: 3.6rem;
}

.education-awards {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, 0.95fr);

  gap: 1.4rem;

  width: 100%;
  margin: 0 auto;

  align-items: stretch;
}

.education-awards img {
  display: block;

  width: 100%;
  height: 340px;

  object-fit: contain;

  padding: 12px;

  background: #ffffff;

  border: 1px solid #e6ebf2;
  border-radius: 16px;

  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.education-awards img:hover {
  transform: translateY(-3px);

  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.11);
}


/* =========================================
   SKILLS
   ========================================= */

.skills-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1rem;

  margin-top: 0.6rem;
}

.skill-category {
  position: relative;
  overflow: hidden;

  min-height: 145px;

  padding: 1.4rem;

  border: 1px solid #e5eaf0;
  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #fbfdff 100%
    );

  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.04);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.skill-category::after {
  content: "";

  position: absolute;

  width: 90px;
  height: 90px;

  right: -35px;
  top: -35px;

  border-radius: 50%;

  background:
    rgba(37, 99, 235, 0.035);

  pointer-events: none;
}

.skill-category:hover {
  transform: translateY(-3px);

  border-color: #d4def1;

  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.07);
}

.skill-category h3 {
  font-size: 1rem;

  margin-bottom: 0.55rem;

  color: #111827;
}

.skill-category p {
  font-size: 0.93rem;
  line-height: 1.75;

  color: #687386;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
  text-align: center;

  padding: 2.2rem 1.5rem;

  font-size: 0.85rem;

  color: #8792a2;

  border-top: 1px solid #edf0f4;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fafcff
    );
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 800px) {

  .section {
    width: min(100% - 36px, 920px);
  }

  .education-awards {
    grid-template-columns:
      1fr
      0.8fr;
  }

  .education-awards img {
    height: 300px;
  }
}


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

@media (max-width: 650px) {

  .hero {
    padding:
      4.2rem
      1.25rem
      3.6rem;
  }

  .hero::after {
    width: 130px;
    height: 130px;

    right: -15px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .tagline {
    font-size: 0.94rem;
  }


  .section {
    width: calc(100% - 32px);

    padding:
      2.7rem
      0;
  }

  .hero + .section {
    padding-top: 2.8rem;
    padding-bottom: 1.9rem;
  }

  .hero + .section + .section {
    padding-top: 1.9rem;
  }


  .section h2 {
    font-size: 1.45rem;

    margin-bottom: 1.5rem;
  }


  .research-item {
    padding:
      1rem
      0
      1.4rem
      3.5rem;

    margin-bottom: 0.8rem;
  }

  .research-item::before {
    left: 0;
    top: 1rem;

    width: 34px;
    height: 34px;
  }


  .project-image {
    margin-bottom: 2rem;

    padding: 7px;

    border-radius: 13px;
  }

  .project-image img {
    border-radius: 9px;
  }


  .education-awards {
    grid-template-columns: 1fr;

    gap: 1rem;
  }

  .education-awards img {
    height: auto;

    max-height: 420px;
  }


  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-category {
    min-height: auto;
  }
}
/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  text-align: center;
  padding: 3.2rem 1.5rem 2.2rem;
  border-top: 1px solid #edf0f4;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafcff 100%
    );
}

.footer-line {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;

  margin-bottom: 1.1rem;
}

.footer-links a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  color: #1d4ed8;
  transform: translateY(-1px);
}

.footer-links span {
  color: #c0c7d0;
}

.footer-copy {
  font-size: 0.8rem;
  color: #9aa3af;
}
