/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 0 1rem;
}
body {
  background-image: url('cover-bg.jpg'); /* Adjust path if needed */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff; /* Ensure text remains readable */
}
section {
  background-color: rgba(0, 0, 0, 0.4); /* Adds subtle background to content boxes */
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}




:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #007acc;
}

body.dark {
  --bg: #121212;
  --text: #f0f0f0;
  --accent: #1e90ff;
}

header, footer {
  background-color: var(--accent);
  color: white;
  padding: 1rem;
  text-align: center;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 1rem;
  margin-top: 0.5rem;
}

nav a, #theme-toggle {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 5px;
}

#theme-toggle:hover {
  background-color: #005f99;
}

main {
  max-width: 960px;
  margin: auto;
  padding: 2rem 0;
}

.section {
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease-in;
}

.project-card {
  background-color: rgba(0, 122, 204, 0.05);
  padding: 1rem;
  border: 1px solid var(--accent);
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

form button {
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #005f99;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    font-size: 0.9rem;
  }
} 
.hero {
  position: relative;
  height: 300px;
  background-image: url('cover.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Medium transparency */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 10px;
  object-fit: cover;
}

.text-content h1 {
  font-size: 2rem;
  margin: 0;
}

.text-content p {
  margin: 5px 0 0;
  font-size: 1.1rem;
}
.social-links {
  text-align: center;
  padding: 20px;
  background-color: #111; /* Same as contact background */
}

.social-links a {
  color: #ffffff;
  font-size: 28px;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.social-links a:hover:nth-child(1) {
  color: #0A66C2; /* LinkedIn */
}
.social-links a:hover:nth-child(2) {
  color: #1DA1F2; /* Twitter */
}
.social-links a:hover:nth-child(3) {
  color: #E1306C; /* Instagram */
}
.social-links a:hover:nth-child(4) {
  color: #1877F2; /* GitHub */
}
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #2196F3;  /* Customize color */
  border-radius: 50%;
  pointer-events: none;  /* So it doesn’t block clicks */
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  z-index: 9999;
}


