/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
/* Sections */
.section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 1000px;
  color: white;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f9f9f9;
  padding-top: 80px;
  /*Sunset Pink
  background: linear-gradient(to right, #fbc2eb, #a6c1ee);
  color: #222;*/
  /*Purple Haze
  background: linear-gradient(120deg, #7f00ff, #e100ff);
  color: #f0f0f0;*/
  /*Emerald Green
  background: linear-gradient(to right, #43cea2, #185a9d);
  color: white;*/
  /*Colourful Gradient*/
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  color: white;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: #d8cfcfac;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #000000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

/* Hero */
/* Hero Section */
.hero {
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  color: white;
  max-width: 1100px;
  margin: 2rem auto;
}

.hero-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight-name {
  color: #000000;
}

.typed-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-img img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
   margin-top: 1rem;
  border: 4px solid #ffffff44;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Buttons reused from earlier */

.about-title {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.about-title h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.about-title h2 {
  font-size: 2rem;
  font-weight: 800;
}

.bold-text {
  color: #222;
}

.highlight-text {
  color: #fffefe;
}
/* Buttons */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #000000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #000000;
}

.btn.outline {
  background: transparent;
  border: 2px solid #000000;
  color: #000000;
}

.btn.outline:hover {
  background: #000000;
  color: white;
}

/* About + Skills Section */
.about-skills-section {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  padding: 4rem 3rem;
  background-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 1100px;
  flex-direction: row;
  color: white;
}

.about-left,
.about-right {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
}

.about-left h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.about-left p {
  text-align: justify;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #eee;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2rem;
}

.info-grid p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  margin: 0;
  white-space: nowrap;
}

.about-right h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.skill {
  margin-bottom: 1.5rem;
}

.skill-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.bar {
  height: 12px;
  width: 100%;
  background-color: #eee;
  border-radius: 6px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background-color: #000000;
  border-radius: 6px;
  transition: width 0.6s ease-in-out;
}

/* Projects */
.projects-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr); /* default mobile */
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: #f1f1f1;
  padding: 1.5rem;
  border-left: 4px solid #000000;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.project-card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #ddd;
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #444;
  line-height: 1.6;
}

.project-card a {
  font-size: 0.9rem;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  margin-right: 1rem;
}

.project-card a:hover {
  text-decoration: underline;
}
.timeline-section {
  padding: 3rem 2rem;
  background: #fff;
  max-width: 1000px;
  margin: auto;
  background: rgba(255, 255, 255, 0.373);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  color: white;
}
.timeline {
  border-left: 3px solid #000000;
  padding-left: 2rem;
}
.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  width: 15px;
  height: 15px;
  background: #000000;
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: 5px;
}
.timeline-content h3 {
  font-size: 1.2rem;
  margin: 0;
}
.timeline-content .date {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.more-about-section {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  color: white;
  max-width: 1100px;
  margin: 2rem auto;
  gap: 2rem;
}

.more-about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .more-about-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.more-about-text {
  flex: 1;
}

.more-about-text h2 {
  font-size: 2.2rem;
  color: #000000;
  margin-bottom: 1rem;
}

.more-about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #000000;
  text-align: justify;
}

.more-about-info {
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  color: white;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-item {
  font-size: 0.95rem;
  color: #f2ecec;
  font-weight: 500;
  min-width: 45%;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.632);
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  font-weight: bold;
  transition: 0.2s ease;
}

.lightbox-close:hover {
  color: #ffffff;
}
/* Contact */
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background: #000000;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #222;
  color: #fff;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

/* Button group */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .about-skills-section {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
a {
  color: #00ffd5;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
input, textarea {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
}

.contact-section {
  background: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 1000px;
}
.contact-icons {
  margin-top: 1rem;
}
.contact-icons a {
  font-size: 1.5rem;
  color: #000000;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-icons a:hover {
  color: #000000;
}
