@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --accent: #ec4899;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f1f5f9;
  --text: #1e293b;
  --text-light: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --youtube: #ff0000;
  --facebook: #1877f2;
  --instagram: #e1306c;
  --medium: #03814c;
}

/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--light);
  transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* ========== SECTION SHARED ========== */
section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, var(--darker) 0%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent);
  top: -200px;
  right: -200px;
  border-radius: 50%;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  width: 400px;
  height: 400px;
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 30px;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.5;
}

/* ========== ABOUT ========== */
.about {
  background: var(--dark);
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  background: rgba(99, 102, 241, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.info-item span {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--light);
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  color: var(--primary);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

/* ========== EXPERIENCE ========== */
.experience {
  background: linear-gradient(135deg, var(--darker) 0%, #1e1b4b 50%, var(--darker) 100%);
}

.experience-item {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.3s;
}

.experience-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.experience-item h2 {
  font-size: 1.5rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.experience-item h3 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.experience-item p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

/* ========== CERTIFICATES ========== */
.certificates {
  background: var(--dark);
}

.certificates-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.certificate-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.certificate-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

/* PDF Embed Wrapper */
.cert-embed-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

/* Overlay buttons appear on hover */
.cert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.88), rgba(139, 92, 246, 0.88));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.35s;
  flex-wrap: wrap;
}

.certificate-card:hover .cert-overlay {
  opacity: 1;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  cursor: pointer;
}

.cert-link:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.cert-link--download:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Bottom info row */
.cert-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
}

.cert-icon-small {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.cert-info h3 {
  font-size: 1.05rem;
  color: var(--light);
  margin: 0;
}

/* ========== MY PROJECTS ========== */
.myprojects {
  background: linear-gradient(135deg, var(--darker) 0%, #1e1b4b 50%, var(--darker) 100%);
}

.projects-filter {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--light);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: white;
  box-shadow: 0 5px 20px rgba(99, 102, 241, 0.35);
}

.myprojects-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.myproject-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
}

.myproject-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.2);
}

.myproject-card.hidden {
  display: none;
}

.myproject-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.myproject-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.myproject-card:hover .myproject-image img {
  transform: scale(1.1);
}

.myproject-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.88), rgba(236, 72, 153, 0.88));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.myproject-card:hover .myproject-overlay {
  opacity: 1;
}

.myproject-link {
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  transition: all 0.3s;
}

.myproject-link:hover {
  transform: scale(1.15) rotate(10deg);
  background: var(--accent);
  color: white;
}

.myproject-info {
  padding: 2rem;
}

.myproject-category {
  margin-bottom: 0.75rem;
}

.myproject-category span {
  padding: 0.3rem 0.9rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.myproject-info h3 {
  color: var(--light);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.myproject-info p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.myproject-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.myproject-tags span {
  padding: 0.35rem 0.9rem;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ========== BEYOND CODE / CREATIVE ========== */
.creative {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.creative .section-header {
  position: relative;
  z-index: 1;
}

.creative-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Card base */
.creative-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}

/* Ambient glow behind each card */
.creative-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.25;
  top: -80px;
  right: -80px;
  transition: opacity 0.4s;
  pointer-events: none;
}

.creative-glow--music    { background: #a855f7; }
.creative-glow--writing  { background: var(--medium); }
.creative-glow--photo    { background: var(--instagram); }

.creative-card:hover .creative-glow {
  opacity: 0.4;
}

/* Icon circle */
.creative-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  transition: transform 0.4s;
}

.creative-icon-wrap--music   { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.creative-icon-wrap--writing { background: linear-gradient(135deg, #10b981, #059669); }
.creative-icon-wrap--photo   { background: linear-gradient(135deg, #ec4899, #f43f5e); }

.creative-card:hover .creative-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

/* Hover border glow */
.creative-music:hover  { border-color: #a855f7; box-shadow: 0 20px 50px rgba(168, 85, 247, 0.25); }
.creative-writing:hover { border-color: var(--medium); box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25); }
.creative-photo:hover  { border-color: var(--instagram); box-shadow: 0 20px 50px rgba(227, 48, 108, 0.25); }

.creative-card:hover {
  transform: translateY(-8px);
}

.creative-card h3 {
  font-size: 1.4rem;
  color: var(--light);
  margin-bottom: 0.75rem;
}

.creative-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* Social platform links */
.creative-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.creative-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--light);
  transition: all 0.3s;
}

.creative-link i {
  font-size: 1rem;
}

/* Per-platform hover colours */
.creative-link--youtube:hover {
  background: var(--youtube);
  border-color: var(--youtube);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
}

.creative-link--facebook:hover {
  background: var(--facebook);
  border-color: var(--facebook);
  color: #fff;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.creative-link--instagram:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(227, 48, 108, 0.4);
}

.creative-link--medium:hover {
  background: var(--medium);
  border-color: var(--medium);
  color: #fff;
  box-shadow: 0 6px 20px rgba(3, 129, 76, 0.35);
}

/* ========== SERVICES ========== */
.projects {
  background: linear-gradient(135deg, var(--darker) 0%, #1e1b4b 50%, var(--darker) 100%);
}

.projects-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.2);
}

.project-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(236, 72, 153, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.project-link:hover {
  transform: scale(1.2);
}

.project-info {
  padding: 2rem;
}

.project-info h3 {
  color: var(--light);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.project-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tags span {
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--dark);
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-item i {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail-item h4 {
  color: var(--light);
  margin-bottom: 0.25rem;
}

.detail-item p {
  color: var(--text-light);
  margin: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
  padding: 0 0.2rem;
  
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light);
  font-weight: 600;
  padding-left: 0.2rem;
  
}
/* ========== CONTACT FORM FIELDS ========== */

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--light);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Shared input + textarea base */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--light);
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  line-height: 1.6;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

/* Focus state */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.07);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12),
              0 4px 20px rgba(99, 102, 241, 0.1);
}

/* Valid (filled) state */
.form-group input:not(:placeholder-shown):valid,
.form-group textarea:not(:placeholder-shown):valid {
  border-color: rgba(16, 185, 129, 0.5);
}

/* Textarea specific */
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Helper description */
.fs-description {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  padding-left: 0.25rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fs-description::before {
  content: '\f05a'; /* fa-info-circle */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.72rem;
  color: var(--primary);
  opacity: 0.8;
}

/* Submit button override (fits inside the form card) */
.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
  border-radius: 14px;
  font-size: 1rem;
  letter-spacing: 0.3px;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.contact-form .btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.contact-form .btn-primary:hover::after {
  left: 160%;
}

.contact-form .btn-primary i {
  transition: transform 0.3s ease;
}

.contact-form .btn-primary:hover i {
  transform: translateX(4px) rotate(-30deg);
}