:root {
  /* --bg: #fffffe; */
  --card: #f4f4f5;
  --glass: rgba(255, 255, 255, 0.04);
  --accent-grad: linear-gradient(135deg, #0f0d0d 0%, #3a3939 100%);
  --muted: #434344;
  --mutedwhite: #bfbfc2;
  --glass-border: rgba(255, 255, 255, 0.08);
  --max-width: 100%;
  --gold: #bfa46a;
}

/* base */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(99, 102, 241, 0.06), transparent), radial-gradient(900px 400px at 90% 90%, rgba(6, 182, 212, 0.04), transparent), var(--bg);
  color: #333333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* padding:28px 18px; */
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: var(--max-width)
}

/* ===== NAVBAR ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  /* gap:20%; */
  /* border-radius: 14px; */
  /* Premium glass effect */
  background: #dadada;
  /* backdrop-filter: blur(12px); */
}


/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.logo {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 30px;
  color: white;
}

.brand-text {
  min-width: 0;
}

.brand-text .brand-name {
  font-weight: 600;
  font-size: 23px;
}

.brand-text .brand-role {
  font-size: 17px;
  color: var(--muted);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Menu */
.nav-menu ul {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  /* Animation */
  transition: color 0.25s ease;
}

.nav-menu a:hover {
  color: #e17e2f;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu a.active {
  color: #e17e2f;
  font-weight: 900;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.nav-menu.open {
  display: block;
}

/* CTA special styling */
.nav-menu .cta {
  padding: 8px 14px;
  background: var(--accent-grad);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
}

.nav-menu .cta:hover {
  background: #e17e2f
}

.nav-menu ul {
  list-style: none;
}

/* Hamburger */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  color: #232324;
  font-size: 22px;
  cursor: pointer;
}

.heading1 {
  color: white;
  font-weight: 300;
  font-size: 50px;
}

.heading2 {
  color: white;
  font-weight: 300;
  font-size: 35px;
}

.hero1 {
  background-color: #252524;
  min-height: auto;
  padding: 7% 5%;
}

/* HERO */
.accent {
  font-weight: 500px;
  background: linear-gradient(135deg, #e17e2f 0%, #e2a573 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.lead {
  color: var(--mutedwhite);
  max-width: 800px;
  margin-bottom: 16px
}

.btns {
  display: flex;
  gap: 12px
}

.btn {
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer
}

.btn-primary {
  background: var(--accent-grad);
  box-shadow: 0 8px 30px rgba(13, 14, 31, 0.5);
  color: #001
}

.btn-ghost {
  background: transparent;
  border: 1px solid #e6eef8;
  color: #e6eef8;
}

.quick-stats {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  /* flex-wrap: wrap; */
}

.stat {
  /* flex: 1 1 140px; */
  background: var(--card);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  /* ✅ padding added */
  padding: 14px 16px;

  /* optional polish */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-num {
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-label {
  font-size: 0.8rem;
  line-height: 1.3;
}

/* SECTION */
.skillsection {
  background-color: #ffffff;
  padding: 80px 5%;
  text-align: center;
}

/* HEADING */
.skillheading1 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #181717;
}

.skill-subtext {
  font-size: 16px;
  color: #777;
  margin-bottom: 50px;
}

/* GRID */
.idosection {
  max-width: 1200px;
  margin: 0 auto;
  /* center grid */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD */
.section {
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  text-align: left;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  align-items: center;

}

.sectionimageblock {
  padding: 15px;
  min-height: 270px;
  border-radius: 12px;
  /* background: rgba(255,255,255,0.25); */
  /* margin-bottom: 12px; */
}

.sectionImage {
  width: 220px;
  filter: brightness(0) invert(30%);
  /* object-fit: cover; */
}


.stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.stack span {
  display: block;
  margin: 0;
  padding: 5px;
  line-height: 1;
  /* minimal spacing between lines */
  text-align: center;
}

.stack p {
  font-size: 22px;
  color: #e17e2f;
  font-weight: 400;
  text-decoration: underline;
}




.section h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 17px;
  font-weight: 600;
  margin: 16px 0 12px;
}


.section p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* Hover (professional touch) */
.section:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* COLORS */
.section1 {
  background: #c6e2e1;
}

.section2 {
  background: #f4dada;
  color: #222;
}

.section3 {
  background: #f6eac2;
}

.section4 {
  background: #d8e9c2;
}

.section5 {
  background: #d6def5;
}

.section6 {
  background: #eadcf1;
}



.skillheading1 {
  font-size: 32px;
  margin-bottom: 32px;
  align-items: left;
}


.card {
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--glass-border);
}

.small {
  font-size: 13px
}

.muted {
  color: var(--muted)
}

/* skills */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px
}

.skill {
  min-width: 120px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.03)
}

.skill b {
  display: block
}

/* PROJECTS SECTION */


.projects-section {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* horizontal */
  align-items: center;
  background: #252524;
  padding-bottom: 100px;

}

.section-title {
  text-align: center;
  letter-spacing: -0.02em;   /* modern professional look */
  margin: 0;
  padding-top: 40px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3vw, 40px); /* responsive scale */
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance; 
  color:#ffffff;
  
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
  max-width: 520px;  
  color:#cfcfcf;
}

/* GRID */
.projects-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

/* CARD */
.project-block {
  display: flex;
  flex-direction: row;
  border-radius: 16px;
  padding: 0;
  justify-content: space-between;
}

.project-image {

  border: 6px solid #99999933;
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  align-items: center;
  min-height: 400px;
}

.project-card {
  max-width: 400px;
  min-height: 400px;
  align-items: center;
  align-content: center;
}

.projectgap {
  width: 100px;
}

.project-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* HEADER */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.project-header h3 {
  font-size: 20px;
  font-weight: 1.1;
  text-transform: uppercase;
  text-wrap: balance; 
  color:#ffffff;
}

.impact {
  font-size: 13px;
  font-weight: 600;
  color: #e17e2f;
  white-space: nowrap;
}

/* DESCRIPTION */
.project-desc {
  margin: 14px 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 1.5vw, 15px);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  max-width: 520px;  
  color:#ececec;
}

/* POINTS */
.project-points {
  padding-left: 18px;
  margin: 0 0 18px 0;
  color:#f0f0f0;
}

.project-points li {
  font-size: 14px;
  margin-bottom: 6px;
  color:#f0f0f0;

}

/* FOOTER */
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

/* CHIPS */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #fff;
  border: 1px solid #ddd;
}

/* BUTTON */
.view-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 0 5px;
  color: #e17e2f;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.view-btn:hover {
  border-color: #e17e2f;
}



@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }
}


/* CONTACT SECTION */
.contact-section {
  padding: 7% 5%;
  background: #ffffff;
}

.contact-wrapper {
  margin: auto;
}

/* HEADER */
.contact-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-header p {
  color: #666;
  max-width: 600px;
  margin-bottom: 32px;
}

/* GRID */
.contact-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

/* FORM */
.contact-form {
  background: #f9fafb;
  padding: 28px;
  border-radius: 16px;
  width:100%;
  box-sizing: border-box;
}

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

.contact-form label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e17e2f;
}

/* ACTIONS */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.btn-primary{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: #141412;
  color: #bdbebe;
  font-weight: 600;
  text-decoration: none;

}
.btn-resume {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #bfa46a;
  color: #071227;
  font-weight: 600;
  text-decoration: none;
}
.btn-ghost {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: #bfa46a;
  color: #071227;
  font-weight: 600;
  text-decoration: none;
}

/* INFO PANEL */
.contact-info {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
}

.info-block+.info-block {
  margin-top: 24px;
}

.info-block h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-block p {
  font-size: 14px;
  color: #555;
}

/* FOOTER */
.footer {
  padding: 16px 6%;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {


  .contact-info {
    order: -1;
  }
}

@media (max-width: 600px) {
  .contact-header h2 {
    font-size: 28px;
  }

  .footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #06b6d4, #6d28d9);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  z-index: 1200
}

.toast.show {
  opacity: 1;
  transform: translateY(0)
}

/* Floating video container */
#floating-video {
  position: fixed;
  top: 40%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 450px;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  cursor: grab;
  touch-action: none;
}

#dragHandle {
  background: #000;
  color: #fff;
  padding: 6px;
  text-align: center;
  cursor: grab;
}

/* Video element */
#floating-video video {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Close button */
#closeVideo {
  position: absolute;
  top: -0px;
  right: -0px;
  background: #ff4d4d;
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  z-index: 10000;
}

/* Skill Page */
/* Add once (Google Fonts example) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.da{
  min-height: auto;
}

.Daskills{
  display: flex;
  flex-direction: column;
  justify-content: center;  /* horizontal */
  align-items: center;
}
.mHeading{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* max-width: 600px;          keeps text readable */
  /* margin: 0 auto; */
  width: 100%;
  gap: 10px;
  padding: 2% 0;
  background: #252524;
  margin-bottom: 70px;


}
.mHeading h1{
  text-align: center;
  letter-spacing: -0.02em;   /* modern professional look */
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3vw, 40px); /* responsive scale */
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance; 
  color:#ffffff;
}

.mHeading span{
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
  max-width: 520px;  
  color:#cfcfcf;

}

.daskillsfull{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap:150px;
  margin-bottom: 50px;
}

.daskills{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  width:300px;
  gap:30px;
}

.daheading{
  height:90px;
  width:300px;
  display: flex;
  justify-content: center;
  align-items: center;

  border: 4px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;

  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);

}
.daheading h2{
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  margin: 0;


}


.tools {
  width: 100%;
  max-width: 300px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toolimg{
  max-height: 75px;
  max-width: 100%;
  object-fit: contain;

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

.toolimg:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  filter: brightness(1.05);
}

/* Overlay */
.project-overlay {
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px 0;
  overflow-y: auto;

}

body.modal-open {
  overflow: hidden;
}

/* Active state */
.project-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Panel */
.project-panel {
  background: #ffffff;
  width: min(1500px, 92%);
  min-height: 100%;
  border-radius: 18px;
  padding: 0 32px;
  position: relative;
  animation: slideUp 0.45s ease forwards;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.ohero {
  border-top:2px solid rgba(0, 0, 0, 0.12);
  padding-top: 20px;
  display: flex;
  flex-direction: row;

}

.ProjectDetails {
  border-top: 2px solid rgba(0, 0, 0, 0.12);
}





/* Close */
.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: #eee;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Content */
.project-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tech-stack {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.tech-stack span {
  background: #f3f3f3;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.project-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ProjectDetails h4 {
  margin-top: 15px;
  font-size: 16px;
  color: #222;
}

.ProjectDetails ul {
  padding-left: 15px;
  margin: 5px 0 12px;
}

.ProjectDetails li {
  margin-bottom: 3px;
  line-height: 1;
}


/* Dashboard */
.iframe-wrapper {
  border-radius: 14px;
  height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
  border: 1px solid #ddd;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* Animation */
@keyframes slideUp {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .carousel-slide {
    max-height: 260px;
  }
}

/* responsive */
@media(max-width:1000px) {
  .hero {
    grid-template-columns: 1fr
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .nav {
    position: relative;
  }

  .brand {
    flex: 1 1 70%;
  }

  .logo {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .brand-text .brand-name {
    font-weight: 600;
    font-size: 17px;
  }

  .brand-text .brand-role {
    font-size: 13px;
    color: var(--muted);
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #dadada;
    z-index: 999;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* .nav-menu a {
    padding: 14px;
    display: block;
  } */

  .nav-menu .cta {
    padding: 14px;
    display: block;
    color: #a1a1a1 !important;
    border-radius: 0px;
    /* font-weight: 700; */
  }

  .nav-menu.open {
    display: block;
  }

  .hamburger {
    display: block;
  }

  .quick-stats {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 140px;
  }

  .project-block {
    flex-direction: column;

  }
  .contact-grid {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  gap: 20px;
}
   .daskillsfull{
  display:flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 40px;
}
  .daskills {
    width: 45%;
}

  .mHeading{
  padding-top:50px;
}

}

@media(max-width:640px) {

  .nav-menu {
    display: none;
  }

  .hero1 {
    padding: 10%;
  }

  .idosection {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 6fr;

  }

  .avatar {
    width: 60px;
    height: 60px
  }

  #floating-video {
    width: 220px;
  }

  .daskillsfull{
  display:flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 40px;

}
 .daskillsfull {
    flex-direction: column;
    gap: 30px;
  }

  .mHeading{
  padding:30px 20px;
  margin-bottom: 0;
}

  .daskills {
    width: 100%;
  }

  .tools {
    height: 110px;
  }

  .toolimg {
    max-height: 110px;
    max-width: 170px;
    object-fit: contain;
  }

  .projects-section{
    padding : 10%;
  }
}


