/* RESET + BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
body {
  background: #0f0f0f;
  color: #fff;
  scroll-behavior: smooth;
}

/* NAVIGATION */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #101010;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 26px;
  color: #00fff7;
  font-weight: bold;
  text-shadow: 0 0 10px #00fff7;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: #00fff7;
}

/* HOME SECTION */
.home-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  background: linear-gradient(145deg, #161616, #0a0a0a);
  flex-wrap: wrap;
}
.home-content {
  max-width: 50%;
}
.home-content h1 {
  font-size: 3rem;
}
.home-content span {
  color: #00fff7;
  text-shadow: 0 0 10px #00fff7;
}
.home-content p {
  margin: 20px 0;
  font-size: 1.1rem;
  color: #ccc;
}
.btn-3d {
  padding: 12px 25px;
  background: #00fff7;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 255, 247, 0.4);
  transition: transform 0.3s ease;
}
.btn-3d:hover {
  transform: scale(1.05);
}
.profile-3d img {
  width: 300px;
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(0, 255, 247, 0.2);
  transform: rotateY(10deg);
  transition: transform 0.5s ease;
}
.profile-3d img:hover {
  transform: rotateY(0deg) scale(1.05);
}

/* ABOUT SECTION */
.about-section {
  padding: 80px 10%;
  background: #141414;
  text-align: center;
}
.about-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.about-img {
  width: 250px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 255, 247, 0.2);
}
.about-content {
  max-width: 600px;
}
.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #00fff7;
}
.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
  background: #1c1c1c;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 255, 247, 0.1);
}

/* CERTIFICATES */
.cert-section {
  padding: 80px 10%;
  background: #181818;
  text-align: center;
}
.cert-section h2 {
  font-size: 2.5rem;
  color: #00fff7;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #00fff7;
}
.cert-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.cert-card {
  background: #1f1f1f;
  border-radius: 15px;
  width: 280px;
  padding: 15px;
  box-shadow: 0 15px 25px rgba(0, 255, 247, 0.1);
  transition: transform 0.4s;
}
.cert-card:hover {
  transform: translateY(-10px) rotateY(3deg);
}
.cert-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}
.cert-card p {
  color: #ccc;
}

/* SKILLS SECTION */
.skills-section {
  padding: 80px 10%;
  background: #121212;
  text-align: center;
}
.skills-section h2 {
  font-size: 2.5rem;
  color: #00fff7;
  margin-bottom: 40px;
}
.skills-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-3d {
  background: #1a1a1a;
  padding: 30px;
  width: 250px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 255, 247, 0.15);
  transition: transform 0.3s;
}
.card-3d:hover {
  transform: rotateX(8deg) scale(1.05);
}
.card-3d i {
  font-size: 2rem;
  color: #00fff7;
  margin-bottom: 10px;
}
.card-3d h3 {
  margin-bottom: 10px;
  color: #fff;
}

/* CONTACT FORM */
.contact-section {
  padding: 80px 10%;
  background: #141414;
  text-align: center;
}
.contact-section h2 {
  font-size: 2.5rem;
  color: #00fff7;
  margin-bottom: 30px;
}
.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}
.contact-section input,
.contact-section textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #222;
  color: #fff;
}
.contact-section button {
  background: #00fff7;
  color: #000;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}
.contact-section button:hover {
  transform: scale(1.05);
}

/* FOOTER */
footer {
  padding: 25px;
  background: #101010;
  text-align: center;
  color: #aaa;
}
.socials a {
  color: #ccc;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
}
.socials a:hover {
  color: #00fff7;
  transform: scale(1.2);
}
:root {
  --bg: #0a0a0a;
  --primary: #00fff7;
  --card: #1f1f1f;
  --text: #ffffff;
  --dim: #aaaaaa;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  padding: 20px 10%;
  box-shadow: 0 0 20px var(--primary);
}
.navbar .logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.nav-menu a:hover {
  color: var(--primary);
}

/* Hero Section */
.home-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  background: linear-gradient(to bottom, #000000, #111111);
}
.home-content {
  flex: 1;
  max-width: 600px;
}
.home-content h1 {
  font-size: 3rem;
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary);
}
.home-content p {
  color: var(--dim);
  margin: 20px 0;
}
.btn-3d {
  padding: 12px 25px;
  border: none;
  background: var(--primary);
  color: #000;
  font-weight: bold;
  border-radius: 15px;
  box-shadow: 0 10px 20px var(--primary);
  cursor: pointer;
  transition: 0.3s;
}
.btn-3d:hover {
  transform: translateY(-3px) scale(1.05);
}
.profile-3d img {
  width: 300px;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary);
}

/* About Section */
.about-section {
  background: #121212;
  padding: 80px 10%;
  text-align: center;
}
.about-section h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 30px;
}
.about-content p {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 5px 15px rgba(0, 255, 247, 0.2);
  color: #ccc;
  text-align: justify;
}

/* Certificates */
.cert-section {
  background: #1b1b1b;
  padding: 80px 10%;
  text-align: center;
}
.cert-section h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-shadow: 0 0 10px var(--primary);
}
.cert-gallery {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a2a;
  border-radius: 15px;
  padding: 15px;
  width: 280px;
  transition: 0.4s;
  box-shadow: 0 15px 30px rgba(0, 255, 247, 0.1);
}
.cert-card img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}
.cert-card:hover img {
  transform: scale(1.05);
}
.cert-card p {
  margin-top: 10px;
  color: #ccc;
}

/* Skills */
.skills-section {
  background: #121212;
  padding: 80px 10%;
  text-align: center;
}
.skills-section h2 {
  font-size: 2.5rem;
  color: var(--primary);
}
.skills-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}
.card-3d {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  width: 250px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 255, 247, 0.15);
  transition: transform 0.3s;
}
.card-3d:hover {
  transform: scale(1.07) rotateX(5deg);
}
.card-3d i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Contact */
.contact-section {
  background: #141414;
  padding: 80px 10%;
  text-align: center;
}
.contact-section h2 {
  font-size: 2.5rem;
  color: var(--primary);
}
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #222;
  color: #fff;
}
button[type="submit"] {
  background: var(--primary);
  color: #000;
  padding: 12px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--primary);
}
button:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  padding: 20px;
  background: #000;
  text-align: center;
  color: #999;
}
.socials a {
  color: #ccc;
  margin: 0 10px;
  font-size: 1.4rem;
  transition: 0.3s;
}
.socials a:hover {
  color: var(--primary);
  transform: scale(1.2);
}
.projects-section {
  padding: 80px 10%;
  background: #121212;
  text-align: center;
}

.projects-section h2 {
  font-size: 2.5rem;
  color: #00fff7;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #00fff7;
}

.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 255, 247, 0.2);
  transition: transform 0.4s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.project-card h3 {
  color: #00fff7;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.project-card a {
  text-decoration: none;
  color: #000;
  background: #00fff7;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,255,247,0.5);
  transition: background 0.3s;
}

.project-card a:hover {
  background: #00d5c0;
}
