@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-bg: var(--brand-bg, #ffffff);
  
  --font-main: 'Outfit', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.premium-theme {
  background-color: var(--color-bg) !important;
  color: var(--color-text) !important;
  font-family: var(--font-main) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* Utilities */
.glass-panel {
  background: var(--color-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px var(--color-shadow);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--color-btn-bg);
  color: var(--brand-button-text);
  box-shadow: 0 4px 14px var(--color-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-shadow);
  background: var(--color-btn-hover-bg);
  color: var(--color-btn-hover-text);
  border-color: var(--color-btn-hover-bg);
}

.btn-accent {
  background: var(--color-btn-bg);
  color: var(--brand-button-text);
  box-shadow: 0 8px 24px var(--color-primary-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--color-primary-glow);
  filter: brightness(1.1);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

/* Header */
.premium-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-header .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 24px;
  position: relative;
}

.premium-header .nav-link:hover,
.premium-header .nav-link.active {
  color: var(--color-text);
}

.premium-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--color-primary);
  transition: var(--transition-smooth);
}

.premium-header .nav-link:hover::after,
.premium-header .nav-link.active::after {
  width: 100%;
}

/* Mobile Nav */
.mobile-nav-overlay {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  transform: translateY(-10px);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-overlay .nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}

/* Sections */
.premium-section {
  padding: 100px 0;
  position: relative;
}

/* Footer */
.premium-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
}

.footer-brand {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}

.footer-link {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* --- Ticker Banner --- */
.ticker-banner-wrapper {
  background: var(--color-primary);
  color: #000;
  overflow: hidden;
  position: relative;
  z-index: 999;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  white-space: nowrap;
}

.ticker-content {
  display: flex;
  flex-shrink: 0;
  animation: marquee-scroll 35s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  text-transform: uppercase;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --- Hero Section --- */
.premium-hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.premium-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  filter: grayscale(30%) contrast(1.1);
  overflow: hidden;
}

.premium-hero-bg .slick-list,
.premium-hero-bg .slick-track {
  height: 100% !important;
}

.hero-slide-item {
  height: 100vh;
}

.hero-media-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(9, 9, 11, 0.4) 0%, rgba(9, 9, 11, 0.95) 100%);
  z-index: 2;
}

.premium-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--color-primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
  white-space: normal;
  line-height: 1.5;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-hero-title);
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-hero-subtitle);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* --- Search Card --- */
.premium-search-card {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px var(--color-shadow);
  position: relative;
  z-index: 20;
}

.premium-search-card select {
  background: var(--color-bg) !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text) !important;
  border-radius: 12px !important;
  height: 56px !important;
  padding: 0 20px !important;
  font-size: 1rem !important;
  transition: var(--transition-fast);
}

.premium-search-card select:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 2px var(--color-primary-glow) !important;
  outline: none;
}

/* --- Service Cards --- */
.premium-service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.premium-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 20px rgba(6, 182, 212, 0.1);
}

.service-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.premium-service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, #ef4444, #f43f5e);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  letter-spacing: 1px;
}

.category-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--color-surface);
  backdrop-filter: blur(8px);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-title a {
  color: var(--color-text);
}

.service-title a:hover {
  color: var(--color-primary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.price-current {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-text);
}

.price-original {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  opacity: 0.7;
}

/* --- Discount Popup Modal --- */
.discount-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-shadow);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.discount-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.discount-modal-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  transform: scale(0.95) translateY(20px);
  transition: var(--transition-smooth);
  box-shadow: 0 25px 50px -12px var(--color-shadow);
}

.discount-modal-backdrop.active .discount-modal-card {
  transform: scale(1) translateY(0);
}

.discount-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.discount-modal-close:hover {
  color: var(--color-text);
  transform: rotate(90deg);
}

.discount-tag-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* Premium Theme Form Elements */
body.premium-theme .form-control,
body.premium-theme .form--control,
body.premium-theme input[type="text"],
body.premium-theme input[type="tel"],
body.premium-theme input[type="email"],
body.premium-theme input[type="password"],
body.premium-theme input[type="number"],
body.premium-theme textarea,
body.premium-theme select {
  background-color: var(--color-surface) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border) !important;
}

body.premium-theme .form-control:focus,
body.premium-theme .form--control:focus,
body.premium-theme input[type="text"]:focus,
body.premium-theme input[type="tel"]:focus,
body.premium-theme input[type="email"]:focus,
body.premium-theme input[type="password"]:focus,
body.premium-theme input[type="number"]:focus,
body.premium-theme textarea:focus,
body.premium-theme select:focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
}

body.premium-theme .form-control::placeholder,
body.premium-theme .form--control::placeholder,
body.premium-theme input::placeholder,
body.premium-theme textarea::placeholder {
  color: var(--color-text-muted) !important;
}

body.premium-theme .single-info-overview .single-info-input .info-title {
  color: var(--color-text) !important;
}

/* nice-select Support */
body.premium-theme .nice-select {
  background-color: var(--color-surface) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border) !important;
}

body.premium-theme .nice-select .list {
  background-color: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
}

body.premium-theme .nice-select .option {
  color: var(--color-text) !important;
}

body.premium-theme .nice-select .option:hover,
body.premium-theme .nice-select .option.focus,
body.premium-theme .nice-select .option.selected.focus {
  background-color: var(--color-surface-hover) !important;
}

/* Modern Footer Updates */
.social-icon-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 20px;
  margin-right: 16px;
}
.social-icon-modern:last-child {
  margin-right: 0;
}
.social-icon-modern:hover {
  color: #ffffff;
  transform: translateY(-4px);
}
.social-icon-modern.brand-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3);
}
.social-icon-modern.brand-twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
  box-shadow: 0 10px 20px rgba(29, 161, 242, 0.3);
}
.social-icon-modern.brand-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(225, 48, 108, 0.3);
}
.social-icon-modern.brand-linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  box-shadow: 0 10px 20px rgba(10, 102, 194, 0.3);
}
.social-icon-modern.brand-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}
.icon-box-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.tracking-wider {
  letter-spacing: 0.1em;
}


/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 34px;
  box-shadow: 0px 10px 20px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #fff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0px 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: inherit;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
}

.slick-dots li button:before { color: var(--brand-primary) !important; opacity: 0.4 !important; font-size: 10px !important; } .slick-dots li.slick-active button:before { color: var(--brand-primary) !important; opacity: 1 !important; transform: scale(1.4); transition: transform 0.3s ease; }

/* Circular Progress Back To Top */
.progress-wrap {
  position: fixed;
  right: 40px;
  bottom: 110px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.05);
  z-index: 1049;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  content: '\f077';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: var(--brand-primary);
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  z-index: 3;
  transition: all 0.3s ease;
}
.progress-wrap:hover::after {
  color: var(--brand-secondary, #0ea5e9);
  transform: translateY(-4px);
}
.progress-wrap::before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background: var(--brand-card-bg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1;
  transition: all 0.3s ease;
}
.progress-wrap:hover::before {
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.progress-wrap svg.progress-circle {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}
.progress-wrap svg path {
  fill: none;
}
.progress-wrap svg.progress-circle path {
  stroke: var(--brand-primary);
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 0.2s linear;
}

@media (max-width: 768px) {
  .progress-wrap {
    right: 20px;
    bottom: 80px;
    height: 45px;
    width: 45px;
  }
  .progress-wrap::after {
    line-height: 45px;
    height: 45px;
    width: 45px;
    font-size: 16px;
  }
}
