/* Product Cards - Ray-Ban Meta Style */
.product-card {
  position: relative;
  min-height: 400px;
  border-radius: 20px;
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.1) 50%, 
    rgba(0, 0, 0, 0.4) 100%
  );
  transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.2) 0%, 
    rgba(0, 0, 0, 0.05) 50%, 
    rgba(0, 0, 0, 0.3) 100%
  );
}

.product-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  color: white;
  z-index: 2;
}

.product-brand {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: white;
}

.product-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.4;
  margin-bottom: 25px;
  max-width: 85%;
}

.product-action {
  display: flex;
  align-items: center;
}

.btn-main {
  background: #1976d2;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
      width: fit-content;
}

.btn-main:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4);
}




.btn-main svg {
  transition: transform 0.3s ease;
}

.btn-main:hover svg {
  transform: scale(1.1);
}




.btn-main-light {
  background: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  color: #1976d2;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
      width: fit-content;
         border: 1px solid #d9d9d9;
}

.btn-main-light:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4);
}


.btn-main-light svg {
  transition: transform 0.3s ease;
}

.btn-main-light:hover svg {
  transform: scale(1.1);
}


div#heroSlider h1 {
    color: #fff;
}

div#heroSlider p {
    color: #fff;
}


/* Animation support */
.product-card.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation-fill-mode: both;
}

.product-card.animate-on-scroll.animate-in {
  animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Product Card CTA */
.product-cta {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 999999999;
}
.apple-h{
  background-image: linear-gradient(108deg, #0079d0 0, #9e52d8 32%, #da365c 84%, #d04901 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.product-cta:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #333;
  text-decoration: none;
}

.product-cta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.product-cta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  line-height: 1.2;
}

.product-cta-heading {
  color: #666;
  font-size: 12px;
  font-weight: 400;
  margin: 0 !important;
  padding: 0;
  line-height: 1.25;
}

.product-cta-link {
  color: #007AFF;
  font-size: 14px;
  font-weight: 500;
  margin: 0 !important;
  padding: 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-cta-arrow {
  color: #007AFF;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.product-cta:hover .product-cta-arrow {
  transform: translateX(2px);
}

.product-cta p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ai-transformation-banner .product-cta {
  display: inline-flex;
  align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-card {
    min-height: 350px;
  }
  
  .product-content {
    padding: 30px 20px;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .product-subtitle {
    font-size: 1rem;
    max-width: 95%;
  }
  
  .product-cta {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .product-cta-avatar {
    width: 24px;
    height: 24px;
  }
  
  .product-cta-heading {
    font-size: 10px;
  }
  
  .product-cta-link {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .product-card {
    min-height: 320px;
  }
  
  .product-content {
    padding: 25px 15px;
  }
  
  .product-title {
    font-size: 1.5rem;
  }
  
  .product-subtitle {
    font-size: 0.9rem;
  }
  
  .btn-main {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .product-cta {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 15px;
    width: fit-content;
  }
}

/* Section spacing */
.section-section {
  padding: 40px 0;
}

.section-header { 
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-header .subtitle {
  font-size: 1.3rem;
  color: #666;
  font-weight: 400;
}

/* AI Transformation Banner */
.ai-transformation-banner {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 25%, #2563eb 50%, #3b82f6 75%, #60a5fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
}

.ai-transformation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
         pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-text {
    flex: 1;
    max-width: 600px;
    padding-right: 60px;
}

.banner-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
}

.btn-banner {
    display: inline-block;
    background: #fbbf24;
    color: #1e40af;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    border: none;
    cursor: pointer;
}

.btn-banner:hover {
    background: #f59e0b;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    text-decoration: none;
}

.banner-graphics {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.geometric-pattern {
    position: relative;
    width: 400px;
    height: 200px;
}

.pattern-svg {
    width: 100%;
    height: 100%;
    animation: float-pattern 6s ease-in-out infinite;
}

/* Floating animation for the pattern */
@keyframes float-pattern {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Animated connection lines */
.pattern-svg line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-line 3s ease-in-out infinite;
}

.pattern-svg line:nth-child(even) {
    animation-delay: 0.5s;
}

.pattern-svg line:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes draw-line {
    0%, 20% {
        stroke-dashoffset: 100;
        opacity: 0.3;
    }
    50%, 80% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0.3;
    }
}

/* Pulsing nodes */
.pattern-svg circle {
    animation: pulse-node 2s ease-in-out infinite;
}

.pattern-svg circle:nth-child(odd) {
    animation-delay: 0.3s;
}

@keyframes pulse-node {
    0%, 100% {
        opacity: 0.8;
        r: 3;
    }
    50% {
        opacity: 1;
        r: 4;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ai-transformation-banner {
        padding: 60px 20px;
    }
    
    .banner-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .banner-text {
        padding-right: 40px;
    }
    
    .banner-title {
        font-size: 42px;
    }
}

@media (max-width: 968px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-text {
        padding-right: 0;
        margin-bottom: 0;
        max-width: 100%;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .banner-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .geometric-pattern {
        width: 300px;
        height: 150px;
    }

    .banner-graphics {
        display: none;
    }

    .ai-transformation-banner {
        padding: 40px 16px !important;
        margin: 0 !important;
    }

    .ai-transformation-banner .product-cta,
    .ai-transformation-banner .product-cta.breathing-badge,
    .ai-transformation-banner a.banner-consult-cta {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .ai-transformation-banner {
        padding: 40px 16px !important;
        margin: 0 !important;
    }
    
    .banner-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .btn-banner {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .geometric-pattern {
        width: 250px;
        height: 120px;
    }

    .banner-graphics {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .ai-transformation-banner {
        background: #000080;
        border: 2px solid #ffffff;
    }
    
    .banner-title {
        color: #ffffff;
    }
    
    .banner-subtitle {
        color: #ffffff;
    }
    
    .btn-banner {
        background: #ffff00;
        color: #000000;
        border: 2px solid #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pattern-svg {
        animation: none;
    }
    
    .pattern-svg line {
        animation: none;
        stroke-dasharray: none;
        stroke-dashoffset: 0;
    }
    
    .pattern-svg circle {
        animation: none;
    }
}

/* Keep the Our Services consultation button compact, matching desktop */
.service-card .product-cta {
  box-sizing: border-box;
  bottom: 1.25rem;
  right: 1.25rem;
}

@media (max-width: 768px) {
  .service-card .product-cta,
  .service-card .product-cta.service-breathing-badge,
  .service-card .product-cta.breathing-badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 16px;
    margin-right: 12px;
    margin-bottom: 12px;
    margin-left: auto;
    align-self: flex-end;
    padding: 12px 16px !important;
    gap: 8px;
    border-radius: 12px;
    transform: none !important;
    animation: none !important;
  }

  .service-card .product-cta-avatar {
    width: 32px !important;
    height: 32px !important;
  }

  .service-card .product-cta-heading {
    font-size: 12px !important;
    font-weight: 400;
  }

  .service-card .product-cta-link {
    font-size: 14px !important;
    font-weight: 500;
  }

  .service-card:hover .product-cta,
  .service-card:hover .service-breathing-badge,
  .service-card .service-breathing-badge.active,
  .service-card .product-cta:hover {
    transform: none !important;
    animation: none !important;
  }
}

/* Vertically center the Book a consultation pill in the AI banner */
.ai-transformation-banner .product-cta,
.ai-transformation-banner .product-cta.breathing-badge {
  display: inline-flex !important;
  align-items: center !important;
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  right: 0 !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  animation: none !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.ai-transformation-banner .product-cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: 2px;
}

.ai-transformation-banner .product-cta p,
.ai-transformation-banner .product-cta-heading,
.ai-transformation-banner .product-cta-link {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2;
}

.our-products-grid .product-card {
  display: block;
  padding: 0;
  min-height: 420px;
  text-decoration: none;
  color: inherit;
  background-color: #0d1117;
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
}

.our-products-grid .product-overlay {
  background: linear-gradient(
    to top,
    rgba(8, 10, 16, 0.92) 0%,
    rgba(8, 10, 16, 0.55) 40%,
    rgba(8, 10, 16, 0.12) 70%,
    rgba(8, 10, 16, 0.08) 100%
  );
}

.our-products-grid .product-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.our-products-grid .product-subtitle {
  font-size: 0.98rem;
  max-width: 100%;
  color: #fff;
}

.our-products-grid .btn-main {
  text-decoration: none;
  color: #fff;
}

@media (min-width: 992px) {
  .our-products-grid .product-card {
    min-height: 440px;
  }
}