 :root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #007bff;
  --card: #f9f9f9;
  --link: #007bff;
  --link-hover: #0056b3;
  --btn: #007bff;
  --btn-text: #ffffff;
  --error: #e74c3c;
  --success: #2ecc71;
}

[data-theme="dark"] {
  --bg: #121212;
  --text: #f1f1f1;
  --accent: #00bcd4;
  --card: #1f1f1f;
  --link: #00bcd4;
  --link-hover: #26e1f8;
  --btn: #00bcd4;
  --btn-text: #000000;
  --error: #ff6b6b;
  --success: #2ecc71;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  transition: background 0.3s, color 0.3s;
  padding-bottom: 100px;
}

header {
  background: var(--accent);
  color: #fff;
  padding: 0.1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin-bottom: 0.2rem;
  font-size: 2rem;
}

header p {
  margin-bottom: 1rem;
}

nav {
  margin-bottom: 1rem;
}

nav a {
  color: #fff;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

#toggleTheme {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.project {
  background: var(--card);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.project:hover {
  transform: scale(1.02);
}

.project h3 {
  margin-bottom: 0.5rem;
}

.project a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.project a:hover {
  color: var(--link-hover);
}

form {
  max-width: 600px;
  margin-top: 1rem;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: var(--bg);
  color: var(--text);
  transition: border 0.2s;
}

form input:focus, form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

form button {
  margin-top: 15px;
  padding: 12px 20px;
  background: var(--btn);
  color: var(--btn-text);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: var(--link-hover);
  color: #fff;
}

#formMsg {
  margin-top: 10px;
  font-weight: bold;
}

#formMsg.error {
  color: var(--error);
}

#formMsg.success {
  color: var(--success);
}

footer {
  text-align: center;
  padding: 1rem;
  background: #333;
  color: #fff;
  position: relative;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  padding: 12px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responsive Design */
 @media (max-width: 768px) {
  header h1 {
    font-size: 1.6rem;
  }

  nav a {
    display: block;
    margin: 8px 0;
  }

  #toggleTheme {
    top: 1rem;
    right: 1rem;
  }

  section {
    padding: 1.5rem;
  }
}
.about-section {
  padding: 60px 20px;
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  text-align: center;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--accent-color);
}

.about-text {
  line-height: 1.6;
} 




/* body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}
header {
  background: #1e1e1e;
  color: white;
  padding: 20px 0;
  text-align: center;
  position: relative;
}
header nav a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
header nav a:hover {
  text-decoration: underline;
}
#toggleTheme {
  position: absolute;
  top: 20px;
  right: 20px;
}
.about-section {
  padding: 40px 20px;
  background-color: #fff;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.profile-img {
  width: 180px;
  border-radius: 50%;
  margin: 20px;
}
.about-text {
  max-width: 600px;
  margin: 20px;
}
#skills, #projects, #resume, #contact {
  padding: 40px 20px;
}
.project {
  background-color: #fff;
  padding: 15px;
  margin: 20px 0;
  border-radius: 10px;
  text-align: center;
}
.project img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
form input, form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
}
form button {
  padding: 10px 20px;
  background-color: #1e1e1e;
  color: white;
  border: none;
  cursor: pointer;
}
form button:hover {
  background-color: #333;
}
footer {
  background-color: #1e1e1e;
  color: white;
  text-align: center;
  padding: 20px 0;
}
#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1e1e1e;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 999;
}

.project img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-top: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.project img:hover {
  transform: scale(1.03);
} */







/* .project img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-top: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.project img:hover {
  transform: scale(1.03);
} */



/* Reset and Base */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Theme Toggle */
/* [data-theme="dark"] {
  background-color: #121212;
  color: #e0e0e0;
} */

/* [data-theme="dark"] header,
[data-theme="dark"] footer {
  background-color: #1f1f1f;
  color: #fff;
}

/* Header */
/* header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(to right, #007bff, #00bcd4);
  color: white;
  position: relative;
} */

/* header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header nav {
  margin-top: 1rem;
} */

/* header nav a {
  margin: 0 1rem;
  color: white;
  font-weight: bold;
}

#toggleTheme {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
} */ */

/* Scroll-to-Top Button */
/* #scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 25px;
  font-size: 1.2rem;
  padding: 10px 14px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* About Section */
/* .about-section {
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
} */

/* .about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1000px;
} */ */

/* .profile-img {
  width: 180px;
  border-radius: 50%;
  margin: 20px;
}

.about-text {
  flex: 1;
  min-width: 250px;
  margin: 1rem;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
} */

/* Skills */
/* #skills {
  background-color: #f1f1f1;
  padding: 2rem 1rem;
  text-align: center;
} */

/* #skills h2 {
  margin-bottom: 1.5rem;
}

#skills ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
} */

/* #skills li {
  background: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Projects */
/* #projects {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #ffffff;
} */ */

/* .project {
  background: #f8f8f8;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.project h3 {
  margin-bottom: 0.5rem;
} */

/* .project img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Resume */
/* #resume {
  padding: 2rem 1rem;
  background-color: #f5f5f5;
  text-align: center;
} */ */

/* #resume a {
  display: inline-block;
  margin-top: 1rem;
  background-color: #007bff;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
} */

/* Contact */
/* #contact {
  padding: 2.5rem 1rem;
  text-align: center;
  background-color: #fff;
}

#contact form {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
} */

/* #contact input,
#contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#contact button {
  padding: 0.8rem;
  background-color: #007bff;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
} */

/* Footer */
/* footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
} */

/* Responsive */
/* @media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  header nav a {
    display: inline-block;
    margin: 0.5rem 0.7rem;
  }
} */ */ */
