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

:root {
  --primary: #0A1628;
  --primary-light: #162a4a;
  --accent: #FF6B35;
  --accent-hover: #e65a28;
  --bg-color: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --text-main: #2D2D2D;
  --text-muted: #6b7280;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --primary: #F8F9FA;
  --primary-light: #E2E8F0;
  --bg-color: #0A1628;
  --bg-secondary: #0C1A2E;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero,
[data-theme="dark"] .testimonials,
[data-theme="dark"] .cta-section,
[data-theme="dark"] .contact-info {
  background-color: #050B14 !important;
}

[data-theme="dark"] .stats,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .faq-question {
  background-color: var(--bg-secondary) !important;
  color: var(--text-main);
}

[data-theme="dark"] .stat-item p,
[data-theme="dark"] .feature-content p,
[data-theme="dark"] .price span,
[data-theme="dark"] .price-features li,
[data-theme="dark"] .portfolio-content p,
[data-theme="dark"] .detail-label {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .price,
[data-theme="dark"] .portfolio-content h3,
[data-theme="dark"] .form-group label,
[data-theme="dark"] .detail-value,
[data-theme="dark"] .service-item-header h3 {
  color: var(--text-main) !important;
}

[data-theme="dark"] .form-control {
  background-color: var(--bg-color);
  border-color: var(--border);
  color: var(--text-main);
}

[data-theme="dark"] body {
  background-color: var(--bg-color);
  color: var(--text-main);
}

[data-theme="dark"] .bg-light {
  background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .service-item-card,
[data-theme="dark"] .price-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .bg-white {
  background-color: var(--bg-secondary) !important;
  color: var(--text-main) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .hero {
  background-color: #050B14; /* Deepest navy for hero */
}

[data-theme="dark"] footer {
  background-color: #050B14;
  border-top: 1px solid var(--border);
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid var(--border);
}

[data-theme="dark"] .section-padding {
  background-color: var(--bg-color);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}
.section-padding { padding: 5rem 0; }
.bg-light { background-color: var(--bg-secondary); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header & Navbar */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

header.scrolled nav {
  padding: 0.5rem 0;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShine 4s linear infinite;
  white-space: nowrap;
}

.logo-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.8;
}

@keyframes logoShine {
  to {
    background-position: 200% center;
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
}

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--primary);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  margin: 0 1rem;
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Dropdown Menu Styles */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background-color: var(--bg-color);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  border: 1px solid var(--border);
}

.has-dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.7rem 1.5rem !important;
  font-size: 0.9rem !important;
  color: var(--text-main) !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.submenu a:hover {
  background-color: var(--bg-secondary) !important;
  color: var(--accent) !important;
  padding-left: 2rem !important;
}

/* Mobile Submenu */
@media (max-width: 768px) {
  .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: rgba(0,0,0,0.05);
    border-radius: 0;
    margin-top: 5px;
  }
  
  .has-dropdown.open .submenu {
    max-height: 400px;
    padding: 0.5rem 0;
  }
  
  .has-dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
  }
}

[data-theme="dark"] .submenu {
  background-color: var(--bg-secondary);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .price-card {
  background-color: var(--bg-secondary);
}

[data-theme="dark"] header {
  background-color: var(--bg-color);
}

[data-theme="dark"] header.scrolled {
  background-color: rgba(10, 22, 40, 0.95);
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  color: var(--white);
  padding: 10rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Stats Section */
.stats {
  background-color: var(--white);
  padding: 3rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
  margin-top: -3rem;
  border-radius: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Services Overview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--accent);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-price {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.why-image img {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  background-color: var(--primary);
  color: var(--white);
}

.testimonials .section-title,
.testimonials .section-subtitle {
  color: var(--white);
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--primary-light);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.stars {
  color: #FFD700;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.client-info h5 {
  color: var(--white);
  font-size: 1.1rem;
}

.client-info span {
  color: var(--accent);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(rgba(10, 22, 40, 0.9), rgba(10, 22, 40, 0.9)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  padding: 6rem 0;
  color: var(--white);
  position: relative;
  background-attachment: fixed;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Page Headers */
.page-header {
  background-color: var(--primary);
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
}

[data-theme="dark"] .page-header {
  background-color: #050B14;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Pricing Page */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.price-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.price-card.popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.price-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-features {
  margin: 2rem 0;
  text-align: left;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li i {
  color: var(--accent);
}

/* Portfolio Page */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background-color: var(--white);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.portfolio-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
  transition: object-position 3s ease-in-out;
}

.portfolio-item:hover .portfolio-img {
  object-position: bottom;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: var(--text-muted);
}

.before-after {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Contact Page */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem;
  border-radius: 10px;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-item i {
  color: var(--accent);
  font-size: 1.5rem;
}

.contact-form {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--white);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 1.2rem;
  max-height: 500px; /* Arbitrary large number */
  border-top: 1px solid var(--border);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Floating Elements */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 35px;
  background-color: var(--primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-10px); }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  [data-theme="dark"] .nav-links {
    background-color: var(--bg-color);
  }

  .nav-links.active {
    left: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 { font-size: 2.2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { order: -1; }
  .cta-section h2 { font-size: 2rem; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* Comparison Slider */
.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--white);
}

.image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Added support for side-by-side source images (Before Left, After Right) */
.comparison-slider.side-by-side .image-before img {
  width: 200%;
  max-width: none;
  left: 0;
}

.comparison-slider.side-by-side .image-after img {
  width: 200%;
  max-width: none;
  left: -100%;
}

.slider {
  position: absolute;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 100%;
  background: transparent;
  outline: none;
  margin: 0;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  cursor: ew-resize;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: 4px solid var(--white);
  border-radius: 50%;
  cursor: ew-resize;
  box-shadow: var(--shadow-md);
}

.slider::-moz-range-thumb {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border: 4px solid var(--white);
  border-radius: 50%;
  cursor: ew-resize;
  box-shadow: var(--shadow-md);
}

/* Service List Styles */
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 1100px) {
  .service-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-list-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-item-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-item-header h3 {
  font-size: 1.25rem;
  margin: 0 !important;
  max-width: 80%;
  color: var(--primary);
  font-weight: 700;
}

.badge-hot-small {
  background: #ff4d4d;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(255, 77, 77, 0.3);
}

.service-item-details {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 600;
  color: var(--primary);
}

.price-delhi {
  color: var(--accent);
  font-weight: 700;
}

.btn-whatsapp-sm {
  background-color: #25D366;
  color: white !important;
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-top: auto;
  font-family: 'Poppins', sans-serif;
}

.btn-whatsapp-sm:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Category Tabs Styling */
.category-title {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Enhanced Service Card Styles */
.service-item-card {
  transition: var(--transition);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(255, 107, 53, 0.25);
  border-color: var(--accent);
  filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.2));
}

.service-item-card.highlight {
  border: 2px solid var(--accent);
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.15);
}

.service-item-card.highlight:hover {
  transform: scale(1.02) translateY(-8px);
}

.feature-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-list li i {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.card-cta {
  margin-top: auto;
  text-align: center;
}

.btn-whatsapp-sm {
  background-color: #25D366;
  color: white !important;
  padding: 0.8rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-top: auto;
  font-family: 'Poppins', sans-serif;
  animation: none;
}

.btn-whatsapp-sm:hover {
  background-color: #1ebe57;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.most-popular-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--accent);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.badge-high-demand {
  display: inline-block;
  background: #ff4d4d;
  color: white;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.urgency-text {
  color: #ff4d4d;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  display: block;
}

/* Trust Section */
.trust-section {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border);
}

.trust-content {
  background: rgba(124, 77, 255, 0.05); /* Very subtle purple-ish hint for "premium/trust" */
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 3rem;
  margin-top: 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.trust-item {
  text-align: center;
}

.trust-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.trust-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

[data-theme="dark"] .trust-content {
  background: rgba(255, 255, 255, 0.02);
}

/* Tagline Styles */
.top-tagline {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

[data-theme="dark"] .top-tagline {
  background: var(--bg-color);
}

/* ============================================
   PROMO BANNER SECTION
   ============================================ */
.promo-banner {
  background: linear-gradient(135deg, #FF6B35 0%, #ff3a00 35%, #c0392b 65%, #8B0000 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 10px,
    transparent 10px,
    transparent 20px
  );
  pointer-events: none;
}

.promo-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.promo-badge {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.promo-headline {
  font-size: 1.6rem;
  color: white;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.promo-highlight {
  background: rgba(255,255,255,0.25);
  padding: 2px 12px;
  border-radius: 8px;
  display: inline-block;
}

.promo-subtext {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

.promo-code-box {
  background: rgba(0,0,0,0.2);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 180px;
}

.promo-code-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.promo-code-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.promo-code {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  letter-spacing: 3px;
  font-family: monospace;
}

.copy-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.05);
}

.promo-code-note {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}

.promo-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-promo-main {
  background: white;
  color: #c0392b;
  border: 2px solid white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-promo-main:hover {
  background: #c0392b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-promo-wa {
  background: #25D366;
  color: white;
  border: 2px solid #25D366;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-promo-wa:hover {
  background: #1fbd5c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* Dark Mode Promo */
[data-theme="dark"] .promo-banner {
  background: linear-gradient(135deg, #c0392b 0%, #922b21 50%, #641e16 100%);
}

/* Mobile Promo */
@media (max-width: 900px) {
  .promo-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .promo-badge { display: inline-block; margin: 0 auto; }
  .promo-cta { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .promo-code-box { max-width: 280px; margin: 0 auto; }
}
