/* ============================================
   DANREX MEDIATIONX - STYLE SHEET
   Light theme with mint-green accents and soft shadows
   ============================================ */

:root {
  /* Primary Colors */
  --primary: #a8d5ba;
  --primary-dark: #7ec09e;
  --primary-light: #c5e5d3;

  /* Neutrals */
  --white: #f5f9f7;
  --light-gray: #e8f1ed;
  --gray: #b8c5c1;
  --dark-gray: #4a5a56;
  --almost-black: #1a1f1e;

  /* Accents */
  --success: #4caf50;
  --danger: #f44336;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(168, 213, 186, 0.08);
  --shadow-md: 0 4px 16px rgba(168, 213, 186, 0.12);
  --shadow-lg: 0 8px 24px rgba(168, 213, 186, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--almost-black);
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  background-color: var(--white);
  border-bottom: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--almost-black) !important;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-text {
  font-size: 1.1rem;
  color: var(--almost-black);
}

.navbar-nav .nav-link {
  color: var(--dark-gray) !important;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
}

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

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

.btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--almost-black);
}

.hero-content .lead {
  font-size: 1.25rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.badge-accent {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ============================================
   SECTION STYLING
   ============================================ */

section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--almost-black);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ============================================
   PROBLEMS SECTION
   ============================================ */

.problems-section {
  background-color: var(--light-gray);
}

.problem-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}

.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.problem-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.problem-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-section {
  background: var(--white);
}

.benefit-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
}

.benefit-check {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  background: var(--light-gray);
}

.service-card {
  display: block;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-image {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.learn-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-card:hover .learn-more {
  gap: 0.75rem;
}

/* ============================================
   TIMELINE
   ============================================ */

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

.timeline-item {
  text-align: center;
  position: relative;
}

.timeline-step {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.timeline-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  background: var(--light-gray);
}

.custom-accordion {
  gap: 1rem;
}

.accordion-item {
  background: var(--white);
  border: none;
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-button {
  background: var(--white);
  color: var(--almost-black);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--almost-black);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.accordion-body {
  padding: 1.5rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
  padding: 60px 0;
  border-radius: 16px;
  margin: 60px 0;
}

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

.cta-section p {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ============================================
   SERVICE PAGES
   ============================================ */

.service-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.service-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.service-hero p {
  color: var(--white);
  font-size: 1.2rem;
}

.service-intro {
  padding: 60px 0;
}

.service-intro img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.service-features {
  background: var(--light-gray);
  padding: 60px 0;
}

.feature-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

.service-process {
  padding: 60px 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.contact-hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.contact-hero p {
  color: var(--white);
  font-size: 1.1rem;
}

.contact-section {
  padding: 60px 0;
  background: var(--light-gray);
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin-bottom: 0.25rem;
}

.contact-item small {
  color: var(--gray);
  font-size: 0.85rem;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-form-box h2 {
  margin-bottom: 0.5rem;
}

.contact-form-box > p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.form-label {
  color: var(--almost-black);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(168, 213, 186, 0.1);
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--light-gray);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  margin-left: 0.5rem;
  cursor: pointer;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.thank-you-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  margin: 0 auto 2rem;
}

.thank-you-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.thank-you-section .lead {
  font-size: 1.5rem;
  color: var(--dark-gray);
  margin-bottom: 3rem;
}

.thank-you-message {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-message p {
  margin-bottom: 1rem;
}

.thank-you-message p:last-child {
  margin-bottom: 0;
}

.thank-you-message a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-section {
  padding: 60px 0;
  background: var(--white);
}

.legal-section h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content {
  margin-top: 3rem;
  max-width: 900px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--almost-black);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer h5 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer h6 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.footer-contact li {
  margin-bottom: 0.75rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary);
  margin-right: 0.75rem;
  width: 20px;
}

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

.footer-contact a:hover {
  color: var(--primary);
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

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

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(168, 213, 186, 0.2);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-bottom i {
  color: #ff6b6b;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .cta-buttons .btn {
    width: 100%;
  }

  .timeline-container {
    grid-template-columns: 1fr;
  }

  .contact-hero h1,
  .service-hero h1 {
    font-size: 2rem;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  section {
    padding: 40px 0;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .benefit-check {
    margin: 0 auto;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin: 0 auto 1rem;
  }
}
