/* ============================================
   ADDICTION COUNSELLING - FULL WIDTH LAYOUT
   ============================================ */

:root {
  --ac-primary: #667eea;
  --ac-secondary: #764ba2;
  --ac-dark: #2c3e50;
  --ac-gray: #555;
  --ac-light-gray: #999;
  --ac-bg: #f8f9fa;
  --ac-border: rgba(102, 126, 234, 0.15);
}

/* Breadcrumb Navigation */
.ac-breadcrumb-nav {
  background: var(--ac-bg);
  padding: 20px 0;
  border-bottom: 2px solid var(--ac-border);
}

.ac-breadcrumb-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.ac-breadcrumb-item {
  font-size: 14px;
}

.ac-breadcrumb-item a {
  color: var(--ac-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ac-breadcrumb-item a:hover {
  color: var(--ac-secondary);
  text-decoration: underline;
}

.ac-breadcrumb-active {
  color: var(--ac-dark);
  font-weight: 600;
}

.ac-breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--ac-light-gray);
}

/* Hero Section */
.ac-hero-section {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 3px solid var(--ac-primary);
}

.ac-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ac-hero-icon {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 80px;
  margin-bottom: 30px;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  transition: all 0.4s ease;
}

.ac-hero-section:hover .ac-hero-icon {
  transform: scale(1.1);
}

.ac-hero-title {
  color: var(--ac-dark);
  font-size: 60px;
  font-weight: 900;
  margin: 20px 0;
  line-height: 1.2;
}

.ac-hero-subtitle {
  color: var(--ac-primary);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
  max-width: 700px;
}

.ac-hero-btn {
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  color: #ffffff;
  padding: 16px 60px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.ac-hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
  color: #ffffff;
  text-decoration: none;
}

/* Main Section */
.ac-main-section {
  padding: 60px 0;
}

/* Content Row */
.ac-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
  padding: 40px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.08);
}

.ac-content-row.ac-row-reverse {
  direction: rtl;
}

.ac-content-half {
  direction: ltr;
}

.ac-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: 15px;
  padding: 50px;
  min-height: 350px;
}

.ac-placeholder-icon {
  font-size: 80px;
  color: var(--ac-primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.ac-image-placeholder:hover .ac-placeholder-icon {
  transform: scale(1.2);
}

.ac-image-placeholder p {
  color: var(--ac-gray);
  font-weight: 600;
  font-size: 16px;
}

/* Section Title */
.ac-section-title {
  color: var(--ac-dark);
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 25px;
  border-bottom: 4px solid var(--ac-primary);
  padding-bottom: 15px;
  display: inline-block;
}

.ac-title-center {
  display: block;
  text-align: center;
  border: none;
  padding: 0;
  margin-bottom: 15px;
}

.ac-subtitle-center {
  text-align: center;
  color: var(--ac-gray);
  font-size: 18px;
  margin-bottom: 40px;
}

.ac-content-text {
  color: var(--ac-gray);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 18px;
  text-align: justify;
}

/* Types Section */
.ac-types-section {
  margin-bottom: 80px;
}

.ac-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.ac-type-card {
  background: linear-gradient(135deg, #ffffff 0%, rgba(102, 126, 234, 0.02) 100%);
  padding: 40px 30px;
  border-radius: 15px;
  border: 2px solid var(--ac-border);
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.08);
}

.ac-type-card:hover {
  border-color: var(--ac-primary);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.ac-type-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 40px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.ac-type-card:hover .ac-type-icon {
  transform: scale(1.15) rotate(10deg);
}

.ac-type-title {
  color: var(--ac-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ac-type-text {
  color: var(--ac-gray);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Process Section */
.ac-process-section {
  margin-bottom: 80px;
}

.ac-process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.ac-process-item {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 15px;
  border: 2px solid var(--ac-border);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.08);
}

.ac-process-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--ac-primary), var(--ac-secondary));
  border-radius: 15px 15px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.ac-process-item:hover::before {
  transform: scaleX(1);
}

.ac-process-item:hover {
  border-color: var(--ac-primary);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.ac-process-num {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.ac-process-item:hover .ac-process-num {
  transform: scale(1.2);
}

.ac-process-title {
  color: var(--ac-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ac-process-text {
  color: var(--ac-gray);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}

/* Benefits Section */
.ac-benefits-section {
  margin-bottom: 80px;
}

.ac-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.ac-benefit-card {
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  color: #ffffff;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.ac-benefit-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
}

.ac-benefit-icon {
  font-size: 50px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.ac-benefit-card:hover .ac-benefit-icon {
  transform: scale(1.3);
}

.ac-benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ac-benefit-card p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

/* Why Section */
.ac-why-section {
  margin-bottom: 80px;
}

.ac-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.ac-why-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.04) 100%);
  padding: 30px;
  border-radius: 12px;
  border-left: 5px solid var(--ac-primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ac-why-card:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.08) 100%);
  transform: translateX(10px);
}

.ac-why-icon {
  color: var(--ac-primary);
  font-size: 28px;
  flex-shrink: 0;
}

.ac-why-card h3 {
  color: var(--ac-dark);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

/* FAQ Section */
.ac-faq-section {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.04) 100%);
  padding: 60px 40px;
  border-radius: 15px;
  margin-bottom: 80px;
}

.ac-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.ac-faq-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.08);
  transition: all 0.3s ease;
}

.ac-faq-item:hover {
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.ac-faq-header {
  padding: 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.02) 100%);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.ac-faq-header:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-bottom-color: var(--ac-primary);
}

.ac-faq-title {
  color: var(--ac-dark);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.ac-faq-header i {
  color: var(--ac-primary);
  font-size: 18px;
  transition: all 0.3s ease;
}

.ac-faq-body {
  padding: 20px;
  color: var(--ac-gray);
  font-size: 14px;
  line-height: 1.8;
}

.ac-faq-body p {
  margin: 0;
}

/* Info Box */
.ac-info-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 80px;
  border: 2px solid var(--ac-border);
}

.ac-info-title {
  color: var(--ac-dark);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.ac-info-list,
.ac-support-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ac-info-list li,
.ac-support-list li {
  color: var(--ac-gray);
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ac-border);
  line-height: 1.6;
}

.ac-info-list li:last-child,
.ac-support-list li:last-child {
  border-bottom: none;
}

/* Final CTA */
.ac-final-cta {
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  color: #ffffff;
  padding: 60px 40px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 80px;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.ac-final-cta h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 20px;
}

.ac-final-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ac-final-btn {
  background: #ffffff;
  color: var(--ac-primary);
  padding: 16px 60px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ac-final-btn:hover {
  transform: translateY(-5px);
  color: var(--ac-primary);
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Related Services */
.ac-related-section {
  background: var(--ac-bg);
  padding: 60px 0;
  border-top: 3px solid var(--ac-primary);
}

.ac-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.ac-related-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  border: 2px solid var(--ac-border);
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.08);
}

.ac-related-card:hover {
  border-color: var(--ac-primary);
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.ac-related-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 40px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.ac-related-card:hover .ac-related-icon {
  transform: scale(1.15) rotate(10deg);
}

.ac-related-card h3 {
  color: var(--ac-dark);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ac-related-card p {
  color: var(--ac-gray);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.ac-related-card a {
  color: var(--ac-primary);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.ac-related-card a:hover {
  color: var(--ac-secondary);
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
  .ac-hero-title {
    font-size: 48px;
  }

  .ac-section-title {
    font-size: 32px;
  }

  .ac-content-row {
    grid-template-columns: 1fr;
  }

  .ac-info-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ac-hero-section {
    padding: 60px 0;
  }

  .ac-hero-title {
    font-size: 36px;
  }

  .ac-hero-icon {
    width: 120px;
    height: 120px;
    font-size: 60px;
  }

  .ac-section-title {
    font-size: 28px;
  }

  .ac-content-row,
  .ac-types-grid,
  .ac-process-timeline,
  .ac-benefits-grid,
  .ac-why-grid,
  .ac-faq-grid {
    grid-template-columns: 1fr;
  }

  .ac-main-section {
    padding: 40px 0;
  }

  .ac-content-row {
    padding: 30px 20px;
    gap: 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .ac-hero-section {
    padding: 40px 0;
  }

  .ac-hero-title {
    font-size: 28px;
  }

  .ac-hero-icon {
    width: 100px;
    height: 100px;
    font-size: 50px;
  }

  .ac-section-title {
    font-size: 24px;
  }

  .ac-hero-btn,
  .ac-final-btn {
    padding: 12px 40px;
    font-size: 14px;
  }

  .ac-final-cta {
    padding: 40px 20px;
  }

  .ac-final-cta h2 {
    font-size: 32px;
  }

  .ac-faq-section {
    padding: 40px 20px;
  }

  .ac-info-box {
    padding: 25px 20px;
  }
}

/* Benefits Section - FIXED */
.ac-benefit-card {
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  color: #ffffff;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.ac-benefit-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
}

.ac-benefit-icon {
  font-size: 50px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  color: #ffffff; /* Explicitly set white */
}

.ac-benefit-card:hover .ac-benefit-icon {
  transform: scale(1.3);
}

.ac-benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff; /* Explicitly set white */
}

.ac-benefit-card p {
  font-size: 14px;
  margin: 0;
  color: #ffffff; /* Changed from opacity to explicit color */
  line-height: 1.6;
}

/* Final CTA - FIXED */
.ac-final-cta {
  background: linear-gradient(135deg, var(--ac-primary) 0%, var(--ac-secondary) 100%);
  color: #ffffff;
  padding: 60px 40px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 80px;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.ac-final-cta h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff; /* Explicitly set white */
}

.ac-final-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ffffff; /* Changed from opacity to explicit color */
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
