:root {
    --accent: #d8dde3;
    --accent-deep: #7e8a96;
    --accent-soft: #eef2f5;
    --accent-glow: rgba(216, 221, 227, 0.34);
    --accent-glow-strong: rgba(216, 221, 227, 0.55);
    --accent-surface: rgba(216, 221, 227, 0.14);
    --accent-border: rgba(216, 221, 227, 0.24);
    --accent-border-strong: rgba(216, 221, 227, 0.34);
    --accent-shadow: rgba(216, 221, 227, 0.22);
    --bg-bloom-top: rgba(133, 144, 156, 0.45);
    --bg-bloom-bottom: rgba(43, 50, 58, 0.84);
    --panel-tint: rgba(34, 40, 47, 0.9);
    --panel-tint-deep: rgba(14, 18, 22, 0.95);
    --menu-tint: rgba(88, 96, 106, 0.42);
    --chip-base: #11161b;
    --tape-top: #29313a;
    --tape-bottom: #11161b;
    --section-y: 160px;
    --section-x: clamp(20px, 6vw, 120px);
}

body[data-theme="emerald"] {
    --accent: #36e2a1;
    --accent-deep: #0f7a58;
    --accent-soft: #9cf3d1;
    --accent-glow: rgba(54, 226, 161, 0.4);
    --accent-glow-strong: rgba(54, 226, 161, 0.6);
    --accent-surface: rgba(54, 226, 161, 0.15);
    --accent-border: rgba(54, 226, 161, 0.25);
    --accent-border-strong: rgba(54, 226, 161, 0.35);
    --accent-shadow: rgba(54, 226, 161, 0.25);
    --bg-bloom-top: rgba(31, 121, 88, 0.5);
    --bg-bloom-bottom: rgba(10, 55, 38, 0.82);
    --panel-tint: rgba(8, 42, 31, 0.9);
    --panel-tint-deep: rgba(5, 20, 15, 0.95);
    --menu-tint: rgba(10, 68, 46, 0.45);
    --chip-base: #071611;
    --tape-top: #103226;
    --tape-bottom: #071611;
}

body[data-theme="red"] {
    --accent: #ff4d6d;
    --accent-deep: #7a0c2e;
    --accent-soft: #ff9db3;
    --accent-glow: rgba(255, 80, 120, 0.4);
    --accent-glow-strong: rgba(255, 80, 120, 0.6);
    --accent-surface: rgba(255, 80, 120, 0.15);
    --accent-border: rgba(255, 80, 120, 0.25);
    --accent-border-strong: rgba(255, 80, 120, 0.35);
    --accent-shadow: rgba(255, 0, 80, 0.25);
    --bg-bloom-top: rgba(160, 40, 70, 0.55);
    --bg-bloom-bottom: rgba(60, 10, 30, 0.85);
    --panel-tint: rgba(35, 10, 20, 0.9);
    --panel-tint-deep: rgba(12, 6, 10, 0.95);
    --menu-tint: rgba(120, 10, 25, 0.45);
    --chip-base: #14060c;
    --tape-top: #2a0b12;
    --tape-bottom: #14060c;
}

body[data-theme="blue"] {
    --accent: #5ba7ff;
    --accent-deep: #174f96;
    --accent-soft: #a8d2ff;
    --accent-glow: rgba(91, 167, 255, 0.4);
    --accent-glow-strong: rgba(91, 167, 255, 0.6);
    --accent-surface: rgba(91, 167, 255, 0.15);
    --accent-border: rgba(91, 167, 255, 0.25);
    --accent-border-strong: rgba(91, 167, 255, 0.35);
    --accent-shadow: rgba(91, 167, 255, 0.25);
    --bg-bloom-top: rgba(32, 84, 160, 0.52);
    --bg-bloom-bottom: rgba(10, 28, 60, 0.85);
    --panel-tint: rgba(10, 24, 45, 0.9);
    --panel-tint-deep: rgba(6, 12, 24, 0.95);
    --menu-tint: rgba(14, 48, 96, 0.45);
    --chip-base: #08111f;
    --tape-top: #112741;
    --tape-bottom: #08111f;
}

body[data-theme="gold"] {
    --accent: #ffbf47;
    --accent-deep: #9a5a00;
    --accent-soft: #ffd990;
    --accent-glow: rgba(255, 191, 71, 0.4);
    --accent-glow-strong: rgba(255, 191, 71, 0.6);
    --accent-surface: rgba(255, 191, 71, 0.15);
    --accent-border: rgba(255, 191, 71, 0.25);
    --accent-border-strong: rgba(255, 191, 71, 0.35);
    --accent-shadow: rgba(255, 191, 71, 0.25);
    --bg-bloom-top: rgba(160, 103, 20, 0.55);
    --bg-bloom-bottom: rgba(64, 36, 8, 0.85);
    --panel-tint: rgba(44, 25, 8, 0.9);
    --panel-tint-deep: rgba(18, 10, 4, 0.95);
    --menu-tint: rgba(120, 74, 10, 0.45);
    --chip-base: #1a1106;
    --tape-top: #3a2810;
    --tape-bottom: #1a1106;
}

body[data-theme="silver"] {
    --accent: #d8dde3;
    --accent-deep: #7e8a96;
    --accent-soft: #eef2f5;
    --accent-glow: rgba(216, 221, 227, 0.34);
    --accent-glow-strong: rgba(216, 221, 227, 0.55);
    --accent-surface: rgba(216, 221, 227, 0.14);
    --accent-border: rgba(216, 221, 227, 0.24);
    --accent-border-strong: rgba(216, 221, 227, 0.34);
    --accent-shadow: rgba(216, 221, 227, 0.22);
    --bg-bloom-top: rgba(133, 144, 156, 0.45);
    --bg-bloom-bottom: rgba(43, 50, 58, 0.84);
    --panel-tint: rgba(34, 40, 47, 0.9);
    --panel-tint-deep: rgba(14, 18, 22, 0.95);
    --menu-tint: rgba(88, 96, 106, 0.42);
    --chip-base: #11161b;
    --tape-top: #29313a;
    --tape-bottom: #11161b;
}

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

body {
    background:
        radial-gradient(circle at 50% 15%, var(--bg-bloom-top), transparent 60%),
        radial-gradient(circle at 50% 85%, var(--bg-bloom-bottom), transparent 60%),
        linear-gradient(180deg, #0a050a, #12060c);
    color: #eaeaea;
    margin: 0;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 130px 130px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
    opacity: 0.2;
    pointer-events: none;
    z-index: -2;
    animation: none;
}

.language-switcher {
  position: fixed;
  top: 28px;
  left: 24px;
  z-index: 2000;
}

.language-toggle {
  min-width: 58px;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(15, 7, 11, 0.88);
  color: var(--accent-soft);
  box-shadow: 0 0 24px var(--accent-shadow);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.language-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px var(--accent-glow);
  color: #fff;
}

/* MAIN */

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


.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 var(--accent-shadow);
    animation: panelFloat 10s ease-in-out infinite;
}

/* 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: #cfcfcf;
}

.dot {
    color: var(--accent);
}

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

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

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

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

.live-line span {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
}

/* 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: var(--accent);
}

.btn:hover {
    background: var(--accent-surface);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* 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: var(--accent);
}

/* RIGHT CARD */
.right {
    flex: 1;
    background: linear-gradient(180deg, var(--panel-tint), var(--panel-tint-deep));
    border-radius: 22px;
    padding: 28px;
    box-shadow: inset 0 0 40px rgba(255,255,255,.04);
    position: relative;
    animation: panelFloat 7s ease-in-out infinite 0.4s;
}

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

.online {
    color: #7cffb2;
}

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

.orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--accent-border-strong);
    animation: spin 16s linear infinite;
}

.orbit i {
    position: absolute;
    background: var(--chip-base);
    color: var(--accent);
    padding: 7px;
    border-radius: 50%;
    box-shadow: 0 0 14px var(--accent-glow);
    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, var(--accent), var(--accent-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px var(--accent-glow-strong);
}

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

/* 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: #f2f2f2;
}

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

@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 1.2s 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 {
    border-right: 2px solid var(--accent);
    white-space: nowrap;
    overflow: hidden;
}
.from-top {
    opacity: 0;
    transform: translateY(-40px);
    animation: fromTop 0.8s ease forwards;
}
.from-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: fromLeft 0.8s ease forwards;
}
.from-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fromRight 0.8s ease forwards;
}
.from-bottom {
    opacity: 0;
    transform: translateY(40px);
    animation: fromBottom 0.8s ease forwards;
}
.zoom-in {
    opacity: 0;
    transform: scale(0.85);
    animation: zoomIn 0.8s ease forwards;
}

@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;
}

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

  background: var(--menu-tint);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-border);

  box-shadow: 0 8px 25px var(--accent-shadow);
}

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

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

/* ICONS */
.ul-list li i {
  color: var(--accent);
}

/* HOVER */
.ul-list li:hover {
  background: var(--accent-surface);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ACTIVE */
.ul-list li.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 15px var(--accent-glow-strong);
}

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

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

.home-container {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}

/* Status Badge */
.home-p {
  background: var(--accent-surface);
  color: var(--accent-soft);
  display: inline-block;
  border-radius: 25px;
  padding: 6px 14px;
  margin-bottom: 30px;
  font-size: 14px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
  animation: pulseHalo 6s ease-in-out infinite;
}

.home-s {
  font-weight: bold;
  color: var(--accent);
}

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

.info-home h3 {
  font-size: 40px;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  color: var(--accent-soft);
}

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

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

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

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

.btn-home1 {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 15px var(--accent-glow);
}

.btn-home1:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--accent-glow-strong);
}

.btn-home2 {
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--accent);
  cursor: pointer;
  transition: 0.3s;
}

.btn-home2:hover {
  background: var(--accent);
  color: #fff;
}

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

hr {
  width: 90%;
  border: 1px solid var(--accent-glow);
}

/* 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: var(--accent-soft);
  transition: 0.3s;
}

.follow ul a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px var(--accent);
}

/* IMAGE */
.home img {
  width: 340px;
  border-radius: 15px;
  box-shadow: 0 0 18px var(--accent-shadow);
  animation: heroFloat 8s ease-in-out infinite;
}

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

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

/* TITLE */
.project h1 {
    font-family: "Orbitron", sans-serif;
    padding-bottom: 10px;
    color: var(--accent);
    letter-spacing: 1px;
}

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

/* LINE */
.project hr {
    width: 80px;
    height: 3px;
    border: none;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    margin-bottom: 20px;
    border-radius: 10px;
}

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

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

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

/* PROJECT CARD */
.project-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--accent-border);
    padding: 22px;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px var(--accent-shadow);
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,0.12), transparent 65%);
    transform: translateX(-130%);
    transition: transform 0.9s ease;
    pointer-events: none;
}

/* HOVER EFFECT */
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 35px var(--accent-glow);
}

.project-card:hover::before {
    transform: translateX(130%);
}

/* IMAGE */
.project-card img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 15px;
    border: 1px solid var(--accent-border);
}

/* TITLE */
.project-card h3 {
    color: var(--accent-soft);
    margin-bottom: 8px;
}

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

/* TAGS */
.project-card .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.project-card .skills a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 20px;
    color: var(--accent-soft);
    border: 1px solid var(--accent-border-strong);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    white-space: nowrap;
}

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

@media (min-width: 1101px) {
    .projects-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.project-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    text-decoration: none;
    transition: 0.3s ease;
}

.project-card .btn:hover {
    box-shadow: 0 0 18px var(--accent-glow-strong);
    transform: translateY(-2px);
}

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

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

.img-about {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 56px;
    border: 2px solid var(--accent-border-strong);
    box-shadow: 0 0 10px var(--accent-shadow);
}

.img-about img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

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

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

.info-text h5 {
    margin-bottom: 4px;
    color: var(--accent-soft);
}

/* TITLE */
.about h3 {
    margin-bottom: 1rem;
    font-size: 28px;
    color: var(--accent);
    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: var(--accent);
    font-weight: 600;
}

.about-text {
    flex: 1;
    max-width:1200px;
}

/* IMAGE SIDE */
.about-info2 {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
}

/* PHOTO CARD */
.photo-container {
    position: relative;
    display: inline-block;
    margin-left:  122px;
    margin-top: -18px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    border: 1px solid var(--accent-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    animation: none;
}

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

/* TAPE EFFECT */
.tape {
    position: absolute;
    width: 90px;
    height: 30px;
    background: linear-gradient(145deg, var(--tape-top), var(--tape-bottom));
    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 var(--accent-glow);
    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, var(--accent-border) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

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

/* GRID */
.services-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    padding: 18px 0;
    cursor: grab;
}

.services-marquee:hover .services-grid {
    animation-play-state: paused;
}

.services-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2rem;
    width: max-content;
    animation: expertiseMarquee var(--marquee-duration, 24s) linear infinite;
    will-change: transform;
}

/* CARD */
.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--accent-border);
    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 var(--accent-shadow);
    min-height: 100%;
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 320px;
    animation: none;
}

/* SHINE EFFECT */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-border),
        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 var(--accent-glow);
}

/* ICON */
.service-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    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 var(--accent-glow-strong);
}

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

/* TITLE */
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-soft);
}

/* 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: var(--accent-surface);
    color: var(--accent-soft);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--accent-border-strong);
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

/* TITLE */
.services h1 {
    font-family: "Orbitron", sans-serif;
    padding-bottom: 10px;
    color: var(--accent);
    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, var(--accent), var(--accent-deep));
    margin-bottom: 20px;
    border-radius: 10px;
}

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

#contact {
  width: 100%;
  padding: var(--section-y) var(--section-x);
  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;
}

.project-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 2500;
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(14px);
}

.project-modal-dialog {
  position: relative;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: linear-gradient(180deg, rgba(14, 18, 30, 0.96), rgba(10, 10, 18, 0.98));
  border: 1px solid var(--accent-border-strong);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
  z-index: 1;
}

.project-modal.open .project-modal-dialog {
  transform: translateY(0) scale(1);
}

.project-modal-media {
  background: radial-gradient(circle at center, var(--accent-surface), transparent 72%);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal-media img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--accent-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.project-modal-body {
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.project-modal-kicker {
  color: var(--accent-soft);
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
}

.project-modal-body h2 {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.project-modal-body p {
  color: #d4d8de;
  line-height: 1.75;
}

.project-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-modal-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-surface);
  color: var(--accent-soft);
  border: 1px solid var(--accent-border-strong);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  background: rgba(8, 8, 14, 0.82);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-modal-close:hover {
  transform: scale(1.06);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* LEFT SIDE */
.contact-info {
  position: relative;
  overflow: hidden;
}

.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: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-glow-strong));
}

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

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-surface);
  border: 1px solid var(--accent-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
  transition: 0.3s ease;
}

.social-link:hover {
  transform: scale(1.15);
  color: #fff;
  box-shadow: 0 0 25px var(--accent-glow-strong);
}

/* FORM */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--accent-border);
  border-radius: 18px;
  padding: 35px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px var(--accent-shadow);
  position: relative;
  overflow: hidden;
}

.contact-form::before,
.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,0.12), transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.9s ease;
  pointer-events: none;
}

.contact-form:hover::before,
.contact-info:hover::before {
  transform: translateX(130%);
}

/* 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 var(--accent-border-strong);
  border-radius: 10px;
  color: #f2f2f2;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* 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;
}

.theme-switcher {
  position: fixed;
  top: 28px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.theme-toggle {
  width: 54px;
  height: 54px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  background: rgba(15, 7, 11, 0.85);
  color: var(--accent);
  box-shadow: 0 0 24px var(--accent-shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-3px) rotate(10deg);
  box-shadow: 0 0 28px var(--accent-glow);
}

.theme-palette {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 10px;
  border-radius: 18px;
  background: rgba(18, 6, 12, 0.88);
  border: 1px solid var(--accent-border);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.95);
  transition: 0.3s ease;
}

.theme-switcher.open .theme-palette {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.theme-color {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.theme-color.emerald { background: linear-gradient(135deg, #36e2a1, #0f7a58); }
.theme-color.red { background: linear-gradient(135deg, #ff4d6d, #7a0c2e); }
.theme-color.blue { background: linear-gradient(135deg, #5ba7ff, #174f96); }
.theme-color.gold { background: linear-gradient(135deg, #ffbf47, #9a5a00); }
.theme-color.silver { background: linear-gradient(135deg, #d8dde3, #7e8a96); }

.theme-color.active,
.theme-color:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(255,255,255,0.25);
}

.is-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
  filter: blur(8px);
}

.is-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes panelFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes expertiseMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-offset, 0px))); }
}

@keyframes pulseHalo {
  0%, 100% { box-shadow: 0 0 18px var(--accent-shadow); }
  50% { box-shadow: 0 0 30px var(--accent-glow-strong); }
}

@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 130px, 0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .ul-list {
    gap: 0.8rem;
    padding: 12px 16px;
    justify-content: center;
  }

  .home-container,
  .about-info2,
  .project-modal-dialog {
    grid-template-columns: 1fr;
    display: grid;
    gap: 30px;
  }

  .home-container {
    gap: 34px;
  }

  .home img {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .about {
    margin-top: 72px;
  }

  .info-home h1 {
    font-size: clamp(2.3rem, 9vw, 4rem);
  }

  .info-home h3 {
    font-size: clamp(1.4rem, 5vw, 2.4rem);
  }

  .info-p2,
  .btnn,
  .follow {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-item {
    justify-content: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .theme-switcher {
    top: 18px;
    right: 16px;
  }

  .language-switcher {
    top: 18px;
    left: 16px;
  }

  .services-marquee {
    overflow: visible;
    mask-image: none;
    padding-bottom: 0;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    animation: none;
    padding-bottom: 0;
    width: 100%;
  }

  .service-card {
    min-width: 0;
    max-width: none;
    flex-basis: auto;
  }

  .project-modal {
    padding: 14px;
  }

  .project-modal-media {
    padding: 18px;
  }

  .project-modal-body {
    padding: 18px 18px 24px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 94px;
  }

  #intro {
    height: auto;
    min-height: 100vh;
    padding: 96px 18px 28px;
  }

  .main {
    width: 100%;
  }

  .card {
    padding: 22px;
  }

  .top-tags,
  .buttons,
  .stats,
  .follow ul {
    flex-wrap: wrap;
  }

  .content {
    gap: 28px;
  }

  .left h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .desc {
    max-width: 100%;
  }

  .right {
    width: 100%;
    padding: 22px;
  }

  .orbit-box {
    width: 200px;
    height: 200px;
  }

  .core {
    inset: 42px;
  }

  header {
    top: auto;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 0;
    box-sizing: border-box;
  }

  .div-list {
    padding: 0;
  }

  .ul-list {
    width: 100%;
    max-width: 100%;
    gap: 0;
    padding: 8px;
    border-radius: 24px;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  }

  .ul-list li {
    flex: 1;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 8px 2px;
    text-align: center;
  }

  .ul-list li a {
    font-size: 10px;
    white-space: nowrap;
  }

  .ul-list li i {
    font-size: 13px;
  }

  .home,
  .about,
  .project,
  .services {
    margin-left: 18px;
    margin-right: 18px;
  }

  #contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home {
    margin-top: 110px;
  }

  .content,
  .stats,
  .btnn,
  .info-p2,
  .follow {
    flex-direction: column;
  }

  .info-p2,
  .btnn,
  .follow,
  .follow ul {
    align-items: flex-start;
    gap: 12px;
  }

  .btn-home1,
  .btn-home2,
  .project-card .btn,
  .contact-form .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .projects-container,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card,
  .contact-form,
  .contact-info {
    width: 100%;
  }

  .project-card h3,
  .service-card h3 {
    font-size: 1.1rem;
  }

  .project-card p,
  .service-card p,
  .about-text p,
  .contact-info p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .about-text {
    max-width: 100%;
  }

  .about-info2 {
    gap: 24px;
  }

  .photo-container {
    margin-top: 0;
    margin-left: auto;
    margin-right: 0;
    justify-self: center;
  }

  .services h1,
  .project h1,
  .about h3 {
    font-size: clamp(1.45rem, 5.8vw, 1.9rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 1.1rem;
  }

  .card,
  .right,
  .contact-form {
    padding: 22px;
  }

  .language-toggle,
  .theme-toggle {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .project-card .btns {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .ul-list {
    padding: 8px 10px;
  }

  .ul-list li a {
    font-size: 9px;
  }

  .home,
  .about,
  .project,
  .services {
    margin-left: 14px;
    margin-right: 14px;
  }

  #contact {
    padding-left: 14px;
    padding-right: 14px;
  }

  .service-card {
    min-width: 0;
    max-width: none;
    flex-basis: auto;
  }

  .photo-container img,
  .home img {
    width: min(100%, 300px);
  }
}
