

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  color: #333;
}

/* Header */
header {
  background-color: #222;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav ul {
  list-style: none;
  text-align: center;
}

header nav ul li {
  display: inline-block;
  margin: 0 15px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ff9800;
}

/* Hero Section with Abstract Coder Background */
#hero {
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80")
              no-repeat center center/cover;
  background-attachment: fixed; /* parallax effect */
  position: relative;
  color: white;
  text-align: center;
  padding: 120px 20px;
  min-height: 100vh;
}

/* Dark overlay for readability */
#hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Keep text above overlay */
#hero h1, 
#hero p, 
#hero .btn {
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

#hero p {
  font-size: 1.4rem;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ff9800;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn:hover {
  background: #e68900;
}



/* Sections */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

section h2 {
  margin-bottom: 20px;
  color: #222;
  font-size: 2rem;
}

/* Skills & Education */
#skills ul, #education ul {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}

#skills li, #education li {
  margin: 12px 0;
  font-size: 1.1rem;
}

/* Projects */
.project {
  margin: 20px auto;
  padding: 20px;
  max-width: 700px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s;
}

.project:hover {
  transform: scale(1.03);
}

/* Contact */
form input, form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 12px 25px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #ff9800;
}

#contact p {
  font-size: 1.1rem;
  margin: 8px 0;
}

#contact i {
  margin-right: 8px;
  font-size: 1.2rem;
}

#contact a {
  color: #0077b5;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

#contact a:hover {
  color: #ff9800;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
}
