/* Minimalist dark theme and layout */
body.dark-theme {
  background: #181a20;
  color: #f3f3f3;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
section {
  padding: 80px 20px 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(120deg, #23243a 60%, #181a20 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-content h1 {
  font-size: 3rem;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}
.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #7ee787;
  margin: 0 0 20px 0;
}
.hero-content p {
  font-size: 1.1rem;
  color: #b3b3b3;
}
.clouds {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.cloud {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  filter: blur(8px);
}
.cloud1 {
  width: 220px; height: 90px;
  top: 20%; left: 10%;
}
.cloud2 {
  width: 300px; height: 120px;
  top: 40%; left: 60%;
}
.cloud3 {
  width: 180px; height: 70px;
  top: 70%; left: 30%;
}
#about, #projects, #contact {
  background: #20222b;
  border-radius: 18px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
}
#about h2, #projects h2, #contact h2 {
  color: #7ee787;
  margin-top: 0;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.project-card {
  background: #23243a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 #7ee78733;
}
.project-card img {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
}
.project-info {
  padding: 18px 16px 16px 16px;
}
.project-info h3 {
  margin: 0 0 8px 0;
  color: #7ee787;
}
.project-info a {
  color: #7ee787;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.project-info a:hover {
  color: #fff;
}
.project-tags {
  margin: 10px 0 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-tags span {
  background: #23243a;
  color: #7ee787;
  font-size: 0.92rem;
  padding: 3px 10px;
  border-radius: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 4px 0 #7ee78722;
  transition: background 0.2s, color 0.2s;
}
body.light-theme .project-tags span {
  background: #e6ffe6;
  color: #1e7e34;
  box-shadow: 0 1px 4px 0 #1e7e3422;
}
.social-links a {
  color: #7ee787;
  margin-right: 18px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.social-links a:hover {
  color: #fff;
}
/* Navbar styles */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(24,26,32,0.96);
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
  z-index: 100;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
body.light-theme .navbar {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 16px 0 rgba(30,126,52,0.10);
  border-bottom: 2px solid #1e7e34;
}
body.light-theme .nav-logo {
  color: #1e7e34;
  text-shadow: 0 2px 8px #7ee78744;
}
body.light-theme .nav-links li a {
  color: #23243a;
}
body.light-theme .nav-links li a.active, body.light-theme .nav-links li a:hover {
  color: #1e7e34;
  border-bottom: 2px solid #1e7e34;
  background: #e6ffe6;
  border-radius: 2px;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #7ee787;
  letter-spacing: 2px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #f3f3f3;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links li a:hover, .nav-links li a.active {
  color: #7ee787;
  border-bottom: 2px solid #7ee787;
}
body {
  padding-top: 64px;
}
/* Reviews section */
#reviews {
  background: #23243a;
  border-radius: 18px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
  padding-bottom: 32px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.review-card {
  background: #20222b;
  border-radius: 12px;
  padding: 24px 18px 18px 18px;
  color: #f3f3f3;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  font-size: 1.08rem;
  position: relative;
}
.review-card span {
  display: block;
  margin-top: 12px;
  color: #7ee787;
  font-size: 0.98rem;
  font-style: italic;
}
/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto 24px auto;
  background: #23243a;
  padding: 32px 24px 24px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
}
.contact-form input,
.contact-form textarea {
  background: #20222b;
  border: none;
  border-radius: 8px;
  padding: 12px;
  color: #f3f3f3;
  font-size: 1rem;
  resize: none;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px #7ee78755;
  background: #23243a;
}
.contact-form button {
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.contact-form button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(90deg, #7ee787 0%, #5fd17e 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(.77,0,.18,1), height 0.4s cubic-bezier(.77,0,.18,1);
  z-index: -1;
  opacity: 0.18;
}
.contact-form button:hover::before {
  width: 220%;
  height: 600%;
  opacity: 0.22;
}
.contact-form button:active {
  transform: scale(0.97);
}
.contact-form .animated-contact {
  animation: contactFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
@keyframes contactFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.form-status {
  min-height: 20px;
  font-size: 0.98rem;
  color: #7ee787;
  margin-top: 8px;
}
.projects-logo {
  font-size: 1.5em;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 2px 8px #7ee78755);
}
.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(120deg, #23243a 60%, #181a20 100%);
  box-shadow: 0 2px 12px 0 #7ee78722;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
}
.project-card:hover .project-image-wrapper img {
  transform: scale(1.06) rotate(-1deg);
}
.project-logo {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 2.1em;
  background: rgba(24,26,32,0.85);
  border-radius: 50%;
  padding: 6px 10px 4px 10px;
  box-shadow: 0 2px 8px 0 #7ee78744;
  pointer-events: none;
  transition: background 0.3s;
}
.project-card:hover .project-logo {
  background: #7ee787;
  color: #23243a;
}
body.light-theme .project-logo {
  background: rgba(255,255,255,0.85);
  color: #1e7e34;
}
body.light-theme .project-card:hover .project-logo {
  background: #1e7e34;
  color: #fff;
}
.add-review-btn {
  margin: 32px auto 0 auto;
  display: block;
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px 0 #7ee78722;
}
.add-review-btn:hover {
  background: #5fd17e;
  color: #fff;
  transform: scale(1.04);
}
.add-review-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #23243a;
  padding: 24px 18px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  animation: contactFadeIn 1.1s cubic-bezier(.77,0,.18,1);
}
.add-review-form input,
.add-review-form textarea {
  background: #20222b;
  border: none;
  border-radius: 8px;
  padding: 10px;
  color: #f3f3f3;
  font-size: 1rem;
  resize: none;
}
.add-review-form input:focus,
.add-review-form textarea:focus {
  outline: 2px solid #7ee787;
}
.add-review-form button {
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.add-review-form button:hover {
  background: #5fd17e;
  color: #fff;
}
body {
  padding-top: 64px;
}
/* Reviews section */
#reviews {
  background: #23243a;
  border-radius: 18px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
  padding-bottom: 32px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.review-card {
  background: #20222b;
  border-radius: 12px;
  padding: 24px 18px 18px 18px;
  color: #f3f3f3;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  font-size: 1.08rem;
  position: relative;
}
.review-card span {
  display: block;
  margin-top: 12px;
  color: #7ee787;
  font-size: 0.98rem;
  font-style: italic;
}
/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto 24px auto;
  background: #23243a;
  padding: 32px 24px 24px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
}
.contact-form input,
.contact-form textarea {
  background: #20222b;
  border: none;
  border-radius: 8px;
  padding: 12px;
  color: #f3f3f3;
  font-size: 1rem;
  resize: none;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px #7ee78755;
  background: #23243a;
}
.contact-form button {
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.contact-form button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(90deg, #7ee787 0%, #5fd17e 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(.77,0,.18,1), height 0.4s cubic-bezier(.77,0,.18,1);
  z-index: -1;
  opacity: 0.18;
}
.contact-form button:hover::before {
  width: 220%;
  height: 600%;
  opacity: 0.22;
}
.contact-form button:active {
  transform: scale(0.97);
}
.contact-form .animated-contact {
  animation: contactFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
@keyframes contactFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.form-status {
  min-height: 20px;
  font-size: 0.98rem;
  color: #7ee787;
  margin-top: 8px;
}
.projects-logo {
  font-size: 1.5em;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 2px 8px #7ee78755);
}
.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(120deg, #23243a 60%, #181a20 100%);
  box-shadow: 0 2px 12px 0 #7ee78722;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
}
.project-card:hover .project-image-wrapper img {
  transform: scale(1.06) rotate(-1deg);
}
.project-logo {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 2.1em;
  background: rgba(24,26,32,0.85);
  border-radius: 50%;
  padding: 6px 10px 4px 10px;
  box-shadow: 0 2px 8px 0 #7ee78744;
  pointer-events: none;
  transition: background 0.3s;
}
.project-card:hover .project-logo {
  background: #7ee787;
  color: #23243a;
}
body.light-theme .project-logo {
  background: rgba(255,255,255,0.85);
  color: #1e7e34;
}
body.light-theme .project-card:hover .project-logo {
  background: #1e7e34;
  color: #fff;
}
.add-review-btn {
  margin: 32px auto 0 auto;
  display: block;
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px 0 #7ee78722;
}
.add-review-btn:hover {
  background: #5fd17e;
  color: #fff;
  transform: scale(1.04);
}
.add-review-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #23243a;
  padding: 24px 18px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  animation: contactFadeIn 1.1s cubic-bezier(.77,0,.18,1);
}
.add-review-form input,
.add-review-form textarea {
  background: #20222b;
  border: none;
  border-radius: 8px;
  padding: 10px;
  color: #f3f3f3;
  font-size: 1rem;
  resize: none;
}
.add-review-form input:focus,
.add-review-form textarea:focus {
  outline: 2px solid #7ee787;
}
.add-review-form button {
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.add-review-form button:hover {
  background: #5fd17e;
  color: #fff;
}
body {
  padding-top: 64px;
}
/* Reviews section */
#reviews {
  background: #23243a;
  border-radius: 18px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
  padding-bottom: 32px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.review-card {
  background: #20222b;
  border-radius: 12px;
  padding: 24px 18px 18px 18px;
  color: #f3f3f3;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  font-size: 1.08rem;
  position: relative;
}
.review-card span {
  display: block;
  margin-top: 12px;
  color: #7ee787;
  font-size: 0.98rem;
  font-style: italic;
}
/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto 24px auto;
  background: #23243a;
  padding: 32px 24px 24px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
}
.contact-form input,
.contact-form textarea {
  background: #20222b;
  border: none;
  border-radius: 8px;
  padding: 12px;
  color: #f3f3f3;
  font-size: 1rem;
  resize: none;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px #7ee78755;
  background: #23243a;
}
.contact-form button {
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.contact-form button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(90deg, #7ee787 0%, #5fd17e 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(.77,0,.18,1), height 0.4s cubic-bezier(.77,0,.18,1);
  z-index: -1;
  opacity: 0.18;
}
.contact-form button:hover::before {
  width: 220%;
  height: 600%;
  opacity: 0.22;
}
.contact-form button:active {
  transform: scale(0.97);
}
.contact-form .animated-contact {
  animation: contactFadeIn 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
@keyframes contactFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.form-status {
  min-height: 20px;
  font-size: 0.98rem;
  color: #7ee787;
  margin-top: 8px;
}
.projects-logo {
  font-size: 1.5em;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 2px 8px #7ee78755);
}
.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(120deg, #23243a 60%, #181a20 100%);
  box-shadow: 0 2px 12px 0 #7ee78722;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
}
.project-card:hover .project-image-wrapper img {
  transform: scale(1.06) rotate(-1deg);
}
.project-logo {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 2.1em;
  background: rgba(24,26,32,0.85);
  border-radius: 50%;
  padding: 6px 10px 4px 10px;
  box-shadow: 0 2px 8px 0 #7ee78744;
  pointer-events: none;
  transition: background 0.3s;
}
.project-card:hover .project-logo {
  background: #7ee787;
  color: #23243a;
}
body.light-theme .project-logo {
  background: rgba(255,255,255,0.85);
  color: #1e7e34;
}
body.light-theme .project-card:hover .project-logo {
  background: #1e7e34;
  color: #fff;
}
.add-review-btn {
  margin: 32px auto 0 auto;
  display: block;
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px 0 #7ee78722;
}
.add-review-btn:hover {
  background: #5fd17e;
  color: #fff;
  transform: scale(1.04);
}
.add-review-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #23243a;
  padding: 24px 18px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  animation: contactFadeIn 1.1s cubic-bezier(.77,0,.18,1);
}
.add-review-form input,
.add-review-form textarea {
  background: #20222b;
  border: none;
  border-radius: 8px;
  padding: 10px;
  color: #f3f3f3;
  font-size: 1rem;
  resize: none;
}
.add-review-form input:focus,
.add-review-form textarea:focus {
  outline: 2px solid #7ee787;
}
.add-review-form button {
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.add-review-form button:hover {
  background: #5fd17e;
  color: #fff;
}
@media (max-width: 900px) {
  section {
    max-width: 98vw;
    margin-left: 1vw;
    margin-right: 1vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .nav-container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 700px) {
  .nav-container { padding: 0 8px; }
  .nav-links { gap: 16px; }
}
@media (max-width: 600px) {
  .nav-container { padding: 0 8px; }
  .nav-links { gap: 16px; }
  .hero-content h1 { font-size: 2rem; }
  section { padding: 48px 8px 32px 8px; }
  .projects-grid { gap: 16px; }
  .nav-logo { font-size: 1rem; }
  .nav-links { font-size: 0.95rem; }
  .reviews-grid { gap: 12px; }
  section {
    padding: 36px 2vw 24px 2vw;
    margin-left: 0;
    margin-right: 0;
  }
  .nav-container {
    padding: 0 2vw;
  }
  .projects-grid, .reviews-grid {
    gap: 10px;
  }
  .contact-form {
    padding: 18px 6px 12px 6px;
  }
  .add-review-form {
    padding: 12px 4px 10px 4px;
  }
}
/* Theme toggle styles */
.theme-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 18px;
  color: #7ee787;
  transition: color 0.2s, transform 0.2s;
  padding: 4px 8px;
  border-radius: 50%;
}
.theme-toggle:hover {
  color: #fff;
  background: #23243a;
  transform: scale(1.12) rotate(-10deg);
}
.theme-icon {
  pointer-events: none;
}
/* Light theme styles */
body.light-theme {
  background: #f3f3f3;
  color: #23243a;
}
body.light-theme section,
body.light-theme #about, body.light-theme #projects, body.light-theme #reviews, body.light-theme #contact {
  background: #fff;
  color: #23243a;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.06);
}
body.light-theme .navbar {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
}
body.light-theme .nav-logo, body.light-theme .nav-links li a.active, body.light-theme .nav-links li a:hover, body.light-theme .project-info h3, body.light-theme .review-card span, body.light-theme .social-links a {
  color: #1e7e34;
}
body.light-theme .project-card {
  background: #f3f3f3;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
}
body.light-theme .review-card {
  background: #f9f9f9;
  color: #23243a;
}
body.light-theme .contact-form {
  background: #f3f3f3;
}
body.light-theme .contact-form input,
body.light-theme .contact-form textarea {
  background: #fff;
  color: #23243a;
}
body.light-theme .contact-form button {
  background: #1e7e34;
  color: #fff;
}
body.light-theme .contact-form button:hover {
  background: #7ee787;
  color: #23243a;
}
body.light-theme .cloud {
  background: rgba(30,126,52,0.10);
}
/* Fancier cloud and hero animations */
@keyframes cloudFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}
.cloud {
  animation: cloudFloat 8s ease-in-out infinite alternate;
  box-shadow: 0 8px 32px 0 #7ee78722;
  opacity: 0.85;
}
.cloud1 { animation-delay: 0s; }
.cloud2 { animation-delay: 2s; }
.cloud3 { animation-delay: 4s; }
.hero-content h1 {
  animation: fadeInDown 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
.hero-content h2 {
  animation: fadeInDown 1.2s cubic-bezier(.77,0,.18,1) 0.5s both;
}
.hero-content p {
  animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.8s both;
}
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Custom animated mouse pointer */
.cursor-dot, .cursor-outline {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s, border 0.2s;
}
.cursor-dot {
  width: 10px; height: 10px;
  background: #7ee787;
  mix-blend-mode: difference;
}
.cursor-outline {
  width: 36px; height: 36px;
  border: 2px solid #7ee787;
  background: transparent;
  transition: border-color 0.2s, width 0.2s, height 0.2s;
}
body.light-theme .cursor-dot {
  background: #1e7e34;
}
body.light-theme .cursor-outline {
  border-color: #1e7e34;
}
/* Extra section and card animations */
section, .project-card, .review-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
section.visible, .project-card.visible, .review-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Footer styles */
.footer {
  width: 100%;
  background: #181a20;
  color: #b3b3b3;
  text-align: center;
  padding: 28px 8px 18px 8px;
  font-size: 1rem;
  margin-top: 32px;
  border-top: 1.5px solid #23243a;
  letter-spacing: 0.02em;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.footer a {
  color: #7ee787;
  text-decoration: none;
  margin-left: 6px;
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
}
body.light-theme .footer {
  background: #fff;
  color: #23243a;
  border-top: 1.5px solid #e6ffe6;
}
body.light-theme .footer a {
  color: #1e7e34;
}
body.light-theme .footer a:hover {
  color: #7ee787;
}
@media (max-width: 600px) {
  .footer-content {
    font-size: 0.95rem;
    padding: 0 2vw;
  }
}
/* Modal styles for Tic-Tac-Toe */
.modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,26,32,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.modal-content {
  background: #23243a;
  border-radius: 16px;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 8px 32px 0 #7ee78733;
  min-width: 320px;
  max-width: 95vw;
  min-height: 320px;
  position: relative;
  text-align: center;
}
.close-modal {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 2rem;
  color: #7ee787;
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #fff;
}
#tic-tac-toe-board {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  grid-template-rows: repeat(3, 64px);
  gap: 8px;
  justify-content: center;
  margin: 24px auto 12px auto;
}
.tic-cell {
  width: 64px; height: 64px;
  background: #181a20;
  border-radius: 10px;
  font-size: 2.2rem;
  color: #7ee787;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #7ee78722;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  user-select: none;
}
.tic-cell:hover {
  background: #23243a;
  color: #fff;
  transform: scale(1.08);
}
#tic-tac-toe-status {
  min-height: 28px;
  color: #7ee787;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
#tic-tac-toe-restart {
  background: #7ee787;
  color: #181a20;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}
#tic-tac-toe-restart:hover {
  background: #5fd17e;
  color: #fff;
}
@media (max-width: 600px) {
  .modal-content { min-width: 90vw; padding: 16px 4px 12px 4px; }
  #tic-tac-toe-board { grid-template-columns: repeat(3, 48px); grid-template-rows: repeat(3, 48px); }
  .tic-cell { width: 48px; height: 48px; font-size: 1.4rem; }
}
/* Skills/Tech Stack section styles */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  justify-content: center;
  margin: 32px 0 0 0;
}
.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #7ee787;
  background: #23243a;
  border-radius: 12px;
  padding: 18px 18px 10px 18px;
  box-shadow: 0 2px 12px 0 #7ee78722;
  min-width: 90px;
  min-height: 90px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.skill-item:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 32px 0 #7ee78733;
  background: #20222b;
}
.skill-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 8px #7ee78744);
}
@media (max-width: 700px) {
  .skills-grid { gap: 16px 12px; }
  .skill-item { min-width: 70px; min-height: 70px; padding: 10px 8px 6px 8px; }
  .skill-item img { width: 28px; height: 28px; }
}
