* {margin:0; padding:0; box-sizing:border-box;}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family:'Poppins',sans-serif;
  background:#f0f0f0;
  color:#222;
  line-height:1.6;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width:90%;
  max-width:1200px;
  margin:auto;
  padding:20px 0;
}

/* HERO */
.hero {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:50px 0;
  min-height: 100vh;
}

.hero .title {
  font-size:70px;
  font-weight:800;
  line-height:1.1;
}

.hero .highlight {
  background:#cf866d;
  padding:8px 20px;
  border-radius:20px;
  display:inline-block;
  margin-bottom:10px;
}

.hero img {
  width:330px;
  max-width: 100%;
  border-radius: 60px;
  margin-top:20px;
}

/* ABOUT SECTION */
.about {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:50px;
  margin-top:80px;
  background:#fff;
  padding:30px;
  border-radius:20px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.about img {
  width:250px;
  border-radius:25px;
}

.about-right {
  flex:1;
  min-width:250px;
}

.hello {
  font-family:'Pacifico',cursive;
  font-size:40px;
  color:#cf866d;
  margin-bottom:5px;
  opacity:0;
  animation:slideHello 1s forwards;
}

@keyframes slideHello {
  0% {opacity:0; transform:translateY(-20px);}
  100% {opacity:1; transform:translateY(0);}
}

.intro {
  font-family:'Pacifico',cursive;
  font-size:30px;
  margin-bottom:15px;
}

.details p {
  margin:8px 0;
}

.details b {
  font-weight:600;
}

/* SECTIONS */
.section {
  margin-top:80px;
}

.section h2 {
  font-size:36px;
  font-weight:700;
  margin-bottom:20px;
  text-align:center;
  color:#cf866d;
}

.cards {
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  justify-content:center;
}

.card {
  background:#fff;
  padding:20px;
  border-radius:15px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  flex:1;
  min-width:250px;
  max-width:300px;
}

.card h3 {
  margin-bottom:10px;
  color:#cf866d;
}

/* ===== PROJECTS - creative ===== */
.proj-heading {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin: 90px 0 40px;
}

.proj-script {
  font-family:'Pacifico',cursive;
  font-weight: 400;
  color:#d3926a;
  margin-right: 8px;
}

.proj-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 10px;
}

.proj-card {
  position: relative;
  background: #fff;
  width: 300px;
  border-radius: 22px;
  padding: 30px 25px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.proj-grid .proj-card:nth-child(even) {
  transform: rotate(1.5deg);
}

.proj-grid .proj-card:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.proj-card:hover {
  transform: translateY(-12px) rotate(0deg) scale(1.02);
  box-shadow: 0 20px 40px rgba(207,142,67,0.25);
}

.proj-card::before {
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%; height:6px;
  background: linear-gradient(90deg,#de8758,#d3926a,#cf866d);
}

.proj-num {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 90px;
  font-weight: 800;

  color: #cf866d;
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.proj-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.proj-body p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.proj-tags span {
  background: #f4e9df;
  color: #a9622f;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.proj-link {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg,#de8758,#cf906d);
  padding: 8px 18px;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proj-link:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 15px rgba(222,135,88,0.4);
}

/* ===== CERTIFICATIONS - creative ===== */
.cert-section {
  background: #fbf6f1;
  padding: 20px 10px 90px;
  margin-top: 60px;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.cert-card {
  position: relative;
  width: 260px;
  background: #fff;
  border-radius: 20px;
  padding: 35px 20px 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(207,142,67,0.22);
}

.cert-card::after {
  content:"";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.cert-card:hover::after {
  left: 125%;
}

.cert-ribbon {
  position: absolute;
  top: 14px;
  left: -34px;
  width: 130px;
  transform: rotate(-45deg);
  background: linear-gradient(90deg,#cf866d,#de8758);
  color: #fff;
  font-size: 10px;
  text-align: center;
  padding: 3px 0;
  letter-spacing: 1px;
}

.cert-ribbon::before {
  content: "VERIFIED";
}

.cert-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.cert-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #222;
}

.cert-issuer {
  font-size: 13px;
  color: #777;
}

.cert-year {
  font-size: 12px;
  color: #cf866d;
  font-weight: 700;
  margin-top: 6px;
}

@media (max-width:768px){
  .proj-card, .cert-card { width: 90%; max-width: 320px; }
}

/* CONTACT */
.contact p {
  margin:10px 0;
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero {flex-direction:column; text-align:center;}
  .about {flex-direction:column; text-align:center;}
  .about-right {max-width:100%;}
  .hero img {margin-top:20px;}
}

/* TIMELINE RESUME */

.resume {
  margin-top: 80px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.resume-title {
  font-size: 28px;
  font-weight: 700;
  border-bottom: 3px solid #e18b7a;
  display: inline-block;
  margin-bottom: 20px;
}

.edu-box {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  align-items: center;
}

.year-small {
  font-size: 14px;
  color: gray;
}

.year-big {
  font-size: 32px;
  font-weight: 800;
}

#skills{
  background:#f4f4f4;
  text-align:center;
  padding:50px 0;
}

#skills h1{
  padding:40px 0;
  color:#dd8870;
}

/* CONTAINER */
.skills{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px;
}

/* CIRCLE CARD */
.skill{
  width:180px;
  height:180px;
  position:relative;
}

/* SVG */
svg{
  width:180px;
  height:180px;
  transform:rotate(-90deg);
  transition: transform 0.6s ease;
}

/* CIRCLES */
circle{
  fill:none;
  stroke-width:10;
  stroke:#eee;
}

circle.progress{
  stroke:#d27d63d8;
  stroke-dasharray:440;
  stroke-dashoffset:440;
  transition: stroke-dashoffset 1.5s ease, stroke 0.3s;
}

/* CENTER CONTENT */
.skill-content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  transition: transform 0.3s ease;
}

.skill-content img{
  width:40px;
  filter:brightness(0);
  transition: transform 0.3s ease;
}

.skill-content h3{
  margin-top:5px;
  font-size:16px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.percent{
  font-size:18px;
  font-weight:600;
  color:#333;
  padding-left: 8px;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* HOVER EFFECTS */
.skill:hover svg{
  transform: rotate(270deg) scale(1.08);
}

.skill:hover circle.progress{
  stroke:#de8e78;
  stroke-width:12;
  filter: drop-shadow(0 0 10px rgb(210, 165, 158));
}

.skill:hover .skill-content{
  transform: translate(-50%, -50%) scale(1.08);
}

.skill:hover .skill-content img{
  transform: scale(1.1);
}

.skill:hover h3{
  transform: scale(1.05);
  color:#dc714d;
}

.skill:hover .percent{
  transform: scale(1.08);
  color:#e3795f;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.5);

  display: none;
  justify-content: center;
  align-items: center;
}

/* Main box */
.modal-content {
  width: 420px;
  max-width: 90%;

  background:url("https://th.bing.com/th/id/OIP.nvZddUwPh9OJERzgtf0LiQHaD_?w=329&h=180&c=7&r=0&o=7&dpr=1.5&pid=1.7&rm=3") no-repeat center center/cover;
  border-radius: 15px;
  padding: 30px;

  text-align: center;
  color: #333;

  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-top: 6px solid #dba89d;

  position: relative;
  transform: translateY(-20px);
  opacity: 0;
  transition: 0.3s ease;
}

.modal[style*="flex"] .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Title */
#modal-title {
  color: #000000;
  margin-bottom: 15px;
}

/* Text */
#modal-text {
  font-size: 15px;
  line-height: 1.6;
}

/* Close button */
#close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  transition: 0.3s;
}

#close:hover {
  color: #e88c75;
}

/* SLIDER SECTION WRAPPER */
.mySliderSection {
  width: 100%;
  padding: 50px 0;
  display: flex;
  justify-content: center;
}

/* CONTAINER */
.mySliderContainer {
  width: 100%;
  max-width: 700px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* ITEMS */
.mySlideWrapper .mySlideItem {
  width: 180px;
  height: 230px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  transition: 0.4s ease;
}

/* MAIN */
.mySlideWrapper .mySlideItem:nth-child(1),
.mySlideWrapper .mySlideItem:nth-child(2) {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  height: 100%;
}

/* SIDE */
.mySlideWrapper .mySlideItem:nth-child(3) { left: 50%; }
.mySlideWrapper .mySlideItem:nth-child(4) { left: calc(50% + 200px); }
.mySlideWrapper .mySlideItem:nth-child(5) { left: calc(50% + 400px); }

.mySlideWrapper .mySlideItem:nth-child(n+6) {
  opacity: 0;
}

/* TEXT ANIMATION */
.mySlideContent {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(40px);
  color: rgb(255, 255, 255);
  opacity: 0;
  transition: all 0.6s ease;
}

.mySlideWrapper .mySlideItem:nth-child(2) .mySlideContent {
  opacity: 1;
  transform: translateY(-50%);
}

/* TITLE + DESC */
.mySlideTitle {
  font-size: 27px;
  font-weight: bold;
  opacity: 0;
  color: #000000;
  transform: translateY(20px);
  transition: 0.5s;
}

.mySlideDesc {
  margin: 10px 0;
  opacity: 0;
  width: 45%;
  transform: translateY(20px);
  transition: 0.5s;
  transition-delay: 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mySlideDesc::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
}

.mySlideDesc:hover::before {
  background: #ca7f68;
}

.mySlideWrapper .mySlideItem:nth-child(2) .mySlideTitle,
.mySlideWrapper .mySlideItem:nth-child(2) .mySlideDesc {
  opacity: 1;
  transform: translateY(0);
}

/* BUTTON */
.mySliderButtons {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

/* 3D buttons - same style as Core Skills chips */
.mySliderButtons {
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.mySliderButtons button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  margin: 0;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f7f7 0%, #fffefe 100%);
  box-shadow:
    0 16px 28px -14px rgba(0, 0, 0, 0.5),
    0 6px 12px -4px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(252, 251, 251, 0.852),
    inset 0 -2px 4px rgba(60, 50, 30, 0.08);
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1), box-shadow 0.45s;
}

.mySliderButtons button::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #f4f3f3);
}

.mySliderButtons .myBtnIcon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, #16161a, #0b0b0d);
  color: #fafaf7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow:
    0 8px 14px -6px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1);
}

.mySliderButtons button:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow:
    0 22px 38px -14px rgba(0, 0, 0, 0.55),
    0 10px 18px -4px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(60, 50, 30, 0.08);
}

.mySliderButtons .myPrevBtn:hover .myBtnIcon { transform: translateX(-3px) rotate(-8deg); }
.mySliderButtons .myNextBtn:hover .myBtnIcon { transform: translateX(3px) rotate(8deg); }

/* pressed effect */
.mySliderButtons button:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 6px 10px -6px rgba(0, 0, 0, 0.5),
    inset 0 2px 5px rgba(60, 50, 30, 0.2);
}

.mySliderButtons button:focus-visible {
  outline: 3px solid #cf866d;
  outline-offset: 3px;
}

/* BM SECTION */
.bm-section {
    height: 75vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.bm-white { background: #f6f6f6; }

.bm-image-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #dcdada;
}

.bm-bg1 {
    background-image: url('https://images.pexels.com/photos/28742773/pexels-photo-28742773.jpeg');
    height: auto;
    min-height: 75vh;
    padding: 60px 10%;
}

.bm-bg1 .bm-h2 {
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 5;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.55),
        0 24px 48px rgba(0, 0, 0, 0.4);
}

.bm-bg2 {
    background-image: url('https://images.pexels.com/photos/30375548/pexels-photo-30375548.jpeg');
    margin-top: 40px;
    height: auto;
    min-height: 75vh;
    padding: 60px 10%;
    overflow: hidden;
}

/* black shade over the Core Skills background (change --bm-shade: 0.1 light -> 0.9 dark) */
.bm-bg2 {
    --bm-shade: 0.55;
}

.bm-bg2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--bm-shade));
    z-index: 0;
    pointer-events: none;
}

.bm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 0;
}

/* moving/scrolling background texture layer (used on Core Skills section) */
.bm-scroll-layer {
    position: absolute;
    inset: -10%;
    z-index: 1;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255,255,255,0.09) 0px,
        rgba(255,255,255,0.09) 2px,
        transparent 2px,
        transparent 16px
    );
    background-size: 220px 220px;
    animation: bmScrollMove 16s linear infinite;
    opacity: 0.9;
}

@keyframes bmScrollMove {
    0%   { background-position: 0 0; }
    100% { background-position: 220px 220px; }
}

.bm-content {
    z-index: 2;
    max-width: 700px;
}

.bm-h1 {
    font-size: 52px;
    font-weight: 800;
    margin: 0;
}

.bm-h2 {
    font-family: "Geist", "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.03em;
    color: #f7f7f7;
   
}

.bm-title-wrap {
    overflow: hidden;
}

.bm-hello {
    font-family:"Brush Script MT", cursive;
    font-size: clamp(48px, 8vw, 120px);
    color:#d39081;
    margin: 0;
    position: relative;
    top: -100px;
    right: -60px;
    z-index: 3;    opacity: 0.9;
}

.bm-name {
    font-family: 'Playfair Display', serif;
    font-size: 92px;
    margin-left: 70px;
    font-style: italic;
    color: #000;
    margin: 0;
    position: relative;
    z-index: 1;
}

.bm-card {
    margin-top: 0px;
    padding: 10px 25px;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    color: rgb(248, 244, 244);
    backdrop-filter: blur(10px);
    line-height: 1.8;
}

.bm-tags span {
    display: inline-block;
    background: #fdfdfd;
    color: #000;
    padding: 8px 14px;
    margin: 5px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.bm-tags span:hover {
    background: #c6c5c5;
    color: #000000;
    transition: 0.2s;
}

/* ===== CORE SKILLS - horizontal 3D chips (icon left, name right) ===== */
.bm-skill-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.bm-skill-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
    border-radius: 16px;
    padding: 9px 18px 9px 12px;
    box-shadow:
        0 16px 28px -14px rgba(0, 0, 0, 0.4),
        0 6px 12px -4px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(60, 50, 30, 0.08);
    transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1), box-shadow 0.45s;
    position: relative;
    overflow: hidden;
}

.bm-skill-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #de8758, #d3926a, #cf866d);
}

.bm-skill-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow:
        0 22px 38px -14px rgba(0, 0, 0, 0.45),
        0 10px 18px -4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(60, 50, 30, 0.08);
}

.bm-skill-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(180deg, #16161a, #0b0b0d);
    color: #fafaf7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 8px 14px -6px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1);
}

.bm-skill-card:hover .bm-skill-icon {
    transform: rotate(-10deg) scale(1.1);
}

.bm-skill-card h4 {
    font-family: "Geist", "Poppins", sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.01em;
    color: #0a0a0c;
    margin: 0;
    white-space: nowrap;
}

/* ===== PROJECTS (light 3D f-card section) ===== */
.bm-content.bm-wide {
    max-width: 1280px;
    width: 100%;
}

.bm-projects-light {
    background: #f1f0f0;
    color: #000000;
    padding: 100px 10% 110px;
    height: auto;
    min-height: 0;
}

.bm-projects-light .bm-h2 {
    font-family: "Geist", "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.03em;
    color: #0a0a0c;
    text-shadow: none;
    text-align: left;
    margin-bottom: 6px;
}

.proj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Geist Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #8a8780;
    font-weight: 500;
    margin-bottom: 16px;
}
.proj-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d8d3d2;
    box-shadow: 0 0 0 3px rgba(232, 70, 44, 0.18);
}

.bm-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    justify-content: center;
    gap: 22px;
    margin-top: 34px;
}

.bm-project-card {
    background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    width: 270px;
    height: 290px;
    max-width: 260px;
    overflow: hidden;
    box-shadow:
        0 22px 40px -16px rgba(40, 30, 10, 0.22),
        0 8px 16px -4px rgba(40, 30, 10, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -3px 6px rgba(60, 50, 30, 0.1);
    transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1), box-shadow 0.5s;
    position: relative;
    overflow: hidden;
}

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

.bm-project-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 54px -18px rgba(40, 30, 10, 0.28),
        0 12px 22px -6px rgba(40, 30, 10, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -3px 6px rgba(60, 50, 30, 0.1);
}

.bm-project-mini {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(180deg, #16161a, #0b0b0d);
    color: #fafaf7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Geist Mono", monospace;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 18px -6px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}

.bm-project-card:hover .bm-project-mini {
    transform: rotate(-8deg) translateY(-4px) scale(1.08);
}

.bm-project-duration {
    display: inline-block;
    font-family: "Geist Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8a8780;
    font-weight: 500;
    padding: 5px 11px;
    background: rgba(40, 30, 10, 0.06);
    border-radius: 999px;
}

.bm-project-card h3 {
    font-family: "Geist", "Poppins", sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: #0a0a0c;
    margin: 0;
}

.bm-project-card p {
    font-size: 14px;
    line-height: 1.55;
    color: #2a2a2d;
    flex: 1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-project-link {
    font-family: "Geist Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #8a8780;
    border-top: 1px solid rgba(20, 20, 22, 0.1);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    background: none;
}

.bm-project-link svg {
    transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}

.bm-project-card:hover .bm-project-link svg {
    transform: translate(3px, -3px);
}

.bm-project-link:hover {
    color: #0a0a0c;
}

.bm-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.bm-fade.bm-active {
    opacity: 1;
    transform: translateY(0);
}

.bm-title-wrap {
    position: relative;
}

/* ABOUT + KNOWN TOOLS combined section */
.bm-about-combined {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    height: auto;
    min-height: 75vh;
    padding-top: 40px;
    padding-bottom: 40px;
}

.bm-about-combined .bm-content {
    flex: 1 1 420px;
    max-width: 560px;
}

.bm-about-combined .ccm-11 {
    flex: 0 1 420px;
    padding: 0;
}

@media (max-width: 768px) {
    .bm-section {
        padding: 20px;
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
    }
    .bm-title-wrap {
        position: static;
    }
    .bm-hello {
        font-size: 48px;
        position: static;
    }
    .bm-name {
        font-size: 36px;
        margin-left: 0;
    }
    .bm-h2 {
        font-size: 24px;
    }
    .bm-bg1 .bm-h2 {
        font-size: 34px;
    }
    .bm-card {
        margin-top: 15px;
        padding: 15px;
        font-size: 14px;
    }
    .bm-tags span {
        font-size: 12px;
        padding: 6px 10px;
    }
    .bm-skill-grid {
        gap: 10px;
    }
    .bm-skill-card {
        padding: 7px 14px 7px 10px;
        gap: 9px;
    }
    .bm-skill-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .bm-skill-card h4 {
        font-size: 11.5px;
    }
    .bm-project-grid {
        grid-template-columns: repeat(auto-fit, 100%);
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        gap: 16px;
    }
    .bm-project-card {
        width: 100%;
        max-width: 260px;
        padding: 20px;
        border-radius: 22px;
    }
    .bm-projects-light {
        padding: 60px 6% 60px;
    }
    .bm-image-bg {
        background-attachment: scroll;
    }
    .bm-about-combined {
        gap: 10px;
    }
    .bm-about-combined .ccm-11 {
        padding-top: 20px;
    }
}

/* CONTACT SECTION */
.contact {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 0;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.item {
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}

.item i {
  font-size: 2.5rem;
  display: block;
}

.item span {
  font-size: 0.85rem;
  color: #666;
}

.item:hover {
  transform: translateY(-8px) scale(1.1);
}

.item i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.item:hover i {
  color: #1d1c1c;
  transform: scale(1.2) rotate(-10deg);
}


.item:hover span {
  color: #1b1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
}

section {
  margin: 0;
}

/* ===== KNOWN TOOLS WHEEL ===== */
.ccm-11,
.ccm-11 *,
.ccm-11 *::before,
.ccm-11 *::after {
  box-sizing: border-box;
}
.ccm-11 {
  width: 100%;
  padding: 40px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  --brand: oklch(65.134% 0.09141 30.117);
  --ink: oklch(0.93 0.005 25);
  --wheel-size: clamp(220px, 80vw, 400px);
  --wheel-radius: calc(var(--wheel-size) * 0.4875);
  --face-size: calc(var(--wheel-size) * 0.5);
  --pointer-offset: calc(var(--wheel-radius) + 31px);
  font-family: 'Segoe UI',system-ui,sans-serif;
  color: var(--ink);
}
.ccm-11__stage {
  width: 100%;
  min-height: calc(var(--wheel-size) + 60px);
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 20px;
  overflow: visible;
}
.ccm-11__pointer {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--pointer-offset));
  translate: -50% 0;
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-top: 13px solid var(--brand);
  filter: drop-shadow(0 2px 6px oklch(38.452% 0.04876 21.37 / 0.6));
  z-index: 3;
}
.ccm-11__machine {
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  display: grid;
  place-items: center;
}
.ccm-11__wheel {
  position: absolute;
  inset: 0;
  list-style: none;
  border-radius: 50%;
  border: 1px solid oklch(0.5 0.05 25 / .4);
  rotate: var(--rot,0deg);
  transition: rotate .7s cubic-bezier(.3,1,.35,1);
}
.ccm-11__wheel li {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  --a: calc((360deg / var(--n)) * var(--i) - 90deg);
  translate: calc(cos(var(--a)) * var(--wheel-radius)) calc(sin(var(--a)) * var(--wheel-radius));
}
.ccm-11__stop {
  pointer-events: auto;
  border: 1px solid oklch(0.5 0.05 25 / .5);
  border-radius: 999px;
  padding: clamp(6px, 1.6vw, 9px) clamp(10px, 3.2vw, 16px);
  background: oklch(0.26 0.02 20 / .85);
  color: oklch(0.8 0.02 25);
  font: 600 clamp(11px, 2.6vw, 13px)/1 'Segoe UI',system-ui,sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  rotate: calc(var(--rot,0deg) * -1);
  transition: rotate .7s cubic-bezier(.3,1,.35,1),background .25s,color .25s,border-color .25s,scale .25s;
}
.ccm-11__stop:hover {
  border-color: var(--brand);
  color: #fff;
}
.ccm-11__stop:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.ccm-11__stop.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: oklch(0.2 0.03 25);
  scale: 1.12;
  box-shadow: 0 0 24px -4px oklch(0.72 0.19 25 / .7);
}
.ccm-11__face {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: var(--face-size);
  height: var(--face-size);
  border-radius: 50%;
  place-content: center;
  text-align: center;
  background: radial-gradient(circle at 38% 30%,oklch(0.3 0.02 20),oklch(0.21 0.015 15));
  border: 1px solid oklch(0.5 0.05 25 / .4);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .1),0 20px 50px -20px oklch(0 0 0 / .8);
}
.ccm-11__face em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: oklch(0.62 0.04 25);
}
.ccm-11__current {
  font-size: 22px;
  letter-spacing: -.01em;
}
.ccm-11__steer {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.ccm-11__steer button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid oklch(0.5 0.05 25 / .5);
  background: oklch(0.28 0.02 20);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  transition: background .2s,border-color .2s;
}
.ccm-11__steer button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: oklch(0.2 0.03 25);
}
.ccm-11__steer button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.ccm-11__live {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .ccm-11 * {
    transition-duration: .01s !important;
  }
}

/* ===== TYPING TEXT EFFECT ===== */
.type-char {
  opacity: 0;
  transition: opacity 0.18s ease-in;
}
.type-char.visible {
  opacity: 1;
}
.typing-caret {
  display: inline-block;
  width: 0;
  height: 1em;
  vertical-align: bottom;
  border-right: 0.12em solid currentColor;
  margin-right: -0.12em;
  animation: bm-blink-caret 0.75s step-end infinite;
}
@keyframes bm-blink-caret {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
