/* ============================================
   Service Call - Modern Redesign
   ============================================ */

:root {
  --sc-primary: #0d9488;
  --sc-primary-dark: #0f766e;
  --sc-primary-light: #2dd4bf;
  --sc-accent: #f59e0b;
  --sc-dark: #0f172a;
  --sc-dark-soft: #1e293b;
  --sc-muted: #64748b;
  --sc-bg: #f8fafc;
  --sc-bg-alt: #f1f5f9;
  --sc-card: #ffffff;
  --sc-radius: 16px;
  --sc-radius-sm: 10px;
  --sc-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --sc-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --sc-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base overrides */
body {
  color: var(--sc-dark) !important;
  background-color: var(--sc-bg) !important;
  font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif !important;
  font-size: 1rem;
  line-height: 1.6;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  color: var(--sc-dark) !important;
  letter-spacing: -0.02em;
}

h1, .ts-h1 {
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
  line-height: 1.2;
}

h2, .ts-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  margin-bottom: 2.5rem;
}

/* ========== Navbar ========== */
.navbar.sc-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  padding: 0.75rem 0;
}

.navbar.sc-nav .navbar-nav .nav-link {
  color: var(--sc-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: var(--sc-radius-sm);
  transition: color var(--sc-transition), background var(--sc-transition);
}

.navbar.sc-nav .navbar-nav .nav-link:hover,
.navbar.sc-nav .navbar-nav .nav-link.active {
  color: var(--sc-primary) !important;
  background: rgba(13, 148, 136, 0.08);
}

.navbar.sc-nav .navbar-toggler {
  border-color: rgba(15, 23, 42, 0.15);
  border-radius: var(--sc-radius-sm);
}

/* ========== Hero ========== */
#ts-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ts-hero .ts-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#ts-hero .ts-background-image {
  background-position: center;
  background-size: cover;
}

#ts-hero .ts-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 1;
}

#ts-hero .container {
  position: relative;
  z-index: 2;
}

#ts-hero h1 {
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.35em;
}

#ts-hero h1:last-of-type {
  font-weight: 500;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
  opacity: 0.95;
}

#ts-hero .ts-social-icons a {
  color: rgba(255, 255, 255, 0.85);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background var(--sc-transition), color var(--sc-transition), transform var(--sc-transition);
}

#ts-hero .ts-social-icons a:hover {
  background: var(--sc-primary);
  color: #fff;
  transform: translateY(-2px);
}

#ts-hero .ts-btn-effect .ts-visible,
#ts-hero .ts-btn-effect .ts-hidden {
  background: var(--sc-primary) !important;
  border: none;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform var(--sc-transition), background var(--sc-transition);
}

#ts-hero .ts-btn-effect:hover .ts-visible,
#ts-hero .ts-btn-effect:hover .ts-hidden {
  background: var(--sc-primary-dark) !important;
  transform: translateY(4px);
}

/* ========== Sections ========== */
#ts-content {
  background: var(--sc-bg);
}

#ts-content .ts-block {
  padding: 4.5rem 0;
}

#ts-content #my-services:first-of-type {
  padding-top: 4rem;
}

#ts-content section:nth-child(even) {
  background: var(--sc-bg-alt);
}

.ts-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.ts-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-primary-light));
  border-radius: 2px;
  transform: translateX(-50%);
}

/* ========== Service cards ========== */
#my-services .ts-item,
#delivery-partner .ts-item {
  height: 100%;
  margin-bottom: 0;
}

#my-services .ts-item-content,
#delivery-partner .ts-item-content {
  background: var(--sc-card);
  border-radius: var(--sc-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sc-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--sc-transition), box-shadow var(--sc-transition), border-color var(--sc-transition);
}

#my-services .ts-item:hover .ts-item-content,
#delivery-partner .ts-item:hover .ts-item-content {
  transform: translateY(-6px);
  box-shadow: var(--sc-shadow-lg);
  border-color: rgba(13, 148, 136, 0.2);
}

#my-services .ts-item-header .icon,
#delivery-partner .ts-item-header .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(45, 212, 191, 0.12));
  border-radius: var(--sc-radius-sm);
}

#my-services .ts-item-header .icon img,
#delivery-partner .ts-item-header .icon img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

#my-services .ts-item-body h4,
#delivery-partner .ts-item-body h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--sc-dark) !important;
}

#my-services .ts-item-body p,
#delivery-partner .ts-item-body p {
  color: var(--sc-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

#my-services .ts-item-footer a,
#delivery-partner .ts-item-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sc-primary) !important;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--sc-transition), gap var(--sc-transition);
}

#my-services .ts-item-footer a:hover,
#delivery-partner .ts-item-footer a:hover {
  color: var(--sc-primary-dark) !important;
  gap: 0.75rem;
}

#my-services .ts-item-footer a::after {
  content: '→';
}

/* Delivery partner section - single centered card */
#delivery-partner .parent-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#delivery-partner .ts-item-content {
  max-width: 420px;
  text-align: center;
}

#delivery-partner .ts-item-header .icon {
  margin-left: auto;
  margin-right: auto;
}

#delivery-partner .ts-item-body h4 {
  font-size: 1.05rem;
}

/* ========== About section ========== */
#about-me .ts-title h2::after {
  display: block;
}

#about-me img.mw-100 {
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow-lg);
}

#about-me h4.ts-bubble-border {
  color: var(--sc-primary) !important;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

#about-me p {
  color: var(--sc-dark-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

#about-me .container p {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Footer ========== */
.sc-footer {
  margin-top: 0 !important;
}

.sc-footer__main {
  background: linear-gradient(180deg, var(--sc-dark) 0%, var(--sc-dark-soft) 100%);
  padding: 4rem 0 3.5rem;
  position: relative;
}

.sc-footer__main::before {
  display: none !important;
}

/* Brand block */
.sc-footer__brand {
  text-align: center;
  margin-bottom: 3rem;
}

.sc-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.sc-footer__heading {
  color: #fff !important;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sc-footer__heading::after {
  display: none;
}

.sc-footer__tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* Contact cards grid */
.sc-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

@media (min-width: 576px) {
  .sc-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sc-footer__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sc-radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background var(--sc-transition), border-color var(--sc-transition), transform var(--sc-transition);
}

.sc-footer__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-2px);
}

.sc-footer__card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.25);
  border-radius: 12px;
}

.sc-footer__card-icon img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.sc-footer__card h5 {
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.sc-footer__card-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.sc-footer__card-text a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--sc-transition);
}

.sc-footer__card-text a:hover {
  color: var(--sc-primary-light);
}

/* Social */
.sc-footer__social {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sc-footer__social h3 {
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sc-footer__social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sc-footer__social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background var(--sc-transition), color var(--sc-transition), transform var(--sc-transition);
}

.sc-footer__social-link:hover {
  background: var(--sc-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Bottom bar */
.sc-footer__bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem 0;
}

.sc-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  padding-right: 52px;
}

.sc-footer__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sc-footer__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--sc-transition);
}

.sc-footer__links a:hover {
  color: var(--sc-primary-light);
}

.sc-footer__dot {
  color: rgba(255, 255, 255, 0.4);
  font-weight: bold;
  user-select: none;
}

.sc-footer__copyright {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.875rem;
}

.sc-footer__back-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sc-primary);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background var(--sc-transition), transform var(--sc-transition);
}

.sc-footer__back-top:hover {
  background: var(--sc-primary-dark);
  color: #fff;
  transform: translateY(-50%) translateY(-2px);
}

@media (max-width: 767px) {
  .sc-footer__bottom-inner {
    flex-direction: column;
    padding-right: 0;
    padding-bottom: 3rem;
  }
  .sc-footer__back-top {
    position: absolute;
    bottom: 0;
    top: auto;
    transform: none;
  }
}

/* Legacy footer social (privacy/return when not yet updated to new markup) */
.sc-footer__main .pt-5 {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.sc-footer__main .pt-5 .col-md-4 {
  max-width: 100%;
}
.sc-footer__main .pt-5 h3 {
  color: #fff !important;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.sc-footer__main .ts-column-count-sm-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.sc-footer__main .pt-5 a.d-flex {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
}
.sc-footer__main .pt-5 .ts-circle__xs {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none !important;
  border-radius: 50%;
  transition: background var(--sc-transition), transform var(--sc-transition);
}
.sc-footer__main .pt-5 a.d-flex:hover .ts-circle__xs {
  background: var(--sc-primary);
  transform: translateY(-3px);
}

/* ========== Policy pages (privacy, return) ========== */
.sc-hero--short {
  min-height: 50vh;
}
.sc-hero--short .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.sc-policy {
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.sc-policy__inner {
  max-width: 720px;
  margin: 0 auto;
}
.sc-policy__lead {
  font-size: 1.05rem;
  color: var(--sc-dark-soft);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.sc-policy__inner p {
  color: var(--sc-dark-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.sc-policy__inner h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
}
.sc-policy__inner h2::after {
  display: none;
}
.sc-policy__inner hr {
  border: 0;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  margin: 1rem 0;
}
.sc-policy__inner a {
  color: var(--sc-primary);
  text-decoration: none;
}
.sc-policy__inner a:hover {
  text-decoration: underline;
}
.sc-policy__h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
}
.sc-policy__h2::after {
  display: none;
}
.sc-policy__h4 {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  color: var(--sc-dark) !important;
}
.sc-policy__hr {
  border: 0;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  margin: 1rem 0;
}
.sc-policy__list {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.sc-policy__list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--sc-dark-soft);
}

/* ========== Utilities ========== */
.parent-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.ts-item {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* Row spacing for services */
#my-services .row {
  margin-top: 1rem;
}

#my-services .col-sm-6.col-md-4 {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  #my-services .col-sm-6.col-md-4 {
    margin-bottom: 0;
  }
}

/* Modal polish */
.modal-content {
  border-radius: var(--sc-radius) !important;
  box-shadow: var(--sc-shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--sc-bg-alt);
}

.modal .close {
  opacity: 0.8;
}

.modal .close:hover {
  opacity: 1;
}
