@import url("https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

:root {
  --primary-color: #ff4f81; /* Rose Pink */
  --secondary-color: #ffb6b9; /* Soft Coral */
  --color-black: #1c1c1e; /* Deep Gray */
  --color-accent: #2c2c2e; /* Slate */
  --color-white: #f9f9f9; /* Light Background */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Chivo", sans-serif;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 28px;
}
h4 {
  font-size: 24px;
}
h5 {
  font-size: 18px;
}
p {
  font-size: 16px;
}
a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--color-white);
  background-color: #1a1a1d;
}

/* Buttons */
button,
.btn {
  outline: none;
  border: none;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content; 
}
.btn-primary {
  background: linear-gradient(45deg, #ff4f81, #ffb6b9);
  color: white;
  border: 2px solid #ff4f81;
}

.btn-primary:hover {
  background-color: #ffb6b9;
  color: black;
  box-shadow: 0 0 10px #ffb6b9;
}

nav,
section {
  padding: 16px 160px;
  margin-bottom: 48px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav h3 {
  color: var(--primary-color);
  font-size: 32px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 16px;
}
nav ul a {
  text-decoration: none;
  font-size: 20px;
}
/* Navbar Title Hover Effect with Glow */
nav h3 {
  color: #ffb6b9;
  display: inline-block;
  transition: all transform 0.3s ease-in-out;
  cursor: pointer;
  font-size: 2rem;
  text-shadow: 0 0 10px #ff4f81, 0 0 20px #ff4f81, 0 0 30px #ff4f81;
}

nav h3:hover {
  color: #ff4f81; /* Pinkish */
  transform: scale(1.05);
  text-shadow: 2px 2px 12px rgba(255, 79, 129, 0.6);
}

.hamburger {
  display: none;
}
.hamburger img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

#hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80vh;
  gap: 16px;
}
.hero-image {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border: 5px solid var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 25px 10px rgba(255, 79, 129, 0.8);
  transition: transform 0.3s ease;
  animation: softGlow 2.5s ease-in-out infinite;
}
.hero-image:hover {
  transform: scale(1.05); /* optional subtle zoom on hover */
}

.hero-text {
  display: flex;
  flex-direction: column;
}
.hero-text h2 {
  color: var(--primary-color);
  font-family: "Nunito Sans", sans-serif;
}
.hero-text h2 {
  color: #ffb6b9; /* or your preferred text color */
  text-shadow: 0 0 10px #ff4f81, 0 0 20px #ff4f81, 0 0 30px #ff4f81;
}

.hero-text span {
  font-weight: 500;
}
.hero-text span,
.hero-desc {
  font-size: 20px;
  margin-bottom: 15px;
}
.hero-desc {
  max-width: 600px;
}

/* Projects Section */
.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
p.sub-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  opacity: 0.9;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.project-card {
  background-color: #2c2c2e;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(255, 79, 129, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  animation: softGlow 2.5s ease-in-out infinite;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 79, 129, 0.5);
}
.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.project-card:hover 
.project-image img {
  transform: scale(1.1);
}
.card-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title {
  font-family: "Chivo", sans-serif;
  font-size: 22px;
  color: var(--primary-color);
  font-weight: 700;
}
.card-description {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white);
}
.project-card a {
  align-self: flex-start;
  margin-top: 10px;
  padding: 6px 12px;
  font-family: "Chivo", sans-serif;
  font-weight: 600;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  box-shadow: inset 10px 0 0 var(--primary-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.project-card a:hover {
  background-color: var(--secondary-color);
  color: black;
  box-shadow: inset 10px 0 0 var(--secondary-color);
}

/* About Section */
section#about {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#about .details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
}
#about .about-img {
  border-radius: 50%;
  height: 300px;
  width: 300px;
  object-fit: cover;
  border: 5px solid var(--primary-color);
}
#about .about-img {
  border-radius: 50%;
  height: 300px;
  width: 300px;
  object-fit: cover;
  border: 5px solid var(--primary-color);
  box-shadow: 0 0 25px 10px rgba(255, 79, 129, 0.6);
  transition: transform 0.3s ease;
  animation: softGlow 2.5s ease-in-out infinite;
}


#about .about-img:hover {
  transform: scale(1.05); /* optional subtle zoom on hover */
}


#about .social-links {
  display: flex;
  gap: 8px;
}
#about .social-links img {
  width: 36px;
  transition: transform 0.3s ease;
  animation: softGlow 2.5s ease-in-out infinite;
}


/* Contact Section */
#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: radial-gradient(circle at 1px 1px, #2c2c2e 1px, transparent 0);
  background-size: 20px 20px;
  padding: 40px 20px;
  min-height: 100vh;
}

.contact-form h2 {
  font-size: 36px;
  color: var(--color-white);
  text-shadow: 0 0 10px #ff4f81, 0 0 20px #ff4f81, 0 0 30px #ff4f81;
  margin-bottom: 10px;
  text-align: center;
  font-family: "Chivo", sans-serif;
}

.contact-form p {
  font-size: 16px;
  text-align: center;
  color: #ccc;
  margin-bottom: 30px;
}
.contact-form {
  background-color: var(--color-accent);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 25px 10px rgba(255, 79, 129, 0.8);
  max-width: 500px;
  width: 100%;
  animation: softGlow 2.5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px 12px rgba(255, 79, 129, 0.9);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-white);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: #2e2e2e;
  border: 1px solid #444;
  border-radius: 8px;
  margin-bottom: 20px;
  color: var(--color-white);
  transition: border 0.3s, box-shadow 0.3s;
  font-size: 16px;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid var(--primary-color);
  outline: none;
  box-shadow: 0 0 8px rgba(255, 79, 129, 0.4);
}

.contact-form button {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: var( #ff4f81, #ffb6b9);
  color: black;
  box-shadow: 0 0 10px var(--secondary-color);
  transform: scale(1.03);
}
#contact {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}



/* Footer */
section#footer {
  margin-bottom: 10px;
  text-align: center;
  font-size: 16px;
  color: var(--secondary-color);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  background-color: var(--primary-color);
  padding: 24px 48px;
  z-index: 999;
  display: none;
}
.sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
.sidebar-menu {
  position: relative;
  width: 100%;
}
.sidebar .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
}
.active {
  display: flex;
}

/* Responsive Design */
@media (max-width: 1280px) {
  nav,
  section {
    padding-inline: 24px;
  }
  h2 {
    font-size: 28px;
  }
  p {
    font-size: 14px;
  }
  .hero-text span,
  .hero-desc {
    font-size: 14px;
  }
  .hero-desc {
    max-width: 400px;
  }
  .hero-image {
    height: 300px;
    width: 300px;
  }
  #hero {
    min-height: 60vh;
  }
  .project-list {
    grid-template-columns: repeat(2, 300px);
    place-content: center;
  }
}
@media (max-width: 700px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
  }
}
@media (max-width: 680px) {
  .project-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.hero-text h2 {
  display: inline-block;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.hero-text h2:hover {
  color: #ff4f81;
  transform: scale(1.05);
  text-shadow: 2px 2px 12px rgba(255, 79, 129, 0.6);
}
/* Glowing text headings */
#projects .title h2,
#about h4,
#contact .title h2 {
  text-shadow: 0 0 10px #ff4f81, 0 0 20px #ff4f81, 0 0 30px #ff4f81;
}
/* Glowing effect for nav links */
nav ul li a {
  text-shadow: 0 0 5px #ff4f81, 0 0 10px #ff4f81, 0 0 15px #ff4f81;
}
/* Education Section */
#education {
  padding: 16px 160px;
  margin-bottom: 48px;
}

#education .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

#education .edu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Responsive stacking on smaller screens */
@media (max-width: 768px) {
  #education .edu-list {
    grid-template-columns: 1fr;
  }
}

.edu-card {
  background-color: #2c2c2e;
  padding: 24px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 79, 129, 0.3);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: softGlow 2.5s ease-in-out infinite;}
.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 79, 129, 0.4);

}
.edu-card h4 {
  color: var(--primary-color);
  font-size: 22px;
}
.edu-meta {
  font-size: 16px;
  color: #ccc;
  margin: 8px 0;
}
.edu-desc {
  font-size: 16px;
  color: var(--color-white);
}
#education .title h2 {
  text-shadow: 0 0 10px #ff4f81, 0 0 20px #ff4f81, 0 0 30px #ff4f81;
  color: var(--color-white);
}

@keyframes softGlow {
  0% {
    box-shadow: 0 0 20px rgba(255, 79, 129, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 79, 129, 0.8);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 79, 129, 0.5);
  }
  }
