:root {
  --primary-bg: #fff;
  --primary-text: #222;
  --secondary-bg: #f8f9fa;
  --accent: #007bff;
  --accent-light: #66b2ff;
  --home-bg-shape: linear-gradient(120deg, #007bff 60%, #66b2ff 100%);
  --home-bg-shape-dark: linear-gradient(120deg, #23272a 60%, #181a1b 100%);
  --highlight: #007bff;
  --highlight-dark: #66b2ff;
  --cta-btn-bg: linear-gradient(90deg, #007bff 60%, #66b2ff 100%);
  --cta-btn-bg-dark: linear-gradient(90deg, #66b2ff 60%, #23272a 100%);
  --cta-btn-text: #fff;
  --cta-btn-text-dark: #181a1b;
  --social-link-bg: #fff;
  --social-link-bg-dark: #23272a;
  --social-link-text: #007bff;
  --social-link-text-dark: #66b2ff;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--secondary-bg);
  color: var(--primary-text);
}
html {
  scroll-behavior: smooth;
}
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2rem;
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}
nav ul li {
  margin: 0 1.5rem;
}
nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 700;
  transition: color 0.2s;
  position: relative;
  overflow: hidden;
}
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #007bff;
  transform: scaleX(0);
  transition: transform 0.3s;
}
nav ul li a:hover::after {
  transform: scaleX(1);
}
nav ul li a:hover {
  color: #007bff;
  letter-spacing: 1px;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
section {
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  padding: 2rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
}
section:nth-of-type(2) { animation-delay: 0.4s; }
section:nth-of-type(3) { animation-delay: 0.6s; }
section:nth-of-type(4) { animation-delay: 0.8s; }
section:nth-of-type(5) { animation-delay: 1s; }
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}
#home {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 3rem;
  overflow: hidden;
}
#home h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
#home p {
  font-size: 1.2rem;
  color: #555;
}
.social-links {
  margin-top: 1.5rem;
}
.social-links a {
  margin: 0 0.5rem;
  color: #007bff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s, transform 0.2s;
}
.social-links a:hover {
  color: #0056b3;
  transform: scale(1.15) rotate(-3deg);
}
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.project {
  background: #f1f3f6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.project:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,123,255,0.10);
}
.project h3 {
  margin-top: 0;
}
.download-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}
.download-btn:hover {
  background: #0056b3;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,123,255,0.18);
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}
form button {
  padding: 0.75rem;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}
form button:hover {
  background: #0056b3;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,123,255,0.18);
}
#form-message {
  margin-top: 1rem;
  font-weight: 700;
}
footer {
  text-align: center;
  padding: 2rem 0 1rem 0;
  color: #888;
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5rem;
  }
  nav {
    justify-content: center;
  }
  #theme-toggle {
    align-self: flex-end;
    margin-top: 0.5rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  main {
    padding: 0 0.5rem;
  }
  section {
    padding: 1rem;
  }
  #home h1 {
    font-size: 2rem;
  }
}

/* Theme Toggle Button */
#theme-toggle {
  margin-left: 0;
  margin-right: 0;
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  animation: themePulse 2.5s infinite alternate;
}
#theme-toggle:hover {
  color: #007bff;
  transform: scale(1.18) rotate(-18deg);
  animation: none;
}
@keyframes themePulse {
  0% { filter: brightness(1) drop-shadow(0 0 0 #007bff); }
  100% { filter: brightness(1.2) drop-shadow(0 0 8px #66b2ff); }
}

/* Dark Theme Styles */
.dark-theme {
  background: #181a1b;
  color: #f8f9fa;
}
.dark-theme header {
  background: #23272a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.dark-theme section {
  background: #23272a;
  color: #f8f9fa;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.dark-theme .project {
  background: #2c2f33;
}
.dark-theme nav ul li a {
  color: #f8f9fa;
}
.dark-theme nav ul li a:hover {
  color: #66b2ff;
}
.dark-theme .download-btn {
  background: #66b2ff;
  color: #181a1b;
}
.dark-theme .download-btn:hover {
  background: #007bff;
  color: #fff;
}
.dark-theme form input,
.dark-theme form textarea {
  background: #23272a;
  color: #f8f9fa;
  border: 1px solid #444;
}
.dark-theme form button {
  background: #66b2ff;
  color: #181a1b;
}
.dark-theme form button:hover {
  background: #007bff;
  color: #fff;
}
.dark-theme footer {
  color: #bbb;
}

.logo {
  display: flex;
  align-items: center;
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 0;
  color: #007bff;
  text-shadow: 0 2px 8px rgba(0,123,255,0.08);
  text-decoration: none;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,123,255,0.10);
  border: 4px solid #fff;
  background: #e9ecef;
}
.project-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 1rem;
  background: #e9ecef;
  box-shadow: 0 2px 8px rgba(0,123,255,0.06);
}

#skills {
  margin-bottom: 3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  padding: 2rem;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(40px);
  animation-delay: 0.5s;
}
#skills h2 {
  color: #007bff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-align: center;
}
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.skill-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
  color: #007bff;
  letter-spacing: 1px;
}
.skill-bar {
  width: 100%;
  height: 16px;
  background: #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,123,255,0.06);
}
.skill-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #007bff 60%, #66b2ff 100%);
  border-radius: 8px;
  transition: width 1.2s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 2px 8px rgba(0,123,255,0.10);
}

/* Animate skill bars on scroll */
.animated .skill-progress {
  width: var(--progress);
}

@media (max-width: 600px) {
  #skills {
    padding: 1rem;
  }
}

.home-bg-shape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 420px;
  background: var(--home-bg-shape);
  border-bottom-left-radius: 60% 20%;
  border-bottom-right-radius: 60% 20%;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}
.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  animation: homeFadeIn 1.2s 0.2s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes homeFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.profile-img.large {
  width: 160px;
  height: 160px;
  margin-bottom: 1.5rem;
  border: 6px solid #fff;
  box-shadow: 0 8px 32px rgba(0,123,255,0.18);
  animation: floatImg 3.5s ease-in-out infinite alternate;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.profile-img.large:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 12px 48px 0 rgba(0,123,255,0.22), 0 0 24px 8px rgba(102,178,255,0.25);
  border-color: #66b2ff;
  filter: blur(0.5px) drop-shadow(0 0 16px #66b2ff);
}
@keyframes floatImg {
  0% { transform: translateY(0); }
  100% { transform: translateY(-18px); }
}
.wave {
  display: inline-block;
  animation: waveAnim 1.5s infinite alternate;
  font-size: 2.2rem;
  vertical-align: middle;
}
@keyframes waveAnim {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(18deg); }
}
.highlight {
  color: var(--highlight);
  font-weight: 900;
  letter-spacing: 1px;
}
.dark-theme .highlight {
  color: var(--highlight-dark);
}
.subtitle {
  font-size: 1.3rem;
  color: #555;
  margin: 0.5rem 0 1.2rem 0;
  font-weight: 600;
}
.dark-theme .subtitle {
  color: #b3c2d6;
}
.intro {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}
.dark-theme .intro {
  color: #e0e6ed;
}
.cta-btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--cta-btn-bg);
  color: var(--cta-btn-text);
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,123,255,0.13);
  margin-bottom: 2rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  transform: translateY(30px);
  animation: ctaFadeIn 1s 0.8s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes ctaFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.dark-theme .cta-btn {
  background: var(--cta-btn-bg-dark);
  color: var(--cta-btn-text-dark);
}
.social-links.prominent {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  row-gap: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: socialFadeIn 1s 1.1s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes socialFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.dark-theme .social-links.prominent a {
  background: var(--social-link-bg-dark);
  color: var(--social-link-text-dark);
  border: 1px solid #222;
}
.dark-theme .social-links.prominent a:hover {
  background: var(--highlight-dark);
  color: #181a1b;
}
@media (max-width: 700px) {
  .social-links.prominent {
    gap: 0.7rem;
    row-gap: 0.7rem;
  }
  .social-card {
    min-width: 100px;
    font-size: 0.98rem;
    padding: 0.5rem 0.7rem;
  }
}
@media (max-width: 480px) {
  .social-links.prominent {
    gap: 0.3rem;
    row-gap: 0.3rem;
  }
  .social-card {
    min-width: 90px;
    font-size: 0.92rem;
    padding: 0.4rem 0.4rem;
  }
}

.skill-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  animation: skillCardsIn 1.2s 0.3s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes skillCardsIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.skill-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,123,255,0.08);
  padding: 1.2rem 2rem;
  min-width: 120px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s, background 0.2s;
  font-size: 1.1rem;
  position: relative;
  cursor: pointer;
  border: 2px solid #f0f4fa;
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  animation: skillCardPop 0.7s cubic-bezier(.77,0,.18,1) forwards;
}
.skill-card:nth-child(1) { animation-delay: 0.4s; }
.skill-card:nth-child(2) { animation-delay: 0.55s; }
.skill-card:nth-child(3) { animation-delay: 0.7s; }
.skill-card:nth-child(4) { animation-delay: 0.85s; }
.skill-card:nth-child(5) { animation-delay: 1s; }
@keyframes skillCardPop {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.skill-card:hover {
  transform: scale(1.07) translateY(-6px) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(0,123,255,0.16);
  background: #f0f8ff;
  border-color: #66b2ff;
}
.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  width: 40px;
  height: 40px;
}
.skill-icon img {
  max-width: 40px;
  max-height: 40px;
  display: block;
}
.skill-icon i {
  font-size: 40px;
  display: block;
}
.skill-card.html .skill-icon { color: #e44d26; }
.skill-card.css .skill-icon { color: #1572b6; }
.skill-card.js .skill-icon { color: #f7df1e; text-shadow: 0 2px 8px rgba(247,223,30,0.10); }
.skill-card.responsive .skill-icon { color: #007bff; }
.skill-card.dataentry .skill-icon { color: #28a745; }
.skill-card.java .skill-icon { color: #5382a1; }
.skill-card.c .skill-icon { color: #555; }
.skill-name {
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
  font-size: 1.1rem;
}
.dark-theme .skill-card {
  background: #23272a;
  border-color: #222;
  color: #f8f9fa;
}
.dark-theme .skill-name {
  color: #f8f9fa;
}
.dark-theme .skill-icon img {
  filter: brightness(1.2) drop-shadow(0 0 2px #66b2ff);
}
.dark-theme .skill-icon i {
  text-shadow: 0 0 4px #66b2ff;
}
.dark-theme .skill-card:hover {
  background: #181a1b;
  border-color: #66b2ff;
}

.about-bg-shape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 260px;
  background: linear-gradient(120deg, #66b2ff 60%, #007bff 100%);
  border-radius: 0 0 60% 60% / 0 0 20% 20%;
  z-index: 0;
  opacity: 0.10;
  pointer-events: none;
}
#about {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 3rem;
  overflow: hidden;
}
.about-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,123,255,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 540px;
  margin: 2rem auto 0 auto;
  text-align: center;
  animation: fadeInUp 1.2s 0.2s cubic-bezier(.77,0,.18,1) forwards;
  opacity: 0;
  transform: translateY(40px);
}
.about-card h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  color: #007bff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.about-icon {
  font-size: 2.2rem;
  display: inline-block;
  vertical-align: middle;
  animation: waveAnim 1.5s infinite alternate;
}
.about-text {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
}
.about-highlight {
  color: #007bff;
  font-weight: 700;
}
.dark-theme .about-card {
  background: #23272a;
  color: #f8f9fa;
}
.dark-theme .about-text {
  color: #e0e6ed;
}
.dark-theme .about-highlight {
  color: #66b2ff;
}
@media (max-width: 600px) {
  .about-bg-shape {
    height: 120px;
  }
  .about-card {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
  .about-card h2 {
    font-size: 1.3rem;
  }
}

.social-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,123,255,0.08);
  padding: 0.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s, box-shadow 0.22s, background 0.18s;
  min-width: 120px;
  min-height: 48px;
  cursor: pointer;
  border: 2px solid #f0f4fa;
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  animation: socialCardPop 0.7s cubic-bezier(.77,0,.18,1) forwards;
  margin: 0 0.2rem;
}
.social-card:nth-child(1) { animation-delay: 1.2s; }
.social-card:nth-child(2) { animation-delay: 1.3s; }
.social-card:nth-child(3) { animation-delay: 1.4s; }
.social-card:nth-child(4) { animation-delay: 1.5s; }
.social-card:nth-child(5) { animation-delay: 1.6s; }
.social-card:nth-child(6) { animation-delay: 1.7s; }
@keyframes socialCardPop {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.social-card:hover {
  transform: scale(1.07) translateY(-4px) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(0,123,255,0.16);
  background: #f0f8ff;
  border-color: #66b2ff;
}
.dark-theme .social-card {
  background: #23272a;
  border-color: #222;
}
.dark-theme .social-card:hover {
  background: #181a1b;
  border-color: #66b2ff;
}

.dark-theme #skills > h2 {
  color: #000 !important;
}

@media (max-width: 1200px) {
  main {
    max-width: 98vw;
    padding: 0 0.5rem;
  }
  .about-card, .project-list, .skills-list {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .project-list {
    grid-template-columns: 1fr;
  }
  .about-card, .skills-list {
    padding: 1.2rem 0.5rem;
  }
}
@media (max-width: 700px) {
  .home-bg-shape {
    height: 180px;
  }
  #home {
    min-height: 260px;
    padding-top: 1rem;
  }
  .profile-img.large {
    width: 80px;
    height: 80px;
  }
  .about-card {
    padding: 1rem 0.3rem;
  }
  #skills h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .about-card, .skills-list, .project-list {
    padding: 0.5rem 0.1rem;
    max-width: 100vw;
  }
  .profile-img.large {
    width: 60px;
    height: 60px;
  }
  .cta-btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }
  .project-img {
    height: 100px;
  }
}
@media (max-width: 350px) {
  .about-card, .skills-list, .project-list {
    padding: 0.1rem 0.01rem;
  }
  .profile-img.large {
    width: 40px;
    height: 40px;
  }
  .cta-btn {
    padding: 0.3rem 0.3rem;
    font-size: 0.7rem;
  }
}

.social-card i {
  font-size: 2rem;
  color: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  transition: color 0.2s, transform 0.2s;
}
.social-card:hover i {
  color: #0056b3;
  transform: scale(1.18) rotate(-8deg);
}
.dark-theme .social-card i {
  color: #66b2ff;
}
.dark-theme .social-card:hover i {
  color: #fff;
}

.contact-bg-shape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 220px;
  background: linear-gradient(120deg, #66b2ff 60%, #007bff 100%);
  border-radius: 0 0 60% 60% / 0 0 20% 20%;
  z-index: 0;
  opacity: 0.10;
  pointer-events: none;
}
#contact {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 3rem;
  overflow: hidden;
}
.contact-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,123,255,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 540px;
  margin: 2rem auto 0 auto;
  text-align: center;
  animation: fadeInUp 1.2s 0.2s cubic-bezier(.77,0,.18,1) forwards;
  opacity: 0;
  transform: translateY(40px);
}
.contact-card h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  color: #007bff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.contact-icon {
  font-size: 2.2rem;
  display: inline-block;
  vertical-align: middle;
  animation: waveAnim 1.5s infinite alternate;
}
#contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.2rem;
}
#contact input, #contact textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: #f8f9fa;
  color: #222;
  transition: border 0.2s, box-shadow 0.2s;
}
#contact input:focus, #contact textarea:focus {
  border: 1.5px solid #007bff;
  box-shadow: 0 2px 8px rgba(0,123,255,0.10);
  outline: none;
}
#contact button {
  padding: 0.75rem;
  background: linear-gradient(90deg, #007bff 60%, #66b2ff 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,123,255,0.08);
}
#contact button:hover {
  background: linear-gradient(90deg, #0056b3 60%, #007bff 100%);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,123,255,0.18);
}
.dark-theme .contact-card {
  background: #23272a;
  color: #f8f9fa;
}
.dark-theme #contact input, .dark-theme #contact textarea {
  background: #23272a;
  color: #f8f9fa;
  border: 1px solid #444;
}
.dark-theme #contact input:focus, .dark-theme #contact textarea:focus {
  border: 1.5px solid #66b2ff;
  box-shadow: 0 2px 8px rgba(102,178,255,0.10);
}
.dark-theme #contact button {
  background: linear-gradient(90deg, #66b2ff 60%, #23272a 100%);
  color: #181a1b;
}
.dark-theme #contact button:hover {
  background: linear-gradient(90deg, #007bff 60%, #66b2ff 100%);
  color: #fff;
}
@media (max-width: 600px) {
  .contact-bg-shape {
    height: 100px;
  }
  .contact-card {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
  .contact-card h2 {
    font-size: 1.3rem;
  }
}

.hire-btn {
  background: linear-gradient(90deg, #ff9800 60%, #ffb74d 100%);
  color: #fff;
  margin-top: -1.2rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 4px 24px rgba(255,152,0,0.13);
}
.hire-btn:hover {
  background: linear-gradient(90deg, #ffb74d 60%, #ff9800 100%);
  color: #fff;
} 