/* ===== CSS RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== ROOT VARIABLES ===== */
:root {
  --bg-black: #0e0e0e;
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
  --accent: #6cff00;
}

html {
  scroll-behavior: smooth;
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-black);
  color: var(--text-white);
  cursor: none;
}

input,
textarea,
button {
  font-family: inherit;
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}



.container-fluid {
  width: 100%;
  max-width: 1600px;
  padding: 10px 60px;
  margin: auto;
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: #4f6cff;
  /* blue dot */
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.08s ease-out;
}

/* Disable on touch devices */
@media (max-width: 1024px) {
  .custom-cursor {
    display: none;
  }

  body {
    cursor: default;
  }
}

/* ===== NAVBAR ===== */
/* ===== HEADER ===== */
.header {
  position: fixed;
  width: 100%;
  top: 20px;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: center;
}

.nav-inner {
  width: 90%;
  max-width: 1100px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: rgba(216, 193, 154, 0.15) 0px 4px 24px;
}

/* ===== LOGO ===== */
.logo {
  font-size: 20px;
  font-weight: 600;
}

.logo span {
  color: #d8c19a;
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 1px;
  color: #cfcfcf;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* ===== CTA BUTTON ===== */
.nav-btn {
  background: #d8c19a;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 8px;
  color: #000 !important;
}

.nav-btn:hover {
  color: #000;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all 0.4s ease;
}

/* ===== TABLET & MOBILE ===== */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -110%;
    height: 100vh;
    width: 100%;
    background: #0e0e0e;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.5s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
  }

  .nav-btn {
    margin-top: 20px;
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}



/* ===== HERO SECTION ===== */
.hero {
  padding-top: 120px;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT SIDE */
.hero-content {
  flex: 1;
}

/* RIGHT SIDE */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 460px;
  height: 520px;
  object-fit: cover;

  /* Circular Right Effect */
  border-top-left-radius: 250px;
  border-bottom-left-radius: 250px;

  /* Optional glass effect */
  background: rgba(255, 255, 255, 0.05);
}


/* Badge */
.hero-badge {
  font-size: 16px;
  color: #cfcfcf;
  margin-bottom: 16px;
}

/* Title */
.hero-title {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 22px;
}

/* Description */
.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #a0a0a0;
  max-width: 520px;
  margin-bottom: 32px;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: #d8c19a;
  color: #000;
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-primary :hover {
  box-shadow: rgba(216, 193, 154, 0.15) 0px 4px 24px;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 8px;
  color: #fff;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: rgba(216, 193, 154, 0.15) 0px 4px 24px;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 44px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    width: 300px;
    height: 380px;
    border-radius: 20px;
    /* box-shadow: rgba(216, 193, 154, 0.15) 0px 4px 24px; */
  }

  .hero-actions {
    justify-content: center;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .container-fluid {
    padding: 10px 30px;
  }
}

/* tablet spacing */

@media (max-width: 1200px) and (min-width: 768px) {
  /* .container-fluid {
    max-width: 100%;
    padding: 0 60px;
  } */

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 46px;
    max-width: 100%;
  }

  .hero-desc {
    max-width: 600px;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 120px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header row */
.about-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

/* Title */
.about-title {
  font-size: 42px;
  font-weight: 400;
  white-space: nowrap;
}

/* Line */
.about-line {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

/* Moving light segment */
.about-line-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  animation: sweep-line 8s ease-in-out infinite;
}

/* Line animation */
@keyframes line-move {
  0% {
    transform: translateX(0);
    opacity: 0.2;
  }

  50% {
    transform: translateX(calc(100% - 120px));
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 0.2;
  }
}

/* Content */
/* .about-content {
  max-width: 900px;
} */

.about-highlight {
  font-size: 20px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 28px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #a0a0a0;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .about-title {
    font-size: 34px;
  }

  .about-highlight {
    font-size: 18px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .about-section {
    padding: 80px 30px;
  }

  .about-header {
    gap: 16px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-highlight {
    font-size: 16px;
  }

  .about-text {
    font-size: 15px;
  }

  .about-line-anim {
    width: 100%;
  }
}

@keyframes sweep-line {

  /* Start hidden on left */
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  /* Appear & move right */
  15% {
    opacity: 1;
  }

  45% {
    transform: translateX(100%);
    opacity: 0;
  }

  /* Stay hidden */
  50% {
    opacity: 0;
  }

  /* Reappear on right */
  60% {
    transform: translateX(100%);
    opacity: 1;
  }

  /* Move back to left */
  90% {
    transform: translateX(0);
    opacity: 0;
  }

  /* Reset */
  100% {
    opacity: 0;
  }
}


/* ===== SKILLS SECTION ===== */
.skills-section {
  padding: 0px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Skill Row */
.skill-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  margin-bottom: 22px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  /* box-shadow: rgba(23, 92, 230, 0.15) 0px 4px 24px; */
  /* box-shadow: rgba(216, 193, 154, 0.15) 0px 4px 24px; */
}

/* Left Info */
.skill-info {
  display: flex;
  align-items: center;
  gap: 14px;
  /* min-width: 220px; */
}

.skill-trading {
  display: flex;
  flex-direction: column;
  gap: 5px;
}



.skill-info h4 {
  font-size: 15px;
  font-weight: 500;
}

.skill-info p {
  font-size: 13px;
  color: #9a9a9a;
}

/* Progress Bar */
.skill-progress {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.skill-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Percentage */
.skill-percent {
  min-width: 50px;
  text-align: right;
  font-size: 14px;
  color: #ffffff;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .skill-bar {
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .skill-info {
    min-width: 100%;
  }

  .skill-percent {
    margin-left: auto;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .skills-section {
    padding: 0px 30px;
  }

  .skill-bar {
    padding: 16px;
  }

  .skill-info h4 {
    font-size: 14px;
  }

  .skill-percent {
    font-size: 13px;
  }
}


/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 120px 0;
}

/* Project Card */
.project-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 32px;
}

/* Image */
.project-media {
  border-radius: 20px;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

/* Info */
.project-info {
  margin-top: 28px;
}

/* Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.project-tags span {
  padding: 10px 22px;
  font-size: 12px;
  border-radius: 999px;

  /* Glass Base */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #ffffff;
  font-weight: 500;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}
.project-tags span:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Title */
.project-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .project-title {
    font-size: 22px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .projects-section {
    padding: 80px 0;
  }

  .project-card {
    padding: 20px;
  }

  .project-title {
    font-size: 20px;
  }
}



.contact-section {
  padding: 0px 20px 80px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  border: 1px solid #222;
  padding: 50px;
  border-radius: 24px;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 60px;
  letter-spacing: 2px;
}

/* ===== Layout ===== */
.contact-wrapper {
  display: flex;
  gap: 60px;
  justify-content: space-between;
}

/* ===== Left Side ===== */
.contact-info {
  background: #111;
  padding: 40px;
  width: 40%;
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.contact-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #aaa;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
}

.icon {
  /* border: 1px solid #ff3c1f; */
  padding: 12px;
  font-size: 18px;
}

.info-item span {
  font-size: 13px;
  color: #aaa;
  display: block;
}

.info-item strong {
  font-size: 14px;
}

/* ===== Right Side ===== */
.contact-form {
  width: 60%;
}

.form-group {
  margin-bottom: 30px;
}

input,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #333;
  padding: 12px 0;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

input:focus,
textarea:focus {
  border-color: #ff3c1f;
}

textarea {
  resize: none;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  /* background: #d8c19a; */
  /* border: none; */
  /* color: #000000; */
  /* font-weight: 600; */
  /* cursor: pointer; */
  transition: 0.3s;
  /* border-radius: 8px; */


  background: #d8c19a;
  border: none;
  /* padding: 10px 18px; */
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 8px;
}

/* .btn-submit:hover {
  background: #e23217;
} */

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-container {
    padding: 30px;
  }
}


@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }

  .contact-info {
    padding: 12px;
  }
  .info-item{
    gap: 4px;
  }
  .contact-container {
    padding: 20px;
  }
}

/* new skill sec  */

/* ===== SECTION ===== */



/* ===== WRAPPER ===== */

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== CARD ===== */

.skill-item {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 24px 28px;
  border-radius: 18px;

  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02));

  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ===== ICON ===== */

.skill-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ===== TEXT ===== */

.skill-text h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.skill-text span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  .skills-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {


  .skills-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .skill-item {
    padding: 20px;
  }
}
.flat-imgs{
  width: 16px;
}