/* Professional Resume Builder CSS */

/* CSS Custom Properties */
:root {
  /* Brand Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #06b6d4;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #60a5fa 100%);

  /* Typography */
  --font-family-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

  --space-sm: 8px;
  --space-md: 12px;
  --space-xl: 20px;
  --gray-50: #f9fafb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gradient-primary: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  --shadow-lg: 0 10px 25px rgba(33, 150, 243, 0.3);

  /* Brand Colors */
  --primary-5003: #3b82f6;
  --primary-6003: #2563eb;

  /* Neutral Colors */
  --gray-2003: #e5e7eb;
  --gray-7003: #374151;

  /* Gradients */
  --gradient-primary3: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);

  /* Typography */
  --font-family-primary3: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-semibold3: 600;

  /* Spacing */
  --space-sm3: 0.5rem;
  --space-md3: 1rem;
  --space-xl3: 2rem;

  /* Border Radius */
  --radius-lg3: 0.75rem;

  /* Shadows */
  --shadow-lg3: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-normal3: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  /* Brand Colors */
  --primary-5003: #3b82f6;
  --primary-6003: #2563eb;

  /* Neutral Colors */
  --gray-2003: #e5e7eb;
  --gray-7003: #374151;

  /* Gradients */
  --gradient-primary3: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);

  /* Typography */
  --font-family-primary3: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-semibold3: 600;

  /* Spacing */
  --space-xs3: 0.25rem;
  --space-sm3: 0.5rem;
  --space-md3: 1rem;
  --space-lg3: 1.5rem;
  --space-xl3: 2rem;
  --space-2xl3: 3rem;

  /* Border Radius */
  --radius-lg3: 0.75rem;
  --radius-xl3: 1rem;

  /* Shadows */
  --shadow-lg3: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-normal3: 350ms cubic-bezier(0.4, 0, 0.2, 1);

}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--gray-700);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  transform: translateY(-0.5px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-50);
  color: var(--gray-700);
}

.btn-hero {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-xl);
}

/* Background Elements */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-gradient-1 {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.bg-gradient-2 {
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.02;
  background-image: radial-gradient(circle, var(--gray-900) 1px, transparent 1px);
  background-size: 50px 50px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}







.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  color: var(--gray-900);
  text-decoration: none;
}

/*.logo-image {*/
/*height: 100px;*/
/*width: auto;*/
/*object-fit: contain;*/
/*filter: brightness(0) saturate(100%) invert(39%) sepia(57%) saturate(4755%) hue-rotate(185deg) brightness(99%) contrast(93%);*/
/*margin: -10px 0;*/
/*}*/

.logo-image {
  height: 105px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(35%) sepia(65%) saturate(3200%) hue-rotate(202deg) brightness(115%) contrast(105%);
}


.logo i {
  font-size: 1.5rem;
  color: var(--primary-600);
}

.brand-name {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}








/* Main Content */
.main {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: 50vh;
  position: relative;
}

.hero-content {
  z-index: 10;
}


@media (max-width: 804px) {
  .main {
    margin-top: 30px;
    /* Increased from 80px */
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  color: var(--primary-700);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--primary-200);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge i {
  color: var(--warning);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.highlight-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  max-width: 90%;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeInUp 0.6s ease-out 0.8s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
}

.feature-item i {
  color: var(--success);
  font-size: 1rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.resume-preview {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform var(--transition-slow);
}

.resume-preview:hover {
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) scale(1.01);
}

.preview-header {
  background: var(--gray-100);
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.preview-controls {
  display: flex;
  gap: var(--space-sm);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-close {
  background: #ff5f57;
}

.control-minimize {
  background: #ffbd2e;
}

.control-maximize {
  background: #28ca42;
}

.preview-content {
  padding: var(--space-2xl);
}

.preview-line {
  height: 12px;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  animation: shimmer 2s ease-in-out infinite;
}

.preview-line.preview-name {
  width: 60%;
  height: 20px;
  background: var(--gradient-primary);
}

.preview-line.preview-title {
  width: 40%;
  height: 14px;
}

.preview-line.preview-contact {
  width: 80%;
  height: 10px;
}

.preview-line.preview-header {
  width: 30%;
  height: 14px;
  background: var(--primary-300);
}

.preview-line.short {
  width: 70%;
}

.preview-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

@keyframes shimmer {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

/* Section Components */
.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary-50);
  color: var(--primary-700);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--primary-200);
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Templates Section */
.templates-section {
  padding: var(--space-5xl) 0;
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}


/* Filter Section */
.filter-section {
  margin-bottom: var(--space-4xl);
}

.filter-container.animate-on-scroll {
  transform: translateY(30px);
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  color: var(--gray-600);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-normal);
  min-width: 140px;
  transform: scale(1);
}

.filter-btn.pulse {
  animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}


.filter-container {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.filter-header {
  margin-bottom: var(--space-lg);
}

.filter-label {
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}


.filter-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  transform: translateY(-0.5px);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: var(--primary-600);
  color: white;
  box-shadow: var(--shadow-lg);
}

.filter-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.3);
}

/* Templates Grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Template Card - Resume.io Style */
.template-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  opacity: 1;
  transform: scale(1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Profile Picture Template Styles */
.template-thumbnail-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.profile-picture-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: var(--shadow-lg);
  background: white;
  z-index: 2;
}

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

.profile-picture-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 1.5rem;
  z-index: 1;
}


.template-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-400);
}

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

.template-card.locked {
  opacity: 0.7;
}

.template-card.locked::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  z-index: 5;
}

.template-preview {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: var(--gray-50);
}

.template-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition-normal);
  background: white;
}

.template-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 130, 246, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 10;
}

.use-template-btn {
  background: white;
  color: var(--primary-600);
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.use-template-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

.template-info {
  padding: var(--space-md);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-height: 120px;
}

.template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.template-colors-dots {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.color-dot:hover {
  transform: scale(1.3);
  border-color: white;
}

.color-dot.active {
  transform: scale(1.2);
  border: 2px solid white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.template-title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.template-description {
  color: var(--gray-600);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: var(--space-md);
  flex: 1;
}


.template-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: auto;
}

.template-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.75rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-medium);
}

.btn-small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
}

.lock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.lock-overlay i {
  font-size: 2rem;
  color: var(--primary-600);
  margin-bottom: var(--space-md);
}

.lock-overlay p {
  color: var(--gray-700);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

/* Button Shine Effect */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover .btn-shine {
  left: 100%;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-5xl) 0 var(--space-2xl);
  margin-top: var(--space-5xl);
}

.footer .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.footer .col-md-4 {
  padding: 0 15px;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.footer .col-md-2 {
  padding: 0 15px;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.footer .offset-md-2 {
  margin-left: 16.666667%;
}

.footer .mb-4 {
  margin-bottom: var(--space-lg);
}

.footer .mb-md-0 {
  margin-bottom: 0;
}

.footer-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(39%) sepia(57%) saturate(4755%) hue-rotate(185deg) brightness(99%) contrast(93%);
  margin-bottom: var(--space-md);
}

.footer p {
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.footer h5 {
  color: white;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.footer .list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .list-unstyled li {
  margin-bottom: var(--space-sm);
}

.footer .list-unstyled a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer .list-unstyled a:hover {
  color: white;
}

.social-icons {
  display: none;
  gap: var(--space-md);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  color: var(--gray-400);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-icons a:hover {
  background: var(--primary-600);
  color: white;
  transform: translateY(-2px);
}

.footer .mt-4 {
  margin-top: var(--space-lg);
}

.footer .me-2 {
  margin-right: 0.5rem;
}

.footer .input-group {
  display: flex;
  position: relative;
  align-items: stretch;
  width: 100%;
}

.footer .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gray-700);
  background-color: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.footer .form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.footer .input-group .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-left: none;
  margin-left: -1px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  margin: 0;
}

.footer-bottom .text-white-50 {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-bottom .text-white-50:hover {
  color: var(--gray-300);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
    padding: var(--space-xl) 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .templates-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .footer .col-md-4,
  .footer .col-md-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .footer .offset-md-2 {
    margin-left: 0;
  }
}

@media (max-width: 768px) {



  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .hero-features {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }

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

  .filter-btn {
    min-width: auto;
    flex: 1;
  }

  .templates-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer .col-md-4,
  .footer .col-md-2 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  .footer .offset-md-2 {
    margin-left: 0;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: 40vh;
    gap: var(--space-md);
  }

  .resume-preview {
    max-width: 250px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.875rem;
    margin-bottom: var(--space-md);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
  }

  .hero-badge {
    margin-bottom: var(--space-md);
  }


  .section-title {
    font-size: 2rem;
  }

  .filter-container {
    padding: var(--space-lg);
  }
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  height: 100px;
  position: relative;
  gap: 40px;
}

@media (max-width: 800px) {
  .nav-container {
    height: 90px;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  flex-shrink: 0;
  z-index: 1001;
  justify-self: start;
  margin-left: -10px;
}

@media (min-width: 800px) {
  .nav-logo {
    position: relative;
    right: 50px;
  }
}

.nav-logo i {
  color: #2196F3;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  justify-self: center;
  margin-left: 690px;
}

@media (max-width: 768px) {
  .nav-right {
    gap: 8px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    transform: none;
    padding: 10px 0;
    /* smaller padding top/bottom */
    gap: 0;
    margin-left: 0;
    border-radius: 0 0 12px 12px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 2px 0;
    /* very small spacing */
  }

  .nav-menu li:first-child {
    margin-top: 0;
  }

  .nav-menu li:last-child {
    margin-bottom: 0;
  }

  .nav-menu a {
    padding: 8px;
    /* smaller clickable area */
    display: block;
  }
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
}

.nav-link:hover {
  color: #2196F3;
  text-shadow: 0 0 8px rgba(33, 150, 243, 0.6), 0 0 16px rgba(33, 150, 243, 0.4), 0 0 24px rgba(33, 150, 243, 0.2);
  box-shadow: 0 0 12px rgba(33, 150, 243, 0.15), inset 0 0 12px rgba(33, 150, 243, 0.05);
  background: rgba(33, 150, 243, 0.05);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2196F3, transparent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: calc(100% - 32px);
  box-shadow: 0 0 6px rgba(33, 150, 243, 0.8);
}

/* Special Invite Link Styling */
.nav-link-special {
  position: relative;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.04), rgba(25, 118, 210, 0.02));
  border: 1px solid rgba(33, 150, 243, 0.08);
  border-radius: 12px;
  padding: 8px 16px !important;
  overflow: hidden;
  backdrop-filter: blur(2px);
  animation: inviteGlow 4s ease-in-out infinite;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}

.nav-link-special::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: subtleShimmer 6s ease-in-out infinite;
  z-index: 1;
  border-radius: 12px;
}


.nav-link-special:hover {
  color: #2196F3 !important;
  text-shadow: 0 0 6px rgba(33, 150, 243, 0.4);
  box-shadow:
          0 0 12px rgba(33, 150, 243, 0.2),
          0 0 24px rgba(33, 150, 243, 0.1),
          inset 0 0 8px rgba(33, 150, 243, 0.06);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(25, 118, 210, 0.05));
  border-color: rgba(33, 150, 243, 0.25);
  transform: translateY(-2px);
}

.nav-link-special span {
  position: relative;
  z-index: 2;
}

@keyframes inviteGlow {

  0%,
  100% {
    box-shadow:
            0 0 8px rgba(33, 150, 243, 0.3),
            0 0 16px rgba(33, 150, 243, 0.15),
            inset 0 0 6px rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.25);
  }

  50% {
    box-shadow:
            0 0 14px rgba(33, 150, 243, 0.45),
            0 0 28px rgba(33, 150, 243, 0.25),
            inset 0 0 10px rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.35);
  }
}

@keyframes subtleShimmer {

  0%,
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }

  50% {
    opacity: 0.3;
    transform: translateX(100%);
  }
}


.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  right: -80px;
}


.btn3 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm3);
  padding: var(--space-md3) var(--space-xl3);
  border: none;
  border-radius: var(--radius-lg3);
  font-family: var(--font-family-primary3);
  font-weight: var(--font-weight-semibold3);
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal3);
  position: relative;
  overflow: hidden;
}

.btn3-primary {
  background: var(--gradient-primary3);
  color: white;
  box-shadow: var(--shadow-lg3);
}

.btn3-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg3);
}

.btn3-hero {
  padding: var(--space-lg3) var(--space-2xl3);
  font-size: 1rem;
  font-weight: var(--font-weight-bold3);
  border-radius: var(--radius-xl3);
}

/* Tablet and below */
@media (max-width: 768px) {
  .btn3 {
    width: 100%;
    justify-content: center;
    padding: var(--space-lg3) var(--space-xl3);
    font-size: 0.9375rem;
  }

  .btn3-hero {
    width: 100%;
    padding: var(--space-lg3) var(--space-2xl3);
    font-size: 1.125rem;
  }

  /* Button container for stacked layout */
  .btn3-container {
    flex-direction: column;
    gap: var(--space-sm3);
    margin-bottom: var(--space-lg3);
  }
}

/* Phone and small devices */
@media (max-width: 480px) {
  .btn3 {
    width: 100%;
    padding: var(--space-md3) var(--space-lg3);
    font-size: 0.875rem;
    border-radius: var(--radius-lg3);
  }

  .btn3-hero {
    width: 100%;
    padding: var(--space-lg3) var(--space-xl3);
    font-size: 1rem;
    border-radius: var(--radius-lg3);
  }

  /* Reduced hover effects on mobile for better touch experience */
  .btn3-primary:hover {
    transform: none;
    box-shadow: var(--shadow-lg3);
  }

  /* Touch-friendly active state */
  .btn3-primary:active {
    transform: scale(0.98);
  }

}


@media (max-width: 768px) {

  .mobile-login {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
  }

  .mobile-login:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
    transform: translateY(-2px);
  }

}



.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: -10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}


@media (max-width: 768px) {
  .nav-right {
    gap: 8px;
  }
}


/* Navigation Auth Buttons */
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  left: 50px;
}

@media (max-width: 768px) {
  .nav-actions {
    display: none !important;
  }
}



.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  right: -80px;
}


@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

}



@media (max-width: 768px) {

  /* Override navbar glow effects for mobile */
  .nav-link {
    padding: 16px 20px;
    margin: 8px 0;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
  }

  .nav-link:hover {
    text-shadow: none;
    box-shadow: none;
    background: rgba(33, 150, 243, 0.1);
    transform: none;
    border-bottom-color: #2196f3;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, #2196f3, #1976d2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1px;
  }

  .nav-link:hover::after {
    transform: scaleX(1);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
  }

  /* Special styling for active nav link */
  .nav-link.active {
    background: rgba(33, 150, 243, 0.15);
    border-bottom-color: #2196f3;
  }

  .nav-link.active::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, #2196f3, #1976d2);
  }
}

.bar {
  width: 25px;
  height: 2.2px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {

  .mobile-auth-buttons {
    display: flex !important;
    flex-direction: column;
    margin: 20px 0;
    padding: 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
  }
}

.mobile-auth-buttons {
  display: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-100%);
  animation: slideInDown 0.8s ease-out 0.1s forwards;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header {
    position: fixed !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Force hardware acceleration */
    will-change: transform;
  }

  /* Prevent browser UI from affecting layout */
  html,
  body {
    height: 100%;
    overflow-x: hidden;
  }

  body {
    /* Use 100vh instead of 100% for mobile */
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
}

@media (max-width: 800px) {

  .nav-toggle {
    right: -55px;
    top: -3px;
  }
}

@media (max-width: 380px) {
  .nav-toggle {
    right: -65px;
    top: -3px;
  }
}

@media (min-width: 400px) and (max-width: 800px) {
  .nav-toggle {
    right: -105px;
    top: -3px;
  }
}

@media (min-width: 381px) and (max-width: 399px) {
  .nav-toggle {
    right: -85px;
    top: -3px;
  }
}

.nav-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;  /* Width of the touch area */
    height: 60px; /* Height of the touch area */
    background: transparent; /* Keeps it invisible */
    z-index: 100; /* Ensures it sits on top of the lines */
}