/* ===========================
   Google Font
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
  color: #fff;
  overflow-x: hidden;
}

/* ===========================
   Navbar
=========================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.logo span {
  color: #00d4ff;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: 0.4s;
}

nav ul li a:hover {
  color: #00d4ff;
}

/* ===========================
   Hero
=========================== */

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 120px 8%;
}

.hero-left {
  width: 55%;
}

.hero-left h4 {
  color: #00d4ff;
  font-size: 22px;
}

.hero-left h1 {
  font-size: 60px;
  margin: 15px 0;
}

.hero-left h2 {
  font-size: 35px;
  color: #00d4ff;
}

.hero-left p {
  margin: 25px 0;
  line-height: 30px;
  color: #ddd;
}

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

.hero-right img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid #00d4ff;
  box-shadow: 0 0 40px #00d4ff;
  transition: 0.5s;
}

.hero-right img:hover {
  transform: scale(1.05);
}

/* ===========================
   Buttons
=========================== */

.btn,
.btn-outline {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  margin-right: 20px;
  margin-top: 15px;
  transition: 0.4s;
  font-weight: 600;
}

.btn {
  background: #00d4ff;
  color: #000;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #00d4ff;
}

.btn-outline {
  border: 2px solid #00d4ff;
  color: white;
}

.btn-outline:hover {
  background: #00d4ff;
  color: black;
}

/* ===========================
   Social Icons
=========================== */

.social {
  margin-top: 30px;
}

.social a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: white;
  color: #2563eb;
  margin-right: 15px;
  text-decoration: none;
  transition: 0.4s;
}

.social a:hover {
  background: #00d4ff;
  color: black;
  transform: rotate(360deg);
}

/* ===========================
   About
=========================== */

.about {
  padding: 100px 8%;
}

.title {
  text-align: center;
  margin-bottom: 50px;
}

.title h2 {
  font-size: 45px;
}

.about-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image img {
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 0 30px cyan;
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 35px;
  margin-bottom: 20px;
}

.about-content p {
  color: #ddd;
  line-height: 30px;
}

table {
  margin-top: 25px;
  border-spacing: 15px;
}

table td {
  color: white;
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left h1 {
    font-size: 40px;
  }

  .hero-left h2 {
    font-size: 25px;
  }

  .hero-right img {
    width: 250px;
    height: 250px;
    margin-bottom: 40px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  header {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 10px;
  }
}

/* ===========================
   SKILLS SECTION
=========================== */

#skills {
  padding: 80px 10%;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

#skills h2 {
  font-size: 40px;
  margin-bottom: 40px;
  color: #38bdf8;
}

.skill-card {
  display: inline-block;
  width: 260px;
  margin: 15px;
  padding: 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.4s;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px #38bdf8;
}

.skill-card h3 {
  color: #38bdf8;
  margin-bottom: 20px;
}

.skill-card p {
  margin: 10px 0;
  font-size: 17px;
}

/* ===========================
   PROJECT SECTION
=========================== */

#projects {
  padding: 80px 10%;
  background: #111827;
  color: white;
  text-align: center;
}

#projects h2 {
  font-size: 40px;
  color: #38bdf8;
  margin-bottom: 40px;
}

.project {
  width: 330px;
  display: inline-block;
  margin: 20px;
  padding: 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.4s;
}

.project:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #00e5ff;
}

.project h3 {
  color: #00e5ff;
  margin-bottom: 15px;
}

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

.project button {
  margin-top: 20px;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  background: #00bfff;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.project button:hover {
  background: #2563eb;
}

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

#contact {
  padding: 80px 10%;
  background: #0f172a;
  color: white;
  text-align: center;
}

#contact h2 {
  font-size: 40px;
  color: #38bdf8;
  margin-bottom: 40px;
}

.contact-box {
  max-width: 700px;
  margin: auto;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.contact-box p {
  margin: 15px;
  font-size: 18px;
}

.contact-box a {
  color: #38bdf8;
  text-decoration: none;
}

form {
  max-width: 700px;
  margin: auto;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  border: none;
  border-radius: 10px;
  background: #1e293b;
  color: white;
  font-size: 16px;
}

form textarea {
  height: 180px;
  resize: none;
}

form button {
  width: 220px;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: #00bfff;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #2563eb;
  transform: translateY(-5px);
}

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

@media (max-width: 768px) {
  .skill-card,
  .project {
    width: 100%;
  }

  #skills,
  #projects,
  #contact {
    padding: 60px 20px;
  }

  #skills h2,
  #projects h2,
  #contact h2 {
    font-size: 30px;
  }
}
/* ================= PROJECT SECTION ================= */

#projects {
  padding: 90px 8%;
  background: #0b1120;
  color: #fff;
}

.project-title {
  text-align: center;
  margin-bottom: 50px;
}

.project-title h2 {
  font-size: 42px;
  color: #38bdf8;
  margin-bottom: 10px;
}

.project-title p {
  color: #bfc8d8;
  font-size: 18px;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.08);

  border-radius: 20px;

  padding: 30px;

  backdrop-filter: blur(15px);

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

  transition: 0.4s;

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

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

  box-shadow: 0 0 30px #38bdf8;
}

.project-card h3 {
  color: #38bdf8;

  margin-bottom: 20px;
}

.project-card h4 {
  margin-top: 15px;

  color: #00e5ff;
}

.project-card p {
  line-height: 1.7;

  color: #ddd;
}

.project-card ul {
  margin-top: 15px;

  margin-left: 20px;
}

.project-card li {
  margin: 10px 0;

  color: #ccc;
}

.project-btn {
  display: inline-block;

  margin-top: 25px;

  padding: 12px 28px;

  background: #38bdf8;

  color: #fff;

  text-decoration: none;

  border-radius: 30px;

  transition: 0.3s;

  font-weight: bold;
}

.project-btn:hover {
  background: #2563eb;

  transform: scale(1.05);
}

@media (max-width: 768px) {
  .project-title h2 {
    font-size: 32px;
  }

  .project-card {
    padding: 20px;
  }
}
.project-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.project-buttons a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

.github-btn {
  background: #24292e;
}

.github-btn:hover {
  background: #000;
  transform: translateY(-4px);
}

.linkedin-btn {
  background: #0077b5;
}

.linkedin-btn:hover {
  background: #005582;
  transform: translateY(-4px);
}
