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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #030814;
  color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* Background */

.background-glow {
  position: fixed;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  filter: blur(140px);

  opacity: 0.12;

  pointer-events: none;

  z-index: -1;
}

.glow-one {
  background: #2563eb;

  top: -200px;
  left: -200px;
}

.glow-two {
  background: #7c3aed;

  right: -250px;
  top: 40%;
}

/* 
   NAVBAR*/

.navbar {
  position: fixed;

  width: 100%;
  height: 78px;

  top: 0;
  left: 0;

  z-index: 1000;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 0 8%;

  background: rgba(3, 8, 20, 0.82);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-size: 30px;

  font-weight: 800;

  letter-spacing: -2px;
}

.logo span,
.footer-logo span {
  color: #3b82f6;
}

.nav-links {
  display: flex;

  gap: 32px;
}

.nav-links a {
  position: relative;

  color: #a8b2c5;

  font-size: 14px;

  font-weight: 500;

  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active::after {
  content: "";

  position: absolute;

  width: 20px;
  height: 2px;

  background: #3b82f6;

  left: 50%;
  bottom: -10px;

  transform: translateX(-50%);
}

.resume-btn {
  display: flex;

  align-items: center;

  gap: 10px;

  background: #2563eb;

  padding: 12px 20px;

  border-radius: 9px;

  font-size: 14px;

  font-weight: 600;

  transition: 0.3s;
}

.resume-btn:hover {
  background: #3b82f6;

  transform: translateY(-2px);
}

.menu-btn {
  display: none;

  background: transparent;

  border: none;

  color: white;

  font-size: 22px;
}

/* 
   GENERAL SECTION
 */

.section {
  width: min(1200px, 90%);

  margin: auto;

  padding: 120px 0;
}

.section-heading > span {
  color: #3b82f6;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 2px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);

  line-height: 1.1;

  margin-top: 12px;

  letter-spacing: -2px;
}

.section-heading h2 span {
  color: #3b82f6;
}

.centered {
  text-align: center;
}

/* 
   HERO
 */

.hero {
  width: min(1200px, 90%);

  min-height: 100vh;

  margin: auto;

  padding-top: 150px;
  padding-bottom: 80px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 50px;
}

.hero-content {
  position: relative;

  z-index: 10;
}

.intro-badge {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 8px 14px;

  margin-bottom: 25px;

  border-radius: 50px;

  background: rgba(37, 99, 235, 0.12);

  border: 1px solid rgba(59, 130, 246, 0.25);

  color: #cbd5e1;

  font-size: 13px;
}

.hero h1 {
  max-width: 700px;

  font-size: clamp(48px, 6vw, 76px);

  line-height: 1.03;

  letter-spacing: -4px;
}

.hero h1 span {
  display: block;

  background: linear-gradient(90deg, #3b82f6, #8b5cf6);

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;
}

.hero p {
  max-width: 600px;

  margin-top: 25px;

  color: #94a3b8;

  font-size: 17px;
}

.hero-buttons {
  display: flex;

  gap: 15px;

  margin-top: 32px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 14px 22px;

  border-radius: 9px;

  font-size: 14px;

  font-weight: 600;

  transition: 0.3s;
}

.primary-btn {
  background: #2563eb;

  color: white;

  border: none;
}

.primary-btn:hover {
  background: #3b82f6;

  transform: translateY(-3px);

  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
}

.secondary-btn {
  color: white;

  border: 1px solid #263247;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* 
   SOCIAL ICONS
 */

.social-links {
  display: flex;

  gap: 12px;

  margin-top: 35px;
}

.social-links a,
.footer-socials a {
  width: 42px;
  height: 42px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 1px solid #1d293d;

  border-radius: 50%;

  color: #94a3b8;

  font-size: 18px;

  transition: 0.3s;
}

.social-links a:hover,
.footer-socials a:hover {
  color: #3b82f6;

  border-color: #3b82f6;

  transform: translateY(-5px);

  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

/* 
   PROFILE / HERO VISUAL
 */

.hero-visual {
  position: relative;

  height: 650px;

  display: flex;

  align-items: flex-start;

  justify-content: center;

  z-index: 2;
}

/* 
   GLOWING PROFILE CIRCLE
 */

.profile-glow {
  position: absolute;

  width: 420px;
  height: 420px;

  left: 50%;
  top: 220px;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.25) 0%,
    rgba(37, 99, 235, 0.12) 55%,
    transparent 75%
  );

  border: 1px solid rgba(96, 165, 250, 0.45);

  box-shadow:
    0 0 50px rgba(37, 99, 235, 0.35),
    0 0 100px rgba(37, 99, 235, 0.2);

  z-index: 1;

  pointer-events: none;
}

/* 
   PROFILE PICTURE*/

.profile-image {
  position: absolute;

  z-index: 2;

  width: 410px;
  height: 410px;

  top: 15px;
  left: 50%;

  transform: translateX(-50%);

  display: block;

  border-radius: 50%;

  object-fit: cover;

  object-position: center center;

  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));

  transition: 0.4s;

  overflow: hidden;
}

.profile-image:hover {
  transform: translateX(-50%) translateY(-5px) scale(1.01);
}

/* 
   CODE CARD
*/

.code-card {
  position: absolute;

  right: -10px;

  bottom: 0;

  width: 330px;

  z-index: 5;

  background: rgba(10, 20, 38, 0.94);

  backdrop-filter: blur(15px);

  border: 1px solid #26344d;

  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.code-header {
  display: flex;

  gap: 7px;

  padding: 13px 15px;

  border-bottom: 1px solid #1d293d;
}

.code-header span {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: #475569;
}

.code-header span:first-child {
  background: #ef4444;
}

.code-header span:nth-child(2) {
  background: #eab308;
}

.code-header span:nth-child(3) {
  background: #22c55e;
}

.code-card pre {
  padding: 20px;

  overflow-x: auto;

  color: #cbd5e1;

  font-size: 12px;
}

.purple {
  color: #c084fc;
}

.green {
  color: #4ade80;
}

/* 
   ABOUT
 */

.about-grid {
  margin-top: 60px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 80px;
}

.about-text p {
  color: #94a3b8;

  margin-bottom: 22px;

  font-size: 16px;
}

.text-link {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 15px;

  color: #3b82f6;

  font-weight: 600;
}

.about-stats {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 15px;
}

.stat-card {
  padding: 30px;

  border: 1px solid #1d293d;

  border-radius: 14px;

  background: rgba(10, 18, 33, 0.7);

  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);

  border-color: rgba(59, 130, 246, 0.4);
}

.stat-card h3 {
  font-size: 35px;

  color: #3b82f6;
}

.stat-card p {
  color: #94a3b8;
}

/* 
   SKILLS
*/

.skills-grid {
  margin-top: 55px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 15px;
}

.skill-card {
  text-align: center;

  padding: 35px 20px;

  border: 1px solid #1d293d;

  border-radius: 14px;

  background: rgba(10, 18, 33, 0.65);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;

  transform-style: preserve-3d;
}

.skill-card:hover {
  transform: translateY(-8px) scale(1.02);

  border-color: rgba(59, 130, 246, 0.5);
}

.skill-card i {
  display: block;

  font-size: 48px;

  margin-bottom: 18px;

  transition: 0.35s;
}

/* TECHNOLOGY COLOURS */

.skill-card .devicon-html5-plain {
  color: #e34f26 !important;
}

.skill-card .devicon-css3-plain {
  color: #1572b6 !important;
}

.skill-card .devicon-javascript-plain {
  color: #f7df1e !important;
}

.skill-card .devicon-react-original {
  color: #61dafb !important;
}

.skill-card .devicon-nodejs-plain {
  color: #68a063 !important;
}

.skill-card .devicon-python-plain {
  color: #3776ab !important;
}

.skill-card .devicon-java-plain {
  color: #ed8b00 !important;
}

.skill-card .devicon-postgresql-plain {
  color: #4169e1 !important;
}

.skill-card .devicon-git-plain {
  color: #f05032 !important;
}

.skill-card .devicon-github-original {
  color: #ffffff !important;
}

.skill-card .devicon-vscode-plain {
  color: #007acc !important;
}

.skill-card:hover i {
  transform: translateY(-7px) scale(1.15);

  filter: drop-shadow(0 0 10px currentColor);
}

.skill-card h3 {
  font-size: 15px;
}

.skill-card p {
  color: #64748b;

  font-size: 12px;

  margin-top: 5px;
}

/* 
   PROJECTS
*/

.heading-row {
  display: flex;

  align-items: end;

  justify-content: space-between;
}

.view-all {
  color: #3b82f6;

  font-size: 14px;
}

.projects-grid {
  margin-top: 55px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.project-card {
  overflow: hidden;

  border: 1px solid #1d293d;

  border-radius: 14px;

  background: rgba(10, 18, 33, 0.8);

  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);

  border-color: rgba(59, 130, 246, 0.45);
}

.project-image {
  height: 210px;

  overflow: hidden;
}

/* 
   CUSTOMER TRACKER
*/

.customer-tracker {
  padding: 22px;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.25),
      transparent 40%
    ),
    linear-gradient(145deg, #0c1a31, #060d1b);
}

.customer-preview {
  width: 100%;
  height: 100%;

  padding: 15px;

  border: 1px solid #263b5b;

  border-radius: 10px;

  background: rgba(8, 17, 32, 0.9);
}

.customer-top {
  display: flex;

  align-items: center;

  gap: 9px;

  color: #dbeafe;

  font-size: 12px;

  font-weight: 600;
}

.customer-top i {
  color: #60a5fa;

  font-size: 17px;
}

.customer-stats {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 7px;

  margin-top: 18px;
}

.customer-stat {
  padding: 9px;

  text-align: center;

  background: #101e33;

  border: 1px solid #1c304d;

  border-radius: 6px;
}

.customer-stat strong {
  display: block;

  color: #60a5fa;

  font-size: 15px;
}

.customer-stat small {
  color: #64748b;

  font-size: 7px;
}

.customer-table {
  display: flex;

  flex-direction: column;

  gap: 6px;

  margin-top: 15px;
}

.customer-table div {
  display: flex;

  justify-content: space-between;

  gap: 10px;
}

.customer-table span {
  height: 6px;

  border-radius: 5px;

  background: #1e3555;
}

.customer-table span:first-child {
  width: 65%;
}

.customer-table span:last-child {
  width: 25%;
}

/* 
   ORGANIC CHICKEN
 */

.chicken {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 25px;

  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(34, 197, 94, 0.25),
      transparent 35%
    ),
    linear-gradient(145deg, #102318, #07130d);
}

.chicken-preview {
  width: 100%;
  height: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;
}

.chicken-icon {
  width: 70px;
  height: 70px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 15px;

  border-radius: 50%;

  background: rgba(34, 197, 94, 0.12);

  border: 1px solid rgba(74, 222, 128, 0.35);

  color: #4ade80;

  font-size: 32px;
}

.chicken-title {
  color: #f8fafc;

  font-size: 25px;

  font-weight: 800;

  line-height: 1.05;
}

.organic-badge {
  margin-top: 14px;

  padding: 5px 10px;

  border-radius: 50px;

  background: rgba(74, 222, 128, 0.1);

  border: 1px solid rgba(74, 222, 128, 0.3);

  color: #4ade80;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1px;
}

/* =========================
   PORTFOLIO PROJECT
========================= */

.portfolio-preview {
  position: relative;

  padding: 40px 25px;

  background: #080b16;
}

.portfolio-text {
  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;
}

.portfolio-text small {
  color: #64748b;
}

.portfolio-text strong {
  font-size: 24px;

  margin: 5px 0;
}

.portfolio-text span {
  color: #64748b;

  font-size: 11px;
}

.portfolio-glow {
  position: absolute;

  width: 160px;
  height: 160px;

  right: 20px;
  top: 20px;

  background: #2563eb;

  filter: blur(60px);

  opacity: 0.45;
}

.project-content {
  position: relative;

  padding: 25px;
}

.project-number {
  color: #3b82f6;

  font-size: 12px;

  font-weight: 700;
}

.project-content h3 {
  font-size: 21px;

  margin: 5px 0 10px;
}

.project-content p {
  color: #94a3b8;

  font-size: 13px;
}

.tech-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 18px;
}

.tech-tags span {
  padding: 5px 9px;

  border: 1px solid #20304a;

  border-radius: 5px;

  background: #111d31;

  color: #94a3b8;

  font-size: 10px;
}

.project-links {
  display: flex;

  gap: 20px;

  margin-top: 22px;
}

.project-links a {
  display: flex;

  align-items: center;

  gap: 7px;

  color: #cbd5e1;

  font-size: 12px;

  transition: 0.3s;
}

.project-links a:hover {
  color: #3b82f6;
}

/* 
   EXPERIENCE
 */

.timeline {
  position: relative;

  max-width: 750px;

  margin: 60px auto 0;
}

.timeline::before {
  content: "";

  position: absolute;

  left: 8px;
  top: 0;

  width: 1px;
  height: 100%;

  background: #24334b;
}

.timeline-item {
  position: relative;

  padding-left: 45px;

  padding-bottom: 55px;
}

.timeline-dot {
  position: absolute;

  left: 0;
  top: 5px;

  width: 17px;
  height: 17px;

  border-radius: 50%;

  background: #2563eb;

  border: 4px solid #07101e;

  box-shadow: 0 0 0 1px #2563eb;
}

.timeline-date {
  color: #3b82f6;

  font-size: 12px;

  font-weight: 600;
}

.timeline-content h3 {
  margin-top: 6px;

  font-size: 22px;
}

.timeline-content h4 {
  margin-top: 3px;

  color: #64748b;

  font-size: 14px;
}

.timeline-content p {
  margin-top: 12px;

  color: #94a3b8;
}

/* 
   CONTACT
 */

.contact-card {
  max-width: 850px;

  margin: auto;

  padding: 60px;

  border: 1px solid #1d293d;

  border-radius: 20px;

  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.12),
      transparent 40%
    ),
    rgba(8, 15, 28, 0.8);
}

.contact-card .section-heading p {
  max-width: 550px;

  margin: 20px auto 0;

  color: #94a3b8;
}

form {
  margin-top: 45px;
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.input-group {
  display: flex;

  flex-direction: column;

  gap: 8px;

  margin-bottom: 20px;
}

.input-group label {
  color: #cbd5e1;

  font-size: 13px;
}

.input-group input,
.input-group textarea {
  padding: 14px;

  outline: none;

  resize: vertical;

  color: white;

  background: #07101e;

  border: 1px solid #233149;

  border-radius: 8px;

  transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #3b82f6;

  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.submit-btn {
  margin-top: 5px;
}

#formMessage {
  margin-top: 15px;

  color: #4ade80;

  font-size: 13px;
}

/* 
   FOOTER
 */

footer {
  padding: 60px 20px;

  text-align: center;

  color: #64748b;

  border-top: 1px solid #182438;
}

.footer-logo {
  color: white;

  font-size: 30px;

  font-weight: 800;
}

footer > p {
  margin-top: 10px;

  font-size: 13px;
}

.footer-socials {
  display: flex;

  justify-content: center;

  gap: 12px;

  margin: 20px 0;
}

.copyright {
  font-size: 11px;
}

/* 
   TABLET
 */

@media (max-width: 1000px) {
  .navbar {
    padding: 0 5%;
  }

  .nav-links {
    gap: 18px;
  }

  .resume-btn {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    padding-top: 130px;
  }

  .hero-content {
    text-align: center;
  }

  .intro-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .social-links {
    justify-content: center;
  }

  .hero-visual {
    height: 620px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    width: 100%;

    max-width: 650px;

    margin: auto;
  }
}

/* 
   MOBILE
*/

@media (max-width: 750px) {
  .navbar {
    height: 70px;
  }

  .nav-links {
    position: absolute;

    top: 70px;
    left: 0;

    width: 100%;

    display: none;

    flex-direction: column;

    gap: 0;

    background: #050b17;

    border-bottom: 1px solid #1d293d;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 16px 25px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero-visual {
    height: 620px;

    display: flex;

    align-items: flex-start;

    justify-content: center;
  }

  /* PROFILE CIRCLE - MOBILE */

  .profile-glow {
    width: 340px;
    height: 340px;

    top: 180px;
  }

  /* PROFILE IMAGE - MOBILE */

  .profile-image {
    width: 330px;
    height: 330px;

    top: 35px;

    object-position: center center;
  }

  .code-card {
    width: 280px;

    right: 50%;

    bottom: 0;

    transform: translateX(50%);
  }

  .about-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .heading-row {
    display: block;
  }

  .view-all {
    display: inline-block;

    margin-top: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .contact-card {
    padding: 35px 20px;
  }
}

/* 
   SMALL PHONES
*/

@media (max-width: 500px) {
  .section {
    padding: 85px 0;
  }

  .hero {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-visual {
    height: 570px;
  }

  /* PROFILE CIRCLE - SMALL PHONE */

  .profile-glow {
    width: 280px;
    height: 280px;

    top: 155px;
  }

  /* PROFILE IMAGE - SMALL PHONE */

  .profile-image {
    width: 270px;
    height: 270px;

    top: 20px;

    object-position: center center;
  }

  .code-card {
    width: 250px;

    right: 50%;

    bottom: 0;

    transform: translateX(50%);
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    padding: 20px;
  }
}
