/* Apple-inspired minimal theme */
:root {
  --apple-text: #111;
  --apple-muted: #6e6e73;
  --apple-border: #e5e5e7;
  --apple-surface: #fff;
  --apple-surface-alt: #fafafa;
  --apple-link: #06c;
}

html,
body {
  color: var(--apple-text);
  background: var(--apple-surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  color: var(--apple-text);
  letter-spacing: -.02em;
}

h1,
.main-title {
  font-weight: 700;
}

h2 {
  font-weight: 600;
}

p,
.hero-description,
.section-subtitle {
  color: var(--apple-muted);
}

a {
  color: var(--apple-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.topbar {
  border-bottom: 1px solid var(--apple-border);
  font-size: 13px;
  position: relative;
  z-index: 1001;
}

.site-header {
  background: var(--apple-surface);
  border-bottom: 1px solid var(--apple-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .main-menu>li>a {
  color: var(--apple-text);
  font-weight: 500;
}

.site-header .main-menu>li>a:hover {
  color: var(--apple-text);
  opacity: .7;
}

/* Hero */
.main-banner {
  background: var(--apple-surface) !important;
  box-shadow: none !important;
  padding-top: 140px !important;
}

.main-banner .left-content h6 {
  color: var(--apple-muted);
  font-weight: 600;
}

/* Buttons */
.btn-cta,
.main-button,
.border-first-button a {
  background: transparent;
  color: var(--apple-text);
  border: 1px solid var(--apple-border);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: .2s ease;
}

.btn-cta:hover,
.main-button:hover,
.border-first-button a:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  text-decoration: none;
}

/* Cards and sections */
.section,
.services,
.portfolio,
.testimonials-section,
.contact-us {
  background: var(--apple-surface);
}

.card,
.service-card,
.portfolio-item,
.testimonial-item {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  box-shadow: none !important;
  border-radius: 18px;
}

/* Services */
.services .naccs .menu div {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 18px;
  box-shadow: none;
}

.services .naccs .menu div.active {
  background: var(--apple-surface);
  box-shadow: none;
  border-color: #c9c9cc;
}

.services .icon i {
  color: #86868b;
}

.services .naccs .menu div:hover {
  transform: none;
  border-color: #c9c9cc;
}

/* Portfolio */
.our-portfolio .owl-stage {
  display: flex;
  align-items: stretch;
}

.our-portfolio .owl-item {
  display: flex;
  height: 100%;
}

.our-portfolio .owl-item .item {
  display: flex;
  height: 100%;
  width: 100%;
}

.our-portfolio .owl-item .item a {
  display: flex;
  height: 100%;
  width: 100%;
}

.portfolio-item {
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: 0;
  border: none;
}

.portfolio-item:hover {
  transform: translateY(-2px);
}

.portfolio-item .thumb {
  border: none;
  flex-shrink: 0;
  height: 200px;
  overflow: hidden;
  border-radius: 0;
}

.portfolio-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.portfolio-item .down-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.portfolio-item .down-content h4 {
  margin-bottom: 8px;
}

.portfolio-item .down-content span {
  margin-bottom: 12px;
}

.portfolio-tags {
  margin-top: auto;
}

.portfolio-overlay {
  background: rgba(0, 0, 0, .06) !important;
  color: var(--apple-text);
}

.portfolio-overlay .overlay-content i {
  color: var(--apple-text);
  font-size: 22px;
}

.portfolio-overlay .overlay-content span {
  color: var(--apple-text);
  font-weight: 600;
}

.portfolio-tags .tag {
  background: var(--apple-surface-alt);
  border: 1px solid var(--apple-border);
  color: var(--apple-muted);
}

/* Testimonials */
.testimonial-item .quote-icon i {
  color: #bbb;
}

/* Forms */
.contact-us input,
.contact-us textarea {
  border: 1px solid var(--apple-border) !important;
  border-radius: 12px;
  background: #fff;
  color: var(--apple-text);
}

.contact-us input:focus,
.contact-us textarea:focus {
  outline: none;
  border-color: #000 !important;
  box-shadow: none;
}

/* Footer tweaks if any footer exists */
footer,
.footer {
  background: var(--apple-surface);
  border-top: 1px solid var(--apple-border);
}

/* Layout spacing and stability */
section,
.section {
  padding: 72px 0;
}

.our-portfolio {
  padding: 72px 0;
}

/* Typography refinements */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-heading h6 {
  color: var(--apple-muted);
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.section-heading h4 {
  letter-spacing: -.015em;
}

.section-heading .line-dec {
  background: #d2d2d7 !important;
  background-image: none !important;
  width: 56px;
  height: 3px;
  border-radius: 999px;
}

/* Calmer buttons */
.btn-cta,
.main-button,
.border-first-button a,
.primary-btn,
.secondary-btn,
.service-btn {
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
}

.primary-btn {
  background: #000;
  color: #fff !important;
  border-color: #000;
}

.primary-btn:hover {
  background: #111;
  border-color: #111;
}

.secondary-btn,
.service-btn {
  background: transparent;
  color: #111 !important;
  border: 1px solid var(--apple-border);
}

.secondary-btn:hover,
.service-btn:hover {
  background: #000;
  color: #fff !important;
  border-color: #000;
}

/* Ensure primary service buttons render with white text on black background */
.service-btn.primary {
  background: #000;
  color: #fff !important;
  border-color: #000;
}

.service-btn.primary:hover {
  background: #111;
  border-color: #111;
  color: #fff !important;
}

/* Hide heavy template decorations for a clean look */
.main-banner::before,
.main-banner::after {
  display: none !important;
  content: '' !important;
}

.services::before,
.services::after {
  display: none !important;
  content: '' !important;
}

/* Hero spacing to account for sticky header */
.main-banner {
  padding-top: 120px !important;
}

/* Cards minimalism */
.service-card .service-icon i {
  font-size: 22px;
  color: #6e6e73;
}

.service-card h5 {
  font-weight: 700;
}

.portfolio-item {
  border-radius: 18px;
}

.testimonial-item {
  border-radius: 18px;
}

/* Section backgrounds */
.our-portfolio,
.services,
.testimonials-section,
.contact-us {
  background: var(--apple-surface);
}

/* Testimonials refinements */
.testimonials-section {
  background: var(--apple-surface-alt);
}

.testimonials-section .section-heading h6 {
  color: var(--apple-muted);
}

.testimonial-item {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 18px;
  box-shadow: none !important;
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.testimonial-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.testimonial-content {
  position: relative;
  padding-left: 40px;
}

.testimonial-content .quote-icon {
  position: absolute;
  top: 0;
  left: 0;
  opacity: .25;
}

.testimonial-content .quote-icon i {
  font-size: 30px;
  color: #6e6e73;
}

.testimonial-content p {
  color: var(--apple-text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--apple-border);
}

.testimonial-author .author-info h5 {
  margin: 0;
  font-weight: 700;
  color: var(--apple-text);
}

.testimonial-author .author-info span {
  color: var(--apple-muted);
  font-size: 14px;
}

/* Statistics refinements */
.statistics-section {
  background: var(--apple-surface-alt);
  padding: 72px 0;
}

.stat-item {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: none !important;
  transition: transform .15s ease, box-shadow .2s ease;
}

.stat-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--apple-surface-alt);
  color: #6e6e73;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 18px;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--apple-text);
  line-height: 1.1;
}

.stat-label {
  color: var(--apple-muted);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 6px;
}

@media (max-width: 992px) {
  .stat-item {
    padding: 18px;
  }

  .stat-number {
    font-size: 28px;
  }
}

/* Services CTA refinements */
.services-cta {
  background: var(--apple-surface-alt);
  border: 1px solid var(--apple-border);
  border-radius: 18px;
  padding: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.services-cta h4 {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -.015em;
}

.services-cta .cta-subtitle {
  color: var(--apple-muted);
  margin: 0 0 14px;
}

.services-cta .cta-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.services-cta .cta-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--apple-border);
  border-radius: 999px;
  background: var(--apple-surface);
  color: #6e6e73;
  font-weight: 600;
  font-size: 13px;
}

.services-cta .cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px;
}

.services-cta .cta-alt {
  color: var(--apple-muted);
  font-size: 14px;
}

.services-cta .cta-alt a {
  color: var(--apple-text);
  text-decoration: underline;
}

@media (max-width: 576px) {
  .services-cta {
    padding: 22px;
  }

  .services-cta .cta-buttons {
    flex-direction: column;
  }
}

/* Global section spacing */
:root {
  --section-y: 80px;
  --section-y-mobile: 56px;
  --anchor-offset: 100px;
}

/* Apply consistent vertical spacing to all major sections */
.section,
section,
.services,
.our-portfolio,
.statistics-section,
.testimonials-section,
.contact-us,
.why,
.pricing,
.free-quote {
  padding-top: var(--section-y) !important;
  padding-bottom: var(--section-y) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  scroll-margin-top: var(--anchor-offset);
}

/* Maintain hero special spacing but keep consistent bottom rhythm */
.main-banner {
  padding-bottom: var(--section-y) !important;
  scroll-margin-top: var(--anchor-offset);
}

@media (max-width: 992px) {

  .section,
  section,
  .services,
  .our-portfolio,
  .statistics-section,
  .testimonials-section,
  .contact-us,
  .why,
  .pricing,
  .free-quote {
    padding-top: var(--section-y-mobile) !important;
    padding-bottom: var(--section-y-mobile) !important;
  }

  .main-banner {
    padding-bottom: var(--section-y-mobile) !important;
  }
}

/* Footer refinements */
.site-footer {
  background: var(--apple-surface-alt);
  border-top: 1px solid var(--apple-border);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.8;
  transition: opacity .2s ease;
}

.footer-brand .footer-logo:hover {
  opacity: 0.9;
}

.footer-brand h5 {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--apple-text);
}

.footer-brand p {
  color: var(--apple-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-social a:hover {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  color: #3B82F6 !important;
}

.footer-section h6 {
  color: var(--apple-text);
  font-weight: 700;
  margin: 0 0 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--apple-muted);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--apple-text);
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-contact .contact-item i {
  color: var(--apple-muted);
  width: 16px;
}

.footer-contact .contact-item a {
  color: var(--apple-muted);
  text-decoration: none;
}

.footer-contact .contact-item a:hover {
  color: var(--apple-text);
}

.footer-contact .contact-item span {
  color: var(--apple-muted);
}

.footer-bottom {
  border-top: 1px solid var(--apple-border);
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--apple-muted);
  margin: 0;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--apple-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom-links a:hover {
  color: var(--apple-text);
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Logo refinements */
.site-header .brand img {
  height: 44px;
  width: auto;
  opacity: 0.9;
  transition: opacity .2s ease;
}

.site-header .brand img:hover {
  opacity: 1;
}

.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.8;
  transition: opacity .2s ease;
}

.footer-brand .footer-logo:hover {
  opacity: 1;
}

/* Contact section refinements */
.contact-hero {
  background: linear-gradient(135deg, var(--apple-surface) 0%, var(--apple-surface-alt) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.contact-badge {
  background: linear-gradient(135deg, #34C759, #30D158);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  display: inline-block;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--apple-text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 18px;
  color: var(--apple-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.contact-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.contact-btn.primary {
  background: var(--apple-text);
  color: #fff;
}

.contact-btn.primary:hover {
  background: var(--apple-muted);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.contact-btn.secondary {
  background: var(--apple-surface-alt);
  color: var(--apple-text);
  border: 2px solid var(--apple-border);
}

.contact-btn.secondary:hover {
  background: var(--apple-text);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.contact-us {
  background: var(--apple-surface);
}

.contact-map .map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.contact-content {
  padding-left: 20px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: var(--apple-surface-alt);
  color: var(--apple-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 18px;
}

.contact-details h6 {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--apple-text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-details a,
.contact-details span {
  color: var(--apple-muted);
  text-decoration: none;
  font-size: 15px;
  display: block;
}

.contact-details a:hover {
  color: var(--apple-text);
}

.contact-note {
  font-size: 12px;
  color: var(--apple-muted);
  margin-top: 4px;
}

.contact-form-container {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 24px;
}

.form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--apple-text);
  margin-bottom: 12px;
}

.form-subtitle {
  color: var(--apple-muted);
  margin-bottom: 32px;
  font-size: 14px;
}

.contact-form-container input,
.contact-form-container textarea {
  border: 1px solid var(--apple-border) !important;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 15px;
  transition: border-color .2s ease;
  margin-bottom: 16px;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  outline: none;
  border-color: #000 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .1);
}

.contact-submit-btn {
  background: var(--apple-text);
  color: #fff;
  border: none;
  padding: 18px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .3s ease;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.contact-submit-btn:hover {
  background: var(--apple-muted);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.line-qr-section {
  text-align: center;
  padding: 24px;
  background: var(--apple-surface-alt);
  border-radius: 12px;
}

.line-qr-section h6 {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--apple-text);
}

.line-qr-section p {
  color: var(--apple-muted);
  margin: 0 0 16px;
  font-size: 14px;
}

.qr-container {
  display: inline-block;
}

.qr-code {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 32px;
  }

  .contact-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 200px;
    justify-content: center;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-content {
    padding-left: 0;
    margin-top: 24px;
  }
}

/* Typography improvements */
p,
.hero-description,
.section-subtitle,
.service-card p,
.contact-card p,
.cta-subtitle {
  font-size: 16px;
  line-height: 1.7;
}

.hero-description {
  font-size: 18px;
}

.section-subtitle {
  font-size: 17px;
}

.service-card p {
  font-size: 16px;
}

.contact-card p {
  font-size: 16px;
}

.cta-subtitle {
  font-size: 17px;
}

/* Statistics section refinements */
.statistics-section {
  background: var(--apple-surface);
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--apple-surface-alt), var(--apple-border));
  color: var(--apple-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--apple-text);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: var(--apple-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

/* Services section refinements */
.services-hero {
  background: linear-gradient(135deg, var(--apple-surface) 0%, var(--apple-surface-alt) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.services-badge {
  background: linear-gradient(135deg, #007AFF, #5856D6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  display: inline-block;
}

.services-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--apple-text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.services-subtitle {
  font-size: 18px;
  color: var(--apple-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.services-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.services-stats .stat-item {
  text-align: center;
}

.services-stats .stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--apple-text);
  margin-bottom: 4px;
}

.services-stats .stat-label {
  font-size: 14px;
  color: var(--apple-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.services-categories {
  margin-bottom: 40px;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-tab {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  color: var(--apple-muted);
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}

.category-tab:hover {
  background: var(--apple-surface-alt);
  color: var(--apple-text);
}

.category-tab.active {
  background: var(--apple-text);
  color: #fff;
  border-color: var(--apple-text);
}

.services-grid {
  margin-bottom: 60px;
}

.services-grid .col-lg-4.col-md-6 {
  margin-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 991px) {
  .services-grid .col-lg-4.col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.service-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
  border-color: var(--apple-text);
}

.service-card.premium {
  border: 2px solid #007AFF;
  background: linear-gradient(135deg, var(--apple-surface) 0%, rgba(0, 122, 255, .05) 100%);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #FF3B30, #FF9500);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--apple-surface-alt), var(--apple-border));
  color: var(--apple-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.service-card h5 {
  font-size: 20px;
  font-weight: 600;
  color: var(--apple-text);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--apple-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.service-features li {
  color: var(--apple-muted);
  margin-bottom: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: #34C759;
  margin-right: 8px;
  font-size: 12px;
}

.service-cta {
  margin-top: auto;
}

.service-btn {
  display: block;
  width: 100%;
  background: var(--apple-surface-alt);
  color: var(--apple-text);
  border: 1px solid var(--apple-border);
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: all .2s ease;
}

.service-btn:hover {
  background: var(--apple-text);
  color: #fff;
  text-decoration: none;
}

.service-btn.primary {
  background: var(--apple-text);
  color: #fff;
}

.service-btn.primary:hover {
  background: var(--apple-muted);
}

.services-cta {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.services-cta h4 {
  font-size: 28px;
  font-weight: 600;
  color: var(--apple-text);
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 16px;
  color: var(--apple-muted);
  margin-bottom: 24px;
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cta-badges span {
  background: var(--apple-surface-alt);
  color: var(--apple-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.cta-badges span i {
  margin-right: 6px;
  color: #34C759;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cta-alt {
  font-size: 14px;
  color: var(--apple-muted);
}

.cta-alt a {
  color: var(--apple-text);
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .services-title {
    font-size: 32px;
  }

  .services-stats {
    flex-direction: column;
    gap: 20px;
  }

  .category-tabs {
    flex-direction: column;
    align-items: center;
  }

  .category-tab {
    width: 200px;
  }

  .cta-badges {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Facebook Chat Widget */
.fb-customerchat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.floating-contact-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007AFF, #5856D6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-contact-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
}

.floating-contact-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  min-width: 200px;
}

.floating-contact.active .floating-contact-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--apple-text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.floating-contact-item:hover {
  background: var(--apple-surface-alt);
  color: var(--apple-text);
  text-decoration: none;
}

.floating-contact-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.floating-contact-item span {
  font-size: 14px;
  font-weight: 500;
}

/* Pulse animation for floating button */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
  }

  50% {
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.6);
  }

  100% {
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-contact {
    bottom: 15px;
    right: 15px;
  }

  .floating-contact-toggle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .floating-contact-menu {
    bottom: 60px;
    min-width: 180px;
  }
}

/* Previous Work Section */
.previous-work-section {
  padding: 80px 0;
  background: var(--apple-surface);
}

.work-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  transition: all .3s ease;
  margin-bottom: 30px;
}

.work-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

.work-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.work-item:hover .work-image img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.work-content {
  padding: 24px;
}

.work-content h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--apple-text);
  margin-bottom: 12px;
}

.work-content p {
  color: var(--apple-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.work-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.work-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--apple-muted);
}

.work-stats i {
  color: var(--apple-accent);
}

.work-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-tag {
  background: var(--apple-accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

/* Cookie Consent Banner - Dark, Beautiful & Compact */
.cookie-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: auto;
  max-width: 420px;
  z-index: 1100;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.is-hidden {
  opacity: 0;
  transform: translateX(-30px) translateY(30px);
  pointer-events: none;
}

.cookie-consent-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-consent-content h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cookie-consent-content p {
  margin: 6px 0 0;
  color: #CBD5E1;
  line-height: 1.5;
  font-size: 13px;
}

.cookie-consent-content a {
  color: #8B5CF6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cookie-consent-content a:hover {
  color: #A78BFA;
  text-decoration: underline;
}

.cookie-consent-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 4px 0;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-consent-actions .btn-primary,
.cookie-consent-actions .btn-secondary,
.cookie-consent-actions .cookie-accept,
.cookie-consent-actions .cookie-deny {
  flex: 1;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent-actions .btn-primary,
.cookie-consent-actions .cookie-accept {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.cookie-consent-actions .btn-primary:hover,
.cookie-consent-actions .cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.cookie-consent-actions .btn-secondary,
.cookie-consent-actions .cookie-deny {
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-consent-actions .btn-secondary:hover,
.cookie-consent-actions .cookie-deny:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cookie-consent-link {
  font-size: 11px;
  color: #94A3B8;
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: color 0.2s ease;
}

.cookie-consent-link:hover {
  color: #8B5CF6;
  text-decoration: none;
}

.cookie-consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 14px;
}

.cookie-consent-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent {
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }

  .cookie-consent-inner {
    padding: 18px 20px;
  }

  .cookie-consent-content h5 {
    font-size: 15px;
  }

  .cookie-consent-content p {
    font-size: 12px;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-consent-actions .btn-primary,
  .cookie-consent-actions .btn-secondary,
  .cookie-consent-actions .cookie-accept,
  .cookie-consent-actions .cookie-deny {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .cookie-consent-inner {
    padding: 16px 18px 18px;
  }

  .cookie-consent-close {
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .cookie-consent-eyebrow {
    font-size: 9px;
  }
}