/* DOTME REACH - Template CSS - Enhanced Professional Design */

:root {
  --bs-primary: #DC143C;
  --bs-secondary: #404040;
  --bs-success: #DC143C;
  --bs-body-bg: #ffffff;
  --bs-body-color: #1a1a1a;
  --primary-rgb: 220, 20, 60;
  --secondary-dark: #1f2937;
  --accent-green: #10b981;
  --light-bg: #f9fafb;
  --border-light: #e5e7eb;
  --text-muted: #6b7280;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--bs-body-color);
  line-height: 1.7;
  background-color: #fafafa;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(90deg, rgba(220, 20, 60, 0.04) 0%, rgba(255, 255, 255, 0.98) 5%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  padding: 0.4rem 0;
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.navbar:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 1rem;
  padding: 0;
}

.navbar .custom-btn {
  padding: 0.35rem 1.2rem;
  font-size: 0.8rem;
}

.navbar-brand-image {
  max-width: 12px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(94, 92, 92, 0.1));
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-dark) !important;
  margin: 0 0.4rem;
  position: relative;
  font-size: 0.9rem;
  padding: 0.2rem 0 !important;
}

.nav-item {
  padding: 0 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #DC143C 0%, #ff4757 100%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: #5a5758 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #DC143C 0%, #ff4757 100%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: #DC143C !important;
}

.nav-item {
  padding: 0 !important;
}

.navbar-nav {
  gap: 0.1rem;
}

.navbar-toggler {
  padding: 0.2rem 0.4rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  min-height: 250px;
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #f5f5f5 50%, #FFFFFF 100%);
  color: var(--secondary-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.hero-section.hero-50 {
  min-height: 450px;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: radial-gradient(circle at 80% 50%, rgba(220, 20, 60, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: slideInDown 0.8s ease-out;
  color: var(--secondary-dark);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #DC143C;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  line-height: 1.8;
  color: var(--text-muted);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Button */
.custom-btn {
  background: linear-gradient(135deg, #DC143C 0%, #ff4757 100%);
  color: white !important;
  border: 2px solid transparent;
  padding: 1rem 3rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.35);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

.custom-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.35s ease;
}

.custom-btn:hover::before {
  left: 100%;
}

.custom-btn:hover {
  background: linear-gradient(135deg, #B91028 0%, #ff2d42 100%);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 35px rgba(220, 20, 60, 0.5);
}

.custom-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.custom-border-btn {
  background-color: transparent;
  color: #DC143C !important;
  border: 2px solid #DC143C;
  box-shadow: none;
}

.custom-border-btn:hover {
  background: linear-gradient(135deg, #DC143C 0%, #ff4757 100%);
  color: white !important;
  border-color: transparent;
}

/* Section Padding */
.section-padding {
  padding: 7rem 0;
}

.section-bg {
  background-color: var(--light-bg);
}

.section-bg-image {
  background: linear-gradient(135deg, #838383 0%, #6b6b6b 100%);
  color: white;
  padding: 5rem 0;
}

.section-bg-image h2 {
  font-size: 2.5rem;
}

.section-bg-image p {
  font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #838383 0%, #6b6b6b 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #10b981;
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: countUp 2s ease-out;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light-bg);
  padding: 7rem 0;
}

.testimonial-card {
  background: white;
  padding: 2.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-top: 5px solid #DC143C;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(220, 20, 60, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 45px rgba(220, 20, 60, 0.15);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DC143C 0%, #ff4757 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--secondary-dark);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

/* About Section */
.about-section {
  background-color: white;
  padding: 7rem 0;
}

.custom-text-box {
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.custom-text-box:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 40px rgba(220, 20, 60, 0.15);
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-dark);
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.about-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.benefit-item {
  margin-bottom: 2rem;
}

.benefit-item strong {
  color: #DC143C;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Membership/Services Section */
.membership-section {
  background-color: white;
}

.membership-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #404040;
  margin-bottom: 2rem;
  text-align: center;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 5px solid #DC143C;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DC143C 0%, #10b981 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(220, 20, 60, 0.2);
  border-left-color: #10b981;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.card-text {
  color: var(--text-muted);
  line-height: 1.8;
}

.card-icon {
  font-size: 2.5rem;
  color: #DC143C;
  margin-bottom: 1rem;
  transition: all 0.35s ease;
}

.card:hover .card-icon {
  color: #10b981;
  transform: scale(1.1);
}

/* Form Styles */
.custom-form {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
}

.member-login-form {
  background-color: transparent;
  padding: 0;
}

.form-control {
  border: 2px solid var(--border-light);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: #fafafa;
  font-weight: 500;
}

.form-control::placeholder {
  color: #b0b0b0;
  font-weight: 400;
}

.form-control:focus {
  border-color: #DC143C;
  background-color: white;
  box-shadow: 0 0 0 0.3rem rgba(220, 20, 60, 0.2);
  transform: translateY(-2px);
}

.form-floating > .form-control {
  height: auto;
}

.form-floating > label {
  color: var(--text-muted);
}

/* Contact Form Specific */
.contact-form .form-control {
  border: 1.5px solid var(--border-light);
  margin-bottom: 1rem;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 180px;
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(135deg, #838383 0%, #6b6b6b 100%);
  color: white;
  padding: 6rem 0 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255,255,255,0.3) 100%);
}

.site-footer .navbar-brand {
  color: white !important;
}

.site-footer .navbar-brand-text {
  color: white;
}

.site-footer-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.site-footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.site-footer-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease;
}

.site-footer-link:hover::before {
  width: 100%;
}

.site-footer-link:hover {
  color: white;
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .list-unstyled li {
  margin-bottom: 1rem;
}

.site-footer .row > .col-lg-4,
.site-footer .row > .col-lg-2 {
  margin-bottom: 2rem;
}

/* SVG Wave Styles */
svg {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

/* Offcanvas Styles */
.offcanvas {
  width: 400px;
  background-color: white;
}

/* Responsive */
@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar .container {
    padding: 0.4rem 1rem;
  }

  .navbar-expand-lg .navbar-collapse {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
  }

  .navbar-expand-lg .nav-link {
    padding: 0.75rem 0 !important;
    margin: 0 0.4rem;
  }

  .navbar-brand-image {
    max-width: 37px;
  }

  .navbar-brand {
    margin-right: 1rem;
  }

  .hero-section {
    min-height: 650px;
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .about-section h2 {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 5rem 0;
  }

  .stat-number {
    font-size: 3rem;
  }

  .testimonial-card {
    padding: 2.25rem;
  }

  .custom-btn {
    padding: 0.9rem 2.75rem;
  }
}

@media (max-width: 768px) {
  .offcanvas {
    width: 100%;
  }

  .navbar {
    padding: 0.45rem 0;
  }

  .navbar .container {
    padding: 0.35rem 0.75rem;
  }

  .navbar-brand-image {
    max-width: 34px;
  }

  .nav-link {
    margin: 0 0.3rem;
    font-size: 0.85rem;
  }

  .hero-section {
    min-height: 550px;
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-text {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .custom-btn {
    padding: 0.85rem 2.25rem;
    font-size: 0.98rem;
  }

  .custom-btn.btn-lg {
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
  }

  .section-padding {
    padding: 4.5rem 0;
  }

  .about-section {
    display: block;
    padding: 5rem 0;
  }

  .about-section h2 {
    font-size: 2.1rem;
  }

  .benefit-item {
    margin-bottom: 1.75rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .card-body {
    padding: 1.75rem;
  }

  .card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .stat-item {
    margin-bottom: 1.5rem;
  }

  .stat-number {
    font-size: 2.7rem;
    margin-bottom: 0.3rem;
  }

  .stat-label {
    font-size: 1.05rem;
  }

  .testimonial-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.98rem;
  }

  .site-footer {
    padding: 3rem 0 0 0;
  }

  .row.g-4 > .col-md-4 {
    margin-bottom: 1.5rem;
  }

  .section-bg-image h2 {
    font-size: 2rem;
  }

  .section-bg-image p {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0.4rem 0;
  }

  .navbar .container {
    padding: 0.3rem 0.6rem;
  }

  .navbar-brand-image {
    max-width: 32px;
    margin-right: 0.5rem;
  }

  .nav-link {
    font-size: 0.8rem;
    margin: 0 0.2rem;
  }

  .hero-section {
    min-height: 480px;
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .custom-btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    border-radius: 50px;
  }

  .custom-btn.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-bg-image {
    padding: 3.5rem 0;
  }

  .section-bg-image h2 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
  }

  .section-bg-image p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .about-section {
    padding: 3.5rem 0;
  }

  .about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.75rem;
  }

  .about-section p {
    font-size: 1.02rem;
  }

  .benefit-item {
    margin-bottom: 1.5rem;
  }

  .benefit-item strong {
    font-size: 1.05rem;
  }

  .card {
    margin-bottom: 1.25rem;
    border-radius: 12px;
  }

  .card-body {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 0.98rem;
  }

  .card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .stats-section {
    padding: 3.5rem 0;
  }

  .stat-item {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .stat-number {
    font-size: 2.3rem;
    margin-bottom: 0.3rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .testimonials-section {
    padding: 3.5rem 0;
  }

  .testimonial-card {
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border-top: 4px solid #DC143C;
  }

  .testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
  }

  .testimonial-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .testimonial-name {
    font-size: 0.98rem;
  }

  .testimonial-role {
    font-size: 0.85rem;
  }

  .stars {
    font-size: 1rem;
  }

  .site-footer {
    padding: 3rem 0 0 0;
  }

  .site-footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .site-footer-link {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .copyright-text {
    font-size: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .offcanvas {
    width: 100% !important;
  }

  .contact-section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.2rem;
  }

  .row.g-4 > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 480px) {
  .navbar-brand-image {
    max-width: 48px;
  }

  .navbar-brand {
    font-size: 1.15rem;
  }

  .nav-link {
    font-size: 0.85rem;
    margin: 0;
  }

  .hero-section {
    min-height: 450px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .custom-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .form-control {
    padding: 0.95rem 1rem;
  }
}

/* Utility Classes */
.text-muted {
  color: #999 !important;
}

.lead {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Image Styles */
img.img-fluid {
  max-width: 100%;
  height: auto;
}

.card-img-top {
  object-fit: cover;
  height: 250px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  color: #3D405B;
}

/* Links */
a.site-footer-link,
a.list-unstyled a {
  color: #ccc;
  text-decoration: none;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
