@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200&family=Roboto+Slab&display=swap");

@font-face {
  font-family: SF-Mono;
  font-weight: Regular;
  font-style: normal;
  src: url("Assets/Fonts/SFMono-Regular-8799e6387338d58f2f137df821c86eb4.woff2");
}

@font-face {
  font-family: Calibre-Medium;
  font-weight: normal;
  font-style: normal;
  src: url("Assets/Fonts/Calibre-Medium-568dce56f869a519a015d3b69443b067.woff2");
}

@font-face {
  font-family: Calibre-Regular;
  font-weight: normal;
  font-style: normal;
  src: url("Assets/Fonts/Calibre-Regular-b0d4cbb1201155ddccc21d1b8059a670.woff2");
}

@font-face {
  font-family: Calibre-Semibold;
  font-weight: normal;
  font-style: normal;
  src: url("Assets/Fonts/Calibre-Semibold-94fc73852539d6733dc0d80252c5e3fb.woff2");
}

:root {
  --bg-color: #000000;
  --text-primary: #ccd6f6;
  --text-secondary: #8892b0;
  --accent-color: #64ffda;
  --glass-bg: rgba(20, 49, 65, 0.3);
  --glass-border: rgba(100, 255, 218, 0.1);
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Roboto Slab', serif;
  --font-mono: SF-Mono, Fallback, Monospace;
  --grid-unit: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.3;
  overflow-x: hidden;
  position: relative;
  text-align: left;
  width: 100%;
  min-height: 100%;
}

/* Background Animation */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
  animation: pulse-bg 10s infinite alternate;
}

@keyframes pulse-bg {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.5);
    opacity: 0.8;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #fff;
  margin: 0;
}

h1 {
  font-family: 'Roboto Slab', serif;
  line-height: 95px;
  font-weight: 500;
  font-size: 70px;
  color: #fff;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

h3 {
  margin: 0;
  margin-bottom: 5px;
  font-size: 20px;
}

p {
  font-family: 'Poppins', sans-serif;
  line-height: 30px;
  font-size: 17px;
  color: #8892b0;
  margin: 20px 0;
  font-weight: bold;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

a.inline-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

a.inline-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.mono {
  font-family: 'Poppins', monospace;
  line-height: 30px;
  font-size: 17px;
  color: #64ffda;
  text-decoration: none;
  word-spacing: 0px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  margin-left: 15px;
  font-family: SF-Mono, Fallback, Monospace;
  font-size: 1.1em;
  background-color: #64ffda;
  background: transparent;
  color: #64ffda;
  border: 1px solid #64ffda;
  border-radius: 5px;
  transition: background-color 500ms, border 500ms, color 500ms;
  cursor: pointer;
}

.btn:hover {
  background-color: #143141;
  border: 1px solid #ffff;
  color: #ffff;
  cursor: pointer;
}

/* Resume button in header */
header .btn,
nav .btn {
  padding-top: 7px;
  padding-right: 15px;
  padding-bottom: 7px;
  padding-left: 15px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  height: 100px;
  font-family: SF-Mono, Fallback, Monospace;
  font-size: 20px;
  font-weight: 500;
  background-color: transparent;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    height 0.35s ease;
}

header.scrolled {
  height: 70px;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

header.hidden {
  transform: translateY(-100%);
}



.logo {
  margin: 0;
  color: #64ffda;
  transition: color 500ms;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.logo:hover {
  color: #ffff;
  cursor: pointer;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

nav ul li {
  padding: 0 15px;
}

nav a {
  text-decoration: none;
  color: #ffff;
  font-family: SF-Mono, Fallback, Monospace;
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 500ms;
}

nav a:hover {
  color: var(--accent-color);
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1100;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--accent-color);
}

@media (max-width: 1000px) {
  .hamburger {
    display: block;
    margin-left: auto;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  nav ul {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #000000;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    clip-path: circle(0% at 96.5% 4%);
    transition: all 1s cubic-bezier(0.23, 0.93, 0.23, 0.93);
    z-index: 10;
  }

  nav ul li {
    padding: 0.5rem 1rem;
    margin: 1rem 0;
  }

  nav .btn {
    margin-left: 0;
  }

  nav ul li a {
    font-size: 1.5rem;
  }

  nav ul.active {
    clip-path: circle(140% at 96.5% 4%);
    transition: all 1s cubic-bezier(0.23, 0.93, 0.23, 0.93);
  }
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100vh;
  max-width: 1000px;
  text-align: left;
  margin: auto;
}

.hero .mono {
  margin-bottom: 0;
}

.hero h1 {
  font-size: 4rem;
  padding: 10px 0;
}

.hero button,
.hero .btn {
  margin: 0;
}

.hero p {
  max-width: 550px;
}

/* Section Headings */
.heading-line {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 0;
  line-height: 35px;
  color: #fff;
  position: relative;
}

.heading-line:after {
  content: '';
  display: inline-block;
  width: 300px;
  height: 2px;
  background: #233554;
  margin-left: 20px;
  top: 50%;
  position: absolute;
}

body {
  counter-reset: section;
}


/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  text-align: justify;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 30px;
  padding: 0;
  margin: 20px 0 0 0;
  overflow: hidden;
  list-style: none;
}

.skills-list li {
  font-family: 'Poppins', sans-serif;
  color: #8892b0;
  font-weight: bold;
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
  font-size: 17px;
  line-height: 30px;
}

.skills-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #64ffda;
}

.about-img-wrapper {
  position: relative;
  max-width: 300px;
  margin-bottom: 60px;
  justify-self: center;
}

.about-img {
  width: 100%;
  border-radius: 4px;
  position: relative;
  filter: grayscale(100%) contrast(1);
  transition: all 0.3s ease;
  z-index: 2;
}

.about-img-wrapper:hover .about-img {
  filter: none;
  transform: translate(-5px, -5px);
}

.about-img-wrapper::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  z-index: 1;
  transition: all 0.3s ease;
}

.about-img-wrapper:hover::after {
  top: 15px;
  left: 15px;
}

@media(max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-img-wrapper {
    margin-top: 40px;
  }

  .skills-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Experience Section */
.jobs-container {
  display: flex;
  min-height: 350px;
  margin-top: 20px;
}

.jobs-tabs {
  display: flex;
  flex-direction: column;
  border-left: 0;
  width: max-content;
}

.tab-btn {
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  padding: 0 20px;
  height: 42px;
  text-align: left;
  color: var(--text-secondary);
  font-family: SF-Mono, Fallback, Monospace;
  font-size: 19px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: -2px;
}

.tab-btn:hover,
.tab-btn.active {
  background-color: rgba(17, 34, 64, 0.5);
  color: var(--accent-color);
}

.tab-btn.active {
  border-left-color: var(--accent-color);
}

.job-content {
  padding: 10px 0 0 30px;
  flex: 1;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.job-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.job-title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 5px;
}

.company {
  color: #64ffda;
  font-size: 20px;
}

.job-range {
  font-family: SF-Mono, Fallback, monospace;
  color: #a8b2d1;
  font-size: 15px;
  margin-bottom: 20px;
  display: block;
}

.job-desc ul {
  list-style: none;
  padding: 0;
}

.job-desc li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #8892b0;
  font-size: 17px;
  font-weight: bold;
  line-height: 30px;
}

.job-desc li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

@media(max-width: 600px) {
  .jobs-container {
    flex-direction: column;
  }

  .jobs-tabs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    border-left: 0;
    border-bottom: 0;
    margin-bottom: 30px;
  }

  .tab-btn {
    border-left: 0;
    border-bottom: 2px solid transparent;
    margin-left: 0;
    margin-bottom: -2px;
    min-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .tab-btn.active {
    border-left: 0;
    border-bottom-color: var(--accent-color);
  }

  .job-content {
    padding-left: 0;
  }
}

/* Projects/Blog Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.project-card {
  background-color: #112240;
  padding: 2rem 1.75rem;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  justify-content: space-between;
  box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.folder-icon {
  color: var(--accent-color);
  width: 40px;
  height: 40px;
}

.external-icon {
  color: var(--text-primary);
  width: 20px;
  height: 20px;
  transition: color 0.3s;
}

.external-icon:hover {
  color: var(--accent-color);
}

.project-title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.project-card:hover .project-title {
  color: var(--accent-color);
}

.project-desc {
  font-size: 17px;
  font-weight: bold;
  line-height: 30px;
  color: #8892b0;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  color: #8892b0;
}

/* Contact Section */
.contact {
  padding: 100px 24px;
  margin: auto;
  margin-bottom: 100px;
  max-width: 600px;
  text-align: center;
}

.contact h1 {
  line-height: 50px;
  font-size: 60px;
  color: #ccd6f6;
}

.contact button,
.contact .btn {
  margin: 0;
}

/* Footer */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

footer .logo p {
  margin-bottom: 0px;
}

footer p {
  margin-top: 10px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */

/* Tablet and smaller */
@media (max-width: 1000px) {
  header {
    padding: 0 30px;
    height: 4rem;
    font-size: 1.5rem;
  }

  header .btn {
    font-size: 1.5rem;
    padding: 7px 15px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo a {
    color: #fff;
    font-size: 1.2rem;
  }

  h1 {
    font-size: 3rem;
    line-height: 60px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .heading-line {
    font-size: 26px;
  }

  .heading-line:after {
    width: 200px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  header {
    padding: 0 20px;
  }

  .container {
    padding: 0.5rem 2rem;
  }

  h1 {
    font-size: 2.5rem;
    line-height: 50px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  p {
    font-size: 15px;
    line-height: 26px;
  }

  .heading-line {
    font-size: 22px;
  }

  .heading-line:after {
    width: 100px;
  }

  .card-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact h1 {
    font-size: 2.5rem;
    line-height: 45px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
    line-height: 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  p {
    font-size: 14px;
    line-height: 24px;
  }

  .heading-line {
    font-size: 20px;
  }

  .heading-line:after {
    width: 60px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact h1 {
    font-size: 2rem;
    line-height: 40px;
  }

  .contact {
    padding: 50px 2rem;
    margin-bottom: 50px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}