:root {
  --bg: #ffffffcb;
  --sidebar: #fbf8f3e8;
  --accent: #f97316;
  --text: #1f2937;
  --muted: #100201;
  --line: #fed7aa;
}

body.dark {
  --bg: #0b1220;
  --sidebar: #0f172a;
  --accent: #fbbf24;
  --accent-hover: #f59e0b;
  --text: #e5e7eb;
  --muted: #fffcfa;   /* light orange muted */
  --line: #1f2937;
  --btn-text: #0b1220;
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  display: flex;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  height: 100vh;
  background: var(--sidebar);
  padding: 20px;
  position: fixed;
}

.nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo span {
  color: var(--accent);
  font-weight: 700;
  font-size: large;
  margin-left: 50px;
}

.theme-btn {
  background: var(--accent);
  color: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
}

.menu a.active,
.menu a:hover {
  background: #ffedd5;
  color: var(--accent);
}

.footer {
  position: absolute;
  bottom: 20px;
  font-size: 12px;
  color: var(--muted);
}

/* SOCIAL */
.social {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.social a {
  color: var(--muted);
  font-size: 16px;
}

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

/* MAIN */
.main {
  margin-left: 160px;
  padding: 140px 160px;
  width: calc(100% - 260px);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 120px;
  margin-top: 50px;
  
}

.hello {
  color: var(--text);
  font-size: 32px;
  font-family: sans-serif;
}

.hero-text h2 {
  color: var(--accent);
  font-size: 48px;
  margin-left:15px;
  margin-top: 5px;
  font-weight: 500px;
  font-family: sans-serif;
  margin-bottom: 5px;
  line-height: 1.3;
}

.desc {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
  margin-left: 70px;
  margin-top:  5px;
  margin-bottom: 22px;
}

.buttons {
  display: flex;
  gap: 16px;
  margin-top: 5px;
  margin-left: 60px;
}


.btn {
  padding: 10px 20px;
  border-radius: 16px;
  font-size: 14px;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: white;
}

.btn.outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn.outline:hover {
  background: var(--accent);
  color: white;
}

/* IMAGE */
/* container inside CSS GRID */
.hero-img {
  justify-self: end;     /* move to right */
  align-self: start;     /* move to top */
}

/* image style */
.hero-img img {
  width: 320px;
  max-width: 100%;
  border-radius: 14px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* neat & clean hover */
.hero-img img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.25);
}


/* aft home page */
.arrow-wrap {
  margin: 6px 10;
}
.arrow-last {
  margin: 6px 10;
  color: #f97316;
}

.philosophy {
  margin-top: 80px;
  padding: 40px 0;
  text-align: center;
}

/* Small label */
.philosophy-label {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Main line */
.philosophy-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;

  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

/* Arrow styling */
.philosophy-line .arrow {
  color: #f97316;
  font-weight: 700;
}


/* cards */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

/* Individual cards */
.highlight {
  padding: 30px 20px;
  text-align: center;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--line);

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

/* Hover */
.highlight:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

/* Number / Title */
.highlight h3 {
  font-size: 28px;
  color: #f97316;
  margin-bottom: 6px;
}

/* Text */
.highlight p {
  font-size: 14px;
  color: var(--muted);
}

/* About page  */
.about-section {
  padding: 50px 0;
}
.about-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: start;
}

/* LEFT CONTENT */
.about-content h2 {
  font-size: 36px;
  margin-bottom: 26px;
  color: var(--text);
}

/* Accent line + text */
.about-text {
  border-left: 3px solid #f97316;
  padding-left: 22px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-text span {
  color: #f97316;
  font-weight: 500;
}

/* FLIP CARD */
.flip-card {
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}

/* CARD SIDES */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 32px;
  border: 1px solid #fde68a;
  backface-visibility: hidden;
}

/* Accent strip */
.flip-card-front::before,
.flip-card-back::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #f97316;
  border-radius: 18px 0 0 18px;
}

/* Back side */
.flip-card-back {
  transform: rotateY(180deg);
}

/* Titles */
.flip-card h3 {
  font-size: 20px;
  margin-bottom: 22px;
  color: var(--text);
}

/* Lists */
.flip-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.flip-card li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid #f3f4f6;
}

.flip-card li:last-child {
  border-bottom: none;
}

.flip-card li span {
  font-weight: 500;
  color: var(--accent);
}

/* Buttons */
.flip-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: #f97316;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.flip-card-back .flip-btn {
  position: relative;
  top: -25px;
}

.flip-btn:hover {
  background: #ea580c;
}

.flip-btn.outline {
  background: transparent;
  border: 1px solid #f97316;
  color: #f97316;
  
}

.flip-btn.outline:hover {
  background: #ffedd5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .flip-card-inner {
    height: 340px;
  }
}
/* service Section */
.services-section {
    padding: 0px 0;
}

.services-container {
  max-width: 1100px;
  margin: auto;
}

.services-container h2 {
  font-size: 36px;
  margin-bottom: 14px;
  color: var(--text);
}

.services-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin-top: 20px;
  margin-bottom: 50px;
}

/* Grid: 2 items per row */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 90px;
}

/* Base service box */
.service-box {
  display: flex;
  align-items: stretch;
  gap: 22px;
  transition: transform 0.3s ease;
}

/* Accent line (always on LEFT) */
.service-bar {
  width: 4px;
  background: #f97316;
  border-radius: 4px;
  align-self: stretch;
  transition: background 0.3s ease;
}

/* Content */
.service-content {
  max-width: 460px;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text);
}

.service-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* LEFT side */
.service-box.left {
  justify-content: flex-start;
  text-align: left;
}

/* RIGHT side */
.service-box.right {
  justify-content: flex-end;
  text-align: right;
}

/* Hover effects */
.service-box.left:hover {
  transform: translateX(6px);
}

.service-box.right:hover {
  transform: translateX(-6px);
}

.service-box:hover .service-bar {
  background:#fed7aa;
}

/* Mobile */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-box,
  .service-box.right {
    justify-content: flex-start;
    text-align: left;
  }
}

/* experience section */
    .experience-inline {
  margin-top: 90px;
}

.experience-inline h3 {
  font-size: 24px;
  margin-bottom: 36px;
  color: var(--text);
}

/* Lines container */
.experience-lines {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Single line */
.exp-line {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

/* Keyword */
.exp-key {
  min-width: 120px;
  font-size: 18px;
  font-weight: 600;
  color: #f97316;
}

/* Description */
.exp-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
  .exp-line {
    flex-direction: column;
    gap: 6px;
  }

  .exp-key {
    min-width: unset;
  }
}

/* ===== My Journey Section ===== */

.journey-section {
  margin-top: 80px;
}

/* Title */
.journey-title {
  font-size: 26px;
  margin-bottom: 35px;
  font-weight: 600;
}

/* Timeline wrapper */
.journey {
  position: relative;
  padding-left: 60px;
}

/* Vertical line (reversed animation) */
.journey::before {
  content: "";
  position: absolute;
  left: calc(60px + 7px); /* dot center */
  bottom: 7%;             /* start from bottom */
  width: 3px;
  height: 88%;
  background-color: var(--accent);


  /* Reverse animation */
  transform-origin: bottom;
  transform: scaleY(0);
  animation: growLineUp 5s ease-out forwards;
}

/* Reverse animation keyframes */
@keyframes growLineUp {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Timeline items */
.journey-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

/* Dot */
.dot {
  width: 14px;
  height: 14px;
  background-color: var(--accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Text content */
.journey-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--text);
}

.journey-item p {
  font-size: 14.5px;
  color: #4b5563;
  color: var(--muted);
}


.about-insight {
  max-width: 760px;
  margin-top: 70px;
}

.insight-block {
  margin-bottom: 48px;
}

.insight-block h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}

.insight-block h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.insight-block p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
}

.insight-block p span {
  color: #ff7a18;
  font-weight: 500;
}


.about-interests {
  margin-top: 70px;
  max-width: 760px;
}

.about-interests h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1f2937;
}

.interests-intro {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 26px;
}

/* Interests layout */
.interests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Individual interest */
.interest {
  padding: 8px 16px;
  font-size: 14.5px;
  color: #92400e;
  background: rgba(255, 122, 24, 0.12);
  border-radius: 999px;
  transition: all 0.25s ease;
}

/* Subtle hover */
.interest:hover {
  background: rgba(255, 122, 24, 0.2);
}

/* skills page*/
.skills-section {
  margin-top: 100px;
  max-width: 900px;
}

.skills-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1f2937;
}

.skills-intro {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 600px;
  margin-bottom: 60px;
}

/* Groups layout */
.skills-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
}

/* Group */
.skill-group h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ff7a18;
}

.skill-group ul {
  list-style: none;
  padding: 0;
}

.skill-group li {
  font-size: 15px;
  color: #374151;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.skill-group li:last-child {
  border-bottom: none;
}
/* ===== Proficiency Levels ===== */

.proficiency-wrapper {
  margin-top: 90px;
  max-width: 720px;
}

/* Title */
.proficiency-wrapper h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1f2937;
}

/* Single skill */
.skill {
  margin-bottom: 28px;
}

/* Label row */
.label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #374151;
}

/* Background bar */
.track {
  width: 100%;
  height: 12px;
  background: #ffe1c7;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

/* Animated progress */
.progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    #ff7a18,
    #ff9a4d
  );
  border-radius: 8px;
  transition: width 1.4s ease-in-out;
}
/* Certifications */
:root {
  --orange: #ff7a00;
  --light-orange: #fff4eb;
}

/* ================= RESUME ONLY ================= */

.resume {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.resume-title {
  font-size: 42px;
  margin-bottom: 40px;
}

/* Tabs */
.resume-tabs {
  display: flex;
  margin-left: 5px;
  gap: 10px;
  background: linear-gradient(white, white) padding-box, linear-gradient(45deg, #ff7a00, #ffe1c7) border-box;
  padding: 8px;
  border: 4px solid rgba(0, 0, 0, 0);
  border-radius: 40px;
  width: fit-content;
  margin: auto;
}

.resume-tab {
  border: none;
  background: transparent;
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  color: var(--orange);
  font-weight: 600;
  transition: 0.3s;
}

.resume-tab.active {
  background: var(--orange);
  color: white;
}

.resume-tab:hover {
  background: rgba(255, 122, 0, 0.15);
}

/* Content */
.resume-content {
  margin-top: 60px;
}

.resume-panel {
  display: none;
}

.resume-panel.active {
  display: block;
}

/* Timeline */
.resume-timeline {
  position: relative;
  margin-left: 40px;
}

.resume-timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--orange),
    transparent
  );
}

.resume-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
}

/* Dot */
.resume-dot {
  width: 34px;
  height: 34px;
  background: white;
  border: 3px solid var(--orange);
  border-radius: 50%;
  margin-right: 30px;
  position: relative;
}

.resume-item:hover .resume-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: resumePulse 1.4s infinite;
}

/* Card */
.resume-card {
  position: relative;
  background: rgba(254, 184, 118, 0.15);
  padding: 26px;
  border-radius: 20px;
  width: 100%;
  overflow: hidden;
}

.resume-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(120deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: 0.4s;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none; 
}

.resume-item:hover .resume-card::before {
  opacity: 1;
}

.resume-item:hover .resume-card {
  background: var(--light-orange);
}

/* Text */
.resume-card small {
  color: #666;
}

.resume-card h3 {
  margin: 8px 0;
  font-size: 22px;
}

/* Button */
.resume-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.resume-item:hover .resume-btn {
  background: white;
  color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}

/* Animation */
@keyframes resumePulse {
  0% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.6); }
}

/* Responsive */
@media (max-width: 768px) {
  .resume-timeline {
    margin-left: 15px;
  }
}

/* End of Resume Only CSS */
/* =========================
   PROJECT PAGE (SCOPED)
   ========================= */

.project-page {
   background: linear-gradient(135deg, #fff5ec,);
  padding: 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}
.Project-tittle {
  font-size: 42px;
  margin-bottom: 40px;
}
/* Wrapper */
.project-page .project-wrap {
  max-width: 1100px;
  margin: auto;
}

/* Card */
.project-page .project-glass {
  background: #ffffff;
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

/* 🔥 MAIN HOVER EFFECT */
.project-page .project-glass:hover {
  transform: translateY(-6px);
  border-color: #ff7a00;
  box-shadow: 0 35px 70px rgba(255, 122, 0, 0.25);
}

/* Badge */
.project-page .project-badge {
  display: inline-block;
  background: #ff7a00;
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Title */
.project-page .project-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
}

/* Layout */
.project-page .project-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

/* Info */
.project-page .project-info {
  display: grid;
  gap: 18px;
}

.project-page .info-block {
  background: #fff;
  padding: 18px 22px;
  border-radius: 18px;
  border-left: 5px solid #ff7a00;
  transition: all 0.35s ease;
}

/* Info hover (safe) */
.project-page .project-glass:hover .info-block {
  background: #fff7f0;
}

/* Info text */
.project-page .info-block span {
  font-weight: 600;
  color: #ff7a00;
  display: block;
  margin-bottom: 6px;
}

.project-page .info-block p {
  color: #444;
  line-height: 1.6;
}

/* Image */
.project-page .project-visual {
  overflow: hidden;
  border-radius: 50px;
}

.project-page .project-visual img {
  width: 100%;
  transition: transform 0.6s ease;
  height: 500px;
}

/* Image hover */
.project-page .project-glass:hover .project-visual img {
  transform: scale(1.07);
}

/* Buttons */
.project-page .project-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
}

.project-page .project-actions a {
  padding: 14px 32px;
  border-radius: 30px;
  background: #ff7a00;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.35s ease;
  border: 2px solid #ff7a00;
}

/* Button hover */
.project-page .project-actions a:hover {
  background: white;
  color: #ff7a00;
}

/* Responsive */
@media (max-width: 900px) {
  .project-page .project-layout {
    grid-template-columns: 1fr;
  }

  .project-page .project-glass {
    padding: 30px;
  }

  .project-page .project-title {
    font-size: 26px;
  }
}



/* Global */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


/* Contact Section */
.contact-section {
  padding: 30px 60px 20px; /* reduced bottom padding */
}

.contact-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.background-text {
  font-size: 120px;
  font-weight: 700;
  color: rgba(255, 134, 59, 0.377);
  margin: 0;
}

.foreground-text {
  font-size: 42px;
  color: #ff6f00;
  margin-top: -40px;
}

.description {
  max-width: 700px;
  margin: 40px auto 50px;
  font-size: 18px;
  color: #444;
}

/* Contact Content */
.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  flex-wrap: wrap;
}

/* Contact Info Boxes */
.contact-info {
  flex: 1;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInLeft 1s ease;
}

.info-box {
  background: #fffaf3;
  border: 1px solid #fed7aa;
  padding: 14px 18px;
  border-radius: 30px;
  transition: all 0.3s ease;
  color: #333;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.info-box:hover {
  background: #fff4eb;
  border-color: #ff8c42;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* Form */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInRight 1s ease;
}

.contact-form h3 {
  margin-bottom: 8px;
  color: #ff6f00;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #ff8c42;
  box-shadow: 0 0 8px rgba(255, 140, 66, 0.3);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  background: linear-gradient(90deg, #ff8c42, #ff6f00);
  color: white;
  border: none;
  padding: 14px;
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #ff6f00, #ff8c42);
}




/* =================================================
   GLOBAL SAFETY (PREVENT RIGHT SPACE)
   ================================================= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* =================================================
   SOCIAL MEDIA – DESKTOP DEFAULT
   ================================================= */
.social {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 768px) {
  .social {
    display: none;
  }
}

.social,
.social a {
  overflow: visible;
}

.social a {
  font-size: 16px;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Desktop hover */
@media (hover: hover) {
  .social a:hover {
    transform: translateY(-4px) scale(1.1);
    color: var(--accent);
  }
}

/* ===============================
   SCROLL TO TOP (MINIMAL STYLE)
   =============================== */

#emberTop {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 42px;
  height: 42px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;

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

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;

  /* hidden */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: opacity 0.3s ease, transform 0.3s ease;
}

#emberTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* hover (desktop only) */
@media (hover: hover) {
  #emberTop:hover {
    transform: translateY(-3px);
  }
}

/* SVG arrow */
#emberTop svg {
  width: 18px;
  height: 18px;
  stroke: #ff7a00;
  stroke-width: 2.5;
}



/* =================================================
   MOBILE NAV + SOCIAL (MOBILE ONLY)
   ================================================= */
.mobile-nav,
.nav-overlay {
  display: none;
}

@media (max-width: 768px) {

  /* ---------- MOBILE NAV BUTTON ---------- */
  .mobile-nav {
    display: block;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10001;
  }

  .mobile-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }

  /* ---------- SIDEBAR DRAWER ---------- */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100dvh;
    min-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 32px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  /* ---------- OVERLAY ---------- */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  body.nav-open {
    overflow: hidden;
  }

  body {
    display: block;
  }

  .sidebar .footer {
    position: static;
    margin-top: 20px;
  }

  /* ---------- MAIN CONTENT FIX ---------- */
  .main {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 72px 12px 60px !important;
  }

  /* ---------- SOCIAL ICONS IN SIDEBAR (MOBILE) ---------- */
  .sidebar .social {
    position: static;
    transform: none;
    right: auto;
    top: auto;
    flex-direction: row;
    gap: 18px;
    display: flex !important;
    justify-content: center;
    padding: 16px 0;
    z-index: auto;
    margin-top:160px;
  }

  .sidebar .social a {
    font-size: 20px;
    color: var(--muted);
  }

  .sidebar .social a:active {
    color: var(--accent);
  }
  /* ---------- CONTENT ALIGNMENT ---------- */
  section {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

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

  .hero-img img {
    width: 180px;
    max-width: 100%;
  }

  .highlights,
  .services-grid,
  .skills-groups,
  .project-layout,
  .contact-content {
    grid-template-columns: 1fr !important;
    flex-direction: column;
  }
}


/* =================================================
   MOBILE VIEW – SPACE BETWEEN TITLE & CONTENT
   ================================================= */
@media (max-width: 768px) {


.flip-card-back .flip-btn {
  position: relative;
  top: -38px;
}
.philosophy-label{
  margin-bottom: 18px;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
}
.arrow-last{
  margin-bottom: 5px;
}
.deliver{
  margin-bottom: 45px;
}
.about{
  margin-top: 48px;
  margin-bottom: 38px;
}
.services-title{
  margin-top: 48px; /* space below title */
  margin-bottom: 8px;
}
.journey-title{
  margin-bottom: 38px; /* space below title */
  margin-top: 48px;
  
} 
.skills-title{
  margin-top : 48px; /* space below title */
  margin-bottom: 38px;
  
}
.proficiency-title{
  margin-bottom: 48px; /* space below title */
  
}
.resume-title{
  margin-bottom: 48px; /* space below title */
  margin-top: 48px;
}

.Project-tittle{
    margin-bottom: 28px; /* space below title */
  }

  /* -------- CONTACT -------- */
  .background-text {
    margin-bottom: 36px; /* space before content */
  }

  .background-text {
    margin-top: 77px;
  }
  /* Background word (CONTACT) */
  .contact-header .background-text {
    font-size: 74px;          /* reduce so it fits */
    line-height: 1;
    text-align: center;
    white-space: nowrap;      /* keep in one line */
    overflow: hidden;
  }
  /* Foreground title (↳ Get In Touch) */
  .contact-header .foreground-text {
    font-size: 42px;          /* INCREASE title size */
    margin-top: -20px;
    margin-left: 80px;
    text-align: center;
  }

}
.section-space {
    padding: .5rem 0;
}

/* mobile spacing */
@media (max-width: 768px) {
  #emberTop {
    bottom: 80px;
    right: 16px;
  }
}

/* arrow animation */
@keyframes emberFloat {
  0% { transform: translateY(4px); opacity: 0.6; }
  50% { transform: translateY(-4px); opacity: 1; }
  100% { transform: translateY(4px); opacity: 0.6; }
}

/* =================================================
   MASTER TABLET FIX (ALL TABLETS)
   769px – 1200px
   ================================================= */
@media (min-width: 769px) and (max-width: 1200px) {

  /* ---------- RESET CONFLICTS ---------- */
  body {
    display: block !important;
    overflow-x: hidden !important;
  }

  section {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ---------- HIDE DESKTOP SOCIAL ---------- */
  body > .social {
    display: none !important;
  }

  /* ---------- MOBILE NAV BUTTON ---------- */
  .mobile-nav {
    display: block !important;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10001;
  }

  .mobile-nav button {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--btn-text, #fff);
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  }

  /* ---------- SIDEBAR DRAWER ---------- */
  .sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 260px;
    height: 100dvh;
    background: var(--sidebar);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  /* ---------- OVERLAY ---------- */
  .nav-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* ---------- MAIN CONTENT ---------- */
  .main {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 96px 40px 64px !important;
  }
  /* ---------- HERO (SAFE FOR ALL TABLETS) ---------- */
  .hero {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hero-img img {
    width: 260px;
  }

  .hero-text h2 {
    font-size: 38px;
    margin-left: 0;
  }

  .desc,
  .buttons {
    margin-left: 0;
    justify-content: center;
  }

  /* ---------- SOCIAL INSIDE SIDEBAR ---------- */
  .sidebar .social {
    position: static;
    transform: none;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 16px 0;
  }

  .sidebar .social a {
    font-size: 20px;
    color: var(--muted);
  }

  .sidebar .social a:hover {
    color: var(--accent);
  }
  

.flip-card-back .flip-btn {
  position: relative;
  top: -38px;
}
.philosophy-label{
  margin-bottom: 18px;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
}
.arrow-last{
  margin-bottom: 2px;
}
.deliver{
  margin-bottom: 45px;
}
.about{
  margin-top: 48px;
  margin-bottom: 38px;
}
.services-title{
  margin-top: 48px; /* space below title */
  margin-bottom: 8px;
}
.journey-title{
  margin-bottom: 38px; /* space below title */
  margin-top: 48px;
  
} 
.skills-title{
  margin-top : 48px; /* space below title */
  margin-bottom: 38px;
  
}
.proficiency-title{
  margin-bottom: 48px; /* space below title */
  
}
.resume-title{
  margin-bottom: 48px; /* space below title */
  margin-top: 48px;
}

.Project-tittle{
    margin-bottom: 28px; /* space below title */
  }
}




