/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* =========================
   THEME VARIABLES
========================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f1f6ff;

  --card-bg: #ffffff;

  --text: #2a140f;
  --text-soft: #64748b;

  --border:#e2e8f0;

  --accent: #3B82F6;
  --accent-hover: #1d4ed8;

  --tag-bg: #f1f5f9;
  --icon-bg: #dbeafe;

  --input-bg: #fdfefe;

  --button-text: #ffffff;

  --shadow: 0 8px 24px rgba(37, 99, 235, 0.05);
}

/* DARK MODE */

body.dark-mode {
  --bg: #020817;

  --bg-soft: #020817;

  --card-bg: #020817;

  --text: #f8fafc;
  --text-soft: #94a3b8;

  --border: #1e293b;

  --accent: #3b82f6;

  --accent-hover: #60a5fa;

  --tag-bg: #1e293b;

  --icon-bg: #3B82F61A;

  --input-bg: #020817;

  --button-text: #ffffff;

  --shadow: 0 12px 32px rgba(0,0,0,.35);
}

body.dark-mode .modern-hero {
background-image: radial-gradient(
circle at 85% 65%,
rgba(59,130,246,.025) 0%,
rgba(59,130,246,.010) 35%,
rgba(59,130,246,.003) 55%,
transparent 75%
),

linear-gradient(
to bottom,
var(--bg) 0%,
var(--bg) 100%
);
}

body.dark-mode .hero-name{
  background: linear-gradient(
to right,
#97bcf3,
#3a76f6,
#8fb5ee
);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}



/* =========================
   BASE
========================= */
body {
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  font-size: 15px;
  transition: background 0.3s ease, color 0.3s ease;
  transition: color 0.3s ease;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 62px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.4px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.active-link {
  color: var(--accent) !important;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle svg{

   width:16px;

   height:16px;
}

.menu-toggle svg{

   width:16px;

   height:16px;
}

.theme-toggle:hover{
   background:rgba(255,255,255,.08);
}

body:not(.dark-mode) .theme-toggle:hover{
   background:rgba(15,23,42,.06);
}

/* =========================
   SHARED
========================= */
.highlight {
  color: var(--accent);
  font-weight: 550;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto;
}

/* =========================
   BUTTONS
========================= */
.connect-btn,

.big-download-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--button-text);
  border: none;
  border-radius: 11px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.connect-btn:hover,
.github-btn:hover,
.project-button:hover,
.big-download-button:hover,
.submit-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* =========================
   MODERN HERO
========================= */
.modern-hero {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 120px;
  background:
radial-gradient(
circle at 85% 65%,
rgba(59,130,246,.035) 0%,
rgba(59,130,246,.015) 35%,
rgba(59,130,246,.005) 55%,
transparent 75%
),

linear-gradient(
to bottom,
var(--bg) 0%,
var(--bg) 100%
);
}

.hero-name {
  font-size: 5.0rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  margin-top: 0px;
 background: linear-gradient(
      90deg,
      #1543c2 0%,
      #2b67e9 35%,
      #60a5fa 50%,
      #5282eb 65%,
      #1d4ed8 100%
    );
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  font-size: 23px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  margin-top:24px;
}

.hero-tags .hero-tag{
   background:rgba(59,130,246,.10);

}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 19px;
  border-radius: 999px;
  background: var(--tag-bg);
  border: 0px solid var(--border);
  color: var(--text);
  font-size:14px;
  font-weight: 500;
}

.hero-pill svg{

   width:16px;

   height:16px;

   stroke: width 2px;
color:var(--accent);

}

.hero-tag i {
  color: var(--accent);
  font-size: 0.95rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 26px;
  border-radius: 11px;
  background-color: rgb(59, 130, 246);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 495;
}

.hero-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.hero-btn svg{

   width:16px;

   height:16px;

   stroke-width:2;
}

.connect-btn svg{

   width:18px;

   height:18px;

   stroke-width:2;
}

/*arrow animation*/
.hero-btn span {
  transition: transform 0.25s ease;
}

.hero-btn:hover span {
  transform: translateX(4px);
} 

/* =========================
   HOME PAGE
========================= */
.home-page {
   padding: 165px 56px 140px;
  min-height: 85vh;

  background: var(--bg);
}

.home-hero {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding-top:10px;
}

.hero-left h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-left p {
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-soft);
  margin-bottom: 16px;
  max-width: 650px;
}

.connect-btn {
  margin-top: 10px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.connect-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.connect-btn span {
  transition: transform 0.25s ease;
}

.connect-btn:hover span {
  transform: translateX(4px);
}

.hero-right {
  display: flex;
  justify-content: center;
}

.profile-card{

    width:260px;

    min-height:340px;

    padding:34px 28px;

    border-radius:12px;

    text-align:center;

    border:1.2px solid rgba(59, 130, 246, 0.2);

    background-image:linear-gradient(
    to right bottom,
    rgba(59,130,246,.05),
    rgba(59,130,246,.10)
    );

    box-shadow:var(--shadow);

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;
}

.profile-circle{

    width:185px;

    height:185px;

    margin-bottom:28px;

    border-radius:50%;

    background: linear-gradient(
to right bottom,
rgba(59,130,246,.2),
rgba(59,130,246,.3)
);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:3.6rem;
}

.profile-card h2{
    font-size:1.1rem;
    margin-bottom:10px;
}

.profile-card p{
    font-size:.92rem;
    color:var(--text-soft);
}

/* =========================
   PROJECTS PAGE
========================= */
.projects-page {
  flex: 1;
  padding: 52px 36px;
}

.projects-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.projects-header h1 {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 12px;
}

.projects-header p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.projects-toolbar {
  max-width: 1120px;
  margin: 0 auto 24px;
}

.projects-toolbar p {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.repo-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.repo-card {
  min-width: 0;
  min-height: 225px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.repo-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.repo-card:hover h3,
.repo-card:hover .repo-top i,
.repo-card:hover .repo-top a {
  color: var(--accent);
}

.repo-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 15px;
}

.repo-top h3 {
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  
}

.repo-top a {
  width: 34px;
  height: 34px;

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

  color: var(--text);

  flex-shrink: 0;

  background: transparent; /* remove gray background */
  border-radius: 10px;

  transition: 0.25s ease;
}

.repo-top a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/*.repo-top i {
  font-size: 14px;
}*/

.external-link svg{

   width:16px;

   height:16px;

   stroke-width:2;
}

.repo-card p {
  color: var(--text-soft);
  line-height: 1.62;
  font-size: 0.88rem;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.repo-tags span,
.skill-tags span,
.tag,
.project-tags span {
  background: var(--tag-bg);
  color: var(--text);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 550;
}

.repo-meta {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.repo-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot.blue {
  background: #3572A5;
}

.dot.orange {
  background: #d47006;
}

.dot.green {
  background: #10b981;
}

.dot.purple {
  background: #8b5cf6;
}

.dot.shell {
  background: #89e051;
}

.repo-btn {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--card-bg);
  color: var(--text);
  font-weight: 500;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.repo-btn svg{

   width:16px;

   height:16px;

   stroke-width:2;

   margin-right:8px;

   vertical-align:middle;
}

.repo-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.repo-btn i {
  transition: transform 0.2s ease;
}

.repo-btn:hover i {
  transform: translateX(2px);
}

.template-card {
  opacity: 0.92;
}

.all-projects-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 36px;
  animation: fadeSlideUp .7s ease both;
}

.all-projects-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  background: var(--card-bg);
  color: var(--text);
  font-weight: 500;
  font-size: 0.88rem;
}

.all-projects-btn [data-lucide="external-link"]{

   width:16px;

   height:16px;

   stroke-width:2;

   margin-left:6px;

   vertical-align:middle;
}

.all-projects-btn [data-lucide="code"]{

   width:16px;

   height:16px;

   stroke-width:2;

   margin-left:6px;

   vertical-align:middle;
}

.all-projects-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.repo-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:18px;
}

.repo-language-group{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.repo-stats{
    display:flex;
    gap:16px;
    color:var(--text-soft);
}

.repo-stats svg{

   width:12px;

   height:12px;

   stroke-width:2;

   margin-right:4px;
}

.repo-stats span{
    display:flex;
    align-items:center;
    gap:6px;
}

.repo-stats i{
    font-size:.65rem;
    opacity:.85;
}

/* =========================
   SKILLS PAGE
========================= */
.skills-page {
  flex: 1;
  padding: 52px 36px;
}

.skills-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.skills-header h1 {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: var(--text);
}

.skills-header p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.skills-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 22px;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition:
   transform .3s ease,
   border-color .3s ease,
   box-shadow .3s ease; /*skill card edit*/
}

.skill-card:hover {
  transform:translateY(-6px);

   border-color:var(--accent);

   box-shadow:0 10px 30px rgba(59,130,246,.15);
}

.skill-card:hover h3{

   color:var(--accent);
}

.skill-tags span:hover{

   background:var(--accent);

   color:white;
}

.skill-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.skill-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.skill-icon svg {
  width:24px;

   height:24px;

   stroke-width:2.2;

   color:var(--accent);
}

.skill-title h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

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

.learning-card {
  max-width: 650px;
  margin: 50px auto 0;
  padding: 34px 38px;

  text-align: center;

  border-radius: 18px;

  background-image:linear-gradient(
    to right bottom,
    rgba(59,130,246,.05),
    rgba(59,130,246,.10)
    );
  border:1.2px solid rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow);
   animation: fadeSlideUp .7s ease both;
}

.learning-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
}

.learning-card p {
  max-width: 620px;
  margin: 0 auto;

  font-size: 0.98rem;
  line-height: 1.7;

  color: var(--text-soft);
}

/* =========================
   RESUME PAGE
========================= */
.resume-content {
  flex: 1;

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

  padding: 90px 24px 110px;

  min-height: 72vh;
}

.resume-card {
  width: 100%;
  max-width: 760px;

  background: var(--card-bg);

  border: 1px solid var(--border);
  border-radius: 28px;

  padding: 52px 44px;

  text-align: center;

  box-shadow: var(--shadow);
}

.resume-icon {
  width: 70px;
  height: 70px;

  margin: 0 auto 24px;

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

  border-radius: 22px;

  background: var(--icon-bg);

  color: var(--accent);

  font-size: 1.9rem;
}

.resume-icon svg{

   width:32px;

   height:32px;

   stroke-width:2;
}

.resume-card h1 {
  font-size: 2.7rem;
  font-weight: 750;

  letter-spacing: -1px;

  color: var(--text);

  margin-bottom: 16px;
}

.resume-card .download-instructions {
  max-width: 600px;

  margin: 0 auto;

  color: var(--text-soft);

  font-size: 1rem;
  line-height: 1.7;
}

.resume-highlights {
  display: flex;
  justify-content: center;
  gap: 16px;

  flex-wrap: wrap;

  margin: 38px 0;
}

.resume-highlight {
  min-width: 130px;

  padding: 18px 20px;

  border-radius: 18px;

  background: var(--icon-bg);

  border: 0px solid var(--border);
}

.resume-highlight h3 {
  color: var(--accent);

  font-size: 1.3rem;
  font-weight: 750;

  margin-bottom: 4px;
}

.resume-highlight p {
  color: var(--text-soft);

  font-size: 0.85rem;
  font-weight: 550;
}

.resume-card .big-download-button {
  padding: 13px 24px;

  border-radius: 12px;

  font-size: 0.92rem;
  font-weight: 550;
}

.big-download-button svg{

   width:18px;

   height:18px;

   stroke-width:2;
}

/* =========================
   CONTACT PAGE 
========================= */

.contact-page {
  flex: 1;
  padding: 65px 24px 80px;
}

.contact-header {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.contact-header h1 {
  font-size: 2.7rem;
  font-weight: 750;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 14px;
}

.contact-header p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-layout {
  max-width: 980px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.contact-heading,
.message-heading {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 22px;
}

.contact-heading i,
.message-heading i {
  color: var(--accent);
  font-size: 1rem;
}

.contact-heading h2,
.message-heading h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.contact-intro {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.contact-card {
  background: var(--card-bg);
  border: 0.98px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 16px;
   min-height:118px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width:440px;
  width:100%;
  box-shadow: var(--shadow);
  transition:
   transform .3s ease,
   border-color .3s ease,
   box-shadow .3s ease; /*contact card edit*/
}

.contact-card:hover {
  

   border-color:var(--accent);

}

.contact-icon {
  width: 48px;
  height: 48px;

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

  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--accent);

  flex-shrink: 0;
}

.contact-icon svg{

   width:24px;

   height:24px;

   stroke-width:2.2;

   color:var(--accent);
}

.contact-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-card:hover h3{

   color:var(--accent);
}

.contact-card p {
  color: var(--text-soft);
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.contact-card a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 500;
}

.contact-card span{

   color:var(--accent);

   font-size:.84rem;

   font-weight:500;
}


.message-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width:415px;
  width:100%;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form {
  text-align: left;
}

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

.form-group label {
  display: block;
  margin-bottom: 7px;

  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: var(--input-bg);
  color: var(--text);

  padding: 12px 13px;

  font-size: 0.9rem;
  font-family: inherit;

  outline: none;

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.85;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.submit-button {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 14px 22px;

  border: none;
  border-radius: 12px;

  background: var(--accent);
  color: white;

  font-size: 0.92rem;
  font-weight: 550;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.submit-button i {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

.submit-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.submit-button:hover i {
  transform: translateX(3px) rotate(-8deg);
}

.form-note {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.78rem;
  margin-top: 16px;
}

.form-group textarea {
  resize: none;
}

.form-group textarea {
  width: 100%;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: var(--input-bg);
  color: var(--text);

  padding: 12px 13px;

  font-size: 0.9rem;
  font-family: inherit;

  outline: none;

  resize: none;

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


/* Big icon beside Send a Message */
.message-heading svg{

   width:20px;

   height:20px;

   stroke-width:2;
   color:var(--accent);
}

/*checkbox shi*/
.checkbox-label{
display:flex;
align-items:center;
gap:12px;

margin:8px 0 20px;

font-size:0.875rem;
font-weight:500;

cursor:pointer;
}

.checkbox-label input{
width:13px;
height:13px;

accent-color:var(--accent);
}

/* Smaller icon in button */
.submit-button svg{

   width:16px;

   height:16px;

   stroke-width:2;
}

.form-note{
margin-top:12px;

text-align:center;

font-size:.78rem;

line-height:1.5;

color:var(--text-soft);
}

.message-card{
padding:24px 24px 16px;
}

.response-promise{

max-width:1200px;

margin:-20px auto 70px;

padding:10px 28px 28px;

text-align:center;

border-radius:18px;

background-image:linear-gradient(
    to right bottom,
    rgba(59,130,246,.05),
    rgba(59,130,246,.10)
    );

border:1.2px solid rgba(59,130,246,.12);

box-shadow:var(--shadow);
}

.response-promise h2{

font-size:20px;

font-weight:600;

margin-bottom:18px;
margin-top: 18px;

color:var(--text);
}

.response-promise p{

max-width:820px;

margin:0 auto;

font-size:.95rem;

line-height:1.8;

color:var(--text-soft);
}


/* =========================
   FOOTER
========================= */
.site-footer,
footer {
  width: 100%;
  text-align: center;
  padding:39px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-soft);
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 24px;
}

.footer-icons a {
  color: var(--text);
  font-size: 1.08rem;
}

.footer-icons a:hover {
  color: var(--accent);
}

.site-footer p,
footer p {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.footer-icons svg{

   width:16px;

   height:16px;

   stroke-width:2;
}


/* =========================
   ANIMATION
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero,
.projects-header,
.skills-header,
.resume-container,
.contact-container
.resume-content,
.resume-card {
  animation: fadeUp 0.7s ease;
}

/* MOBILE */

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  /* NAVBAR */

  .navbar {
   padding:12px 24px;
   min-height:58px;
  }

  .logo {
    font-size: 1.35rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;

    border: none;
    background: transparent;

    margin-left: auto;

    font-size: 0.95rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-left: 10px;

    border: none;
    background: transparent;
    border-radius: 10px;

    color: var(--text);

    font-size: 0.95rem;

    cursor: pointer;
  }

  

  .nav-links {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 18px 24px 10px;

    background: var(--bg);

    border-bottom: 1px solid var(--border);

    z-index: 999;

      border-top:1px solid var(--border);
  }


  .nav-links.show-menu {
    display: flex;
  }

  .nav-links li {
    width: 90%;
  }

  .nav-links a {
    display: block;

    width: 120%;

    padding: 12px 16px;

    font-size: 1rem;
    font-weight: 490;

    color: var(--text-soft);

    transition: 0.2s ease;
    
  }

  .nav-links a.active-link {
    color: var(--accent) !important;

    background: rgba(37, 99, 235, 0.08);
  }

  .nav-links li:has(.theme-toggle) {
    display: none;
  }

  /* HERO */

  .modern-hero {
    min-height: 62vh;

    padding: 8px 20px 28px;
  }

  .hero-name {
    font-size: 3.7rem;
    line-height: 1.05;
    margin-top: 30px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 1.25rem;
    line-height: 28px;
    font-weight: 500;
    max-width: 420px;
    margin-bottom: 22px;
    margin-top: -8px;
  }

  .hero-tags {
    gap: 14px;
    margin-bottom: 30px;
    max-width: 338px;
    justify-content: center;
  }

  .hero-tag {
    font-size: 0.92rem;

    padding: 12px 20px;
  }

  .hero-btn {
    font-size: 0.96rem;

    padding: 12px 26px;
  }


  .hero-btn i {
  transition: transform 0.25s ease;
}

.hero-btn:hover i {
  transform: translateX(4px);
}

  /* HOME */

  .home-page {
    padding: 50px 22px;
  }

  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 42px;

    text-align: center;
  }

  .hero-left {
    width: 100%;
  }

  .hero-left h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .hero-left p {
    max-width: 100%;

    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-right {
    width: 100%;
    justify-content: center;
  }

  .profile-card {
    width: 100%;
    max-width: 320px;

    margin: 0 auto;
  }

  .profile-circle {
    width: 175px;
    height: 175px;
  }

  /* PROJECTS */

  .projects-page {
    padding: 46px 20px;
  }

  .projects-header h1 {
    font-size: 2.9rem;
  }

  .projects-header p {
    font-size: 1rem;

    max-width: 350px;

    margin: 0 auto;
  }

  .repo-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .repo-card {
    padding: 20px;
  }

  /* SKILLS */

  .skills-page {
    padding: 46px 20px;
  }

  .skills-header h1 {
    font-size: 2.8rem;
  }

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

  /* RESUME */
.resume-content {
    padding: 58px 20px 80px;
    min-height: auto;
  }

  .resume-card {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .resume-card h1 {
    font-size: 2.1rem;
  }

  .resume-card .download-instructions {
    font-size: 0.95rem;
  }

  .resume-highlights {
    gap: 12px;
    margin: 30px 0;
  }

  .resume-highlight {
    width: 100%;
  }

  .resume-card .big-download-button {
    width: 100%;
  }


  /* CONTACT */

  .contact-page {
    padding: 56px 20px 64px;
  }

  .contact-header h1 {
    font-size: 2.8rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .message-card {
    padding: 22px;
  }

  .response-promise{

width:90%;

padding:8px 16px 20px;

border-radius:16px;

}

.response-promise h2{

font-size: 1.25rem;

}

.response-promise p{

font-size:.9rem;

line-height:1.6;

}


  /* FOOTER */

  .site-footer {
    padding: 22px 18px 30px;
  }

}


/* SMALL PHONES */

@media (max-width: 500px) {

  .hero-name {
    font-size: 40px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-tag {
    font-size: 0.84rem;

    padding: 10px 16px;
  }

  .hero-btn {
    width: auto;
  }

  .projects-header h1,
  .skills-header h1,
  .resume-container h1,
  .contact-header h1 {
    font-size: 2.2rem;
  }

}

/* =========================
   PAGE ANIMATIONS
========================= */

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-hero,
.home-hero,
.projects-header,
.repo-card,
.skills-header,
.skill-card,
.resume-container,
.contact-header,
.contact-info,
.message-card {
  animation: fadeSlideUp 0.7s ease both;
}

.repo-card:nth-child(2),
.skill-card:nth-child(2) {
  animation-delay: 0.08s;
}

.repo-card:nth-child(3),
.skill-card:nth-child(3) {
  animation-delay: 0.16s;
}

.repo-card:nth-child(4),
.skill-card:nth-child(4) {
  animation-delay: 0.24s;
}

.repo-card:hover,
.skill-card:hover,
.contact-card:hover,
.profile-card:hover {
  transform: translateY(-5px);
}

