*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}

body{
  background:#07121a;
  color:#fff;
}

/* CURSOR */

html, body {
  cursor: none;
}

a, button, [role="button"] {
  cursor: none !important; 
}

.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none; 
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #ff8c42; 
}

.cursor-outline {
  width: 30px;
  height: 30px;
  border: 2px solid #ff8c42;
  transition: all 0.15s ease-out; 
}

/* NAVBAR */
.navbar{
  position:fixed;
  width:100%;
  top:0;
  display:flex;
  justify-content:space-between;
  padding:20px 60px;
  background:rgba(0,0,0,0.3);
  backdrop-filter:blur(10px);
}

.logo{
  color: #000000; 
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.logo span{
  color:#ff8c42;
}

nav{
  display:flex;
  flex-direction:row;
  padding-right: 50px;
  padding-left: 50px;
  gap:30px;
}

nav a {
  display: flex;
  flex-direction: column; 
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
}

.nav-number {
  color: #ff8c42; 
  font-size: 11px;
  margin-bottom: 2px;
  padding-left: 10px;
  font-weight: bold;
}

.nav-text {
  color: #888; 
  font-size: 15px;
}

.slash {
  color: #ff8c42; 
  margin-right: 5px;
}

nav a:hover .nav-text {
  color: #fff;
}

.navbar{
  position:fixed;
  width:100%;
  top:0;
  display:flex;
  justify-content:space-between;
  padding:20px 60px;
  background:rgba(0,0,0,0.3);
  backdrop-filter:blur(10px);
  z-index: 9999;
}

.logo{
  color: #E6E6E6; 
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.logo span{
  color:#ff8c42;
}


/* HERO */
.hero{
  height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
}


.hero h1{
  font-size:80px;
  letter-spacing:5px;
}

.hero span{
  color:#ccc;
}

.hero p{
  margin-top:10px;
  color:#aaa;
  letter-spacing:2px;
}

/* EXPERTISE */
.expertise{
  padding: 80px 10%;
  background-color: #0b1118;
}

.cards{
  display:flex;
  gap:30px;
  margin-top:40px;
}

.card{
  flex:1;
  border-left:1px solid rgba(255,255,255,0.2);
  padding-left:20px;
}

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

.card p{
  color:#aaa;
}

/* WORK */
.work{
  padding: 80px 10%;
}

.desc{
  margin-top:20px;
  color:#aaa;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
  margin-top:40px;
}

.box{
  height:200px;
  border-radius:10px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
  gap: 25px;
  padding: 50px;
}

.project-card {
  position: relative;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px;
}

.card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.6s ease-out; 
}

.card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.3); 
  z-index: 2;
  transition: background-color 0.4s ease;
}

.card-number, .card-content {
  position: relative;
  z-index: 3;
  font-family: 'Inter', sans-serif;
}

.card-number {
  color: white;
  font-family: monospace;
  font-weight: bold;
}

.card-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

.category { color: #ff8c42; font-size: 0.9rem; margin-bottom: 8px; }
.project-title { color: white; font-size: 2.2rem; margin: 0 0 15px 0; }
.show-project { color: #8892b0; text-decoration: none; font-size: 0.9rem; }

/* --- HOVER MAGIC --- */

.project-card:hover .card-bg {
  transform: scale(1.1); 
}

.project-card:hover .card-overlay {
  background-color: rgba(0, 0, 0, 0.75); 
}

.project-card:hover .card-content {
  opacity: 1;
  transform: translateY(0); 
}

.show-project:hover {
  color: white;
}


/* experience section */
.experience {
  background-color: #0b1118; 
  color: #ccd6f6;
  padding: 80px 10%;
  font-family: 'Inter', sans-serif;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 60px;
}

.title {
  font-size: 4rem;
  color: white;
  margin: 0;
}

.title span {
  color: #ff8c42; 
}

.section-num {
  color: #444;
  font-family: monospace;
  font-size: 1.2rem;
}

.timeline {
  border-left: 2px solid #233554; 
  padding-left: 30px;
  margin-left: 10px;
}

.job-item {
  position: relative;
  margin-bottom: 60px;
}

.job-item::before {
  content: "";
  position: absolute;
  left: -35px; 
  top: 5px;
  width: 10px;
  height: 10px;
  background-color: #ff8c42;
  border-radius: 50%;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-header h3 {
  font-size: 1.5rem;
  color: white;
  margin: 0;
}

.company {
  color: #ff8c42;
}

.date {
  font-family: monospace;
  color: #8892b0;
  font-size: 0.9rem;
}

.location {
  color: #8892b0;
  font-size: 0.9rem;
  margin: 5px 0 20px 0;
}

.description {
  line-height: 1.6;
  color: #a8b2d1;
  max-width: 800px;
  margin-bottom: 20px;
}

/* Skill Tags */
.tags {
  display: flex;
  gap: 10px;
}

.tags span {
  border: 1px solid #233554;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: monospace;
  color: #8892b0;
  background: rgba(35, 53, 84, 0.2);
}

/* contact section */

.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 20%, 
    #f35a1dcb 0%,    
    #cb1b15db 40%,  
    #140d0bca 100%   
  );
}

.content {
  position: relative;
  z-index: 2; 
  max-width: 800px;
}

.contact-section-number {
  color: #ff8c42; 
  font-family: monospace;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

h1 span {
  color: #E3B04B; 
}

.subtext {
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 40px;
}

.email-link {
  display: inline-block;
  font-size: 2.5rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 4px solid #ff8c42;
  margin-bottom: 50px;
  transition: opacity 0.3s;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
}

/* footer */
.site-footer {
  background-color: #0d1117; 
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1); 
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0 50px; 
}

.footer-logo {
  color: #5bc0de; 
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.orange-square {
  display: inline-block;
  width: 8px;
  height: 18px;
  background-color: #ff8c42; 
  margin-left: 5px;
}

.footer-copyright {
  color: #8b949e; 
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Responsive fix for mobile */

@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-outline { display: none; }
  html, body, a, button { cursor: auto !important; }
}

@media (max-width: 992px) {
  .title { font-size: 3rem; }
  .navbar { padding: 20px 30px; }
}

/* NAVBAR */

@media (max-width: 768px) {
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.menu-toggle {
  display: none; 
  position: fixed;
  top: 20px;
  right: 30px;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 10000; 
}

.bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ff8c42; 
  border-radius: 10px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex; 
  }
  
  .navbar {
    padding: 20px 30px; 
  }

  nav {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%; 
    width: 100%;
    height: 100vh;
    background: #0b1118;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease-in-out;
    z-index: 9998;
  }

  nav.active {
    right: 0;
  }
}

/* HERO */
@media (max-width: 768px) {
  
  .hero h1 {
    font-size: 40px; 
    letter-spacing: 2px;
    padding: 0 20px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: 15px;
    padding: 0 15px;
  }

  .hero {
    background-attachment: scroll; 
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 32px;
  }
}

/* EXPERTISE */
@media (max-width: 768px) {
  .expertise {
    padding: 60px 5%; 
  }

  .cards {
    flex-direction: column; 
    gap: 40px; 
  }

  .card {
    border-left: 2px solid #ff8c42; 
    padding-left: 20px;
    padding-bottom: 10px;
  }

  .card h3 {
    font-size: 1.4rem;
  }

  .card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* EXPERIENCE */
@media (max-width: 768px) {
  .experience {
    padding: 60px 5%;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 40px;
  }

  .title {
    font-size: 2.2rem; 
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .job-header h3 {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .tags {
    display: flex;
    overflow-x: auto; 
    white-space: nowrap; 
    gap: 10px;
    padding-bottom: 10px;
    
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
  }

  .tags::-webkit-scrollbar {
    display: none;
  }

  .tags span {
    flex: 0 0 auto; 
    font-size: 0.7rem;
  }

  .description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .timeline {
    padding-left: 20px; 
  }
  
}

@media (max-width: 768px) {
  .timeline {
    border-left: 2px solid #233554; 
    padding-left: 20px; 
    margin-left: 5px;   
  }

  .job-item::before {
    left: -25px; 
    top: 7px;    
    width: 10px;
    height: 10px;
  }
}

/* WORK */
@media (max-width: 768px) {

  .work {
    padding: 60px 5%; 
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .project-grid {
    grid-template-columns: 1fr; 
    padding: 20px 0; 
    gap: 20px;
  }

  .project-card {
    height: 350px; 
    padding: 25px;
  }

  .card-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    pointer-events: none; 
  }

  .project-card.active .card-content {
    opacity: 1;
    transform: translateY(0);
  }

  .project-card.active .card-overlay {
    background-color: rgba(0, 0, 0, 0.8); 
  }

  .project-card.active .card-bg {
    transform: scale(1.1); 
  }

  .project-card:active .card-content {
    opacity: 1;
    transform: translateY(0);
  }

  .project-card:active .card-overlay {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .project-title {
    font-size: 1.6rem;
  }

  .desc {
    font-size: 0.95rem;
  }
}

/* CONTACT */
@media (max-width: 768px) {
  .contact {
    padding: 40px 20px; 
  }

  .content {
    max-width: 100%; 
  }

  h1 {
    font-size: 2.2rem; 
    margin-bottom: 20px;
  }

  h1 br, .subtext br {
    display: none;
  }

  .email-link {
    font-size: 1.3rem; 
    margin-bottom: 35px;
    border-bottom: 2px solid #ff8c42; 
    word-break: break-all; 
  }

  .subtext {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .social-links {
    gap: 10px; 
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

/* Extra small screens (Phones under 400px wide) */
@media (max-width: 400px) {
  h1 {
    font-size: 1.8rem;
  }
  
  .email-link {
    font-size: 1.1rem;
  }
}

/* FOOTER */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

