/* Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  background: #0f0f0f;
  color: #fff;
  padding-top: 80px;
}

/* Fixed Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 999;
}

.nav-logo {
  font-size: 28px;
  font-weight: 700;
  color: #42a5f5;
  text-shadow: 1px 1px 3px rgba(66, 165, 245, 0.2);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-right: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #42a5f5;
  border-bottom: 2px solid #42a5f5;
}

/* Header Section */
#header {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box {
  position: absolute;
  right: 250px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border: 5px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
  transition: transform 0.5s ease;
}

.image-box:hover {
  transform: translateY(-50%) scale(1.05);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-text {
  position: absolute;
  left: 200px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.header-text h1 {
  font-size: 54px;
  font-weight: 800;
  margin-bottom: 12px;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.header-text p {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 20px;
}

.social-links {
  margin-top: 15px;
  font-size: 18px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-right: 10px;
}

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

.download-cv {
  margin-top: 10px;
}

.download-cv a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #42a5f5;
  padding: 8px 20px;
  border-radius: 5px;
}

.download-cv a:hover {
  background-color: #42a5f5;
  color: #fff;
}

section {
  padding: 100px 80px;
  background-color: #0f0f0f;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-content {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.section-content h2 {
  font-size: 42px;
  color: #42a5f5;
  margin-bottom: 20px;
}

.section-content p,
.section-content li {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.section-content a {
  color: #42a5f5;
  text-decoration: none;
}

.section-content a:hover {
  text-decoration: underline;
}

#projects ul {
  padding-left: 20px;
  list-style-type: disc;
}

.skill-group {
  margin: 20px 0;
}

.skill-group strong {
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

.skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.skill-icons span {
  display: flex;
  align-items: center;
  font-size: 18px;
  gap: 8px;
}

.skill-icons i {
  font-size: 26px;
}

.icon-html { color: #e34c26; }
.icon-css { color: #264de4; }
.icon-js { color: #f7df1e; }
.icon-python { color: #306998; }
.icon-c { color: #5c5c5c; }
.icon-java { color: #f89820; }
.icon-figma { color: #f24e1e; }
.icon-uipath { color: #003366; }

#connect {
  background-color: #0f0f0f;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

#connect .section-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}

.contact-form-box {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-box label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-weight: 600;
  color: #fff;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 16px;
  border: none;
  border-radius: 4px;
  background-color: #444;
  color: #fff;
  font-size: 15px;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form-box button {
  background-color: #222;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form-box button:hover {
  background-color: #444;
}

#footer {
  background-color: #0f0f0f;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
}

.social-icons {
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #42a5f5;
}

#footer p {
  font-size: 14px;
  color: #aaa;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.project-box {
  background-color: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(66, 165, 245, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #fff;
  width: 300px;
}

.project-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-title {
  padding: 15px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.project-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(66, 165, 245, 0.3);
}
