* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0f172a;
  color: #e5e7eb;
  scroll-behavior: smooth;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 50px;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

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

nav ul li a {
  margin-left: 20px;
  text-decoration: none;
  color: #e5e7eb;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #38bdf8;
}

.logo {
  color: #38bdf8;
}

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

.hero-content {
  max-width: 50%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero span {
  color: #38bdf8;
  transition: 0.5s;
}

.subtitle {
  color: #cbd5f5;
  margin-bottom: 30px;
  font-size: 1.1rem;
}
/* end */
/* Profile Image */
.hero-image img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #38bdf8;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.6);
  animation: float 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Hire Me Button */
.hire-btn {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  color: #38bdf8;
  border: 2px solid #38bdf8;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Fill effect on hover */
.hire-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #38bdf8;
  transition: 0.4s;
  z-index: -1;
}

.hire-btn:hover::before {
  left: 0;
}

.hire-btn:hover {
  color: #020617;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.8);
  transform: translateY(-4px);
}

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

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-bottom: 30px;
  }
}

.section {
  padding: 100px 10%;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.skill {
  margin: 20px auto;
  max-width: 500px;
  text-align: left;
}

.progress {
  background: #1e293b;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress div {
  height: 100%;
  width: 0;
  background: #38bdf8;
  transition: 1s;
}

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

.project-card {
  background: #1e293b;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s;
}

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

footer {
  padding: 20px;
  text-align: center;
  background: #020617;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.contact-text {
  margin-bottom: 20px;
  color: #cbd5f5;
}

/* Social Icons */
.socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.socials a {
  font-size: 36px;
  color: #e5e7eb;
  transition: 0.3s ease;
}

.socials a:hover {
  transform: translateY(-6px) scale(1.2);
}

.socials a:hover .fa-github {
  color: #ffffff;
}

.socials a:hover .fa-linkedin {
  color: #0a66c2;
}

.socials a:hover .fa-envelope {
  color: #ef4444;
}

/* Contact Form */
.contact-form {
  max-width: 450px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #1e293b;
  color: #e5e7eb;
  font-size: 15px;
}

.contact-form button {
  margin-top: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.6);
}


/* Box */
.about-box {
  max-width: 800px;
  margin: auto;
  background: #1e293b;
  padding: 35px 40px;
  border-radius: 16px;
  line-height: 1.8;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-box p {
  font-size: 1.05rem;
  color: #cbd5f5;
  margin-bottom: 15px;
}

.about-box strong {
  color: #38bdf8;
}

/* skill box design */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.skill-box {
  background: #1e293b;
  padding: 25px 22px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}

.skill-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(56, 189, 248, 0.25);
}

.skill-box h4 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #e5e7eb;
}

/* Progress bar */
.progress {
  background: #020617;
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
}

.progress div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  transition: width 1.2s ease;
}

/* Achievements */
.achievement-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.achievement-box {
  background: #1e293b;
  padding: 25px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
  position: relative;
}

.achievement-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(56, 189, 248, 0.25);
}

.achievement-box h4 {
  color: #e5e7eb;
  margin-bottom: 8px;
}

.achievement-box p {
  color: #cbd5f5;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.achievement-box a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #38bdf8;
  border: 1.5px solid #38bdf8;
  transition: 0.3s;
}

.achievement-box a:hover {
  background: #38bdf8;
  color: #020617;
}

.collaboration {
  background: linear-gradient(135deg, #020617, #020617);
  border-radius: 20px;
  padding: 60px 10%;
}

.collab-text {
  max-width: 700px;
  margin: 15px auto 35px;
  color: #cbd5f5;
  font-size: 1.05rem;
  line-height: 1.7;
}

.collab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.collab-btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Collab*/
.collab-btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5);
}

.collab-btn.primary:hover {
  transform: translateY(-4px);
}

/* Outline button */
.collab-btn.outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

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

/* Name Animation */
.logo {
  font-family: "Courier New", monospace;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.terminal-symbol {
  color: #38bdf8;
}

.terminal-bracket {
  color: #94a3b8;
}

.terminal-user {
  color: #5eead4;
  font-weight: bold;
}

/* Optional blink cursor effect */
.logo::after {
  content: "_";
  margin-left: 4px;
  color: #38bdf8;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* NAVBAR */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 40px;

  background: #0f172a; /* Dark navy */
  color: #ffffff;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); /* Shadow to separate */
  z-index: 1000;
}
#nav-links{
  display: flex;
  gap: 30px;
  list-style: none;
}

.menu-icon{
  display: none;
  font-size: 25px;
  cursor: pointer;
}

@media (max-width:768px){

  .menu-icon{
    display: block;
  }

  #nav-links{
    position: absolute;
    top: 70px;
    right: -250px;
    width: 220px;
    background:#0f172a;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    transition: 0.3s;
  }

  #nav-links.active{
    right: 0;
  }
}
/* LOGO */
.logo {
  font-size: 1.2rem;
  font-weight: 600;
  font-family: monospace;
}

/* MENU */
#navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

#navbar ul li a {
  text-decoration: none;
  color: #cbd5f5;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

#navbar ul li a:hover {
  color: #38bdf8; 
}
#navbar {
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.85);
}
.Upcoming{
  margin-bottom: 10px;
  padding-bottom: 30px;
}

