﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* Set padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
/*.dl-horizontal dt {
    white-space: normal;
}*/

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/



html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.fixed-media {
    height: 220px; /* fix height */
    object-fit: cover; /* crop extra, no stretch */
    border-radius: 8px;
}

.hero-section {
    background: url('/images/banner1.jpg') center/cover no-repeat;
    height: 80vh; /* thoda bada effect ke liye */
    position: relative;
}

    .hero-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6); /* dark overlay */
    }

    .hero-section h1 {
        font-size: 3rem;
        text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    }

    .hero-section p {
        font-size: 1.2rem;
    }





.card {
    border-radius: 1rem;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card-header {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(90deg,#0d6efd,#6610f2);
    color: #1d3557;
    text-transform: uppercase;
}

.step {
    display: none;
    animation: fadeEffect 0.5s;
}

.step-active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.progress {
    height: 8px;
    border-radius: 5px;
}

.form-control, .form-select {
    border-radius: 0.5rem;
    padding: 0.55rem;
    transition: all 0.3s;
}

    .form-control:focus, .form-select:focus {
        border-color: #6610f2;
        box-shadow: 0 0 8px rgba(102,16,242,0.25);
    }

.btn-primary, .btn-success, .btn-secondary {
    border-radius: 0.5rem;
    font-weight: 500;
}




.stepper {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
    flex-wrap: wrap;
}

    .stepper::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 12%;
        width: 76%;
        height: 4px;
        background-color: #e0e0e0;
        z-index: 1;
    }

.stepper-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 100px;
}

.step-counter {
    width: 40px;
    height: 40px;
    background-color: #dee2e6;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
}

.stepper-item.active .step-counter {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    transform: scale(1.1);
}

.stepper-item.completed .step-counter {
    background-color: #198754;
    color: #fff;
    border-color: #198754;
}

.step-name {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}

.stepper-item.active .step-name {
    color: #0d6efd;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stepper::before {
        width: 60%;
        left: 20%;
    }

    .step-name {
        font-size: 0.8rem;
    }
}
