/* Custom CSS Styles */

/* Hide mobile sidebar on desktop */
@media (min-width: 992px) {
    .mobile-sidebar {
        display: none !important;
    }
}

:root {
    --primary-color: #7D1F1E;
    --secondary-color: #E33836;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --velvet-dark-red: #7D1F1E;
}

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

body {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

/* Hero Banner Section */
#hero-banner-bg {
    background-color: #f8f9fa;
    padding: 15px 0;
}

.hero-banner {
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    margin: 0px 15px;
    border-radius: 20px;
    min-height: 600px;
    position: relative;
}

.hero-banner .navbar {
    padding: 1.5rem 0;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.hero-banner .navbar-brand {
    margin-right: 0;
}

.nav-brand-link {
    margin: 0;
}

.hero-banner .navbar-nav {
    background-color: rgba(125, 31, 30, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.5rem 2rem;
    border-radius: 40px;
}

.hero-banner .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-family: 'Manrope', sans-serif;
}

.hero-banner .navbar-nav .nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.btn-get-started {
    background: transparent !important;
    color: #ffffff !important;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-get-started i {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.btn-get-started:hover {
    background: transparent;
    color: #171717;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-get-started:hover i {
    border-color: rgba(255, 255, 255, 0.5);
}


.hero-content {
    padding: 3rem 0 0 0;
    position: relative;
}

.hero-text {
    text-align: left;
    margin-top: 5rem;
}

.fsa-eligible {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Manrope', sans-serif;
}

.icon-check {
    width: 20px;
    height: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-align: left;
    font-family: 'Manrope', sans-serif;
}

.hero-subtitle {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    font-family: 'Manrope', sans-serif;
}

.hero-cta-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
    min-height: 100%;
}

.btn-hero-cta {
	background-color: #fff;
	color: #171717;
	border: none;
	padding: 0.5rem 1.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 0.5rem;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-block;
	font-family: 'Manrope', sans-serif;
	border-radius: 40px;
}

.btn-hero-cta:hover {
    background-color: var(--velvet-dark-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-hero-cta i {
    margin-left: 0.75rem;
    color: #ffffff;
    background: linear-gradient(135deg, #7D1F1E 0%, #E33836 100%);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Product Cards */
.product-cards {
  
    position: relative;
    z-index: 10;
}

.product-cards .row {
    margin: 0 -15px;
}

.product-cards .col-md-4 {
    padding: 0 15px;
}

.product-card {
    background-color: rgba(125, 31, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    flex: 1;
}

.product-icon {
    max-width: 60px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.product-arrow {
    background: #ffffff;
    height: 36px;
    width: 36px;
    color: var(--secondary-color);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Trust Badges Section */
.trust-badges {
    padding: 3rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.trust-badges .container-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.trust-badges::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.trust-badges::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.trust-logos-carousel {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.trust-logos-carousel .owl-stage-outer {
    overflow: hidden !important;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: 100%;
}

.trust-logos-carousel .owl-stage {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.trust-logos-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none !important;
}

@media (min-width: 992px) {
    .trust-logos-carousel {
        max-width: 100%;
    }
    
    .trust-logos-carousel .owl-stage-outer {
        max-width: 100%;
    }
    
    .trust-logos-carousel .owl-item {
        width: calc(100% / 7) !important;
        min-width: calc(100% / 7) !important;
        max-width: calc(100% / 7) !important;
        flex: 0 0 calc(100% / 7) !important;
    }
}

.trust-logo {
    max-height: 35px;
    max-width: 120px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.trust-logos-carousel .owl-item:first-child .trust-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    position: relative;
    z-index: 0;
}

.trust-logos-carousel .owl-item:last-child .trust-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    position: relative;
    z-index: 0;
}

/* BMI Calculator Section */
.bmi-calculator-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #171717;
    font-family: 'Manrope', sans-serif;
}

.bmi-calculator {
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
}

.bmi-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
}

.bmi-instruction {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
}

.bmi-display {
    text-align: left;
    margin-bottom: 2rem;
}

.bmi-value {
    font-size: 4rem;
    font-weight: 700;
    color: #000000;
    font-family: 'Manrope', sans-serif;
}

.bmi-form .form-group {
    margin-bottom: 1.5rem;
}

.bmi-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
}

.height-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.height-inputs .input-wrapper {
    max-width: 50%;
}

.weight-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.unit {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
}

.form-control {
    padding: 0.75rem;
    padding-right: 2.5rem;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
    color: #171717;
    width: 100%;
}

/* Remove spinner arrows from number inputs */
.form-control[type="number"]::-webkit-inner-spin-button,
.form-control[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-control[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

.input-wrapper .unit {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #000000;
}

.form-control::placeholder {
    color: #6c757d;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(125, 31, 30, 0.1);
}

.btn-calculate-bmi {
    width: 100%;
    background: linear-gradient(135deg, #7D1F1E 0%, #E33836 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
    margin-top: 1rem;
}

.btn-calculate-bmi:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 31, 30, 0.3);
    color: white;
}

/* Support Section */
.support-section {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.goal-bg-wrapper {
    position: relative;
    width: 100%;
    min-height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #7D1F1E 0%, #E33836 100%);
}

.goal-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.support-features {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: auto;
}

.feature-badge:first-child {
    background: #FFFFFF;
}

.feature-badge:nth-child(2) {
    background: rgba(255, 255, 255, 0.7);
}

.feature-badge:nth-child(3) {
    background: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    color: #000000;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.feature-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #171717;
    font-family: 'Manrope', sans-serif;
}

.check-icon {
    color: #ffffff;
    background: linear-gradient(135deg, #7D1F1E 0%, #E33836 100%);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Weight Loss Goal Section */
.weight-loss-goal {
    background-color: #F9F9F9;
    border: 1px solid #F1F1F1;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    text-align: center;
}

.goal-title {
    font-size: 18px;
    font-weight: 500;
    color: #171717;
    margin-bottom: 1rem;
    font-family: 'Manrope', sans-serif;
}

.goal-value {
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
}

.goal-number {
    font-size: 56px;
    font-weight: 700;
    color: #000000;
}

.goal-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

.goal-visualization {
    margin-bottom: 2rem;
    text-align: center;
}

.goal-triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid var(--secondary-color);
    margin: 0 auto 1rem;
}

.bar-graph {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    height: 150px;
    margin-bottom: 1rem;
}

.bar-graph .bar {
    width: 8px;
    border-radius: 20px;
    min-height: 10px;
}

/* Small bars (90px) - center them relative to large bars (120px) */
.bar-graph .bar:nth-child(3n+1),
.bar-graph .bar:nth-child(3n+2) {
    margin-top: 15px; /* (120px - 90px) / 2 = 15px to center small bars relative to large bars */
}

/* Large bars (120px) - keep at bottom */
.bar-graph .bar:nth-child(3n) {
    margin-top: 0;
}

/* Pattern: 2 small light, 1 large dark (bars 1,2 light; 3 dark; 4,5 light; 6 dark; etc.) */
.bar-graph .bar:nth-child(3n+1),
.bar-graph .bar:nth-child(3n+2) {
    background-color: rgba(227, 56, 54, 0.5);
}

.bar-graph .bar:nth-child(3n) {
    background-color: var(--secondary-color);
}

.starting-weight {
    margin-top: 2rem;
    text-align: center;
}

.starting-weight label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #171717;
    margin-bottom: 1rem;
    font-family: 'Manrope', sans-serif;
}

.weight-display-box {
    display: inline-block;
    background-color: #FDD6D7;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
}

.weight-text {
    background: linear-gradient(135deg, #7D1F1E 0%, #E33836 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.weight-slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.weight-slider {
    width: 100%;
    max-width: 300px;
    height: 4px;
    border-radius: 2px;
    background: var(--secondary-color);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.weight-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

.weight-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
}

