/* CSS Reset & Base Styles */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg-primary: #000000;
      --bg-secondary: #0a0a0a;
      --bg-tertiary: #141414;
      --text-primary: #ffffff;
      --text-secondary: #a3a3a3;
      --text-muted: #737373;
      --border-color: #262626;
      --accent-subtle: #1a1a1a;
      --accent-purple: #7c3aed;
      --accent-cyan: #06b6d4;
      --accent-blue: #3b82f6;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* Typography */
    h1, h2, h3, h4, h5, h6 {
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    .mono {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.9em;
      letter-spacing: 0.02em;
    }

    /* Layout */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .section {
      padding: 4rem 0;
    }

    /* Header */
    header {
      border-bottom: 1px solid var(--border-color);
      padding: 1.5rem 0;
      position: sticky;
      top: 0;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1000;
    }

    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo-section {
      display: flex;
      align-items: center;
      gap: 1rem;
      text-decoration: none;
      color: var(--text-primary);
    }

    .header-logo {
      position: relative;
      width: 48px;
      height: 48px;
      border-radius: 16px;
      overflow: hidden;
      background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
      padding: 2px;
      box-shadow: 0 8px 32px rgba(255, 255, 255, 0.05);
    }

    .header-logo-inner {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 14px;
      overflow: hidden;
      background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    }

    .header-logo-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 14px;
      filter: saturate(0.8) contrast(1.1) brightness(1.1);
      transition: transform 0.3s ease;
    }

    .header-logo:hover .header-logo-img {
      transform: scale(1.05);
    }

    .header-logo::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
      border-radius: 16px;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 2;
    }

    .header-logo:hover::before {
      opacity: 1;
    }

    .header-logo-fallback {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffffff;
      background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
      border-radius: 14px;
    }

    .logo-text h3 {
      font-size: 1rem;
      font-weight: 600;
    }

    .logo-text p {
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    /* Navigation */
    nav {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    .nav-link {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 500;
      transition: all 0.3s ease;
      position: relative;
    }
    
    .nav-link:hover {
      color: var(--text-primary);
    }
    
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #ffffff, #a3a3a3);
      transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
      width: 100%;
    }

    /* Mobile Menu Styles */
    .mobile-menu-btn {
      display: none;
      background: transparent;
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      padding: 0.5rem 1rem;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.9rem;
      transition: all 0.3s;
      z-index: 1001;
      position: relative;
    }

    .mobile-menu-btn:hover {
      background: var(--accent-subtle);
      border-color: var(--text-secondary);
    }

    .mobile-nav {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.98);
      padding-top: 80px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
      z-index: 997;
      overflow-y: auto;
      height: 100vh;
    }

    .mobile-nav.active {
      opacity: 1;
      visibility: visible;
    }

    .mobile-nav a {
      display: block;
      padding: 1.25rem 1.5rem;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 1.125rem;
      font-weight: 500;
      transition: all 0.2s;
      border-bottom: 1px solid var(--border-color);
      text-align: left;
    }

    .mobile-nav a:hover {
      color: var(--text-primary);
      background: var(--accent-subtle);
    }

    .mobile-nav a:last-child {
      border-bottom: none;
    }

    /* Hero Section */
    .hero {
      padding: 6rem 0 4rem;
      text-align: center;
    }

    /* Updated Profile Container - Black/White/Grey Gradient */
    .profile-container {
      position: relative;
      width: 220px;
      height: 220px;
      margin: 0 auto 2rem auto;
      border-radius: 28px;
      background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 25%, #737373 50%, #404040 75%, #000000 100%);
      padding: 4px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .profile-container::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 35%, 
        rgba(200, 200, 200, 0.2) 40%, 
        rgba(255, 255, 255, 0.3) 45%, 
        transparent 50%);
      animation: shimmer 3s linear infinite;
      border-radius: 28px;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
      100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }

    .profile-inner {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 24px;
      background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      z-index: 2;
    }

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  filter: saturate(0.9) contrast(1.05) brightness(1.05);
  opacity: 1;  /* Changed from 0 to 1 */
  transition: opacity 0.3s ease;
}

    .profile-image.loaded {
      opacity: 1;
    }

    .profile-placeholder {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 4rem;
      font-weight: 700;
      color: #737373;
      opacity: 0.7;
    }

    .hero h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      letter-spacing: -0.03em;
    }

    .hero .subtitle {
      font-size: 1.125rem;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto 2rem;
      line-height: 1.7;
    }

    .hero .subtitle strong {
      color: var(--text-primary);
      font-weight: 600;
    }

    .cta-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin: 2rem 0;
      flex-wrap: wrap;
    }

    .btn {
      padding: 0.875rem 1.75rem;
      border-radius: 6px;
      font-size: 0.95rem;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.2s;
      display: inline-block;
      cursor: pointer;
    }

    .btn-primary {
      background: var(--text-primary);
      color: var(--bg-primary);
      border: 1px solid var(--text-primary);
    }

    .btn-primary:hover {
      background: var(--text-secondary);
      border-color: var(--text-secondary);
    }

    .btn-secondary {
      background: transparent;
      color: var(--text-primary);
      border: 1px solid var(--border-color);
    }

    .btn-secondary:hover {
      border-color: var(--text-secondary);
      background: var(--accent-subtle);
    }

    .tags {
      display: flex;
      gap: 0.75rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .tag {
      padding: 0.5rem 1rem;
      border: 1px solid var(--border-color);
      border-radius: 20px;
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    /* Enhanced Connect Section - Compact Layout */
    .connect {
      padding: 3rem 0;
      border-top: 1px solid var(--border-color);
      text-align: center;
    }

    .connect-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      justify-content: center;
      align-items: center;
      max-width: 600px;
      margin: 2rem auto 0;
    }

    /* Compact Connect Button Styles */
.connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-width: 110px;
  margin-right: 12px; /* space between buttons */
}

    .connect-btn svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    .connect-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
      transition: left 0.5s ease;
    }

    .connect-btn:hover::before {
      left: 100%;
    }

    /* LinkedIn Button */
    .linkedin-btn {
      background: linear-gradient(135deg, rgba(10, 102, 194, 0.15), rgba(10, 102, 194, 0.05));
      border-color: rgba(10, 102, 194, 0.3);
      width: 90px;
      height: 45px;
      color: #60a5fa;
    }

    .linkedin-btn:hover {
      background: linear-gradient(135deg, rgba(10, 102, 194, 0.25), rgba(10, 102, 194, 0.15));
      border-color: rgba(10, 102, 194, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(10, 102, 194, 0.2);
    }

    /* GitHub Button */
    .github-btn {
      background: linear-gradient(135deg, rgba(88, 166, 255, 0.15), rgba(88, 166, 255, 0.05));
      border-color: rgba(88, 166, 255, 0.3);
       width: 90px;
      height: 45px;
      color: #58a6ff;
    }

    .github-btn:hover {
      background: linear-gradient(135deg, rgba(88, 166, 255, 0.25), rgba(88, 166, 255, 0.15));
      border-color: rgba(88, 166, 255, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(88, 166, 255, 0.2);
    }

    /* Email Button */
    .email-btn {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
      border-color: rgba(139, 92, 246, 0.3);
      width: 90px;
      height: 45px;
      color: #a78bfa;
    }

    .email-btn:hover {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.15));
      border-color: rgba(139, 92, 246, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
    }

    /* AIxRobo Button */
    .aixrobo-btn {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
      border-color: rgba(6, 182, 212, 0.3);
      width: 90px;
      height: 45px;
      color: #67e8f9;
    }

    .aixrobo-btn:hover {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.15));
      border-color: rgba(6, 182, 212, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
    }

    /* Resume Button */
    .resume-btn {
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05));
      border-color: rgba(249, 115, 22, 0.3);
      width: 95px;
      height: 50px;
      color: #fb923c;
    }

    .resume-btn:hover {
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(249, 115, 22, 0.15));
      border-color: rgba(249, 115, 22, 0.5);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
    }

    /* About Section */
    .about {
      border-top: 1px solid var(--border-color);
    }

    .section-title {
      font-size: 2rem;
      text-align: center;
      margin-bottom: 3rem;
      font-weight: 600;
    }

    .about-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .about-content p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      font-size: 1.05rem;
      line-height: 1.8;
    }

    .about-content strong {
      color: var(--text-primary);
      font-weight: 600;
    }

    /* Skills Grid */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .skill-card {
      padding: 2rem;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      background: var(--bg-secondary);
      transition: border-color 0.2s;
    }

    .skill-card:hover {
      border-color: var(--text-muted);
    }

    .skill-card h3 {
      font-size: 1.125rem;
      margin-bottom: 1rem;
      font-weight: 600;
    }

    .skill-card p {
      color: var(--text-secondary);
      margin-bottom: 1rem;
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .skill-tag {
      padding: 0.375rem 0.75rem;
      background: var(--bg-tertiary);
      border-radius: 4px;
      font-size: 0.8rem;
      color: var(--text-secondary);
    }

    /* Experience Section */
    .experience {
      border-top: 1px solid var(--border-color);
    }

    .experience-list {
      max-width: 900px;
      margin: 0 auto;
    }

    .experience-item {
      padding-left: 1.5rem;
      border-left: 2px solid;
      margin-bottom: 2.5rem;
      position: relative;
    }

    .experience-item::before {
      content: '';
      position: absolute;
      left: -5px;
      top: 0;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
    }

    .experience-item.violet { border-color: #7c3aed; color: #7c3aed; }
    .experience-item.cyan { border-color: #06b6d4; color: #06b6d4; }
    .experience-item.blue { border-color: #3b82f6; color: #3b82f6; }
    .experience-item.orange { border-color: #f97316; color: #f97316; }
    .experience-item.emerald { border-color: #10b981; color: #10b981; }

    .experience-item h4 {
      font-size: 1.125rem;
      margin-bottom: 0.5rem;
      color: var(--text-primary);
      font-weight: 600;
    }

    .experience-item p {
      color: var(--text-secondary);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-top: 0.75rem;
    }

    .research-paper {
      background: rgba(15, 23, 42, 0.5);
      padding: 1rem;
      border-radius: 6px;
      border: 1px solid var(--border-color);
      margin-top: 1rem;
    }

    .research-paper p:first-child {
      font-size: 0.8rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text-secondary);
    }

    .research-paper p.title {
      font-size: 0.95rem;
      color: #06b6d4;
      font-weight: 600;
      margin: 0;
    }

    .research-paper p.description {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-top: 0.5rem;
    }

    .skill-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.75rem;
    }

    .skill-badge {
      padding: 0.375rem 0.75rem;
      background: rgba(59, 130, 246, 0.1);
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 4px;
      font-size: 0.8rem;
      color: #60a5fa;
    }

    .skill-badge.orange {
      background: rgba(249, 115, 22, 0.1);
      border-color: rgba(249, 115, 22, 0.2);
      color: #fb923c;
    }

    .achievement-list {
      margin-top: 0.75rem;
      font-size: 0.85rem;
    }

    .achievement-list div {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 0.5rem;
      color: var(--text-secondary);
    }

    .achievement-list span:first-child {
      color: #f97316;
    }

    /* Education Section */
    .education {
      border-top: 1px solid var(--border-color);
    }

    .education-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.5rem;
      max-width: 1000px;
      margin: 0 auto;
    }
    
 

    .education-card {
      padding: 1.75rem;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6)); 
      transition: all 0.3s;
    }

    .education-card:hover {
      border-color: var(--text-muted);
      transform: translateY(-2px);
    }

    .education-card h3 {
      font-size: 1.125rem;
      margin-bottom: 0.75rem;
      color: var(--text-primary);
    }

    .education-card .degree {
      color: var(--text-secondary);
      font-size: 0.95rem;
      font-weight: 500;
      margin-bottom: 1rem;
    }

    .education-card .focus {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.6;
      padding-top: 0.75rem;
      border-top: 1px solid var(--border-color);
    }

    .education-card .focus strong {
      color: var(--text-secondary);
    }

    /* Projects */
    .projects {
      border-top: 1px solid var(--border-color);
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
    }

    .project-card {
      padding: 2rem;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      background: var(--bg-secondary);
      transition: border-color 0.2s;
    }

    .project-card:hover {
      border-color: var(--text-muted);
    }

    .project-card h3 {
      font-size: 1.25rem;
      margin-bottom: 1rem;
      font-weight: 600;
    }

    .project-card > p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      line-height: 1.7;
    }

    .project-card h4 {
      font-size: 0.9rem;
      margin-bottom: 0.75rem;
      color: var(--text-secondary);
      font-weight: 600;
    }

    .project-card ul {
      list-style: none;
      margin-bottom: 1.5rem;
    }

    .project-card ul li {
      color: var(--text-secondary);
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      padding-left: 1rem;
      position: relative;
    }

    .project-card ul li::before {
      content: '•';
      position: absolute;
      left: 0;
      color: var(--text-muted);
    }

    /* 🌐 Gallery Section */
.gallery {
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

/* Subtitle */
.gallery-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
  letter-spacing: 0.5px;
}

/* Responsive Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

/* Card Container */
.client-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.client-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

/* Image Wrapper */
.client-image-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.client-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.client-card:hover .client-img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Overlay (on hover) */
.client-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(59, 130, 246, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  backdrop-filter: blur(5px);
}

.client-card:hover .client-overlay {
  opacity: 1;
}

/* Overlay Content */
.client-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease-in-out;
}

.client-card:hover .client-overlay-content {
  transform: translateY(0);
}

.overlay-icon {
  width: 40px;
  height: 40px;
  stroke-width: 2.5;
}

.overlay-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Project Info */
.client-info {
  padding: 1.25rem 1.5rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  text-align: center;
  transition: background 0.3s ease;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.client-type {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

/* Hover subtle glow on name */
.client-card:hover .client-name {
  color: rgb(124, 58, 237);
}

/* ✨ Mobile Responsive */
@media (max-width: 768px) {
  .gallery {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .client-image-wrapper {
    height: 220px;
  }

  .client-name {
    font-size: 1rem;
  }

  .overlay-text {
    font-size: 0.9rem;
  }
}


    /* Contact */
    .contact {
      border-top: 1px solid var(--border-color);
    }

    .contact-form {
      max-width: 700px;
      margin: 0 auto;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-group.full {
      grid-column: 1 / -1;
    }

    label {
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      color: var(--text-secondary);
    }

    input, textarea {
      padding: 0.875rem;
      border: 1px solid var(--border-color);
      border-radius: 6px;
      background: var(--bg-secondary);
      color: var(--text-primary);
      font-family: inherit;
      font-size: 0.95rem;
      transition: border-color 0.2s;
    }

    input:focus, textarea:focus {
      outline: none;
      border-color: var(--text-secondary);
    }

    textarea {
      resize: vertical;
      min-height: 150px;
    }

    .submit-btn {
      width: 100%;
      margin-top: 1rem;
    }

    .contact-info {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .contact-info-item {
      padding: 1.5rem;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      text-align: center;
      background: var(--bg-secondary);
    }

    .contact-info-item h4 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
      font-weight: 600;
    }

    .contact-info-item p {
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border-color);
      padding: 3rem 0;
      text-align: center;
      margin-top: 4rem;
    }

    footer h3 {
      font-size: 1.125rem;
      margin-bottom: 0.5rem;
    }

    footer p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
    }

    .footer-links {
      display: flex;
      gap: 2rem;
      justify-content: center;
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
    }

    .footer-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: var(--text-primary);
    }

    footer .mono {
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      nav {
        display: none;
      }

      .mobile-menu-btn {
        display: block;
      }

      .mobile-nav {
        display: block;
      }

      .section {
        padding: 2.5rem 0;
      }

      .hero {
        padding: 3rem 0 2rem;
      }

      .profile-container {
        width: 180px;
        height: 180px;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .hero .subtitle {
        font-size: 0.95rem;
      }

      .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
      }

      .about-content p {
        font-size: 0.95rem;
      }

      .skill-card h3,
      .project-card h3,
      .experience-item h4 {
        font-size: 1rem;
      }

      .skill-card p,
      .project-card > p,
      .experience-item p {
        font-size: 0.9rem;
      }

      .cta-buttons {
        flex-direction: column;
        align-items: stretch;
      }

      .connect-buttons {
        max-width: 100%;
        gap: 0.5rem;
      }

      .connect-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
      }

      .connect-btn svg {
        width: 14px;
        height: 14px;
      }

      .skills-grid,
      .projects-grid {
        grid-template-columns: 1fr;
      }

      .education-grid {
        grid-template-columns: 1fr;
      }

      .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .logo-text h3 {
        font-size: 0.9rem;
      }

      .logo-text p {
        font-size: 0.75rem;
      }

      .tags {
        font-size: 0.8rem;
      }

      .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 1rem;
      }

      .hero h1 {
        font-size: 1.75rem;
      }

      .hero .subtitle {
        font-size: 0.9rem;
      }

      .section-title {
        font-size: 1.35rem;
      }

      .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
      }

      .connect-btn {
        padding: 0.65rem 0.9rem;
        font-size: 0.8rem;
      }

      .gallery-grid {
        grid-template-columns: 1fr;
      }
    }

