/* ==================== VARIABLES ==================== */
:root {
  /* Colors - Light Theme */
  --bg-color: #f7f9fc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --primary-color: #4f46e5;
  --primary-color-hover: #4338ca;
  --accent-soft: #eef2ff;
  --border-color: #e2e8f0;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Layout */
  --sidebar-width: 380px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 12px;
  --transition: all 0.3s ease;
}

/* Dark Theme overrides */
body.dark-theme {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary-color: #6366f1;
  --primary-color-hover: #818cf8;
  --accent-soft: #334155;
  --border-color: #334155;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.4s ease;
}

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

ul {
  list-style: none;
}

/* ==================== LAYOUT ==================== */
.layout-container {
  display: flex;
  max-width: 1400px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1.5rem;
  gap: 2rem;
  align-items: stretch;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  /* Removed sticky positioning so it scrolls with the page */
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-img-box {
  width: 150px;
  height: 150px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--accent-soft);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.profile-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 0.9rem;
  background: var(--accent-soft);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 500;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  border: none;
  margin: 2rem 0;
}

/* Contact List */
.contact-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-box {
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: var(--transition);
}

.contact-item:hover .icon-box {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.3s;
}

.contact-item:hover .contact-value {
  color: var(--primary-color);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
  flex: 1;
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
}

/* Top Navigation */
.top-nav {
  position: absolute;
  top: 2.2rem;
  left: 3rem;
  z-index: 10;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

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

@media screen and (max-width: 768px) {
  .top-nav {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
  }
}

.theme-toggle-wrapper {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.theme-toggle {
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  color: var(--primary-color);
  transform: rotate(15deg);
}

/* ==================== HERO SECTION ==================== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-data {
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.wave {
  display: inline-block;
  animation: wavePulse 2.5s infinite;
  transform-origin: 70% 70%;
}

@keyframes wavePulse {
  0% { transform: rotate( 0.0deg) }
  10% { transform: rotate(14.0deg) }
  20% { transform: rotate(-8.0deg) }
  30% { transform: rotate(14.0deg) }
  40% { transform: rotate(-4.0deg) }
  50% { transform: rotate(10.0deg) }
  60% { transform: rotate( 0.0deg) }
  100% { transform: rotate( 0.0deg) }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.typing-text {
  color: var(--primary-color);
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-graphics {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dev-bg {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: radial-gradient(circle at center, #6c63ff22 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 65%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, black 65%, transparent 100%);
}

.code {
  position: absolute;
  font-size: 22px;
  font-weight: 600;
  color: rgba(120, 120, 255, 0.5);
  animation: float 10s infinite linear;
}

.code:nth-child(1){ left:10%; top:20%; animation-duration:12s;}
.code:nth-child(2){ left:70%; top:40%; animation-duration:9s;}
.code:nth-child(3){ left:30%; top:70%; animation-duration:14s;}
.code:nth-child(4){ left:80%; top:10%; animation-duration:11s;}
.code:nth-child(5){ left:55%; top:60%; animation-duration:13s;}
.code:nth-child(6){ left:20%; top:45%; animation-duration:10s;}

@keyframes float {
  0%   { transform: translateY(0px); opacity: 0.5; }
  50%  { transform: translateY(-25px); opacity: 1.0; }
  100% { transform: translateY(0px); opacity: 0.5; }
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.4);
}

.btn-icon {
  margin-left: 0.5rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Hero Scroll */
.hero-scroll {
  margin-top: 5rem;
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.scroll-btn:hover {
  color: var(--primary-color);
  transform: translateY(3px);
}

.scroll-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
  color: var(--primary-color);
  animation: bounce 2s infinite;
}

.scroll-text {
  font-weight: 500;
  margin-right: 0.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Hero Social Mini Links */
.hero-social-mini {
  display: flex;
  gap: 1rem;
}

.social-mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--text-main);
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.social-mini-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ==================== ABOUT SECTION ==================== */
.section {
  padding: 4rem 0;
}

#about {
  margin-top: calc(5rem + 50px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#what-doing, #expertise {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.about-img {
  width: 100%;
  max-width: 350px;
  border-radius: var(--border-radius-md);
  justify-self: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.about-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.about-info-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.about-info-name {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.about-buttons {
  display: flex;
  justify-content: flex-start;
}

/* ==================== RESPONSIVE ==================== */
@media screen and (max-width: 1024px) {
  .layout-container {
    flex-direction: column;
    padding: 1rem;
    margin: 1rem auto;
  }
  
  .sidebar {
    width: 100%;
    position: static;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-description {
    text-align: center;
  }

  .about-info {
    justify-content: center;
    gap: 2rem;
  }

  .about-buttons {
    justify-content: center;
  }
}

/* ==================== WHAT I'M DOING & EXPERTISE ==================== */
.what-doing-container,
.expertise-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 950px;
}

.what-doing-content,
.expertise-content {
  background: var(--bg-color); /* To contrast with var(--card-bg) */
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-hover:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.what-doing-header,
.expertise-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.what-doing-title,
.expertise-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.what-doing-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* New Premium Tech Tags Design */
.expertise-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: var(--accent-soft);
  padding: 0.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  background: var(--bg-color);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

@media screen and (min-width: 768px) {
  .what-doing-container,
  .expertise-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== FULL WIDTH LAYOUT ==================== */
.full-width-container {
  width: 100%;
  background-color: transparent;
  padding-bottom: 4rem;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==================== WORK EXPERIENCE TIMELINE ==================== */
#experience {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-container {
  position: relative;
  max-width: 1300px;
  margin: 1rem auto 0;
  padding: 2rem 0;
}

/* The vertical line in the middle */
.timeline-container::after {
  display: none; /* Replaced by individual item segments */
}

/* Instead, draw the line from each item to the next */
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border-color);
  top: 40px; /* start at current dot center */
  height: 100%;
  z-index: 0;
}

.timeline-item.left::before {
  right: -2px;
}

.timeline-item.right::before {
  left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  animation: slideInUp 0.8s ease forwards;
  opacity: 0;
}

/* Left items */
.timeline-item.left {
  left: 0;
}

/* Right items */
.timeline-item.right {
  left: 50%;
}

/* The timeline icon acting as the node */
.timeline-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--primary-color);
  border: 4px solid var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 2;
}

.timeline-item.left .timeline-icon {
  right: -22px;
  top: 18px;
}

.timeline-item.right .timeline-icon {
  left: -22px;
  top: 18px;
}

.timeline-content {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  position: relative;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

/* Pointer arrow for cards */
.timeline-content::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  top: 30px;
  border-style: solid;
}

.timeline-item.left .timeline-content::after {
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent var(--border-color);
}

.timeline-item.right .timeline-content::after {
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent var(--border-color) transparent transparent;
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Removed the inline icon styles from header */

.timeline-title-wrap {
  flex-grow: 1;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.timeline-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-list li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  top: -2px;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animations automatically */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

/* Timeline Responsiveness */
@media screen and (max-width: 768px) {
  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 29px;
    right: auto;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-item.left .timeline-icon,
  .timeline-item.right .timeline-icon {
    left: 9px;
    right: auto;
  }
}

/* ==================== CONTACT SECTION ==================== */
#contact {
  margin-top: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-underline {
  width: 40px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 4px;
  margin: 0 auto 3rem;
}

.contact-map {
  width: 100%;
  height: 350px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  margin-bottom: 2rem;
}

/* .contact-wrapper-box {
  background: var(--accent-soft);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  max-width: 1280px; /* Increased to keep input widths extended */
  /* margin: 0 auto;
  box-sizing: border-box; 
} */ */

.contact-container {
  width: 100%;
}

/* Split Layout for Desktop */
@media screen and (min-width: 992px) {
  .contact-container.split-layout {
    display: grid;
    grid-template-columns: 4fr 6fr; /* Give more structured width to right side */
    gap: 2.5rem; /* Reduced gap slightly to give more room to right items */
    align-items: center; 
  }

  .contact-map-wrapper {
    min-width: 0; 
  }

  .contact-details-wrapper {
    min-width: 0; 
  }

  .contact-map {
    width: 100%;
    height: auto; 
    aspect-ratio: 1 / 1; /* Responsive perfect square */
    margin: 0 auto; 
  }
}

/* Info Cards Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 600px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--card-bg); /* Changed to card-bg (white) */
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02); /* Added soft shadow */
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05); /* Enhanced hover */
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-card:hover .contact-icon-box {
  background-color: rgba(79, 70, 229, 0.15); /* Slightly darker accent */
}

.contact-card-text {
  min-width: 0; /* allows text to truncate */
}

.contact-card-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-card-link,
.contact-card-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.contact-card:hover .contact-card-link {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 768px) {
  .form-group.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.input-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-textarea {
  resize: vertical;
  height: 180px; /* Fixed height instead of min-height to match map aesthetics */
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px; /* Pill shape */
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  background-color: var(--primary-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

#form-result {
  text-align: center;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .contact-submit-btn {
    align-self: stretch; /* Full width on mobile */
  }
}
