/* ============================================
   CUSTOM SCROLLBAR - Platinum MIST Theme
   ============================================ */

:root {
    --section-margin-desktop: 160px 200px;
    --section-margin-tablet: 140px 100px;
    --section-margin-small: 120px 60px;
    --section-margin-mobile: 100px 20px;
}
   
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}
   
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #7B7F85 #2B2E33;
}

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #2B2E33;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7B7F85, #4a4d52);
    border-radius: 10px;
    border: 2px solid #2B2E33;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9499a0, #7B7F85);
    box-shadow: 0 0 10px rgba(123, 127, 133, 0.5);
}

/* Selection color */
::selection {
    background: rgba(123, 127, 133, 0.4);
    color: #fff;
}

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

body {
    background: 
        radial-gradient(circle at 50% 15%, rgba(123,127,133,0.35), transparent 60%),
        radial-gradient(circle at 50% 85%, rgba(43,46,51,0.85), transparent 60%),
        linear-gradient(180deg, #2B2E33, #1a1c20);
    color: #F5F6F7;
    margin: 0;
}

/* MAIN */

#intro {
  height: 100vh;
  min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
  position: relative;
}

#intro::after {
  content: "Tap to skip";
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(245, 246, 247, 0.82);
  background: rgba(43, 46, 51, 0.65);
  border: 1px solid rgba(123, 127, 133, 0.45);
  border-radius: 999px;
  padding: 7px 14px;
  pointer-events: none;
  animation: skipHintPulse 1.6s ease-in-out infinite;
}

body.intro-lock {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  #intro::after {
    content: "Click anywhere to skip";
  }
}

@keyframes skipHintPulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}


.main {
    width: 92%;
    max-width: 1200px;
}

.card {
    background: rgba(255,255,255,0.05);
    border-radius: 26px;
    padding: 42px;
    backdrop-filter: blur(28px);
    box-shadow: 0 0 90px rgba(123,127,133,0.28);
}

/* TOP TAGS */
.top-tags {
    display: flex;
    gap: 14px;
    margin-bottom: 34px;
}

.top-tags span {
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 1px;
    color: #C1C4C8;
}

.dot {
    color: #7B7F85;
}

/* CONTENT */
.content {
    display: flex;
    gap: 60px;
}

/* LEFT */
.left h1 {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.15;
    color: #F5F6F7;
}

.desc {
    margin: 18px 0 28px;
    font-size: 15px;
    color: #C1C4C8;
    max-width: 460px;
}

.live-line {
    margin-bottom: 22px;
}

.live-line span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #7B7F85;
}

/* BUTTONS */
.buttons {
    display: flex;
    gap: 14px;
}

.btn {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: .3s;
}

.btn i {
    color: #7B7F85;
}

.btn:hover {
    background: rgba(123,127,133,0.15);
    box-shadow: 0 0 16px rgba(123,127,133,0.45);
}

/* SITE LINK (LEFT) */
.site-link {
    margin-top: 22px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    color: #7B7F85;
    cursor: pointer;
    transition: .3s;
}
.site-link:hover {
    background: rgba(123,127,133,0.15);
    box-shadow: 0 0 16px rgba(123,127,133,0.45);
}

/* 404 Link */
.link-404 {
    margin-top: 15px;
}

.link-404 a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #7B7F85;
    text-decoration: none;
    transition: 0.3s;
    font-size: 13px;
}

.link-404 a:hover {
    background: rgba(123,127,133,0.15);
    box-shadow: 0 0 16px rgba(123,127,133,0.45);
    transform: scale(1.05);
}

.link-404 a i {
    font-size: 14px;
}

/* RIGHT CARD */
.right {
    flex: 1;
    background: linear-gradient(180deg, rgba(43,46,51,0.9), rgba(26,28,32,0.95));
    border-radius: 22px;
    padding: 28px;
    box-shadow: inset 0 0 40px rgba(123,127,133,0.08);
    position: relative;
}

/* RIGHT HEADER */
.right-head {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 2px;
    color: #C1C4C8;
    margin-bottom: 20px;
}

.online {
    color: #7B7F85;
}

/* ORBIT */
.orbit-box {
    width: 240px;
    height: 240px;
    margin: auto;
    position: relative;
}

.orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(123,127,133,0.35);
    animation: spin 16s linear infinite;
}

.orbit i {
    position: absolute;
    background: #2B2E33;
    color: #7B7F85;
    padding: 7px;
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(123,127,133,0.55);
    font-size: 13px;
}

.i1 { top: -8px; left: 50%; transform: translateX(-50%); }
.i2 { right: -8px; top: 50%; transform: translateY(-50%); }
.i3 { bottom: -8px; left: 50%; transform: translateX(-50%); }
.i4 { left: -8px; top: 50%; transform: translateY(-50%); }

/* CENTER */
.core {
    position: absolute;
    inset: 52px;
    border-radius: 50%;
    background: radial-gradient(circle, #7B7F85, #2B2E33);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(123,127,133,0.6);
}

.core span {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    color: #F5F6F7;
}

/* STATS */
.stats {
    display: flex;
    gap: 18px;
    margin-top: 22px;
}

.stats div {
    flex: 1;
    padding: 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    text-align: left;
}

.stats h4 {
    font-size: 22px;
    font-weight: 500;
    color: #F5F6F7;
}

.stats p {
    font-size: 12px;
    color: #C1C4C8;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.smooth-out {
  animation: smoothOut 0.45s ease forwards;
}

@keyframes smoothOut {
    from {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
    to {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(25px);
    }
}

/* ===== ANIMATION TYPES ===== */

.from-top {
    opacity: 0;
    transform: translateY(-40px);
    animation: fromTop 0.8s ease forwards;
}
@keyframes fromTop {
    to { opacity: 1; transform: translateY(0); }
}

.from-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: fromLeft 0.8s ease forwards;
}
@keyframes fromLeft {
    to { opacity: 1; transform: translateX(0); }
}

.from-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fromRight 0.8s ease forwards;
}
@keyframes fromRight {
    to { opacity: 1; transform: translateX(0); }
}

.from-bottom {
    opacity: 0;
    transform: translateY(40px);
    animation: fromBottom 0.8s ease forwards;
}
@keyframes fromBottom {
    to { opacity: 1; transform: translateY(0); }
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 0.8s ease forwards;
}
@keyframes zoomIn {
    to { opacity: 1; transform: scale(1); }
}

/* ===== TYPEWRITER ===== */
.typewriter {
    border-right: 2px solid #7B7F85;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes fromTop { to { opacity:1; transform:translateY(0);} }
@keyframes fromLeft { to { opacity:1; transform:translateX(0);} }
@keyframes fromRight { to { opacity:1; transform:translateX(0);} }
@keyframes fromBottom { to { opacity:1; transform:translateY(0);} }
@keyframes zoomIn { to { opacity:1; transform:scale(1);} }


/* ===== END TYPEWRITER ===== */


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Container */
.header-list {
  margin: 15px 20px;
}

/* Menu Box */
.div-list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  top: 10px;
  bottom: auto;
}

/* UL */
.ul-list {
  list-style: none;
  display: flex;
  gap: 3rem;
  padding: 12px 28px;
  border-radius: 30px;

  /* DARK GRAY GLASS */
  background: rgba(43, 46, 51, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(123, 127, 133, 0.25);

  box-shadow: 0 8px 25px rgba(123, 127, 133, 0.25);
}

/* LI */
.ul-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 25px;
  padding: 8px 14px;
  transition: 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* LINKS */
.ul-list li a {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: #C1C4C8;
  font-size: 14px;
  transition: 0.3s;
  cursor: pointer;
  display: inline-block;
}

/* ICONS */
.ul-list li i {
  color: #7B7F85;
  position: relative;
  z-index: 2;
}

/* HOVER */
.ul-list li:hover {
  background: rgba(123, 127, 133, 0.25);
  box-shadow: 0 0 12px rgba(123, 127, 133, 0.4);
}

/* ACTIVE */
.ul-list li.active {
  background: linear-gradient(135deg, #7B7F85, #2B2E33);
  box-shadow: 0 0 15px rgba(123, 127, 133, 0.6);
}

.ul-list li.active a,
.ul-list li.active i {
  color: #fff;
}

.home {
  margin: var(--section-margin-desktop);
  color: #f2f2f2;
}

.home-container {
  display: flex;
  gap: 6rem;
}

/* Status Badge */
.home-p {
  background: rgba(123, 127, 133, 0.15);
  color: #C1C4C8;
  display: inline-block;
  border-radius: 25px;
  padding: 6px 14px;
  margin-bottom: 30px;
  font-size: 14px;
}

.home-s {
  font-weight: bold;
  color: #7B7F85;
}

/* TITLES */
.info-home h1 {
  font-size: 70px;
  font-family: "Raleway", sans-serif;
  margin-bottom: 20px;
  color: #F5F6F7;
}

.info-home h3 {
  font-size: 40px;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  color: #C1C4C8;
}

/* TEXT */
.info-p {
  color: #C1C4C8;
  padding-bottom: 20px;
}

.info-p p {
  padding-bottom: 5px;
}

.info-p2 {
  display: flex;
  gap: 1rem;
  color: #C1C4C8;
  font-size: 14px;
  padding-bottom: 20px;
}

/* BUTTONS */
.btnn {
  display: flex;
  gap: 1rem;
  padding-bottom: 30px;
}

.btn-home1 {
  background: linear-gradient(135deg, #7B7F85, #2B2E33);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(123, 127, 133, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-home1:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(123, 127, 133, 0.6);
}

.btn-home2 {
  background: transparent;
  border: 2px solid #7B7F85;
  border-radius: 12px;
  padding: 12px 18px;
  color: #7B7F85;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-home2:hover {
  background: #7B7F85;
  color: #fff;
}

/* HR */
.hhr {
  padding-bottom: 30px;
}

hr {
  width: 90%;
  border: 1px solid rgba(123, 127, 133, 0.4);
}

/* SOCIAL */
.follow {
  display: flex;
  gap: 1rem;
}

.follow ul {
  display: flex;
  gap: 2rem;
  font-size: 20px;
}

.follow ul li {
  list-style: none;
}

.follow ul a {
  text-decoration: none;
  color: #C1C4C8;
  transition: 0.3s;
}

.follow ul a:hover {
  color: #F5F6F7;
  text-shadow: 0 0 10px #7B7F85;
}

/* IMAGE */
.home img {
  width: 400px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(123, 127, 133, 0.4);
}

/* ===== PROJECT SECTION ===== */
.project {
    margin: var(--section-margin-desktop);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #f2f2f2;
    align-items: center;
}

.info-pro{
    margin-bottom: 20px;
}

/* TITLE */
.project h1 {
    font-family: "Orbitron", sans-serif;
    padding-bottom: 10px;
    color: #7B7F85;
    letter-spacing: 1px;
}

/* SUB TEXT */
.project p {
    padding-bottom: 20px;
    font-size: 14px;
    color: #C1C4C8;
}

/* LINE */
.project hr {
    width: 80px;
    height: 3px;
    border: none;
    background: linear-gradient(90deg, #7B7F85, #2B2E33);
    margin-bottom: 20px;
    border-radius: 10px;
}

/* INFO TEXT */
.info-pro {
    padding-top: 20px;
    text-align: center;
}

.info-pro p {
    padding-bottom: 10px;
    color: #C1C4C8;
}

/* PROJECT GRID */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

/* PROJECT CARD */
.project-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(123, 127, 133, 0.25);
    padding: 22px;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(123,127,133,0.15);
    transition: 0.35s ease;
}

  .project-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.4px;
    font-weight: 600;
    border: 1px solid transparent;
  }

  .status-existing {
    color: #d7f7df;
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.45);
  }

  .status-working {
    color: #fff3cd;
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.45);
  }

  .status-future {
    color: #d6ddff;
    background: rgba(77, 106, 255, 0.2);
    border-color: rgba(77, 106, 255, 0.45);
  }

/* HOVER EFFECT */
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 35px rgba(123, 127, 133, 0.45);
}

/* IMAGE OVERLAY WRAPPER */
.project-media {
    position: relative;
    display: block;
    margin-bottom: 15px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(123, 127, 133, 0.25);
  cursor: zoom-in;
    text-decoration: none;
}

/* IMAGE */
.project-card img {
    width: 100%;
    display: block;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.project-card:hover .project-media img {
    transform: scale(1.02);
    filter: brightness(0.88);
}

.project-media::after {
    content: "View image";
    position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(26, 28, 32, 0), rgba(26, 28, 32, 0.88));
  color: #F5F6F7;
    font-size: 12px;
    letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
    pointer-events: none;
  text-align: right;
}

.project-media::before {
  content: none;
}

.project-media:hover::after,
.project-media:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.project-media:focus-visible {
    outline: 2px solid rgba(123, 127, 133, 0.75);
    outline-offset: 2px;
}

/* TITLE */
.project-card h3 {
    color: #C1C4C8;
    margin-bottom: 8px;
}

/* TEXT */
.project-card p {
    color: #C1C4C8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* TAGS */
.project-card .skills a {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 20px;
    color: #7B7F85;
    border: 1px solid rgba(123, 127, 133, 0.4);
    background: rgba(123, 127, 133, 0.08);
}

/* BUTTONS */
.project-card .btns {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.project-card .btn {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, #7B7F85, #2B2E33);
    text-decoration: none;
    transition: 0.3s ease;
}

.project-card .btn:hover {
    box-shadow: 0 0 18px rgba(123, 127, 133, 0.6);
    transform: translateY(-2px);
}

.about {
    margin: var(--section-margin-desktop);
    font-family: "Poppins", sans-serif;
    color: #f2f2f2;
}

/* HEADER INFO */
.about-info {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 4rem;
    align-items: center;
}

.img-about img {
    width: 55px;
    border-radius: 50%;
    border: 2px solid rgba(123, 127, 133, 0.6);
    box-shadow: 0 0 12px rgba(123, 127, 133, 0.6);
}

.info-text {
    position: relative;
    bottom: -6px;
}

.info-text p {
    color: #cfcfcf;
    font-size: 14px;
}

.info-text h5 {
    margin-bottom: 4px;
    color: #C1C4C8;
}

/* TITLE */
.about h3 {
    margin-bottom: 1rem;
    font-size: 28px;
    color: #7B7F85;
    font-family: "Orbitron", sans-serif;
}

/* TEXT */
.about-text p {
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
    color: #d2d2d2;
    line-height: 1.7;
}

.about-text span {
    color: #7B7F85;
    font-weight: 600;
}

.about-text a,
.about-text a:visited {
  color: #a8d4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.about-text a:hover,
.about-text a:focus-visible {
  color: #d7ecff;
  text-decoration-thickness: 2px;
}

/* IMAGE SIDE */
.about-info2 {
    display: flex;
    gap: 3rem;
    align-items: center;
}

/* PHOTO CARD */
.photo-container {
    position: relative;
    display: inline-block;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(123, 127, 133, 0.25);
    box-shadow: 0 0 25px rgba(123, 127, 133, 0.25);
}

/* PHOTO */
.photo-container img {
    width: 260px;
    border-radius: 12px;
    display: block;
}

/* TAPE EFFECT */
.tape {
    position: absolute;
    width: 90px;
    height: 30px;
    background: linear-gradient(145deg, #2B2E33, #1a1c20);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.15),
        inset 0 -2px 4px rgba(0,0,0,0.8),
        0 4px 12px rgba(123, 127, 133, 0.4);
    border-radius: 4px;
    opacity: 0.9;
    z-index: 2;
}

.tape::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.05)
    );
}

/* TAPE POSITIONS */
.tape1 {
    top: -18px;
    left: 30px;
    transform: rotate(-10deg);
}

.tape2 {
    bottom: -18px;
    right: 30px;
    transform: rotate(10deg);
}


/* GLOW BACKGROUND */
.services::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(123, 127, 133, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

/* CONTAINER */
.services-content {
  max-width: 1100px;
    margin: 0 auto;
}

/* GRID */
.services-grid {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* CARD */
.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(123, 127, 133, 0.25);
    border-radius: 22px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(14px);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(123,127,133,0.15);
}

/* SHINE EFFECT */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(123, 127, 133, 0.25),
        transparent
    );
    transition: 0.6s;
}

.service-card:hover::before {
    left: 120%;
}

/* HOVER */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 40px rgba(123, 127, 133, 0.5);
}

/* ICON */
.service-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #7B7F85, #2B2E33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: #fff;
    box-shadow: 0 0 25px rgba(123, 127, 133, 0.6);
}

.section-title{
    margin-bottom: 20px;
}

/* TITLE */
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #C1C4C8;
}

/* DESCRIPTION */
.service-card p {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* TAGS */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.service-features span {
    background: rgba(123, 127, 133, 0.15);
    color: #C1C4C8;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(123, 127, 133, 0.35);
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.services {
    margin: var(--section-margin-desktop);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #f2f2f2;
}

.info-pro{
    margin-bottom: 20px;
}

/* TITLE */
.services h1 {
    font-family: "Orbitron", sans-serif;
    padding-bottom: 10px;
    color: #7B7F85;
    letter-spacing: 1px;
}

/* SUB TEXT */
.services p {
    padding-bottom: 20px;
    font-size: 14px;
    color: #c9c9c9;
}

.services hr {
    width: 80px;
    height: 3px;
    border: none;
    background: linear-gradient(90deg, #7B7F85, #2B2E33);
    margin-bottom: 20px;
    border-radius: 10px;
}

/* ================= CONTACT SECTION ================= */

#contact {
  width: 100%;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONTAINER */
.contact-content {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: auto;
}

/* LEFT SIDE */
.contact-info p {
  color: #cfcfcf;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* DETAILS */
.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: #d0d0d0;
}

.contact-item svg {
  color: #7B7F85;
  filter: drop-shadow(0 0 6px rgba(123, 127, 133, 0.6));
}

/* SOCIAL */
.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(123, 127, 133, 0.12);
  border: 1px solid rgba(123, 127, 133, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C1C4C8;
  transition: 0.3s ease;
}

.social-link:hover {
  transform: scale(1.15);
  color: #fff;
  box-shadow: 0 0 25px rgba(123, 127, 133, 0.6);
}

/* FORM */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(123, 127, 133, 0.25);
  border-radius: 18px;
  padding: 35px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(123, 127, 133, 0.25);
  transition: all 0.3s ease;
}

/* Contact form glow effect when inputs are focused */
.contact-form:focus-within {
  border-color: #7B7F85;
  box-shadow: 0 0 25px rgba(123, 127, 133, 0.5), 0 0 50px rgba(123, 127, 133, 0.25);
  transform: scale(1.01);
}

/* SEND BUTTON - Contact Form Submit */
.contact-form .btn {
  width: 100%;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7B7F85, #2B2E33);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(123, 127, 133, 0.4);
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(123, 127, 133, 0.6), 0 8px 25px rgba(43, 46, 51, 0.5);
  background: linear-gradient(135deg, #9499a0, #4a4d52);
}

.contact-form .btn:active {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(123, 127, 133, 0.5);
}

/* INPUTS */
.form-group {
  margin-bottom: 22px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(123, 127, 133, 0.3);
  border-radius: 10px;
  color: #f2f2f2;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7B7F85;
  box-shadow: 0 0 12px rgba(123, 127, 133, 0.5);
}

/* ANIMATION PRESETS */
.slide-in-left {
  transform: translateX(-40px);
  opacity: 0;
  transition: all 1.2s ease;
}

.slide-in-right {
  transform: translateX(40px);
  opacity: 0;
  transition: all 1.2s ease;
}

.slide-in-up {
  transform: translateY(40px);
  opacity: 0;
  transition: all 1.2s ease;
}

.glow-genz-button{
    color: #fff;
}

/* ===== GITHUB SECTION ===== */
.github {
    margin: var(--section-margin-desktop);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #f2f2f2;
    text-align: center;
}

.github h1 {
    font-family: "Orbitron", sans-serif;
    padding-bottom: 10px;
    color: #7B7F85;
    letter-spacing: 1px;
}

.github p {
    padding-bottom: 20px;
    font-size: 14px;
    color: #C1C4C8;
}

.github hr {
    width: 80px;
    height: 3px;
    border: none;
    background: linear-gradient(90deg, #7B7F85, #2B2E33);
    margin-bottom: 20px;
    border-radius: 10px;
}

.github-grid {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
}

.github-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(123, 127, 133, 0.25);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(123, 127, 133, 0.15);
}

.profile-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.github-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(123, 127, 133, 0.4);
    box-shadow: 0 0 12px rgba(123, 127, 133, 0.35);
    object-fit: cover;
}

.github-name {
    margin: 0;
    color: #F5F6F7;
}

.github-username {
    color: #7B7F85;
    text-decoration: none;
    font-size: 14px;
}

.github-username:hover {
    text-decoration: underline;
}

.github-bio {
    margin-top: 6px;
    color: #cfcfcf;
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.github-stats div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(123, 127, 133, 0.2);
    border-radius: 12px;
    padding: 12px;
    text-align: left;
}

.github-stats span {
    display: block;
    font-size: 12px;
    color: #C1C4C8;
    margin-bottom: 6px;
}

.github-stats strong {
    font-size: 20px;
    color: #F5F6F7;
}

.github-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #C1C4C8;
    font-size: 13px;
}

.github-meta span i {
    color: #7B7F85;
    margin-right: 6px;
}

.github-extra-block {
  margin-top: 18px;
  text-align: left;
}

.github-extra-block h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: #F5F6F7;
  letter-spacing: 0.3px;
}

.achievement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.achievement-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(123, 127, 133, 0.3);
  background: rgba(255, 255, 255, 0.03);
  color: #C1C4C8;
  font-size: 12px;
}

.org-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.org-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(123, 127, 133, 0.22);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  color: #F5F6F7;
  transition: 0.3s ease;
}

.org-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(123, 127, 133, 0.35);
}

.org-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(123, 127, 133, 0.3);
}

.org-item span,
.org-empty {
  font-size: 12px;
  color: #C1C4C8;
}

.repos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.github-profile-link {
    color: #7B7F85;
    text-decoration: none;
    font-size: 13px;
}

.github-profile-link:hover {
    text-decoration: underline;
}

.repo-list {
    display: grid;
    gap: 12px;
}

.repo-toggle-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.repo-toggle-btn {
  border: 1px solid rgba(123, 127, 133, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #C1C4C8;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s ease;
}

.repo-toggle-btn:hover {
  color: #F5F6F7;
  background: rgba(123, 127, 133, 0.2);
  box-shadow: 0 0 14px rgba(123, 127, 133, 0.35);
}

.repo-card {
    display: block;
    text-decoration: none;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(123, 127, 133, 0.2);
    transition: 0.3s ease;
    color: #F5F6F7;
}

.repo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(123, 127, 133, 0.35);
}

.repo-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.repo-title h4 {
    margin: 0;
    color: #F5F6F7;
    font-size: 16px;
}

.repo-stars {
    font-size: 13px;
    color: #C1C4C8;
}

.repo-card p {
    color: #cfcfcf;
    margin: 0 0 10px 0;
    font-size: 14px;
}

.repo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #C1C4C8;
}

.repo-meta i {
    color: #7B7F85;
    margin-right: 6px;
}

.repo-error, .repo-skeleton, .repo-empty {
    text-align: left;
    color: #C1C4C8;
    font-size: 14px;
}

.languages-card {
  display: flex;
  flex-direction: column;
}

.languages-refresh-btn {
  padding: 6px 12px;
  font-size: 12px;
}

.languages-refresh-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.languages-chart-wrap {
  position: relative;
  width: 100%;
  min-height: 230px;
  padding: 8px 4px 0;
}

#github-languages-chart {
  width: 100% !important;
  height: 230px !important;
}

#github-languages-empty {
  margin-top: 8px;
  text-align: left;
  color: #C1C4C8;
  font-size: 13px;
}

.languages-sync {
  margin-top: 10px;
  margin-bottom: 0;
  text-align: left;
  color: #9ea3a9;
  font-size: 12px;
}

/* ===== END GITHUB SECTION ===== */

/* RESPONSIVE - Tablet */
@media (max-width: 1100px) {
  .home,
  .project,
  .about,
  .services,
  .github {
    margin: var(--section-margin-tablet);
  }
  
  .home-container {
    gap: 3rem;
  }
  
  .about-info2 {
    gap: 2rem;
  }
  
  .github-grid {
    grid-template-columns: 1fr;
  }

  #github-languages-chart {
    height: 250px !important;
  }
  
  /* Services grid adjustments */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* RESPONSIVE - Small Tablet */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
  
  .home,
  .project,
  .about,
  .services,
  .github {
    margin: var(--section-margin-small);
  }
  
  /* Intro card responsive */
  .card {
    padding: 28px;
  }
  
  .top-tags {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .top-tags span {
    font-size: 10px;
    padding: 5px 10px;
  }
  
  .content {
    gap: 30px;
  }
  
  .left h1 {
    font-size: 36px;
  }
  
  .desc {
    font-size: 14px;
  }
  
  .buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .right {
    padding: 20px;
  }
  
  .orbit-box {
    width: 180px;
    height: 180px;
  }
  
  .core {
    inset: 40px;
  }
  
  .home-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .info-home h1 {
    font-size: 48px;
  }
  
  .info-home h3 {
    font-size: 28px;
  }
  
  .home img {
    width: 350px;
  }
  
  .info-p2 {
    justify-content: center;
  }
  
  .btnn {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .follow {
    justify-content: center;
  }
  
  .about-info2 {
    flex-direction: column;
    text-align: center;
  }
  /* Services grid - 2 columns on small tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.2rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
  }
  
  .contact-content {
    padding: 0 20px;
  }
  
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .github-extra-block {
    text-align: center;
  }

  .achievement-list {
    justify-content: center;
  }

  .org-list {
    grid-template-columns: 1fr;
  }

  .org-item {
    justify-content: center;
  }
}

/* RESPONSIVE - Mobile */
@media (max-width: 600px) {
  .content {
    flex-direction: column;
    gap: 30px;
  }
  
  /* Center titles on mobile */
  .project h1,
  .services h1,
  .about h3,
  .section-title {
    text-align: center;
  }
  
  .left h1 {
    font-size: 36px;
  }
  
  .desc {
    max-width: 100%;
  }
  
  .buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .site-link {
    display: flex;
    justify-content: center;
  }
  
  .right {
    order: -1;
  }
  
  .orbit-box {
    width: 180px;
    height: 180px;
  }
  
  .core {
    inset: 40px;
  }
  
  .home,
  .project,
  .about,
  .services,
  .github {
    margin: var(--section-margin-mobile);
  }
  
  .github-grid {
    grid-template-columns: 1fr;
  }

  .languages-chart-wrap {
    min-height: 200px;
  }

  #github-languages-chart {
    height: 200px !important;
  }
  
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .repo-title {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .info-home h1 {
    font-size: 36px;
  }
  
  .info-home h3 {
    font-size: 22px;
  }
  
  .home img {
    width: 100%;
    max-width: 320px;
  }
  
  .projects-container {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  
  .about-info {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .about-info2 {
    flex-direction: column;
  }
  
  .photo-container img {
    width: 100%;
    max-width: 220px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-content {
    padding: 0 10px;
  }

  .services::before {
    display: none;
  }
  
  .ul-list {
    gap: 1rem;
    padding: 10px 15px;
  }
  
  .ul-list li {
    padding: 6px 10px;
  }
  
  .ul-list li a {
    font-size: 12px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
}

/* Extra small mobile */
@media (max-width: 400px) {
  .top-tags {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .top-tags span {
    font-size: 10px;
    padding: 4px 10px;
  }
  
  .info-home h1 {
    font-size: 28px;
  }
  
  .info-home h3 {
    font-size: 18px;
  }
  
  .btn-home1, .btn-home2 {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .btnn {
    flex-direction: column;
    align-items: center;
  }
  
  .follow ul {
    gap: 1.5rem;
  }
}

/* ===== HEADER RESPONSIVE STYLES ===== */

/* Mobile Menu Toggle (Hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #7B7F85;
  margin: 3px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* Tablet */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .menu-toggle {
    display: none;
  }

  .menu-overlay {
    display: none !important;
  }
  
  .div-list {
    position: fixed;
    top: auto;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    background: transparent;
    backdrop-filter: none;
    flex-direction: row;
    justify-content: center;
    transition: none;
    z-index: 1001;
    border: none;
    padding: 0;
  }
  
  .div-list.active {
    right: auto;
  }
  
  .ul-list {
    flex-direction: row;
    gap: 0.35rem;
    padding: 8px 10px;
    background: rgba(43, 46, 51, 0.9);
    border: 1px solid rgba(123, 127, 133, 0.25);
    box-shadow: 0 8px 25px rgba(123, 127, 133, 0.25);
    border-radius: 999px;
  }
  
  .ul-list li {
    padding: 10px;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    gap: 0;
  }
  
  .ul-list li a {
    font-size: 0;
    line-height: 0;
    width: 0;
    overflow: hidden;
  }

  .ul-list li i {
    margin: 0;
    font-size: 15px;
  }
  
  /* Overlay when menu is open */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: 0.3s;
  }
  
  .menu-overlay.active {
    display: block;
    opacity: 1;
  }
  
  /* Animate hamburger */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  /* Adjust header padding */
  header {
    padding: 0;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .menu-toggle {
    right: 15px;
    top: 10px;
  }
  
  .div-list {
    width: 85%;
  }
  
  .ul-list li a {
    font-size: 15px;
  }
  
  .ul-list li i {
    font-size: 18px;
  }
}
