/* PosturehubWaterford Custom Styles */

/* Global Styles */
:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    padding-top: 76px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
}

.brand-text {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
}

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

.nav-pills .nav-link.active {
    color: white !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a5fc8;
    border-color: #3a5fc8;
}

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

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

.btn-outline-secondary {
    background-color: #6c757d; /* A solid, still grey color */
    color: #fff; /* White text for better contrast */
    border-color: #6c757d; /* Matching border color */
}

.btn-outline-secondary:hover {
    background-color: #5a5c69; /* A slightly darker grey on hover */
    color: #fff;
    border-color: #5a5c69; /* Matching darker border color */
}

/* Page Header */
.page-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(78, 115, 223, 0.9), rgba(78, 115, 223, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
}

.hero-section .hero-image img {
    max-width: 70%; /* Adjust this percentage to make the image smaller or larger */
    height: auto;   /* This keeps the image's aspect ratio correct */
    display: block; /* Helps with centering */
    margin: 0 auto; /* This will center the image horizontally */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--primary-color);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

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

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.service-features {
    margin-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features li {
    margin-bottom: 0.75rem;
}

/* Testimonial Cards */
.testimonial-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.testimonial-rating {
    color: var(--warning-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 700;
}

.testimonial-info {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Consultant Cards */
.consultant-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.consultant-img {
    height: 100%;
    object-fit: cover;
}

.consultant-info {
    padding: 1.5rem;
}

.consultant-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.consultant-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.consultant-credentials .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    background-color: white;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    
}

/* Benefit Cards */
.benefit-card {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    background-color: white;
}

.benefit-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Transformation Cards */
.transformation-card {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    background-color: white;
}

.transformation-header {
    margin-bottom: 1.5rem;
}

.transformation-meta {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.9rem;
}

.image-container {
    position: relative;
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
}

.client-quote {
    font-style: italic;
    background-color: #f8f9fc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.accordion-button {
    font-weight: 600;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(78, 115, 223, 0.1);
}

/* Contact Cards */
.contact-card {
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.contact-icon {
    color: var(--primary-color);
}

/* FAQ Link Cards */
.faq-link-card {
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
    background-color: white;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
    text-decoration: none;
}

.faq-icon {
    color: var(--primary-color);
}



/* Booking Steps */
.booking-steps {
    display: flex; /* Establishes a flex container */
    justify-content: space-between; /* Distributes items evenly */
    gap: 1rem; /* Creates space between the boxes */
    margin-bottom: 3rem;
}

.booking-step {
    position: relative;
    padding: 2rem 1rem;
    text-align: center;
    background-color: #f8f9fc;
    border-radius: 0.5rem;
    flex: 1; /* Allows boxes to grow and shrink equally */
    min-height: 300; /* Prevents overflow issues with flex items */
}

.booking-step.active {
    background-color: rgba(78, 115, 223, 0.1);
    border: 1px solid var(--primary-color);
}

.booking-step.completed {
    background-color: rgba(28, 200, 138, 0.1);
    border: 1px solid var(--secondary-color);
}

.booking-step-content .row:focus-visible {
    outline: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #e3e6f0;
    color: #5a5c69;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.booking-step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.booking-step.completed .step-number {
    background-color: var(--secondary-color);
    color: white;
}

.booking-step-content {
    display: none;
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.15rem 1.75rem rgba(0, 0, 0, 0.1);
}

.booking-step-content.active {
    display: block;
}

.service-option {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #e3e6f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.service-option:hover {
    background-color: #f8f9fc;
}

.service-option:has(input:checked) {
    background-color: rgba(78, 115, 223, 0.1);
    border-color: var(--primary-color);
}

.service-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.time-slots .form-check {
    padding: 0.75rem;
    border: 1px solid #e3e6f0;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background-color: #f8f9fc;
}
.time-slots .form-check input:checked + label {
    font-weight: 600;
    color: var(--primary-color);
}

.time-slot:has(input:checked) {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.time-slot:has(input:checked) .form-check-label {
    color: white;
    font-weight: 600;
}

/* Updated Consultant Option Styles */
.consultant-option {
    display: block;
    width: 100%;
    padding: 1rem;
    border: 1px solid #e3e6f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.consultant-option:hover {
    background-color: #f8f9fc;
}

/* Style the label when its associated (hidden) radio button is checked */
.form-check-input:checked + .consultant-option {
    background-color: rgba(78, 115, 223, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.consultant-info {
    display: flex;
    flex-direction: column;
}

.consultant-name {
    font-weight: 600;
}

.consultant-title {
    font-size: 0.9rem;
    color: #6c757d;
}

.booking-summary {
    background-color: #f8f9fc;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.summary-item {
    margin-bottom: 0.5rem;
}

.summary-total {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(78, 115, 223, 0.9), rgba(78, 115, 223, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
}

.cta-card {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: #2c3e50;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .consultant-img {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

.time-slot:has(input:checked) {
    background-color: var(--primary-color); /* This is #4e73df */
    border-color: var(--primary-color);
}

.time-slot:has(input:checked) .form-check-label {
    color: white;
    font-weight: 600;
}

/* Disabled time slot styles */
.time-slot.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.time-slot.disabled .form-check-input {
    cursor: not-allowed;
}

.time-slot.disabled .form-check-label {
    color: #6c757d !important;
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot.disabled .form-check-label.disabled {
    opacity: 0.6;
}




