:root {
  --primary-bg: #f9f9fb;
  --primary-color: #2d2d2d;
  --accent: #6c47ff;
  --accent-gradient: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 100%);
  --shadow: 0 4px 28px rgba(44, 62, 80, 0.12);
  --radius: 18px;
  --transition: 0.3s cubic-bezier(.47,1.64,.41,.8);
  --dark-bg: #191924;
  --dark-color: #fafaff;
}

body {
  font-family: 'Rubik', Arial, sans-serif;
  background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 50%, #6c47ff 100%);
  background-size: 200% 200%;
  animation: animated-bg 10s ease-in-out infinite alternate;
  color: var(--primary-color);
  margin: 0;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}
@keyframes animated-bg {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}



body.dark {
  background: linear-gradient(120deg, #191924 0%, #3a3a60 60%, #6c47ff 100%);
  color: #fafaff;
}

.main-bg-gradient {
  background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 50%, #6c47ff 100%);
  background-size: 200% 200%;
  animation: animated-bg 10s ease-in-out infinite alternate;
}
body.dark {
  background: var(--dark-bg);
  color: var(--dark-color);
}
header {
  box-shadow: var(--shadow);
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 2rem;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 50%, #6c47ff 100%);
  box-shadow: none;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition);
}
.darkmode-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: 1rem;
}

/* Toast Notification Styles */

/* Floating Scroll Button Styles */
.scroll-btn {
  position: fixed;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 20;
  background: linear-gradient(120deg, #8ec5fc 0%, #6c47ff 100%);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 4px 24px #6c47ff33, 0 1.5px 6px #8ec5fc44;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  animation: floatBtn 2.7s ease-in-out infinite alternate;
}
@keyframes floatBtn {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}
.scroll-btn:hover, .scroll-btn:focus {
  background: linear-gradient(120deg, #6c47ff 0%, #8ec5fc 100%);
  box-shadow: 0 8px 32px #6c47ff44, 0 2px 12px #8ec5fc44;
  transform: scale(1.07) translateY(-2px);
}
body.dark .scroll-btn {
  background: linear-gradient(120deg, #3a3a60 0%, #6c47ff 100%);
  color: #fafaff;
}
@media (max-width: 700px) {
  .scroll-btn {
    right: 1rem;
    bottom: 1rem;
    width: 2.7rem;
    height: 2.7rem;
    font-size: 1.2rem;
  }
}

.toast-notification {
  position: static;
  display: block;
  margin: 1.2rem auto 0 auto;
  background: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 100%);
  color: #2d2d2d;
  padding: 1rem 2.2rem;
  border-radius: 1.3rem;
  box-shadow: 0 4px 24px #8ec5fc44, 0 1px 8px #e0c3fc33;
  font-size: 1.13rem;
  font-weight: 500;
  opacity: 1;
  pointer-events: auto;
  width: fit-content;
  animation: bounceToastStatic 2.2s infinite ease-in-out;
  transition: box-shadow 0.3s, background 0.3s;
  text-align: center;
}
@keyframes bounceToastStatic {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 24px #8ec5fc44; }
  20% { transform: translateY(-10px); }
  50% { transform: translateY(6px); box-shadow: 0 12px 32px #8ec5fc44; }
  80% { transform: translateY(-6px); }
}
body.dark .toast-notification {
  background: linear-gradient(90deg, #3a3a60 0%, #6c47ff 100%);
  color: #fafaff;
  box-shadow: 0 4px 24px #3a3a6044, 0 1px 8px #6c47ff33;
}


/* Section Divider Styles */
.section-divider {
  width: 100%;
  max-width: 950px;
  margin: 0 auto 2.5rem auto;
  border: none;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 50%, #6c47ff 100%) 1;
  opacity: 0.8;
  box-shadow: 0 2px 16px #8ec5fc22;
  height: 0;
  position: relative;
  z-index: 10;
}
body.dark .section-divider {
  border-image: linear-gradient(90deg, #6c47ff 0%, #3a3a60 50%, #8ec5fc 100%) 1;
  opacity: 0.85;
}

/* Add extra spacing between sections */
.hero, .about, .projects, .contact {
  margin-bottom: 3.5rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 700px) {
  .hero, .about, .projects, .contact {
    margin-bottom: 2.1rem;
    margin-top: 2.1rem;
  }
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: var(--accent-gradient);
  border-radius: var(--radius);
  margin: 2rem auto;
  max-width: 1000px;
  box-shadow: var(--shadow);
  animation: fadeIn 1.2s;
}
.headline {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent);
  text-align: center;
}
.tagline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-align: center;
}
.see-work {
  padding: 0.7rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.see-work:hover,
.see-work:focus {
  background: #4a2bbf;
  transform: scale(1.06);
}

/* About Section */
.about {
  max-width: 1000px;
  margin: 2.5rem auto 2rem auto;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  border-radius: 2.5rem;
  box-shadow: 0 8px 40px rgba(108,71,255,0.10), var(--shadow);
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.2s;
}

.about-flex {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: stretch;
  justify-content: flex-start;
}

.about-left {
  flex: 1 1 260px;
  max-width: 950px;
  /* min-height: 540px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 60%, #e0c3fc 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 48px 0 rgba(108,71,255,0.18), 0 2px 8px #6c47ff11, var(--shadow);
  padding: 3.5rem 1.2rem 2.8rem 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(18px) saturate(1.3);
  border: 2.5px solid transparent;
  background-clip: padding-box;
  transition: box-shadow 0.35s, border 0.35s;
}

.about-left:hover, .about-left:focus-within {
  box-shadow: 0 16px 56px 0 rgba(108,71,255,0.22), 0 6px 18px #6c47ff33;
  border: 2.5px solid #8ec5fc;
}

.about-left:hover .profile-img, .about-left:focus-within .profile-img {
  object-fit: cover;
  object-position: center 20%; /* Show more of the upper part (face)*/ 
  border: 5px solid #fff;
  box-shadow: 0 8px 32px rgba(108,71,255,0.18), var(--shadow);
  min-width: 100px;
  min-height: 100px;

  border-color: #8ec5fc;
  box-shadow: 0 0 0 6px #e0c3fc77, 0 8px 32px rgba(108,71,255,0.22);
  transform: scale(1.045) rotate(-2deg);
}

.profile-img {
  object-fit: cover;
  object-position: center 20%;  
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #fff;
  box-shadow: 0 8px 32px rgba(108,71,255,0.18), var(--shadow);
  min-width: 100px;
  min-height: 100px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(108,71,255,0.14), var(--shadow);
  border: 5px solid #fff;
  transition: transform var(--transition), border-color 0.3s;
  margin-bottom: 1.2rem;
}

.quick-info h2{
  font-size: 3rem;
  text-shadow: 0 1px 8px #e0c3fc55;
}

.quick-info h2,.subtitle {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  color: #6c47ff;
  margin-bottom: 1.1rem;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
  bottom: 40px;
  /* Remove gradient text for readability*/
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}
.quick-info::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 100%);
  margin: 0.5rem auto 0 auto;
  border-radius: 2px;
  /* position: relative;
  top: 5rem; */
}

.subtitle{
  font-size: 1.5rem;
}

.about-bio {
  font-size: 1.22rem;
  font-family: 'Rubik', 'Segoe UI', Arial, sans-serif;
  color: #2c2453;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 2.5rem 2rem 2.2rem 2.3rem;
  border-radius: 1.7rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 32px 0 rgba(108,71,255,0.12), 0 1px 12px #e0c3fc33;
  text-align: left;
  line-height: 1.5;
  border-left: 7px solid #8ec5fc;
  border-top: 1.8px solid rgba(140, 197, 252, 0.15);
  border-bottom: 1.8px solid rgba(140, 197, 252, 0.13);
  border-right: none;
  letter-spacing: 0.12px;
  min-height: 150px;
  transition: box-shadow 0.35s, background 0.35s, border 0.35s;
  position: relative;
  z-index: 2;
  background-clip: padding-box;
  overflow-wrap: break-word;
}
.about-bio::before {
  content: '\201C';
  font-family: serif;
  font-size: 2.6rem;
  color: #8ec5fc;
  position: absolute;
  left: 1.1rem;
  top: 1.3rem;
  opacity: 0.25;
  z-index: 1;
}
.about-bio:hover, .about-bio:focus {
  box-shadow: 0 12px 44px 0 #8ec5fc44, 0 2px 16px #e0c3fc33;
  background: rgba(255,255,255,0.7);
  border: 2.5px solid #8ec5fc;
}


body.dark .about-bio {
  background: rgba(25,25,36,0.55);
  color: #fafaff;
  border: 1.8px solid rgba(140, 197, 252, 0.22);
}
body.dark .about-bio:hover, body.dark .about-bio:focus {
  background: rgba(25,25,36,0.80);
  box-shadow: 0 12px 44px 0 #6c47ff44, 0 2px 16px #8ec5fc33;
  border: 2.5px solid #6c47ff;
}


.education-card:hover, .education-card:focus {
  background: rgba(255,255,255,0.85) !important;
  box-shadow: 0 12px 44px 0 #8ec5fc44, 0 2px 16px #e0c3fc33;
  border: 2.2px solid #8ec5fc;
}


.about-headline {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 16px rgba(44,62,80,0.12);
  text-align: center;
}

.skills-section h3 {
  color: #6c47ff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.3rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.skills-list li {
  background: rgba(255,255,255,0.18);
  color: #2d2d2d;
  border-radius: 1.2rem;
  box-shadow: 0 2px 14px rgba(44,62,80,0.08);
  padding: 1.1rem 1.5rem;
  font-size: 1.07rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
body.dark .skills-list li {
  color: #fafaff;
  background: rgba(25,25,36,0.25);
}
.skills-list li:hover, .skills-list li:focus {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 22px rgba(108,71,255,0.11);
}

          /* SMALLER SCREENS  */

@media (max-width: 900px) {
  .about-flex {
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
  }
  .about-left, .about-right {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-bottom: 1.2rem !important;
    padding: 0.8rem 0.3rem !important;
    box-shadow: none;
    border-radius: 1.1rem !important;
    min-height: unset !important;
    height: auto !important;
  }
}
@media (max-width: 700px) {
  .about {
    padding: 1.2rem 0.6rem;
    border-radius: 1.2rem;
  }
  .about-flex {
    gap: 1.2rem;
  }
  .about-left, .about-right {
    padding: 0;
    box-shadow: none;
    min-width: 0;
  }
  .education-card {
    padding: 1rem 0.5rem;
    font-size: 0.97rem;
  }
}

@media (max-width: 600px) {
  .about {
    padding: 0.5rem 0.2rem;
  }
  .about-flex {
    gap: 0.7rem;
  }
  .about-left, .about-right {
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }
  .education-card {
    padding: 0.7rem 0.3rem;
    font-size: 0.91rem;
  }
  .darkmode-toggle{
    position: absolute;
    top: 30px;
    right: 20px;
  }
}
@media (max-width: 900px) {
  .about-left {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: unset !important;
    height: auto !important;
    padding: 0.8rem 0.3rem !important;
    margin-bottom: 1.2rem !important;
    box-shadow: none;
    border-radius: 1.1rem !important;
  }
}
@media (max-width: 900px) {
  .about-right {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: unset !important;
    height: auto !important;
    padding: 0.8rem 0.3rem !important;
    margin-bottom: 1.2rem !important;
    box-shadow: none;
    border-radius: 1.1rem !important;
  }
}

@media (max-width: 700px) {
  .about-bio {
    font-size: 1.02rem;
    padding: 1.2rem 0.8rem 1.2rem 1.1rem;
    border-left: 5px solid #8ec5fc;
    border-radius: 1.1rem;
  }
  .about-bio::before {
    font-size: 1.7rem;
    left: 0.5rem;
    top: 0.7rem;
  }
}

@media (max-width: 600px) {
  .about-bio {
    min-height: 170px;
    padding: 1.6rem 0.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .education-card {
    padding: 1rem 0.4rem !important;
    font-size: 0.98rem;
  }
}


@media (max-width: 600px) {
  .about-left {
    min-height: 0;
    padding-top: 2.2rem;
    padding-bottom: 1.2rem;
  }
  .quick-info {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }
  .quick-info::after {
    width: 25px;
    height: 2px;
  }
}

@media (max-width: 900px) {
  .about-left {
    min-height: 0;
    padding-top: 2.2rem;
    padding-bottom: 1.2rem;
  }
} 

/* Projects Section */
.projects {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.projects {
  max-width: 1100px;
  margin: 2.5rem auto 2rem auto;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  border-radius: 2.5rem;
  box-shadow: 0 8px 40px rgba(108,71,255,0.10), var(--shadow);
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.2s;
}
.projects::before, .projects::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
}
.projects::before {
  width: 340px; height: 340px;
  left: -110px; top: -110px;
  background: #6c47ff;
}
.projects::after {
  width: 220px; height: 220px;
  right: -60px; bottom: -60px;
  background: #ffb8e3;
}
.projects h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 16px rgba(44,62,80,0.12);
  position: relative;
  z-index: 1;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.3rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.project-card {
  background: rgba(255,255,255,0.18);
  border-radius: 2rem;
  box-shadow: 0 4px 32px #6c47ff22, var(--shadow);
  padding: 2.2rem 1.3rem 1.3rem 1.3rem;
  transition: transform var(--transition), box-shadow var(--transition), border 0.3s, backdrop-filter 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1.2s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(1.3);
  border: 2px solid rgba(140, 71, 255, 0.08);
}
.project-card:hover, .project-card:focus-within {
  transform: translateY(-10px) scale(1.045);
  box-shadow: 0 12px 48px #6c47ff33, 0 2px 12px #ffb8e344;
  border: 2px solid #6c47ff;
  z-index: 2;
}
.project-card::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #e0c3fc 0%, #8ec5fc 100%);
  opacity: 0.12;
  border-radius: 50%;
  z-index: 0;
}
.project-card:hover,
.project-card:focus-within {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(44,62,80,0.16);
}
.project-img {
  width: 100%;
  max-width: 240px;
  border-radius: 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 32px #6c47ff22, var(--shadow);
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(.47,1.64,.41,.8), box-shadow 0.3s;
  z-index: 1;
  animation: floatImg 3.5s ease-in-out infinite alternate;
}
@keyframes floatImg {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px) scale(1.03); }
}
.project-tags {
  margin: 1rem 0 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-tags::before { display: none; }
.project-tags span, .project-tags {
  background: linear-gradient(90deg, #e0c3fc 0%, #8ec5fc 100%);
  color: #6c47ff;
  font-size: 0.97rem;
  font-weight: 500;
  border-radius: 1.2rem;
  padding: 0.3rem 1.1rem;
  box-shadow: 0 2px 10px #6c47ff11;
  margin: 0 0.2rem 0.2rem 0;
  display: inline-block;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.3rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn:hover,
.btn:focus {
  background: #4a2bbf;
  transform: scale(1.07);
}

/* Contact Section */
.contact {
  max-width: 520px;
  margin: 2.5rem auto 2rem auto;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  border-radius: 2.5rem;
  box-shadow: 0 8px 40px rgba(108,71,255,0.13), var(--shadow);
  padding: 3rem 2.3rem 2.3rem 2.3rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.2s;
}
.contact::before, .contact::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  z-index: 0;
}
.contact::before {
  width: 220px; height: 220px;
  left: -70px; top: -70px;
  background: #6c47ff;
}
.contact::after {
  width: 140px; height: 140px;
  right: -40px; bottom: -40px;
  background: #ffb8e3;
}
.contact h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(44,62,80,0.13);
  position: relative;
  z-index: 1;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.22);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(44,62,80,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  backdrop-filter: blur(6px);
}
#contact-form label {
  font-weight: 500;
  color: #6c47ff;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
#contact-form input,
#contact-form textarea {
  border: 1.5px solid #e0c3fc;
  border-radius: 1.2rem;
  padding: 1rem 1.2rem;
  font-size: 1.07rem;
  font-family: inherit;
  resize: vertical;
  background: rgba(255,255,255,0.33);
  color: #2d2d2d;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 2px 12px rgba(108,71,255,0.06);
}
body.dark #contact-form input,
body.dark #contact-form textarea {
  background: rgba(25,25,36,0.33);
  color: #fafaff;
  border-color: #8ec5fc;
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #6c47ff;
  background: #fff;
  box-shadow: 0 0 0 3px #e0c3fc44;
  outline: none;
}
body.dark #contact-form input:focus,
body.dark #contact-form textarea:focus {
  background: #191924;
  box-shadow: 0 0 0 3px #8ec5fc44;
}
#contact-form button {
  align-self: flex-start;
  background: linear-gradient(90deg, #6c47ff 0%, #ffb8e3 100%);
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 0.7rem 2.3rem;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px #6c47ff22, var(--shadow);
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
}
#contact-form button:hover,
#contact-form button:focus {
  background: linear-gradient(90deg, #ffb8e3 0%, #6c47ff 100%);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px #6c47ff33, 0 4px 24px #ffb8e344;
}
#contact-form input::placeholder, #contact-form textarea::placeholder {
  color: #bbaee0;
  opacity: 1;
}
body.dark #contact-form input::placeholder, body.dark #contact-form textarea::placeholder {
  color: #8ec5fc;
}
@media (max-width: 700px) {
  .contact {
    padding: 1.2rem 0.6rem;
    border-radius: 1.2rem;
  }
  #contact-form {
    padding: 1.2rem 0.5rem 0.5rem 0.5rem;
  }
}


/* Social Icons and Footer (already styled above) */

/* AOS Animations (optional, for custom fade-in if needed) */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}
[data-aos].aos-animate {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    display: none;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 0.5rem;
    padding: 1rem 0;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 20;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hero, .about, .projects, .contact {
    margin: 1rem 0.5rem;
    padding: 1rem;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .about-imgs {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
{max-width: 900px;
  box-shadow: var(--shadow);
  animation: fadeIn 1.2s;
}
.headline {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.tagline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.see-work {
  padding: 0.7rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.see-work:hover,
.see-work:focus {
  background: #4a2bbf;
  transform: scale(1.06);
}
.social-icons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 0.4rem;
}
.social-icons a {
  opacity: 0;
  transform: translateY(30px);
  animation: socialFadeIn 0.7s cubic-bezier(.47,1.64,.41,.8) forwards;
}
.social-icons a:nth-child(1) { animation-delay: 0.08s; }
.social-icons a:nth-child(2) { animation-delay: 0.16s; }
.social-icons a:nth-child(3) { animation-delay: 0.24s; }
.social-icons a:nth-child(4) { animation-delay: 0.32s; }
.social-icons a:nth-child(5) { animation-delay: 0.40s; }
.social-icons a:nth-child(6) { animation-delay: 0.48s; }
.social-icons a:nth-child(7) { animation-delay: 0.56s; }
.social-icons a:nth-child(8) { animation-delay: 0.64s; }
@keyframes socialFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.social-icons a i {
  font-size: 1.7rem;
  transition: transform 0.25s cubic-bezier(.47,1.64,.41,.8), color 0.2s;
}
.social-icons a:hover i,
.social-icons a:focus i {
  animation: socialBounce 0.7s;
  color: #6c47ff;
  transform: scale(1.25) translateY(-5px);
}
@keyframes socialBounce {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.18) translateY(-10px); }
  55% { transform: scale(0.95) translateY(2px); }
  70% { transform: scale(1.13) translateY(-4px); }
  100% { transform: scale(1.25) translateY(-5px); }
}
.social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) brightness(0.7);
  transition: filter var(--transition), transform var(--transition);
}
.social-icons a:hover img,
.social-icons a:focus img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.18);
}
footer {
  text-align: center;
  padding: 1.2rem 0 0.6rem 0;
  background: none;
  color: var(--primary-color);
  font-size: 1rem;
}
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    display: none;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 0.5rem;
    padding: 1rem 0;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 20;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
