/* TechieTam Custom Styles - Minimal additions to Tailwind */

/* ===========================================
   BUTTON STYLES (Legacy support)
   =========================================== */

.main-btn {
  background: #10b981;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.main-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  color: white;
}

.hero-btn-secondary {
  background: transparent;
  color: #10b981;
  border: 2px solid #10b981;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-btn-secondary:hover {
  background: white;
  color: #10b981;
  transform: none;
  box-shadow: none;
}

/* Specific style for home page service card buttons */
#services-container .hero-btn-secondary {
  background: transparent;
  color: #10b981;  /* Theme green text */
  border: 2px solid #10b981;  /* Theme green border */
}

#services-container .hero-btn-secondary:hover {
  background: #10b981;
  color: white;
}

/* ===========================================
   SERVICE PAGE CARD STYLES
   =========================================== */

/* Service Card Styling with Hover Animations - Matching Index Page */
.service-card {
  background: #f9fafb !important;
  border-radius: 0.75rem !important;
  padding: 2rem !important;
  transition: all 0.3s ease !important;
}

/* Base service card styling */
.service-card {
  background: #f9fafb !important;
  border-radius: 0.75rem !important;
  padding: 2rem !important;
  transition: all 0.3s ease !important;
}

/* Hover effect only for index page service cards */
#services-container .service-card:hover,
.services-grid .service-card:hover {
  box-shadow: 0 0 20px 4px rgba(16, 185, 129, 0.3) !important;
}

/* Consistent service card layout for homepage */
#services-container .service-card,
.services-grid .service-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

#services-container .service-card .text-center,
.services-grid .service-card .text-center {
  margin-top: auto !important;
  padding-top: 1rem !important;
}

/* Content card styling for service pages - no hover effect */
.service-content-card {
  background: #f9fafb !important;
  border-radius: 0.75rem !important;
  padding: 2rem !important;
  transition: none !important;
}

/* Feature List Styling */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  margin: 4px 0; /* Adjust this to control spacing */
  padding: 0;
  line-height: 1.4; /* Helps tighten vertical space */
}

.feature-list li:last-child {
  border-bottom: none !important;
}


.feature-list .icon {
  color: #10b981 !important;
  margin-right: 1rem !important;
  margin-top: 0.125rem !important;
  font-size: 1.125rem !important;
  flex-shrink: 0 !important;
}

.feature-list .text {
  color: #374151 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

/* Enhanced Prose Styling for Service Overview */
.prose {
  color: #374151 !important;
  line-height: 1.7 !important;
}

.prose ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1.5rem 0 !important;
}

.prose ul li {
  position: relative !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s ease !important;
}

.prose ul li:hover {
  background-color: #f0fdf4 !important;
  padding-left: 2.5rem !important;
  transform: translateX(0.25rem) !important;
}

.prose ul li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.5rem !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
  font-size: 0.75rem !important;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2) !important;
  transition: all 0.2s ease !important;
}

.prose ul li:hover::before {
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3) !important;
}

.prose ol {
  counter-reset: custom-counter !important;
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1.5rem 0 !important;
}

.prose ol li {
  position: relative !important;
  counter-increment: custom-counter !important;
  padding-left: 2.5rem !important;
  margin-bottom: 1rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s ease !important;
}

.prose ol li:hover {
  background-color: #f0fdf4 !important;
  padding-left: 3rem !important;
  transform: translateX(0.25rem) !important;
}

.prose ol li::before {
  content: counter(custom-counter) !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.5rem !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: bold !important;
  font-size: 0.875rem !important;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2) !important;
  transition: all 0.2s ease !important;
}

.prose ol li:hover::before {
  transform: scale(1.1) rotate(-5deg) !important;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3) !important;
}

.prose p {
  margin-bottom: 1rem !important;
  line-height: 1.7 !important;
}

.prose h3,
.prose h4 {
  color: #1f2937 !important;
  font-weight: 700 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

.prose h3 {
  font-size: 1.25rem !important;
}

.prose h4 {
  font-size: 1.125rem !important;
}

/* Section Headers */
.section-header {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 2rem !important;
}

.section-icon {
  width: 3rem !important;
  height: 3rem !important;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border-radius: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 1rem !important;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3) !important;
}

.section-icon:hover {
  transform: none !important;
}

.section-icon i {
  color: white !important;
  font-size: 1.25rem !important;
}

/* Review Card (nested within service-card) */
.review-card {
  background: white !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.stars {
  color: #fbbf24 !important;
  font-size: 1.125rem !important;
  margin-bottom: 0.5rem !important;
}

.review-text {
  color: #6b7280 !important;
  font-style: italic !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.5 !important;
}

.review-author {
  color: #374151 !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

/* Contact Form Enhancement */
.contact-form {
  background: white !important;
  border-radius: 1.5rem !important;
  padding: 3rem !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #e5e7eb !important;
}

/* Hero Enhancement */
.hero-icon {
  width: 5rem !important;
  height: 5rem !important;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border-radius: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !importan;
  margin: 0 auto 2rem !important;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4) !important;
  transition: all 0.3s ease !important;
}

.hero-icon:hover {
  transform: scale(1.05) rotate(5deg) !important;
}

.hero-icon i {
  color: white !important;
  font-size: 2rem !important;
}

/* Fade in animation */
.fade-in {
  opacity: 0 !important;
  transform: translateY(1.25rem) !important;
  transition: all 0.6s ease-out !important;
}

.fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* No reviews message */
.no-reviews {
  color: #6b7280 !important;
  text-align: center !important;
  font-style: italic !important;
}

/* Notification styles */
.notification-success,
.notification-error {
  position: fixed !important;
  top: 5rem !important;
  right: 1rem !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  z-index: 50 !important;
  color: white !important;
  transition: transform 0.3s ease !important;
}

.notification-success {
  background: #10b981 !important;
}

.notification-error {
  background: #ef4444 !important;
}

.notification-hidden {
  transform: translateX(100%) !important;
}

.notification-visible {
  transform: translateX(0) !important;
}

/* Mobile menu states */
.mobile-menu-hidden {
  display: none !important;
}

/* Back to top button states */
.back-to-top-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

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

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(4px) !important;
}

/* Error page styles */
.error-container {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f9fafb !important;
}

.error-content {
  text-align: center !important;
}

.error-title {
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin-bottom: 1rem !important;
}

.error-message {
  color: #6b7280 !important;
  margin-bottom: 2rem !important;
}

.error-button {
  background: #10b981 !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
}

.error-button:hover {
  background: #059669 !important;
}

/* Button focus states for forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  outline: none;
}

select:focus {
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  outline: none;
}

/* Floating Share Button */
.floating-share-wrapper {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1000;
}

.floating-share-btn {
  background: #10b981;
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.floating-share-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.floating-share-btn:active {
  transform: translateY(0);
}

/* Share feedback message */
.share-feedback {
  position: fixed;
  bottom: 160px;
  right: 24px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1001;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #10b981;
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 50;
}

.back-to-top-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.back-to-top-btn:active {
  transform: translateY(0);
}

.back-to-top-btn:not(.opacity-0):not(.invisible) {
  opacity: 1;
  visibility: visible;
}



.bg-section-light {
  background-color: #d2fae5 !important;
}

/* Price options title */
.price-options-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Pricing options as vertical list */
.price-options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.price-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: left;
}

.price-option:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: none;
}

.price-option {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}

.price-option:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: none;
}

.price-tier {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.price-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

/* Specific section title colors */
/* What's Included and Service Overview headings */
/* Specific section title colors for service pages */
#main-content h2.text-3xl.font-bold.text-dark-grey,
#main-content h3.text-xl.font-bold.text-dark-grey {
  color: #374151 !important;
}

/* ===========================================
   CUSTOM ANIMATIONS & KEYFRAMES
   =========================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceGentle {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(-2px);
  }
}

/* Animation utility classes */
.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

.animate-bounce-gentle {
  animation: bounceGentle 2s infinite;
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

.fade-in-delay {
  animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
  animation: fadeIn 1s ease-in 0.6s both;
}

/* ===========================================
   NAVBAR ACTIVE STATES (Simplified for performance)
   =========================================== */

.nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: #10b981;
  transition: width 0.2s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active {
  background: #10b981;
  color: white !important;
  font-weight: 600;
}

.nav-link.active::after {
  display: none;
}

.nav-link.active:hover {
  background: #059669;
}

/* ===========================================
   MOBILE MENU ANIMATIONS
   =========================================== */

#mobile-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.show {
  max-height: 400px;
}

#mobile-menu a {
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 2px 0;
  display: block;
}

#mobile-menu a:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981 !important;
}

#mobile-menu a.active {
  background: #10b981;
  color: white !important;
  font-weight: 600;
}

#mobile-menu a.active:hover {
  background: #059669;
  transform: translateX(2px);
}

/* ===========================================
   FOOTER OVERRIDES (Theme consistency)
   =========================================== */

footer * {
  color: white !important;
}

footer h3,
footer h4 {
  color: white !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

footer p,
footer li,
footer a {
  color: rgba(255, 255, 255, 0.9) !important;
}

footer a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

footer .fab:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* ===========================================
   UTILITY OVERRIDES & ACCESSIBILITY
   =========================================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile menu button animation */
#mobile-menu-btn {
  transition: transform 0.2s ease;
}

#mobile-menu-btn:hover {
  transform: scale(1.1);
}

/* Back to top button enhancements */
#back-to-top {
  transition: all 0.3s ease;
}

#back-to-top:hover {
  transform: translateY(-2px);
}

/* ===========================================
   RESPONSIVE & ACCESSIBILITY
   =========================================== */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for accessibility */
.focus-visible:focus {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

#testimonials-container {
  transition: opacity 0.5s ease-in-out;
}

#testimonials-container.fade-out {
  opacity: 0;
}

.testimonial-card-content {
  height: 400px; /* Adjust this value as needed */
}