/* ===========================
   RESET
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0f172a;
  color: #ffffff;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
}

section {
  padding: 100px 0;
}

/* ===========================
   CONTAINER
=========================== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   SECTION TITLE
=========================== */

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p {
  color: #94a3b8;
  font-size: 18px;
}

/* ===========================
   BUTTONS
=========================== */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 14px 28px;

  border-radius: 12px;

  background: #3b82f6;

  color: white;

  font-weight: 600;

  transition: 0.3s;
}

.btn:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;

  border: 2px solid #3b82f6;

  color: #3b82f6;
}

.btn-outline:hover {
  background: #3b82f6;

  color: white;
}

.btn-small {
  padding: 10px 22px;

  font-size: 14px;
}

/* ===========================
   HEADER
=========================== */

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  background: rgba(2, 6, 23, 0.75);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  height: 82px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

/* LOGO */

.logo {
  font-size: 32px;

  font-weight: 800;

  color: #3b82f6;
}

.logo span {
  color: white;
}

/* NAVIGATION */

.nav-links {
  display: flex;

  gap: 38px;
}

.nav-links a {
  position: relative;

  color: #cbd5e1;

  font-weight: 500;

  transition: 0.3s;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0;

  height: 2px;

  background: #3b82f6;

  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* RIGHT ACTIONS */

.nav-actions {
  display: flex;

  align-items: center;

  gap: 20px;
}

.nav-btn {
  padding: 12px 26px;
}

/* BURGER */

.menu-btn {
  display: none;

  background: transparent;

  border: none;

  cursor: pointer;
}

.menu-btn span {
  display: block;

  width: 28px;

  height: 3px;

  margin: 5px 0;

  background: white;

  border-radius: 20px;
}

/* HEADER SCROLL */

.header.scrolled {
  background: rgba(15, 23, 42, 0.95);

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
/* ===========================
   HERO
=========================== */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  padding-top: 80px;

  position: relative;

  overflow: hidden;

  background:
    radial-gradient(
      circle at top right,
      rgba(59, 130, 246, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(59, 130, 246, 0.12),
      transparent 35%
    ),
    linear-gradient(135deg, #020617, #0f172a, #111827);
}

.hero::before {
  content: "";

  position: absolute;

  width: 450px;

  height: 450px;

  right: -120px;

  top: -100px;

  border-radius: 50%;

  background: #2563eb;

  opacity: 0.12;

  filter: blur(140px);
}

.hero::after {
  content: "";

  position: absolute;

  width: 350px;

  height: 350px;

  left: -120px;

  bottom: -100px;

  border-radius: 50%;

  background: #3b82f6;

  opacity: 0.1;

  filter: blur(120px);
}

.hero-container {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  align-items: center;

  gap: 70px;
}

.hero-tag {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 22px;

  border-radius: 50px;

  background: rgba(59, 130, 246, 0.15);

  border: 1px solid rgba(59, 130, 246, 0.3);

  color: #60a5fa;

  font-weight: 600;

  margin-bottom: 30px;
}

.hero-tag i {
  color: #22c55e;
}

.hero-subtitle {
  color: #60a5fa;

  font-size: 22px;

  margin-bottom: 15px;
}

.hero h1 {
  font-size: 72px;

  line-height: 1.05;

  margin-bottom: 15px;
}

.hero h2 {
  font-size: 34px;

  color: #94a3b8;

  margin-bottom: 25px;
}

.hero-description {
  max-width: 620px;

  color: #cbd5e1;

  line-height: 1.9;

  margin-bottom: 40px;

  font-size: 17px;
}

.hero-buttons {
  display: flex;

  gap: 20px;

  flex-wrap: wrap;
}

/* HERO IMAGE */

.hero-image {
  display: flex;

  justify-content: center;
}

.photo-placeholder {
  width: 400px;

  height: 400px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

  background: #162033;

  border: 3px solid rgba(59, 130, 246, 0.5);

  color: #94a3b8;

  box-shadow:
    0 0 35px rgba(59, 130, 246, 0.35),
    0 0 80px rgba(59, 130, 246, 0.15);

  transition: 0.4s;
}

.photo-placeholder:hover {
  transform: scale(1.04);

  box-shadow:
    0 0 45px rgba(59, 130, 246, 0.6),
    0 0 120px rgba(59, 130, 246, 0.25);
}

/* ===========================
   ABOUT
=========================== */

.about {
  background: #111827;
}

.about-wrapper {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 60px;

  align-items: center;
}

.about-left h3 {
  font-size: 42px;

  margin-bottom: 25px;
}

.about-left p {
  color: #cbd5e1;

  line-height: 1.9;

  margin-bottom: 25px;
}

.about-right {
  background: #1e293b;

  padding: 40px;

  border-radius: 24px;

  border: 1px solid rgba(59, 130, 246, 0.25);
}

.about-right h3 {
  color: #3b82f6;

  margin-bottom: 30px;
}

.about-list {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.about-item {
  display: flex;

  align-items: center;

  gap: 18px;

  color: #cbd5e1;
}

.about-item i {
  width: 42px;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #0f172a;

  color: #3b82f6;
}

/* ===========================
   STATS
=========================== */

.stats {
  margin-top: 70px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.stat-card {
  background: #1e293b;

  padding: 35px;

  text-align: center;

  border-radius: 20px;

  border: 1px solid transparent;

  transition: 0.35s;
}

.stat-card:hover {
  transform: translateY(-10px);

  border-color: #3b82f6;
}

.stat-card h2 {
  font-size: 40px;

  color: #3b82f6;
}

.stat-card p {
  color: #cbd5e1;
}

/* ===========================
   SKILLS
=========================== */

.skills {
  background: #0f172a;
}

.skills-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 35px;
}

.skill-card {
  background: #1e293b;

  padding: 40px;

  border-radius: 24px;

  text-align: center;

  border: 1px solid rgba(59, 130, 246, 0.15);

  transition: 0.35s;
}

.skill-card:hover {
  transform: translateY(-12px);

  border-color: #3b82f6;

  box-shadow: 0 20px 45px rgba(59, 130, 246, 0.25);
}

.skill-card i {
  font-size: 60px;

  color: #3b82f6;

  margin-bottom: 25px;
}

.skill-card h3 {
  font-size: 28px;

  margin-bottom: 15px;
}

.skill-card p {
  color: #cbd5e1;

  line-height: 1.8;
}

.skill-level {
  display: inline-block;

  margin-top: 20px;

  padding: 10px 22px;

  border-radius: 30px;

  font-size: 14px;

  font-weight: 600;
}

.skill-level.advanced {
  background: rgba(34, 197, 94, 0.15);

  color: #4ade80;
}

.skill-level.learning {
  background: rgba(245, 158, 11, 0.15);

  color: #fbbf24;
}
/* ===========================
   SERVICES
=========================== */

.services {
  background: #111827;
}

.services-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 30px;
}

.service-card {
  background: #1e293b;

  padding: 35px;

  border-radius: 18px;

  text-align: center;

  border: 1px solid transparent;

  transition: 0.35s;
}

.service-card:hover {
  transform: translateY(-10px);

  border-color: #3b82f6;

  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
}

.service-card h3 {
  color: #3b82f6;

  font-size: 25px;

  margin-bottom: 18px;
}

.service-card p {
  color: #cbd5e1;

  line-height: 1.8;
}

/* ===========================
   PORTFOLIO
=========================== */

.portfolio {
  background: #111827;
}

.portfolio-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

  gap: 35px;
}

.project-card {
  background: #1e293b;

  border-radius: 24px;

  overflow: hidden;

  border: 1px solid rgba(59, 130, 246, 0.15);

  transition: 0.35s;

  display: flex;

  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-12px);

  border-color: #3b82f6;

  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25);
}

.project-image {
  height: 230px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, #0f172a, #1e293b);

  color: #64748b;

  font-size: 18px;
}

.project-content {
  padding: 30px;

  display: flex;

  flex-direction: column;

  flex: 1;
}

.project-content h3 {
  font-size: 28px;

  margin-bottom: 18px;
}

.project-content p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 25px;
  flex: 1;
}

.project-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 30px;
}

.project-tags span {
  padding: 8px 18px;

  border-radius: 30px;

  background: #0f172a;

  color: #60a5fa;

  border: 1px solid rgba(59, 130, 246, 0.25);

  font-size: 14px;
}

.project-buttons {
  display: flex;

  gap: 15px;

  margin-top: auto;
}

.project-buttons .btn {
  flex: 1;

  min-height: 52px;
}

/* ===========================
   CONTACT
=========================== */

.contact {
  background: #0f172a;
}

.contact-wrapper {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;
}

.contact-info h3 {
  font-size: 38px;

  margin-bottom: 20px;
}

.contact-info p {
  color: #cbd5e1;

  line-height: 1.8;
}

.contact-item {
  display: flex;

  gap: 20px;

  margin-top: 30px;
}

.contact-item i {
  width: 55px;

  height: 55px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #1e293b;

  color: #3b82f6;

  font-size: 22px;
}

.contact-item p {
  color: #94a3b8;
}

.contact-form {
  background: #1e293b;

  padding: 40px;

  border-radius: 24px;

  display: flex;

  flex-direction: column;

  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: #0f172a;

  border: 1px solid rgba(59, 130, 246, 0.2);

  border-radius: 14px;

  padding: 16px;

  color: white;

  font-size: 16px;

  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3b82f6;
}

.contact-form textarea {
  min-height: 160px;

  resize: vertical;
}

.contact-form button {
  border: none;

  cursor: pointer;
}

/* ===========================
   FOOTER
=========================== */

.footer {
  background: #020617;

  padding: 70px 0 30px;
}

.footer-content {
  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.footer-logo {
  font-size: 38px;

  font-weight: 800;

  margin-bottom: 20px;
}

.footer-logo span {
  color: #3b82f6;
}

.footer-content p {
  color: #94a3b8;

  max-width: 600px;
}

.footer-social {
  display: flex;

  gap: 20px;

  margin: 35px 0;
}

.footer-social a {
  width: 52px;

  height: 52px;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  background: #1e293b;

  transition: 0.3s;
}

.footer-social a:hover {
  background: #3b82f6;

  transform: translateY(-5px);
}

.footer-bottom {
  width: 100%;

  padding-top: 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;

  border-radius: 20px;
}

/* ===========================
   ANIMATION
=========================== */

.hidden {
  opacity: 0;

  transform: translateY(50px);

  transition: 0.8s ease;
}

.show {
  opacity: 1;

  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 992px) {
  .hero-container,
  .about-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .photo-placeholder {
    width: 320px;

    height: 320px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;

    padding: 30px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);

    transition: 0.3s ease;

    z-index: 1000;

    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 92%;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .photo-placeholder {
    width: 260px;

    height: 260px;
  }

  .btn {
    width: 100%;
  }

  .section-title h2 {
    font-size: 30px;
  }
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;

      top: 82px;

      left: 0;

      width: 100%;

      background: #020617;

      display: flex;

      flex-direction: column;

      align-items: center;

      gap: 25px;

      padding: 30px 0;

      transform: translateY(-150%);

      transition: 0.35s;
    }

    .nav-links.active {
      transform: translateY(0);
    }

    .menu-btn {
      display: block;
    }
  }
}
