/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1A4C8B;
  --primary-dark: #153d70;
  --primary-darker: #0d2847;
  --secondary: #FFFFFF;
  --text-dark: #000000;
  --text-light: #FFFFFF;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

h1 {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}



.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s;
}

.brand:hover {
  transform: scale(1.02);
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          /* IMPORTANT */
  border-radius: 8px;        /* optional, matches old style */
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* keeps logo proportions */
  display: block;
}

.brand:hover .brand-icon {
  transform: scale(1.05);
}



.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--gray-600);
  font-weight: 500;
  transition: all 0.2s;
}

.nav-link:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-link.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(26, 76, 139, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-secondary-nav {
  padding: 0.5rem 1.25rem;
  color: var(--primary);
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-secondary-nav:hover {
  background: rgba(26, 76, 139, 0.05);
}

.btn-primary-nav {
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: white;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-primary-nav:hover {
  box-shadow: 0 4px 12px rgba(26, 76, 139, 0.3);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--gray-100);
}

.menu-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--gray-600);
}

/* Page System */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--text-dark);
  color: white;
  overflow: hidden;
  padding: 8rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.orb-1 {
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: var(--primary);
  opacity: 0.3;
}

.orb-2 {
  bottom: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background: var(--primary);
  opacity: 0.2;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--primary) 1px, transparent 1px),
    linear-gradient(to bottom, var(--primary) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.2;
}

.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(26, 76, 139, 0.5);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
  color: var(--blue-200);
  font-size: 0.875rem;
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(26, 76, 139, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26, 76, 139, 0.4);
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.hero-visual {
  position: relative;
  height: 600px;
  display: none;
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.float-card {
  position: absolute;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-card {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 384px;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  padding: 2rem;
}

.small-card-1 {
  top: 0;
  right: 0;
  width: 192px;
  height: 192px;
  background: white;
  padding: 1.5rem;
}

.small-card-2 {
  bottom: 0;
  left: 0;
  width: 224px;
  height: 160px;
  background: white;
  padding: 1.5rem;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(26, 76, 139, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-badge-dark {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--blue-300);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-title-light {
  color: white;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 768px;
  margin: 0 auto;
}

/* Functions Section */
.functions-section {
  position: relative;
  padding: 8rem 0;
  background: white;
  overflow: hidden;
}

.decorative-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  background: rgba(26, 76, 139, 0.05);
}

.blob-1 {
  top: 5rem;
  right: 2.5rem;
  width: 288px;
  height: 288px;
}

.blob-2 {
  bottom: 5rem;
  left: 2.5rem;
  width: 384px;
  height: 384px;
}

.blob-3 {
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
}

.blob-4 {
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
}

.functions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.function-card {
  position: relative;
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.function-card:hover {
  border-color: rgba(26, 76, 139, 0.5);
  box-shadow: 0 20px 40px rgba(26, 76, 139, 0.1);
  transform: translateY(-4px);
}

.function-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gray-100);
  transition: color 0.3s;
}

.function-card:hover .function-number {
  color: rgba(26, 76, 139, 0.1);
}

.function-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(26, 76, 139, 0.3);
  transition: transform 0.3s;
}

.function-card:hover .function-icon {
  transform: scale(1.1);
}

.function-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  stroke-width: 2;
}

.function-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.function-header h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
}

.function-count {
  padding: 0.25rem 0.75rem;
  background: rgba(26, 76, 139, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
}

.function-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  transition: gap 0.3s;
}

.link-btn:hover {
  gap: 0.75rem;
}

.link-btn svg {
  transition: transform 0.3s;
}

.link-btn:hover svg {
  transform: translateX(4px);
}

/* Why Section */
.why-section {
  position: relative;
  background: var(--text-dark);
  color: white;
  padding: 8rem 0;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 76, 139, 0.2), transparent);
}

.why-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(26, 76, 139, 0.1), transparent);
  transform: skewX(12deg);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}

.why-content {
  max-width: 600px;
}

.why-description {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.why-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.bento-large {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(26, 76, 139, 0.3), rgba(26, 76, 139, 0.1));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
}

.bento-small {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.bento-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.bento-large h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.bento-large p {
  color: var(--gray-300);
}

.bento-value {
  font-size: 1.875rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bento-small p {
  color: var(--gray-300);
  font-size: 0.875rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--blue-500));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.feature-card h4 {
  color: white;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-400);
}

/* Brands Section */
.brands-section {
  padding: 8rem 0;
  background: linear-gradient(to bottom, var(--gray-50), white);
  position: relative;
  overflow: hidden;
}

.brands-section::before,
.brands-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  opacity: 0.3;
}

.brands-section::before {
  top: 5rem;
}

.brands-section::after {
  bottom: 5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.brand-card {
  aspect-ratio: 1;
  border-radius: 16px;

  /* Remove wallpaper feel */
  background-color: transparent;
  box-shadow: none;

  /* Logo handling */
  background-image: var(--brand-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%; /* key value */

  /* Optional spacing consistency */
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Explicitly non-clickable */
.brand-card {
  pointer-events: none;
}


.brand-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.brand-card.large {
  grid-column: span 2;
  font-size: 2.5rem;
  aspect-ratio: auto;
}

.brand-card.small {
  font-size: 1rem;
}

.brand-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: white;
  box-shadow: 0 20px 40px rgba(26, 76, 139, 0.3);
} 

/* Image card */
.brand-card[data-image] {
  position: relative;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}





.brands-cta {
  display: flex;
  justify-content: center;
}

.brands-cta-content {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-stack {
  display: flex;
  margin-left: -1rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue-400));
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  margin-left: -1rem;
}

.brands-cta-content p {
  color: var(--gray-600);
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 0;
  background: white;
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, var(--gray-50), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.testimonial-card.offset-1 {
  margin-top: 0;
}

.testimonial-card.offset-2 {
  margin-top: 0;
}

.quote-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 76, 139, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.quote-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.stars {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue-400));
  border: 2px solid var(--gray-100);
}

.author-name {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(26, 76, 139, 0.3);
  text-align: center;
  color: white;
  position: relative;
  z-index: 10;
}

.stat-box-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-box-label {
  color: var(--blue-200);
  font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(to bottom, var(--gray-50), white);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 8rem;
}

.contact-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.benefit-item h4 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.trust-brands {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.trust-brands p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.trust-brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-brand {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.contact-form-wrapper {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.required {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 76, 139, 0.1);
}

.form-group textarea {
  resize: none;
}

.form-checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: start;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.125rem;
  accent-color: var(--primary);
  border-radius: 4px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.form-checkbox label {
  color: var(--gray-600);
  font-size: 0.875rem;
  flex: 1;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: white;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-submit:hover {
  box-shadow: 0 8px 20px rgba(26, 76, 139, 0.3);
  transform: translateY(-2px);
}

.btn-submit svg {
  transition: transform 0.3s;
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

.form-footer {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Mission Section */
.mission-section {
  position: relative;
  background: var(--text-dark);
  color: white;
  overflow: hidden;
  padding: 8rem 0;
}

.mission-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 76, 139, 0.3), transparent);
}

.mission-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.mission-content {
  max-width: 600px;
}

.mission-title {
  color: white;
  margin-bottom: 2rem;
}

.mission-description {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.mission-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mission-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s;
}

.mission-card:hover {
  transform: scale(1.05);
}

.mission-card.offset {
  margin-top: 3rem;
}

.mission-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  box-shadow: 0 20px 40px rgba(26, 76, 139, 0.3);
}

.mission-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.mission-card.featured .mission-card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.mission-card-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.mission-card h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.mission-card p {
  color: var(--gray-400);
}

.mission-card.featured p {
  color: var(--blue-200);
}

/* Process Section */
.process-section {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(to bottom, white, var(--gray-50));
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  margin-bottom: 5rem;
}

.timeline-line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--blue-400), var(--primary));
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.step-number {
  position: relative;
  z-index: 10;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--blue-500));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(26, 76, 139, 0.3);
}

.step-card {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(8px);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--blue-500));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.step-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--gray-600);
}

.process-cta {
  display: block; /* ✅ change from inline-block */
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  color: white;
  margin: 0 auto; /* centers horizontally */
  width: 100%;
  max-width: 600px;
}

.process-cta a {
  display: inline-block;
}

.process-cta h3 {
  margin-bottom: 0.75rem;
}

.process-cta p {
  margin-bottom: 1.5rem;
}


/* Page Header */
.page-header {
  position: relative;
  background: var(--text-dark);
  color: white;
  overflow: hidden;
  padding: 5rem 0;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 76, 139, 0.3), transparent);
}

.page-header .container {
  position: relative;
  z-index: 10;
  max-width: 768px;
}

.page-title {
  color: white;
  margin-bottom: 1.5rem;
}

.page-description {
  font-size: 1.25rem;
  color: var(--gray-300);
}

/* Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.sidebar {
  width: 100%;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}

.sidebar-title {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.title-accent {
  width: 4px;
  height: 24px;
  background: var(--primary);
  border-radius: 9999px;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-label {
  display: block;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 1rem;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
}

.checkbox-item:hover {
  color: var(--primary);
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  border-radius: 4px;
  border: 1px solid var(--gray-300);
}

.btn-clear {
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-clear:hover {
  background: var(--primary);
  color: white;
}

.main-content {
  flex: 1;
}

.search-bar {
  position: relative;
  margin-bottom: 2rem;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--gray-400);
}

.search-bar input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.5rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 76, 139, 0.1);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-count {
  color: var(--gray-600);
}

.results-count span {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(26, 76, 139, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
}

.filter-tag button {
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.filter-tag button:hover {
  color: var(--primary-darker);
}

.talent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.talent-card {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}

.talent-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.talent-card-header {
  display: flex;
  align-items: start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.talent-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.talent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #1e293b;
}

.talent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.talent-card:hover .talent-avatar {
  border-color: rgba(26, 76, 139, 0.2);
}

.talent-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--blue-500));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.talent-badge svg {
  width: 16px;
  height: 16px;
  color: white;
  fill: white;
}

.talent-info {
  flex: 1;
  min-width: 0;
}

.talent-name {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.talent-card:hover .talent-name {
  color: var(--primary);
}

.talent-role {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.talent-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gray-500);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.talent-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.talent-meta svg {
  width: 16px;
  height: 16px;
}

.talent-meta svg.fill {
  fill: var(--primary);
  color: var(--primary);
}

.talent-bio {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.talent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.375rem 0.75rem;
  background: var(--gray-50);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.tag:hover {
  border-color: var(--primary);
  background: rgba(26, 76, 139, 0.05);
}

.talent-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: white;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s;
}

.talent-cta:hover {
  box-shadow: 0 4px 12px rgba(26, 76, 139, 0.3);
  transform: translateY(-2px);
}

.talent-cta svg {
  transition: transform 0.3s;
}

.talent-cta:hover svg {
  transform: translateX(4px);
}

.agency-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26, 76, 139, 0.3);
  transition: transform 0.3s;
}

.talent-card:hover .agency-logo {
  transform: scale(1.05);
}

.agency-badge {
  background: white;
}

.agency-badge svg {
  color: var(--primary);
}

.no-results {
  text-align: center;
  padding: 5rem 0;
  background: white;
  border-radius: 16px;
  border: 2px dashed var(--gray-200);
}

.no-results-icon {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.no-results-icon svg {
  width: 40px;
  height: 40px;
  color: var(--gray-400);
}

.no-results-title {
  font-size: 1.25rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.no-results-text {
  color: var(--gray-400);
}

/* Footer */
.footer {
  position: relative;
  background: var(--text-dark);
  color: white;
  overflow: hidden;
}

.footer-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-orb {
  position: absolute;
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.1;
}

.footer-container {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(26, 76, 139, 0.3);
}

.footer-logo-name {
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.footer-logo-tagline {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.footer-description {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.contact-item:hover {
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-links a {
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: color 0.3s;
}

.social-icon:hover svg {
  color: white;
}

/* Responsive Design */
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }
 
  .testimonial-card.offset-1 {
    margin-top: 3rem;
  }
 
  .testimonial-card.offset-2 {
    margin-top: 6rem;
  }
 
  .brands-cta-content {
    flex-direction: row;
  }
 
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
 
  .footer-legal {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .hero-visual {
    display: block;
  }
 
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .mission-container {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .content-layout {
    grid-template-columns: 288px 1fr;
  }
 
  .talent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .nav-links {
    display: flex;
  }
 
  .btn-secondary-nav {
    display: block;
  }
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
 
  .menu-toggle {
    display: block;
  }
 
  .btn-secondary-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }
 
  h2 {
    font-size: 2rem;
  }
 
  .hero-section {
    padding: 4rem 0;
  }
 
  .functions-section,
  .why-section,
  .brands-section,
  .testimonials-section,
  .contact-section,
  .mission-section,
  .process-section {
    padding: 4rem 0;
  }
 
  .section-header {
    margin-bottom: 3rem;
  }
 
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(2, auto);   /* 2 rows */
  gap: 32px;
}


.portfolio-item {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-6px);
}

.portfolio-image {
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

.portfolio-image {
  aspect-ratio: 16 / 9;     /* wider rectangle */
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.portfolio-title {
  margin-top: 12px;
  font-size: 1rem;
  text-align: center;
}

.portfolio-item:hover .portfolio-image {
  box-shadow:
    0 10px 40px rgba(59,130,246,0.25),
    0 0 0 1px rgba(59,130,246,0.4);
}


.portfolio-image {
  position: relative;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;     /* title at bottom */
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
}

.portfolio-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
}

.portfolio-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* PDF Modal */
.pdf-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdf-modal.active {
  display: flex;
}

.pdf-modal-content {
  width: 90%;
  height: 90%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.pdf-modal iframe {
  width: 100%;
  height: 100%;
}

.pdf-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.pdf-modal iframe {
  pointer-events: auto;
}

/* Watermark overlay */
.pdf-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none; /* allow scrolling */
  z-index: 5;
  overflow: hidden;
}

.pdf-watermark span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  user-select: none;
}

/* Optional: repeat watermark */
.pdf-watermark::before {
  content: "Careerly Bridge • Portfolio Preview Only";
  position: absolute;
  top: 20%;
  left: -20%;
  transform: rotate(-30deg);
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.pdf-modal-content {
  position: relative;
}


/* Work Preview Section */
.work-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.work-preview-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.work-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-preview-overlay h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.work-preview-card:hover .work-preview-overlay {
  opacity: 1;
}

.work-preview-cta {
  margin: 3rem auto 5rem;
  padding: 2rem 2.5rem;

  display: inline-block;     /* shrink to content */

  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-darker)
  );

  border-radius: 24px;
  text-align: center;
  color: white;

  box-shadow: 0 16px 32px rgba(26, 76, 139, 0.3);
}

/* Force center alignment */
.work-preview-wrapper {
  text-align: center;
}

/* Keep text white */
.work-preview-cta * {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .work-preview-grid {
    grid-template-columns: 1fr;
  }
}

.website-blob {
  display: block;              /* block or inline-block */
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
  width: 100%;                /* fill container or fixed width if needed */
  max-width: 100%;            /* respect container */
}

.website-blob:hover {
  transform: translateY(-6px);
}

.website-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;       /* same aspect ratio */
  background: #0b1220;
  box-shadow: inherit;        /* same shadow as parent */
}

.website-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.website-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
  justify-content: flex-start; /* Align content to the left */
  text-align: left;            /* Make sure text is left aligned */
}




.website-blob:hover .website-overlay {
  opacity: 1;
}

.website-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  /* Remove width: 100% to let text size naturally */
}

.talent-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.talent-cta.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Mobile navbar behavior */
@media (max-width: 768px) {

  /* Hide desktop nav links */
  .nav-links {
    display: none;
  }

  /* Stack buttons nicely */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  /* Hide buttons if you want a clean mobile header */
  .btn-primary-nav {
    display: none;
  }

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    z-index: 1000;
  }
}
