﻿/*consultant stuff*/
.consultant-card {
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 200px; /* Increased card height */
}

.consultant-image-container {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.consultant-profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ff5d00;
    color: #666;
    font-size: 2rem;
    overflow: hidden;
}

.consultant-profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the container without distortion */
    border-radius: 50%;
    display: block;
}

.consultant-content {
    min-height: 160px; /* Increased content height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .consultant-content .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .consultant-content .card-text {
        color: #666;
        line-height: 1.5;
        flex-grow: 1;
        margin-bottom: 1rem;
    }

/* Smaller button aligned to left */
.consultant-btn {
    background-color: #ff5d00 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 9px !important;
    font-size: 0.9rem !important;
    width: fit-content !important;
    align-self: flex-start !important;
}

/* Larger, better aligned carousel controls */
.consultant-carousel .carousel-control-prev,
.consultant-carousel .carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    background-color: white !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
}

.consultant-carousel .carousel-control-prev {
    left: -25px !important;
}

.consultant-carousel .carousel-control-next {
    right: -25px !important;
}

.consultant-carousel .carousel-control-prev-icon,
.consultant-carousel .carousel-control-next-icon {
    width: 20px !important;
    height: 20px !important;
    background-size: 20px 20px !important;
}

.consultant-carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.consultant-carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Application form specific styles */
.application-form .form-control:focus,
.application-form .form-select:focus {
    border-color: #ff5d00 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 93, 0, 0.15) !important;
}

.application-form .form-section {
    transition: all 0.3s ease;
}

    .application-form .form-section:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    }

.application-info-alert {
    transition: all 0.3s ease;
}

    .application-info-alert:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.calendly-help {
    transition: all 0.3s ease;
}

    .calendly-help:hover {
        transform: translateY(-2px);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .consultant-image-container {
        width: 80px;
        height: 80px;
        margin-right: 1rem;
    }

    .consultant-profile-placeholder {
        font-size: 1.5rem;
    }

    .consultant-card .card-body {
        padding: 1.5rem;
    }

    .consultant-content .card-title {
        font-size: 1.1rem;
    }

    .consultant-carousel .carousel-control-prev,
    .consultant-carousel .carousel-control-next {
        width: 40px !important;
        height: 40px !important;
    }

    .consultant-carousel .carousel-control-prev {
        left: -20px !important;
    }

    .consultant-carousel .carousel-control-next {
        right: -20px !important;
    }
}

@media (max-width: 576px) {
    .consultant-image-container {
        width: 60px;
        height: 60px;
        margin-right: 0.75rem;
    }

    .consultant-profile-placeholder {
        font-size: 1.25rem;
    }

    .consultant-carousel .carousel-control-prev,
    .consultant-carousel .carousel-control-next {
        width: 35px !important;
        height: 35px !important;
    }

    .consultant-carousel .carousel-control-prev {
        left: -15px !important;
    }

    .consultant-carousel .carousel-control-next {
        right: -15px !important;
    }
}
/*application stuff*/

.application-card {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

    .application-card .card-body {
        padding: 3rem;
        text-align: center;
    }

.application-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 2.5rem 0 3rem;
    position: relative;
}

    .application-steps::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, #1b2438 0%, #2d374d 100%);
        z-index: 1;
    }

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b2438 0%, #2d374d 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(27, 36, 56, 0.3);
}

.step-text {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.5;
    max-width: 200px;
}

.application-btn {
    background: linear-gradient(135deg, #1b2438 0%, #2d374d 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 40px !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(27, 36, 56, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

    .application-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(27, 36, 56, 0.4) !important;
        background: linear-gradient(135deg, #2d374d 0%, #1b2438 100%) !important;
    }

.section-content h2 {
    text-align: center;
    margin-bottom: 3rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .application-steps {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
    }

        .application-steps::before {
            display: none;
        }

    .step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        width: 100%;
    }

    .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .application-card .card-body {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .application-card .card-body {
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-text {
        font-size: 0.9rem;
    }

    .application-btn {
        padding: 10px 30px !important;
        font-size: 1rem !important;
    }
}
/* Responsive adjustments for the application form */
@media (max-width: 768px) {
    .container-standard {
        padding: 1rem !important;
        margin: 1rem !important;
    }

    .application-steps {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
    }

        .application-steps::before {
            display: none;
        }

    .step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        width: 100%;
    }

    .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .application-form .form-section {
        padding: 1.5rem !important;
    }

    .form-footer {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .application-card .card-body {
        padding: 1.5rem;
    }

    .application-form .form-section {
        padding: 1rem !important;
    }

    .application-btn {
        width: 100%;
        max-width: 300px;
    }

    .application-header h2 {
        font-size: 1.75rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-text {
        font-size: 0.9rem;
    }
}

/* Ensure form elements are properly sized on mobile */
.application-form .form-control,
.application-form .form-select {
    font-size: 16px; /* Prevent zoom on iOS */
}
