/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

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

/* NAVBAR */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: white;
  opacity: 0.7;
  transition: 0.3s;
}

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8%;
}

/* MAIN CONTENT WRAPPER */
.hero-content {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT TEXT */
.hero-text {
  flex: 1;
}

.hero-text h3 {
  font-size: 18px;
  color: #aaa;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  margin: 10px 0;
}

.hero-text h2 {
  font-size: 22px;
  color: #38bdf8;
}

.hero-text p {
  margin-top: 15px;
  max-width: 500px;
  opacity: 0.8;
}

/* BUTTONS */
.buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  color: black;
 transition: all 0.3s ease;
}

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

.btn.outline {
  background: transparent;
  border: 2px solid #38bdf8;
  color: white;
}

/* IMAGE */
.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-img img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #38bdf8;
  box-shadow: 0 0 40px rgba(56,189,248,0.3);
}

/* SOCIAL ICONS */
.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(56,189,248,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #38bdf8;
  color: #020617;
  transform: translateY(-3px);
}

/* SECTIONS */
.section {
  padding: 100px 8%;
}

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

.skill, .project-card {
  padding: 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
}

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

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  opacity: 0.6;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    margin-top: 30px;
  }

  .social-icons {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 42px;
  }
}
/* SECTION FIX */
.section {
  padding: 120px 8%;
  max-width: 1100px;
  margin: auto;
}

/* HEADINGS FIX */
.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* TEXT FIX */
.section p {
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.85;
}
/* EDUCATION FIX */
.education-card {
  margin-top: 20px;
  padding: 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
}

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

.education-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.education-card p {
  opacity: 0.8;
}
.project-card {
  text-decoration: none;
  color: white;
}
/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
body {
  scroll-behavior: smooth;
}
.project-card:hover,
.skill:hover,
.certificate-card:hover {
  box-shadow: 0 0 25px rgba(56,189,248,0.3);
}
.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(56,189,248,0.3);
}
body {
  background: radial-gradient(circle at top, #0f172a, #020617);
}


.reveal {
  opacity: 1; /* TEMP FIX */
  transform: translateY(0);
}

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

.project-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 16px;
  height: 100%; /* 🔥 IMPORTANT */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-card h3 {
  margin-bottom: 8px;
}

.project-card p {
  opacity: 0.8;
  margin-bottom: 15px;
}
.project-links {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(56,189,248,0.2);
}
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.project-links {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.project-card p {
  margin-bottom: 10px;
}
/* ===== PROJECT CARD FIX ===== */
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  height: 100%;
}

.project-card h3 {
  margin-bottom: 6px;
}

.project-card p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 15px;
}

.project-links {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.project-links .btn {
  flex: 1;
  text-align: center;
}

/* ===== CERTIFICATE FIX ===== */
#certificates .project-card {
  text-align: left;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

/* LEFT */
.contact-info p {
  margin-bottom: 10px;
  opacity: 0.8;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.05);
  color: white;
}

.contact-form textarea {
  resize: none;
}

/* HOVER */
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #38bdf8;
}
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
.contact-container {
  display: flex;
  gap: 50px;
  margin-top: 40px;
  align-items: flex-start;
}

/* LEFT */
.contact-info {
  flex: 1;
}

.contact-info h3 {
  margin-bottom: 10px;
  color: #38bdf8;
}

.contact-info p {
  margin-bottom: 10px;
  opacity: 0.8;
}

/* FORM */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;

  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* INPUT */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: white;
}

/* FOCUS EFFECT */
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #38bdf8;
  box-shadow: 0 0 10px rgba(56,189,248,0.4);
}

/* BUTTON */
.contact-form button {
  align-self: flex-start;
}

/* SUCCESS MESSAGE */
#success-msg {
  display: none;
  color: #38bdf8;
  margin-top: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

/* ===== RESPONSIVE FIX (SAFE) ===== */
@media (max-width: 768px) {

  /* NAVBAR */
  nav {
    padding: 12px 5%;
  }

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

  .nav-links a {
    font-size: 14px;
    margin: 5px;
  }

  /* HERO SECTION */
  .hero {
    padding-top: 100px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text h2 {
    font-size: 18px;
  }

  .hero-text p {
    font-size: 14px;
    margin: auto;
  }

  /* BUTTONS */
  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 80%;
    text-align: center;
  }

  /* IMAGE */
  .hero-img img {
    width: 200px;
    height: 200px;
  }

  /* SECTIONS */
  .section {
    padding: 80px 5%;
  }

  /* PROJECT GRID */
  .projects {
    grid-template-columns: 1fr;
  }

  /* SKILLS GRID */
  .skills {
    grid-template-columns: 1fr;
  }

  /* CONTACT */
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }

  .contact-form button {
    width: 100%;
    text-align: center;
  }













 
