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

body {
  overflow-x: hidden; 
}


header {
  background-color: #1a1a1a;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #f4af1b;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}



.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
  background-color: #f4af1b;
  color: #1a1a1a;
}

.nav-menu .nav-item:last-child .nav-link {
  font-weight: bold;
  color: #f4af1b;
}

.nav-menu .nav-item:last-child .nav-link:hover {
  background-color: #ffffff;
  color: #f4af1b;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

.hero {
  padding: 20px; 
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #000);
  animation: gradient-animation 8s infinite alternate;
  color: #ffffff;
  flex-direction: column; 
}


.hero-content {
  display: flex;
  flex-direction: row; 
  align-items: center;
  gap: 30px; 
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 700px; 
  height: auto;
  border-radius: 15px; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

.hero-text {
  flex: 2;
  text-align: left; 
}

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

.hero h1 .highlight {
  color: #f4af1b;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}


.hero .typed-text {
  color: #00d4ff;
  font-weight: bold;
}

.hero-brief {
  font-size: 1.2rem;
  color: #d1d1d1;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: left;
  margin: 20px 0;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  color: #ffffff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4af1b, #d08c00);
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #f4af1b, 0 0 20px #d08c00;
}

.btn {
  display: inline-block;
  width: 150px; 
  height: 50px; 
  line-height: 50px; 
  text-align: center;
  background: linear-gradient(135deg, #f4af1b, #d08c00);
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 25px; 
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #f4af1b, 0 0 20px #d08c00;
}


/* Skills Section */
.skills {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: #ffffff;
  text-align: center;
}

.skills h2 {
  font-size: 2.5rem;
  color: #f4af1b;
  margin-bottom: 40px;
}

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

.skill-item {
  background-color: #1a1a1a;
  border: 1px solid #f4af1b;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.skill-item i {
  font-size: 3rem;
  color: #f4af1b;
  margin-bottom: 10px;
}

.skill-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.skill-item p {
  font-size: 1rem;
  color: #d1d1d1;
  line-height: 1.5;
}

/* Styling for Skill Logos */
.skill-logo {
  width: 60px; 
  height: auto;
  margin-bottom: 10px;
  display: inline-block;
}

/* Projects Section */
.projects {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #101010, #1a1a1a);
  color: #ffffff;
  text-align: center;
}

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

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

/* Project Cards */
.project-item {
  background: #1a1a1a;
  border: 2px solid #f4af1b; 
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.project-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border-color: #ffffff; 
}

.project-link {
  text-decoration: none;
  color: inherit;
}

.project-link:hover .project-item {
  transform: scale(1.03); 
  transition: transform 0.3s ease-in-out;
}


/* Image Styling */
.project-image {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.project-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s, filter 0.3s;
}

.project-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

/* Text Styling */
.project-info {
  padding: 20px;
}

.project-title {
  font-size: 1.8rem;
  color: #f4af1b;
  margin-bottom: 10px;
  text-decoration: none; 
}

.project-info p {
  font-size: 1rem;
  line-height: 1.5;
  color: #d1d1d1;
  margin: 0;
}

/* Services Section */
.services {
  padding: 60px 20px;
  background: #f5f5f5;
  color: #333;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  color: #f4af1b;
  margin-bottom: 40px;
}

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

.service-item {
  background: #ffffff;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border-color: #f4af1b;
}

.service-item i {
  font-size: 3rem;
  color: #f4af1b;
  margin-bottom: 15px;
}


.service-item h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a); 
  color: #ffffff;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  color: #f4af1b;
  margin-bottom: 40px;
}

/* Contact Form Styling */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff; 
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}

.form-group {
  margin-bottom: 20px;
  text-align: left; 
}

.form-group label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%; 
  padding: 12px;
  border: 1px solid #ddd; 
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f4af1b; 
  outline: none;
  box-shadow: 0 0 5px rgba(244, 175, 27, 0.5); 
}

.form-group textarea {
  height: 150px;
  resize: vertical; 
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a); 
  color: #ffffff;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  color: #f4af1b;
  margin-bottom: 40px;
}

/* Contact Form Styling */
.contact-form {
  max-width: 600px; 
  margin: 0 auto; 
  padding: 30px; 
  background-color: #ffffff; 
  border-radius: 10px; 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
  box-sizing: border-box; 
  overflow: hidden; 
}

.form-group {
  margin-bottom: 20px;
  text-align: left; 
}

.form-group label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%; 
  max-width: 100%;
  padding: 12px; 
  border: 1px solid #ddd; 
  border-radius: 5px; 
  font-size: 16px;
  font-family: inherit;
  color: #333;
  box-sizing: border-box; 
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f4af1b;
  outline: none;
  box-shadow: 0 0 5px rgba(244, 175, 27, 0.5); 
}

.form-group textarea {
  height: 150px;
  resize: vertical; 
}

.contact-form .btn {
  display: inline-block;
  margin: 20px auto 0; 
  padding: 10px 20px; 
  font-size: 1rem; 
  font-weight: bold; 
  color: #ffffff; 
  background: linear-gradient(135deg, #f4af1b, #d08c00); 
  border: none; 
  border-radius: 25px; 
  text-align: center; 
  line-height: normal; 
  width: fit-content; 
  white-space: nowrap; 
  box-sizing: border-box; 
  cursor: pointer; 
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.contact-form .btn:hover {
  transform: scale(1.1); 
  box-shadow: 0 5px 15px rgba(244, 175, 27, 0.4);
}

/* Feedback Messages */
.feedback-message {
  font-size: 1rem;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  display: none; 
}

.feedback-message.success {
  background-color: #28a745; 
  color: #ffffff;
}

.feedback-message.error {
  background-color: #dc3545; 
  color: #ffffff;
}

.contact-form .btn:hover {
  transform: scale(1.1); 
  box-shadow: 0 5px 15px rgba(244, 175, 27, 0.4); 
}

/* Feedback Messages */
.feedback-message {
  font-size: 1rem;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  display: none; 
}

.feedback-message.success {
  background-color: #28a745; 
  color: #ffffff;
}

.feedback-message.error {
  background-color: #dc3545; 
  color: #ffffff;
}


/* Footer Section */
.footer {
  padding: 20px 0;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a); 
  color: #ffffff;
  text-align: center;
}

.footer p {
  margin: 10px 0;
  font-size: 1rem;
  color: #d1d1d1;
  line-height: 1.5;
}

.footer a {
  color: #f4af1b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff; 
}

.container {
  max-width: 1200px;
  margin: 0 auto; 
  padding: 0 20px; 
}


.skills,
.projects,
.contact,
.footer {
  padding: 60px 20px; 
  margin: 0; 
}

.skill-item,
.project-item,
.service-item {
  margin: 0; 
  padding: 20px; 
  border: 2px solid #f4af1b; 
  border-radius: 10px; 
}


.footer {
  padding: 20px 0;
  margin: 0; 
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

/* Responsive For Mobile */

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    background-color: #1a1a1a;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: right 0.3s ease-in-out;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 10px;
    text-align: center;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

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

  .hero-image img {
    width: 200px; 
  }

  .hero-text {
    text-align: center; 
  }

  body {
    overflow-x: hidden; 
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 15px;
   
  }

  .social-icons a {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .btn {
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 20px;
  }

  .footer p {
    font-size: 0.9rem; 
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes gradient-animation {
  0% {
    background: linear-gradient(135deg, #1a1a1a, #000);
  }
  50% {
    background: linear-gradient(135deg, #102a43, #1a1a1a);
  }
  100% {
    background: linear-gradient(135deg, #1a1a1a, #102a43);
  }
}