/* ===== GLOBAL SECTION BORDERS - PREMIUM GRADIENT ===== */
:root {
  --border-gradient-start: #12DAD1;
  --border-gradient-end: #FF9A3C;
  --border-thickness: 2px;
  --border-radius: 32px;
  --shadow-premium: 0 12px 52px rgba(26, 31, 58, 0.12);
}

/* Universal Section Wrapper */
.section-wrapper {
  border: var(--border-thickness) solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(var(--bg-ink), var(--bg-ink)),
                    linear-gradient(135deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-premium);
  transition: all 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.section-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  z-index: 1;
}

.section-wrapper:hover {
  box-shadow: 0 16px 64px rgba(18, 218, 209, 0.18);
  transform: translateY(-2px);
}

/* ===== HOME SECTION BORDER ===== */
.hero-section {
  border: var(--border-thickness) solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(#0B0E13, #0B0E13),
                    linear-gradient(135deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  z-index: 2;
}

/* ===== SERVICES SECTION BORDER ===== */
.cards-bg {
  border: var(--border-thickness) solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(white, white),
                    linear-gradient(135deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}

.cards-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  z-index: 10;
}

.cards-bg:hover {
  box-shadow: 0 16px 64px rgba(18, 218, 209, 0.18);
  transform: translateY(-2px);
}

/* ===== TESTIMONIALS SECTION BORDER ===== */
.testimonials-section {
  border: var(--border-thickness) solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(135deg, #f5f7fa 0%, #f0f3f7 50%, #e8ecf1 100%),
                    linear-gradient(135deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  z-index: 2;
}

.testimonials-section:hover {
  box-shadow: 0 16px 64px rgba(18, 218, 209, 0.18);
  transform: translateY(-2px);
}

/* ===== ABOUT SECTION BORDER ===== */
.about-section {
  border: var(--border-thickness) solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(135deg, #f8fafc 0%, #f0f3f7 50%, #e8ecf1 100%),
                    linear-gradient(135deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  z-index: 2;
}

.about-section:hover {
  box-shadow: 0 16px 64px rgba(18, 218, 209, 0.18);
  transform: translateY(-2px);
}

/* ===== FAQ SECTION BORDER ===== */
.faq-section {
  border: var(--border-thickness) solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(135deg, #f8fafc 0%, #f0f3f7 50%, #e8ecf1 100%),
                    linear-gradient(135deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  z-index: 2;
}

.faq-section:hover {
  box-shadow: 0 16px 64px rgba(18, 218, 209, 0.18);
  transform: translateY(-2px);
}

/* ===== CONTACT SECTION BORDER ===== */
.contact-section {
  border: var(--border-thickness) solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(135deg, #f8fafc 0%, #f0f3f7 50%, #e8ecf1 100%),
                    linear-gradient(135deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--border-gradient-start) 0%, var(--border-gradient-end) 100%);
  z-index: 2;
}

.contact-section:hover {
  box-shadow: 0 16px 64px rgba(18, 218, 209, 0.18);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  :root {
    --border-radius: 24px;
  }

  .section-wrapper,
  .hero-section,
  .cards-bg,
  .testimonials-section,
  .about-section,
  .faq-section,
  .contact-section {
    box-shadow: 0 8px 40px rgba(26, 31, 58, 0.08);
  }
}

@media (max-width: 600px) {
  :root {
    --border-radius: 16px;
  }

  .section-wrapper,
  .hero-section,
  .cards-bg,
  .testimonials-section,
  .about-section,
  .faq-section,
  .contact-section {
    box-shadow: 0 4px 20px rgba(26, 31, 58, 0.06);
    transition: all 0.24s ease;
  }
}





