.elementor-7907 .elementor-element.elementor-element-1aef2ae{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-1c3d23fc *//* SEOFox.io Portfolio CSS - ENHANCED VERSION */
/* Paste this in Appearance > Customize > Additional CSS (or your theme's Custom CSS) */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* Portfolio Section Container */
.seofox-portfolio {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.seofox-portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.seofox-portfolio-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Header Styles */
.seofox-portfolio-header {
  text-align: center;
  margin-bottom: 60px;
  animation: seofox-fadeInUp 0.8s ease-out;
}

.seofox-portfolio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.seofox-portfolio-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  color: #6b7280;
  font-weight: 400;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layout */
.seofox-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
  animation: seofox-fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Project Card */
.seofox-project-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-height: 380px;
}

.seofox-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seofox-project-card:hover {
  transform: translateY(-8px);
  border-color: #ff6b35;
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.seofox-project-card:hover::before {
  transform: scaleX(1);
}

/* Card Inner */
.seofox-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Logo */
.seofox-card-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.seofox-project-card:hover .seofox-card-logo {
  background: #fff5f1;
  border-color: #ffd6c8;
  transform: scale(1.05);
}

.seofox-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Card Number */
.seofox-card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #f3f4f6;
  position: absolute;
  top: -20px;
  right: -10px;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.seofox-project-card:hover .seofox-card-number {
  color: #fee2e2;
  transform: scale(1.1);
}

/* Card Content */
.seofox-card-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.seofox-project-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.seofox-project-card:hover .seofox-project-name {
  color: #ff6b35;
}

.seofox-project-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px 0;
}

.seofox-project-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 20px 0;
  flex: 1;
}

.seofox-project-url {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #9ca3af;
  font-weight: 400;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  transition: color 0.3s ease;
}

.seofox-project-card:hover .seofox-project-url {
  color: #ff6b35;
}

/* Card Arrow */
.seofox-card-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border-radius: 50%;
  color: #9ca3af;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seofox-project-card:hover .seofox-card-arrow {
  background: #ff6b35;
  color: #ffffff;
  transform: translate(4px, -4px) rotate(0deg);
}

.seofox-card-arrow svg {
  transition: transform 0.3s ease;
}

.seofox-project-card:hover .seofox-card-arrow svg {
  transform: rotate(45deg);
}

/* Animations */
@keyframes seofox-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .seofox-portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .seofox-portfolio {
    padding: 60px 16px;
  }

  .seofox-portfolio-title {
    font-size: 2.5rem;
  }

  .seofox-portfolio-subtitle {
    font-size: 1rem;
  }

  .seofox-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .seofox-project-card {
    padding: 28px;
    min-height: 350px;
  }

  .seofox-card-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .seofox-card-number {
    font-size: 3rem;
    top: -15px;
    right: -5px;
  }

  .seofox-project-name {
    font-size: 1.5rem;
  }

  .seofox-project-description {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .seofox-portfolio-title {
    font-size: 2rem;
  }

  .seofox-project-card {
    padding: 24px;
    min-height: 320px;
  }

  .seofox-card-logo {
    width: 60px;
    height: 60px;
  }

  .seofox-card-arrow {
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
  }

  .seofox-project-name {
    font-size: 1.375rem;
  }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
  .seofox-portfolio {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  }

  .seofox-portfolio::before {
    background: linear-gradient(90deg, transparent, #374151, transparent);
  }

  .seofox-portfolio-title {
    color: #f9fafb;
  }

  .seofox-portfolio-subtitle {
    color: #d1d5db;
  }

  .seofox-project-card {
    background: #1f2937;
    border-color: #374151;
  }

  .seofox-project-card:hover {
    border-color: #ff6b35;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.25);
  }

  .seofox-card-logo {
    background: #374151;
    border-color: #4b5563;
  }

  .seofox-project-card:hover .seofox-card-logo {
    background: #4b5563;
    border-color: #6b7280;
  }

  .seofox-project-name {
    color: #f9fafb;
  }

  .seofox-project-category {
    color: #9ca3af;
  }

  .seofox-project-description {
    color: #d1d5db;
  }

  .seofox-project-url {
    color: #6b7280;
    border-top-color: #374151;
  }

  .seofox-card-number {
    color: #374151;
  }

  .seofox-project-card:hover .seofox-card-number {
    color: #4b5563;
  }

  .seofox-card-arrow {
    background: #374151;
    color: #9ca3af;
  }
}

/* Accessibility */
.seofox-project-card:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 4px;
}

.seofox-project-card:focus:not(:focus-visible) {
  outline: none;
}

/* Print Styles */
@media print {
  .seofox-portfolio {
    background: white;
  }

  .seofox-project-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }

  .seofox-project-card:hover {
    transform: none;
    box-shadow: none;
  }

  .seofox-card-logo {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}/* End custom CSS */