@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: white;
  overflow-x: hidden;
}

/* HEADER */

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(56, 189, 248, 0.4);
}

.logo h2 {
  font-size: 32px;
  font-weight: 800;
  color: white;
}

.logo span {
  color: #38bdf8;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 140px 10% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  background: linear-gradient(135deg, #0f172a, #111827, #1e1b4b);
}

.tag {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(to right, #38bdf8, #8b5cf6, #ec4899);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  font-size: 32px;
  color: #cbd5e1;
  margin-bottom: 25px;
}

.hero-text {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.9;
  margin-bottom: 40px;
}

/* BUTTONS */

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn,
.btn-outline {
  padding: 15px 35px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn {
  background: linear-gradient(to right, #38bdf8, #8b5cf6);

  color: white;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.btn:hover {
  transform: translateY(-5px);
}

.btn-outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn-outline:hover {
  background: #38bdf8;
  color: #000;
}

/* PHOTO */

.hero-right {
  display: flex;
  justify-content: center;
}

.photo-box {
  width: 380px;
  height: 380px;
  border-radius: 30px;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: float 3s ease-in-out infinite;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION */

.section {
  padding: 120px 10%;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 48px;
  margin-bottom: 70px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 90px;
  height: 4px;
  background: linear-gradient(to right, #38bdf8, #8b5cf6, #ec4899);

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
}

/* ABOUT */

.about {
  background: #111827;
}

.about-card {
  background: #1e293b;
  padding: 50px;
  border-radius: 24px;
  text-align: center;
  line-height: 1.9;
  font-size: 18px;
  color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* SKILLS */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.skill-card {
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  background: linear-gradient(135deg, #1e293b, #312e81);

  transition: 0.4s;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.03);
}

/* PROJECTS */

.projects {
  background: #111827;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  padding: 35px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1e293b, #172554, #312e81);

  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.project-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #38bdf8;
}

.project-card p {
  color: #cbd5e1;
  line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */

.contact {
  min-height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 80px 20px;

  background: linear-gradient(135deg, #0f172a, #111827, #1e293b);

  font-family: "Poppins", sans-serif;
}

/* ===== FORM CONTAINER ===== */

#contact-form {
  width: 100%;

  max-width: 700px;

  padding: 45px;

  border-radius: 25px;

  position: relative;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

  transition: 0.5s ease;
}

/* GLOW BORDER */

#contact-form::before {
  content: "";

  position: absolute;

  inset: -2px;

  background: linear-gradient(
    45deg,
    #ff006e,
    #3a86ff,
    #00f5d4,
    #8338ec,
    #ffbe0b
  );

  z-index: -1;

  border-radius: 25px;

  animation: borderGlow 6s linear infinite;

  background-size: 400%;
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* HOVER EFFECT */

#contact-form:hover {
  transform: translateY(-8px) scale(1.01);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== LABELS ===== */

#contact-form label {
  color: white;

  font-size: 15px;

  font-weight: 500;

  margin-bottom: 8px;

  display: inline-block;

  letter-spacing: 0.5px;
}

/* ===== INPUTS ===== */

#contact-form input,
#contact-form textarea {
  width: 100%;

  padding: 16px 18px;

  margin-top: 8px;

  margin-bottom: 24px;

  border: none;

  outline: none;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  font-size: 15px;

  transition: 0.4s ease;

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-sizing: border-box;
}

/* PLACEHOLDER */

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #cbd5e1;
}

/* INPUT HOVER */

#contact-form input:hover,
#contact-form textarea:hover {
  background: rgba(255, 255, 255, 0.12);

  border-color: #3a86ff;
}

/* INPUT FOCUS */

#contact-form input:focus,
#contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.15);

  border-color: #00f5d4;

  box-shadow: 0 0 15px rgba(0, 245, 212, 0.5);
}

/* TEXTAREA */

#contact-form textarea {
  min-height: 160px;

  resize: vertical;
}

/* ===== BUTTON ===== */

#contact-form button {
  width: 100%;

  padding: 16px;

  border: none;

  border-radius: 14px;

  font-size: 16px;

  font-weight: 600;

  color: white;

  cursor: pointer;

  position: relative;

  overflow: hidden;

  background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff);

  background-size: 300%;

  transition: 0.4s ease;

  letter-spacing: 1px;
}

/* BUTTON ANIMATION */

#contact-form button:hover {
  transform: translateY(-3px);

  background-position: right center;

  box-shadow: 0 10px 25px rgba(131, 56, 236, 0.5);
}

/* BUTTON CLICK */

#contact-form button:active {
  transform: scale(0.98);
}

/* BUTTON SHINE EFFECT */

#contact-form button::before {
  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );

  transition: 0.6s;
}

#contact-form button:hover::before {
  left: 100%;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  #contact-form {
    padding: 30px 22px;
  }

  #contact-form input,
  #contact-form textarea {
    padding: 14px;
  }

  #contact-form button {
    padding: 14px;
  }
}

/* ===== FOOTER ===== */

.footer {
  background: linear-gradient(135deg, #020617, #0f172a, #111827);

  padding: 70px 20px 30px;

  position: relative;

  overflow: hidden;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* GLOW EFFECT */

.footer::before {
  content: "";

  position: absolute;

  top: -100px;

  left: -100px;

  width: 300px;

  height: 300px;

  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.25),
    transparent 70%
  );

  filter: blur(40px);
}

/* CONTAINER */

.footer-container {
  max-width: 1200px;

  margin: auto;

  text-align: center;

  position: relative;

  z-index: 2;
}

/* LOGO */

.footer-logo {
  font-size: 34px;

  font-weight: 700;

  background: linear-gradient(90deg, #38bdf8, #8b5cf6, #ec4899);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  margin-bottom: 15px;

  letter-spacing: 1px;
}

/* TAGLINE */

.footer-tagline {
  color: #cbd5e1;

  font-size: 15px;

  line-height: 1.8;

  max-width: 650px;

  margin: auto;

  margin-bottom: 35px;
}

/* NAV LINKS */

.footer-links {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 28px;

  margin-bottom: 35px;
}

.footer-links a {
  color: #e2e8f0;

  text-decoration: none;

  font-size: 15px;

  font-weight: 500;

  transition: 0.4s ease;

  position: relative;
}

/* LINK HOVER */

.footer-links a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -6px;

  width: 0;

  height: 2px;

  background: linear-gradient(90deg, #38bdf8, #8b5cf6);

  transition: 0.4s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-links a:hover::after {
  width: 100%;
}

/* SOCIAL BUTTONS */

.footer-socials {
  display: flex;

  justify-content: center;

  gap: 20px;

  margin-bottom: 40px;

  flex-wrap: wrap;
}

.footer-socials a {
  padding: 12px 24px;

  border-radius: 50px;

  text-decoration: none;

  color: white;

  font-weight: 500;

  background: linear-gradient(135deg, #2563eb, #7c3aed);

  transition: 0.4s ease;

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

/* SOCIAL HOVER */

.footer-socials a:hover {
  transform: translateY(-4px) scale(1.05);

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

  box-shadow: 0 12px 25px rgba(139, 92, 246, 0.4);
}

/* BOTTOM */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding-top: 25px;

  color: #94a3b8;

  font-size: 14px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .footer-logo {
    font-size: 28px;
  }

  .footer-links {
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;

    text-align: center;
  }
}

/* ANIMATION */

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* MOBILE RESPONSIVE */

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .hero {
    padding-top: 180px;
  }

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

  .hero h2 {
    font-size: 24px;
  }

  .section-title {
    font-size: 36px;
  }

  .photo-box {
    width: 280px;
    height: 280px;
  }
}

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

  .hero-text {
    font-size: 16px;
  }

  .section {
    padding: 100px 7%;
  }

  .section-title {
    font-size: 30px;
  }

  .photo-box {
    width: 240px;
    height: 240px;
  }
}
.project-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;

  background: linear-gradient(to right, #38bdf8, #8b5cf6);

  color: white;
  text-decoration: none;

  border-radius: 12px;

  font-weight: 600;

  transition: 0.3s;
}

.project-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}
/* SOCIAL BUTTONS */

.social-buttons {
  margin-top: 30px;

  display: flex;

  gap: 20px;

  flex-wrap: wrap;
}

.social-btn {
  padding: 14px 28px;

  border-radius: 14px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s;

  color: white;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* GITHUB */

.github {
  background: linear-gradient(to right, #24292e, #000000);
}

.github:hover {
  transform: translateY(-5px);
}

/* LINKEDIN */

.linkedin {
  background: linear-gradient(to right, #0077b5, #00a0dc);
}

.linkedin:hover {
  transform: translateY(-5px);
}

/* RESUME */

.resume {
  background: linear-gradient(to right, #8b5cf6, #ec4899);
}

.resume:hover {
  transform: translateY(-5px);
}

/* MOBILE */

@media (max-width: 768px) {
  .social-buttons {
    justify-content: center;
  }
}
