/* ==================== */
/* CSS Variables & Reset */
/* ==================== */
:root {
  /* Color Palette - Now with red accents */
  --primary-color: #4361ee;
  --primary-dark: #3a0ca3;
  --primary-light: #4895ef;
  --accent-color: #f72585;
  --red-accent: #e63946;
  --red-dark: #d90429;
  --red-light: #ff9aa2;
  --success-color: #4cc9f0;
  --warning-color: #f8961e;
  --error-color: #ef233c;

  /* Neutrals */
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #2b2d42;
  --text-light: #8d99ae;
  --border-color: #e9ecef;

  /* Spacing & Effects */
  --border-radius: 12px;
  --box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  --box-shadow-hover: 0 15px 30px rgba(0,0,0,0.12);
  --transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
  --section-padding: 6rem 0;
}


/* ================ */
/* Red Accent Elements */
/* ================ */

.header {
  border-bottom: 3px solid var(--red-accent);
}

.nav-link:hover {
  color: var(--red-accent);
}

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

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

.section-header h2:after {
  background: linear-gradient(90deg, var(--red-accent), var(--primary-color));
}

.testimonial-image {
  border: 3px solid var(--red-accent);
}

.carousel-indicators button.active {
  background-color: var(--red-accent);
}

.stat-card h4 {
  color: var(--red-accent);
}

.cta-section-red {
  background: linear-gradient(135deg, var(--red-accent), var(--red-dark));
}

a:hover,
.btn-outline-red:hover {
  color: var(--red-accent);
}


/* ================ */
/* Existing Styles */
/* ================ */

.btn-outline-red {
  background-color: transparent;
  border-color: var(--red-accent);
  color: var(--red-accent);
}

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

.card-red-hover:hover {
  border-bottom: 3px solid var(--red-accent);
}

.testimonial-content i {
  color: var(--red-accent);
}


/* ========================= */
/* Process Section – Modern  */
/* ========================= */

.process-section {
    padding: var(--section-padding);
}

/* Card styling */
.process-card {
    background: #fff;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    text-align: center;
    padding: 3rem 1rem 2rem 1rem; /* extra top padding for circle */
    overflow: visible; /* allow circle to overlap */
}

/* Hover effect */
.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-hover);
}

/* Step number circle */
.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--red-accent), var(--red-dark));
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    position: absolute;    /* position over the top of the card */
    top: -35px;            /* half of circle height */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Card headings */
.process-card h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-top: 2.5rem; /* space below the circle */
}

/* Card paragraphs */
.process-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Connector line between cards */
@media (min-width: 992px) {
    .process-card::after {
        content: "";
        position: absolute;
        top: 0;
        right: -50%;
        width: 100%;
        height: 2px;
        background: var(--border-color);
        z-index: 0;
    }

    .process-card:last-child::after {
        display: none;
    }
}

/* Responsive mobile spacing */
@media (max-width: 991px) {
    .process-card {
        margin-bottom: 40px;
    }

    /* Remove connector line on small screens */
    .process-card::after {
        display: none;
    }
}

/* ================ */
/* Responsive Styles */
/* ================ */

@media (max-width: 767.98px) {

  .header {
    border-bottom-width: 2px;
  }

  .btn-red {
    padding: 0.5rem 1.5rem;
  }

}


.testimonials-hero {
    padding: 6rem 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('assets/images/testimonials-bg.jpg') no-repeat center center/cover;
}

.z-index-1 {
    z-index: 1;
}

@media (max-width: 991.98px) {

    .testimonials-hero {
        padding: 4rem 0;
        text-align: center;
    }

}


.responsive-video {
    width: 100%;
    max-width: 1280px;
    height: auto;
    max-height: 720px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

@media (max-width: 768px) {

    .responsive-video {
        max-height: 360px;
    }

}