/* Global Fixes */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Fix for About Section Background Clipping */
.about-us {
  background-position: top center !important;
  /* Ensure top wave is visible */
  background-size: 100% auto !important;
  /* Force width match, auto height to preserve top */
}

/* Mobile check for background size */
@media (max-width: 992px) {
  .about-us {
    background-size: cover !important;
  }
}

/* SpaceCatWeb overrides for enhanced services highlights */
.our-services .services-highlights {
  margin-top: 40px;
  padding: 35px 30px 10px;
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: 0 30px 60px rgba(211, 84, 0, 0.08);
  border: 1px solid rgba(211, 84, 0, 0.08);
}

.our-services .services-highlights h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 12px;
}

.our-services .services-highlights-intro {
  color: rgba(42, 42, 42, 0.7);
  margin-bottom: 28px;
}

.our-services .services-highlight-grid {
  row-gap: 24px;
}

.our-services .services-highlight-card {
  position: relative;
  height: 100%;
  padding: 28px 24px 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(232, 246, 255, 0.94));
  border: 1px solid rgba(211, 84, 0, 0.15);
  box-shadow: 0 20px 48px rgba(15, 42, 80, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}

.our-services .services-highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(15, 42, 80, 0.14);
}

.our-services .services-highlight-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #D35400;
  margin-bottom: 10px;
}

.our-services .services-highlight-card p {
  color: rgba(42, 42, 42, 0.65);
  line-height: 26px;
}

.our-services .services-highlight-card::before {
  content: attr(data-index);
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(211, 84, 0, 0.55);
  letter-spacing: 2px;
}

.our-services .services-highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(211, 84, 0, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.our-services .services-highlight-card:hover::after {
  opacity: 1;
}

.our-services .services-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 18px;
}

.our-services .highlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0f1535;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.our-services .highlight-cta i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.our-services .services-highlight-card:hover .highlight-cta i {
  transform: translateX(6px);
}

@media (max-width: 992px) {
  .our-services .services-highlights {
    padding: 28px 22px 6px;
  }

  .our-services .services-highlight-card {
    margin-bottom: 20px;
    padding: 24px 22px 18px;
  }
}

.our-portfolio .portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(242, 248, 255, 0.96) 100%);
  border: 1px solid rgba(211, 84, 0, 0.08);
  box-shadow: 0 24px 50px rgba(12, 34, 64, 0.12);
  text-decoration: none;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-portfolio .portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(211, 84, 0, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.our-portfolio .portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 72px rgba(12, 34, 64, 0.18);
}

.our-portfolio .portfolio-card:hover::before {
  opacity: 1;
}

.our-portfolio .portfolio-card-media {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.our-portfolio .portfolio-card-media img {
  max-width: 110px;
  filter: drop-shadow(0 14px 28px rgba(211, 84, 0, 0.22));
}

.our-portfolio .portfolio-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

.our-portfolio .portfolio-card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f1535;
}

.our-portfolio .portfolio-card-body p {
  color: rgba(15, 21, 53, 0.66);
  font-size: 0.88rem;
  line-height: 1.6;
}

.our-portfolio .portfolio-card-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #D35400;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
}

.our-portfolio .portfolio-card-cta i {
  transition: transform 0.25s ease;
}

.our-portfolio .portfolio-card:hover .portfolio-card-cta i {
  transform: translateX(6px);
}

@media (max-width: 992px) {
  .our-portfolio .portfolio-card {
    padding: 24px 22px;
  }
}

@media (max-width: 576px) {
  .our-portfolio .portfolio-card {
    align-items: flex-start;
    gap: 16px;
  }

  .our-portfolio .portfolio-card-media {
    justify-content: center;
  }

  .our-portfolio .portfolio-card-media img {
    max-width: 90px;
  }
}


/* Fix for services section image overflow - FORCE VISIBLE */
section#services,
section.our-services,
.our-services {
  overflow: visible !important;
  position: relative;
}

.our-services .left-image {
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.our-services .left-image img {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible !important;
  max-width: none !important;
}

/* Ensure container doesn't clip decorative elements */
.our-services .container {
  overflow: visible !important;
  position: relative;
}

.our-services .row {
  overflow: visible !important;
}

.our-services .col-lg-6 {
  overflow: visible !important;
}

/* Ensure section itself doesn't clip */
section.our-services {
  overflow: visible !important;
  padding-top: 140px !important;
  padding-bottom: 140px !important;
}

/* Add extra padding to prevent clipping */
.our-services .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Override global img overflow hidden */
.our-services img {
  overflow: visible !important;
}

/* Pricing Conditions Bubble Styles */
.pricing-conditions {
  margin-top: 40px;
  text-align: center;
  position: relative;
}

.conditions-toggle {
  background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(211, 84, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.conditions-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(211, 84, 0, 0.4);
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
}

.conditions-toggle i {
  font-size: 18px;
}

.conditions-bubble {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: white;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(15, 42, 80, 0.2);
  border: 2px solid rgba(211, 84, 0, 0.2);
  max-width: 500px;
  width: 90vw;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
}

.conditions-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

.conditions-bubble.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.conditions-bubble p {
  margin: 0;
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}

.conditions-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(211, 84, 0, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #D35400;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conditions-close:hover {
  background: rgba(211, 84, 0, 0.2);
  transform: rotate(90deg);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .conditions-bubble {
    max-width: 90vw;
    padding: 20px 24px;
    bottom: calc(100% + 10px);
  }
  
  .conditions-toggle {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .conditions-bubble p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .conditions-bubble {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 85vw;
  }
  
  .conditions-bubble.active {
    transform: translate(-50%, -50%) scale(1);
  }
  
  .conditions-bubble::after {
    display: none;
  }
}

/* Payment Section Styles */
.payment-section {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f6ff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.payment-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(211, 84, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.payment-content {
  text-align: center;
  background: white;
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(211, 84, 0, 0.15);
  position: relative;
  z-index: 1;
}

.payment-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.payment-content h2 span {
  color: #D35400;
  font-size: 48px;
}

.payment-subtitle {
  font-size: 20px;
  color: #D35400;
  font-weight: 600;
  margin-bottom: 24px;
}

.payment-description {
  font-size: 16px;
  color: rgba(42, 42, 42, 0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.payment-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.payment-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #2a2a2a;
  font-weight: 600;
}

.payment-feature i {
  color: #D35400;
  font-size: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.payment-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
  color: white;
  padding: 18px 48px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(211, 84, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(211, 84, 0, 0.4);
  color: white;
  text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .payment-content {
    padding: 40px 30px;
  }
  
  .payment-content h2 {
    font-size: 28px;
  }
  
  .payment-content h2 span {
    font-size: 36px;
  }
  
  .payment-subtitle {
    font-size: 18px;
  }
  
  .payment-description {
    font-size: 15px;
  }
  
  .payment-features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .payment-cta-button {
    padding: 16px 36px;
    font-size: 16px;
  }
}

/* Slow down pricing card animations and remove hover */
.pricing-card.wow {
  animation-duration: 3s !important;
}

.pricing-card {
  transition: none !important;
}

.pricing-card:hover {
  transform: none !important;
  box-shadow: 0 10px 30px var(--shadow-color) !important;
}

/* Enhanced Blog Section - Right List Containers */
.our-blog .right-list ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.our-blog .right-list ul li {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.95) 100%);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(211, 84, 0, 0.12);
  box-shadow: 0 20px 50px rgba(15, 42, 80, 0.1);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.our-blog .right-list ul li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #D35400 0%, #E67E22 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}

.our-blog .right-list ul li:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.our-blog .right-list ul li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(211, 84, 0, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.our-blog .right-list ul li:hover {
  transform: translateX(-8px);
  box-shadow: 0 28px 65px rgba(15, 42, 80, 0.16);
  border-color: rgba(211, 84, 0, 0.25);
}

.our-blog .right-list ul li:hover::after {
  opacity: 1;
}

.our-blog .right-list .left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.our-blog .right-list .left-content span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(211, 84, 0, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.our-blog .right-list .left-content span i {
  font-size: 14px;
  color: #D35400;
}

.our-blog .right-list .left-content h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #2a2a2a;
  margin: 0;
  transition: color 0.25s ease;
}

.our-blog .right-list ul li:hover .left-content h4 {
  color: #D35400;
}

.our-blog .right-list .left-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(42, 42, 42, 0.7);
  margin: 0;
}

.our-blog .right-list .right-image {
  flex-shrink: 0;
  width: 140px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(211, 84, 0, 0.15);
  position: relative;
  z-index: 1;
  transition: all 0.35s ease;
}

.our-blog .right-list ul li:hover .right-image {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(211, 84, 0, 0.25);
}

.our-blog .right-list .right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.our-blog .right-list ul li:hover .right-image img {
  transform: scale(1.1);
}

.our-blog .blog-more-link {
  margin-top: 32px;
  text-align: center;
}

.our-blog .blog-more-link .main-blue-button {
  display: inline-block;
}

.our-blog .blog-more-link .main-blue-button a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(211, 84, 0, 0.3);
  transition: all 0.3s ease;
}

.our-blog .blog-more-link .main-blue-button a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(211, 84, 0, 0.4);
  color: white;
}

/* Mobile responsive for blog right list */
@media (max-width: 992px) {
  .our-blog .right-list ul li {
    flex-direction: column;
    text-align: center;
  }
  
  .our-blog .right-list .right-image {
    width: 100%;
    height: 200px;
    order: -1;
  }
  
  .our-blog .right-list .left-content {
    align-items: center;
  }
  
  .our-blog .right-list ul li:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 576px) {
  .our-blog .right-list ul {
    gap: 20px;
  }
  
  .our-blog .right-list ul li {
    padding: 20px;
  }
  
  .our-blog .right-list .left-content h4 {
    font-size: 16px;
  }
  
  .our-blog .right-list .right-image {
    height: 180px;
  }
}
