/* public_html/assets/css/style.css */

/* Core Variables exactly mimicking AncoraThemes TaxHelp */
:root {
  --primary-color: #0000DF; /* Electric Blue Accent */
  --primary-dark: #0000a3;
  --secondary-color: #121A2F; /* Deep Dark Navy/Black */
  --text-color: #6B7280; /* Elegant Grey for readability */
  --bg-light: #F4F7F9; /* Very soft blue-grey background */

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.7;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-size: 16px;
}

/* Utilities */
.text-primary-custom { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }

.section-padding { padding: 100px 0; }
.section-tag {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  display: block;
  margin-bottom: 12px;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 32px;
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 32px;
  transition: all 0.3s ease;
}
.btn-secondary-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Top Bar */
.top-bar {
  background-color: var(--secondary-color);
  color: #a0a6b5;
  font-size: 13px;
  padding: 10px 0;
}
.top-bar i { margin-right: 6px; }
.top-bar a {
  color: #a0a6b5;
  transition: 0.3s;
  text-decoration: none;
}
.top-bar a:hover { color: #fff; }

/* Navbar */
.navbar-brand {
  font-size: 28px;
  font-weight: 800;
}
.nav-link {
  color: var(--secondary-color) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 15px !important;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 3px solid var(--primary-color);
}

/* Hero Section - Minimalist Design */
.hero-section {
  position: relative;
  padding: 180px 0 150px;
  min-height: 90vh;
  overflow: hidden;
}

/* Animated gradient background */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 0, 223, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 0, 223, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 30%, rgba(0, 0, 223, 0.08) 0%, transparent 40%);
  animation: heroGradient 15s ease infinite;
  z-index: 1;
}

@keyframes heroGradient {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(5%, 5%) rotate(120deg);
  }
  66% {
    transform: translate(-5%, 5%) rotate(240deg);
  }
}

/* Grid pattern overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

/* Floating shapes decoration */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-shapes::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 0, 223, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-shapes::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 223, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* Hero overlay with gradient */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(10, 14, 39, 0.3) 0%, 
    rgba(10, 14, 39, 0.5) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: #a0aec0;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.hero-content p {
  color: #cbd5e0;
  font-weight: 400;
  line-height: 1.8;
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Enhanced button styles */
.hero-content .btn-primary-custom {
  background: linear-gradient(135deg, #0000DF 0%, #0000a3 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 16px 40px;
  font-size: 16px;
  letter-spacing: 0.5px;
  border-radius: 8px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 223, 0.4),
    0 5px 15px rgba(0, 0, 223, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.hero-content .btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-content .btn-primary-custom:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 223, 0.5),
    0 10px 25px rgba(0, 0, 223, 0.3);
}

.hero-content .btn-primary-custom:hover::before {
  left: 100%;
}

/* Secondary button style */
.hero-content .btn-secondary-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 14px 38px;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.hero-content .btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .hero-section {
    padding: 120px 0 100px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .hero-content .btn-primary-custom,
  .hero-content .btn-secondary-custom {
    padding: 14px 32px;
    font-size: 15px;
    width: 100%;
    margin: 10px 0;
  }
  .hero-shapes::before {
    width: 200px;
    height: 200px;
  }
  .hero-shapes::after {
    width: 150px;
    height: 150px;
  }
}
/* Service Boxes (Overlapping Hero) */
.services-overlap {
  margin-top: -100px;
  position: relative;
  z-index: 10;
}
@media (max-width: 991px) {
  .services-overlap {
    margin-top: 20px;
  }
}

.service-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  border-bottom: 3px solid transparent;
}
.service-box:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--primary-color);
}

.service-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.service-box h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* About Collage */
.about-collage {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}
.about-collage-main {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 90%;
}
.about-collage-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Bullet Points */
.feature-list li {
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
}
.feature-list i {
  color: var(--primary-color);
  font-size: 20px;
  vertical-align: middle;
}

/* Stats */
.stat-box h2 {
  font-size: 50px;
  font-weight: 800;
  color: var(--primary-color);
}
.stat-box p {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
}

/* Pricing/Buy DSC - Enhanced Hover Effects */
.pricing-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 50px 40px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 223, 0.15);
  border-color: var(--primary-color) !important;
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  position: relative;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.pricing-card.popular:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 223, 0.2);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #fff;
  padding: 6px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 223, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 0, 223, 0);
  }
}

/* Pricing button hover effects */
.pricing-card .btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.pricing-card .btn:hover::before {
  width: 300px;
  height: 300px;
}

.pricing-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 223, 0.2);
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: #8a94a6;
  padding: 80px 0 30px;
}
.footer h5 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 30px;
}
.footer a {
  color: #8a94a6;
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 60px;
  padding-top: 25px;
}

/* Social icons round */
.social-icon-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0,0,223,0.1);
  color: var(--primary-color);
  transition: all 0.3s;
}
.social-icon-round:hover {
  background: var(--primary-color);
  color: #fff;
}

.footer .social-icon-round {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer .social-icon-round:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Testimonials Carousel - Enhanced Sliding */
.carousel-item {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-item:not(.active) {
  opacity: 0;
}

.carousel-indicators button {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-indicators button:hover {
  transform: scale(1.3);
  border-color: var(--primary-color);
}

.carousel-indicators button.active {
  transform: scale(1.3);
  opacity: 1 !important;
}

.carousel-control-prev,
.carousel-control-next {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Testimonial card hover effect */
.carousel-item .row {
  transition: transform 0.3s ease;
}

.carousel-item:hover .row {
  transform: scale(1.01);
}

/* Reviewer avatar hover */
.carousel-item img.rounded-circle {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover img.rounded-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 223, 0.2);
}

/* Quote icon animation */
.carousel-item .fa-quote-left {
  transition: transform 0.3s ease;
}

.carousel-item:hover .fa-quote-left {
  transform: scale(1.1) rotate(-5deg);
}

/* Custom Hero SVG Button Override */
.custom-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}
.custom-hero-btn:hover .icon-circle {
  background-color: #004dcc !important;
  transform: translateX(3px);
}
.hero-section::before, .hero-section::after {
  display: none !important;
  animation: none !important;
}
.hero-overlay { display: none !important; }
.hero-shapes { display: none !important; }

/* Hero Title Gradient */
.hero-title-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Button Styles */
.hero-btn-primary {
  background: linear-gradient(135deg, #1b6ef3 0%, #0a4dc2 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(27, 110, 243, 0.3);
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, #0a4dc2 0%, #083d9e 100%);
  box-shadow: 0 6px 20px rgba(27, 110, 243, 0.4);
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .hero-section h1 { font-size: 3rem !important; }
  .hero-section .col-lg-8 { padding-left: 15px !important; margin-left: 0 !important; }
}

html {
  scroll-behavior: smooth;
}

.btn-light-hover {
  background-color: #E8E8E8 !important;
}
.btn-light-hover:hover {
  background-color: #d1d1d1 !important;
}
