/* Dev Patel - AI Automation Portfolio Styles */

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

:root {
  /* Color Palette (Inspired by the Cover Banner: Clean, Light, Professional) */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F5F9;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  
  /* Brand Colors from Banner */
  --banner-orange: #C2410C; /* The orange from "BUSINESS" text and n8n/Zapier */
  --banner-blue: #0284C7;   /* The blue from "BOOST" text and Gemini/GHL */
  --whatsapp-green: #22C55E; /* WhatsApp green */
  --ghl-gold: #EAB308;      /* Go High Level gold/yellow */
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  
  --font-headings: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Overrides (Optional Toggle support) */
[data-theme="dark"] {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #0F172A;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-light: #64748B;
  --border-color: #334155;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--banner-orange);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  height: 70px;
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.85);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--banner-orange);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--banner-orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--banner-orange);
  border-color: var(--banner-orange);
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--banner-orange);
  border-color: var(--banner-orange);
}

.mobile-nav-toggle.open .close-icon {
  display: block !important;
}

.mobile-nav-toggle.open .hamburger-icon {
  display: none !important;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-main);
}

.section-title span {
  color: var(--banner-orange);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px auto;
}

/* Hero Section */
.hero {
  padding-top: 110px;
  padding-bottom: 40px;
}

.profile-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.profile-banner {
  width: 100%;
  height: 250px;
  position: relative;
  background-color: #FFF;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

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

.profile-body {
  padding: 0 40px 40px 40px;
  position: relative;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -75px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid var(--bg-secondary);
  background: var(--bg-tertiary);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--banner-blue), var(--banner-orange));
  color: #FFF;
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-info {
  flex-grow: 1;
}

.profile-name {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.profile-headline {
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 8px;
}

.profile-headline span {
  color: var(--banner-orange);
}

.profile-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.profile-location svg {
  width: 16px;
  height: 16px;
}

.profile-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #FFF;
}

.btn-whatsapp:hover {
  background-color: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.btn-primary {
  background-color: var(--banner-orange);
  color: #FFF;
}

.btn-primary:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.2);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border-color: var(--text-light);
  transform: translateY(-1px);
}

/* Metrics Dashboard */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.metric-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--banner-blue);
  box-shadow: var(--shadow-md);
}

.metric-num {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--banner-blue);
  line-height: 1.2;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Integrations Marquee - Crisp White/Light background */
.integrations-bar {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  margin-bottom: 30px;
}

.marquee-container {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
  padding: 0 15px;
}

.integration-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.integration-logo-item:hover {
  color: var(--text-main);
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

.integration-logo-item svg,
.integration-logo-item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* About / Professional Bio */
.about-grid {
  display: grid;
  grid-template-columns: 3.5fr 2.5fr;
  gap: 40px;
  align-items: start;
}

.about-bio h3 {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.about-bio p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-card {
  padding: 20px;
  display: flex;
  gap: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-2px);
  border-color: var(--banner-orange);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(194, 65, 12, 0.08);
  color: var(--banner-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-content h4 {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.highlight-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Skills Section */
.skills-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skills-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.skills-card h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.skill-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.skill-tag svg,
.skill-tag img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Projects Control Bar */
.projects-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--banner-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--banner-orange);
  border-color: var(--banner-orange);
  color: #FFF;
}

/* Projects Grid & Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--banner-orange);
  box-shadow: var(--shadow-md);
}

.project-visual {
  height: 180px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.3s ease;
}

.project-card:hover .project-visual img {
  transform: scale(1.04);
}

/* Simple fallback diagram inside image container */
.project-fallback-diagram {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.diagram-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.6;
}

.diagram-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
}

.diagram-node {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.diagram-node svg,
.diagram-node img {
  width: 20px;
  height: 20px;
}

.diagram-node.center-node {
  border-color: var(--banner-orange);
  background: rgba(194, 65, 12, 0.04);
  transform: scale(1.1);
}

.diagram-node.center-node svg {
  color: var(--banner-orange);
}

.diagram-line {
  height: 1.5px;
  width: 16px;
  background: var(--border-color);
  position: relative;
}

.project-body-summary {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  color: var(--text-light);
}

.project-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.tech-mini-icons {
  display: flex;
  align-items: center;
}

.tech-mini-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -6px;
  position: relative;
  transition: transform 0.2s ease;
}

.tech-mini-icon:hover {
  transform: translateY(-2px);
  z-index: 5;
}

.tech-mini-icon svg,
.tech-mini-icon img {
  width: 12px;
  height: 12px;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--banner-orange);
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
}

.project-card:hover .view-btn {
  transform: translateX(3px);
}

/* LinkedIn Posts Section */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--banner-blue), var(--banner-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
}

.post-author h4 {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.post-author p {
  font-size: 0.75rem;
  color: var(--text-light);
}

.post-badge {
  background: rgba(2, 132, 199, 0.08);
  color: var(--banner-blue);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: 12px;
}

.post-body {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.post-body blockquote {
  font-style: italic;
  border-left: 2px solid var(--banner-orange);
  padding-left: 10px;
  margin-top: 8px;
  color: var(--text-main);
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.post-reactions {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-reactions svg {
  width: 14px;
  height: 14px;
  fill: var(--banner-blue);
}

.btn-post-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--banner-blue);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-post-link:hover {
  color: var(--banner-orange);
  transform: translateX(2px);
}

/* Contact / Call-To-Action */
.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

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

.contact-info h3 {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 10px;
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  min-width: 280px;
  justify-content: center;
}

.contact-card-item:hover {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-item.method-whatsapp {
  color: #15803d;
}
.contact-card-item.method-whatsapp .contact-card-icon {
  background: rgba(34, 197, 94, 0.08);
  color: var(--whatsapp-green);
}

.contact-card-item.method-email {
  color: var(--banner-blue);
}
.contact-card-item.method-email .contact-card-icon {
  background: rgba(2, 132, 199, 0.08);
  color: var(--banner-blue);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--bg-secondary);
  border-color: var(--banner-orange);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.1);
}

.submit-btn {
  background: var(--banner-orange);
  color: #FFF;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.submit-btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.2);
}

/* Modal Popup Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-overlay.active .modal-container {
  opacity: 1;
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--banner-orange);
  color: #FFF;
  border-color: var(--banner-orange);
  transform: rotate(90deg);
}

.modal-visual {
  height: 220px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.modal-body {
  padding: 30px;
}

.modal-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.modal-body h4 {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 8px;
}

.modal-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.modal-body ul {
  padding-left: 18px;
  margin-bottom: 18px;
}

.modal-body li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.modal-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.modal-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-tertiary);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.modal-platform-badge svg,
.modal-platform-badge img {
  width: 14px;
  height: 14px;
}

.modal-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  z-index: 999;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.45);
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--banner-orange);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-actions {
    display: flex !important;
  }
  .theme-toggle {
    display: flex !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
  }

  .navbar .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1.5px solid var(--border-color);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
  }

  .navbar .nav-links.active {
    display: flex;
  }

  .navbar .nav-links a {
    display: block;
    padding: 8px 0;
  }
  
  .menu-btn {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .skills-category-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .search-box {
    max-width: 100%;
  }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 24px;
  }

  .contact-card-item {
    min-width: 100%;
    width: 100%;
  }
  
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -60px;
  }
  
  .profile-avatar {
    margin-bottom: 16px;
  }
  
  .profile-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .profile-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  .profile-name {
    font-size: 1.8rem;
  }
  
  .profile-banner {
    height: 160px;
  }
  
  .profile-body {
    padding: 0 20px 24px 20px;
  }

  .modal-container {
    width: 92%;
    max-height: 95vh;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-visual {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .metrics-row {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
  }
}
