
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #080000, #13031b);
  color: #fff;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ff3c3c;
}


.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
  width: 100%;
  padding: 20px;
}

.hero-img img {
  width: 250px;              
  height: 450px;
  border-radius: 80%;       
  object-fit: cover;         
  border: 6px solid #e505c3eb; 
  box-shadow: 0 0 40px rgba(223, 8, 148, 0.8); 
}




.hero-text h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-text h1 span {
  color: #ff3c3c;
}

.hero-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.hero-text h2 span {
  color: #ff3c3c;
}

.hero-text p {
  max-width: 550px;
  margin-bottom: 25px;
  color: #ccc;
  line-height: 1.6;
}


.social-links {
  margin-bottom: 20px;
}

.social-links a {
  margin-right: 18px;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ff3c3c;
}


.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #ff3c3c;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;

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



.btn:hover {
  background: #741717a8;
}


.skills {
  padding: 80px 20px;
  text-align: center;
  background: #a8a3a389;
}

.skills h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #420c0c;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.skill {
  background: #1d0909;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill i {
  font-size: 24px;
  color: #ff3c3c;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}




.resume {
  padding: 80px 20px;
  background: #181717;
  color: #fff;
  text-align: center;
}

.resume h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #f70d0ddd;
}

.resume-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  
}

.resume-section {
  margin-bottom: 40px;
}

.resume-section h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ea0a0ae4;
}


.resume-section ul {
  list-style: none;
  padding-left: 0;
}

.resume-section ul li {
  margin-bottom: 10px;
  color: #ccc;
}


.certificate img {
  width: 100%;
  max-width: 300px;  
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 2px solid #ff3c3c;
}




.projects {
  padding: 80px 20px;
  background: #1a0000;
  text-align: center;
}

.projects h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ff3c3c;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.project {
  background: #0d0d0d;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.project img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #ff3c3c;
}

.project h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project p {
  color: #ccc;
  font-size: 0.95rem;
}

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





.contact {
  padding: 80px 20px;
  background: #0d0d0d;
  color: #fff;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ff3c3c;
}

.contact p {
  margin-bottom: 40px;
  color: #ccc;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  text-align: left;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #ddd;
}

.contact-info i {
  color: #ff3c3c;
  margin-right: 10px;
}

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

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

.contact-form input:focus,
.contact-form textarea:focus {
  border: 2px solid #ff3c3c;
}

.contact-form button {
  background: #ff3c3c;
  border: none;
  cursor: pointer;
}

.contact-form button:hover {
  background: #e63232;
}


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

  .contact-info {
    text-align: center;
  }
}
