.serviceBox{
    padding: 0 20px;
    text-align: center;
    border: 1px solid #FFFFFF;
    margin: 50px 0;
    position: relative;
    transition: all 0.3s linear 0s;
    
}

.serviceBox .service-icon{
    display: inline-block;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 5px;
    background: #4ca8e8;
    font-size: 30px;
    color: #fff;
    
    margin: -45px 0 30px;
    position: relative;
    transition: all 0.3s linear 0s;
}

.serviceBox:hover .service-icon{
    background: #dcdcdc;
    color: #4ca8e8;
}

.serviceBox .service-icon:after{
    content: "";
    border-top: 10px solid #4ca8e8;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s linear 0s;
}

.serviceBox:hover .service-icon:after{
    border-top-color: #dcdcdc;
}

.serviceBox .title{
	font-family:  Lucida Fax;
    font-size: 16px;
    color: #22427C;
    margin: 0 0 12px 0;
    transition: all 0.3s ease 0s;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

.serviceBox:hover .title{
    color: #4ca8e8;
}

.serviceBox .description{
	 font-family:  Lucida Fax;
    font-size: 16px;
    color: #77B5FE;
    line-height: 25px;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}

.serviceBox .read-more{
    display: inline-block;
    padding: 1px;
    background: #fff;
   
    border: 1px solid #22427C;
    font-size: 16px;
    color: #22427C;
    position: relative;
    bottom: -20px;
    transition: margin-right 0.5s ease 0s, border-color 0.3s ease 0s;
}

.serviceBox .read-more span{
	 font-family:  Lucida Fax;
    display: inline-block;
    padding: 5px 18px;
    background: #fff;
    
    margin: 0 -35px -12px 0;
    position: relative;
    left: 12px;
    transition: margin-right 0.5s ease 0s;
}

.serviceBox:hover .read-more span{
    color: #4ca8e8;
    margin-right: 0;
}

.serviceBox .read-more i{
    display: inline-block;
    padding: 9px 17px 8px 20px;
    background: #4ca8e8;
    color: #fff;
}

.serviceBox:hover,
.serviceBox:hover .read-more{
    border-color: #FFFFFF;
    
}

@media only screen and (max-width:767px){
    .serviceBox{ margin-bottom: 80px; }
}
/* //team style */
/* JavaScript (Testimonial depend on jQuery and Owl carousel.) */

.main-timeline{ position: relative; }
.main-timeline:before,
.main-timeline:after{
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
.main-timeline:before{
    width: 2px;
    height: 100%;
    background: #e5e9ed;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.main-timeline .timeline{
    width: 50%;
    padding-right: 30px;
    float: left;
    position: relative;
}
.main-timeline .timeline:last-child{
    margin-bottom: 0;
}
.main-timeline .timeline:after{
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e9ed;
    position: absolute;
    top: 0;
    right: -6px;
    transition: all 0.3s ease 0s;
}
.main-timeline .timeline:hover:after{
    background: #77B5FE;
    
    transform:  scale(1.3);
}
.main-timeline .timeline-content{
    padding: 50px 40px;
    background: #e5e9ed;
    position: relative;
    transition: all 0.3s ease 0s;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
}
.main-timeline .timeline-content:hover{
    background: #77B5FE;
}
.main-timeline .timeline-content:after{
    content: "";
    border-top: 30px solid #e5e9ed;
    border-right: 15px solid transparent;
    position: absolute;
    top: 0;
    right: -15px;
    transition: all 0.3s ease 0s;
}
.main-timeline .timeline-content:hover:after{
    border-top-color: #77B5FE;
}
.main-timeline .year{
    display: block;
    font-size: 24px;
    color: #77B5FE;
    line-height: 32px;
    margin: 0;
    transition: all 0.3s ease 0s;
}
.main-timeline .post{
    display: block;
    font-size: 20px;
    color: #22427C;
    padding-bottom: 8px;
    margin: 8px 0 15px 0;
    position: relative;
}
.main-timeline .post:after{
    content: "";
    display: block;
    width: 30px;
    border-top: 2px solid #22427C;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s ease 0s;
}
.main-timeline .timeline-content:hover .post:after{
    border-top-color: #fff;
}
.main-timeline .title{
    font-size: 18px;
    font-weight: 500;
    color: #77B5FE;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
}
.main-timeline .description{
    font-size: 14px;
    color: #22427C;
    line-height: 25px;
}
.main-timeline .timeline-content:hover .year,
.main-timeline .timeline-content:hover .title,
.main-timeline .timeline-content:hover .description{
    color: #fff;
}
.main-timeline .timeline:nth-child(2n){
    padding: 0 0 0 30px;
    margin-top: 75px;
}
.main-timeline .timeline:nth-child(2n):after{
    right: auto;
    left: -6px;
}
.main-timeline .timeline:nth-child(2n) .timeline-content:after{
    border-left: 15px solid transparent;
    border-right: none;
    left: -15px;
    right: auto;
}
@media only screen and (max-width: 767px){
    .main-timeline:before{
        margin: 0;
        left: 0;
    }
    .main-timeline .timeline{
        width: 100%;
        float: none;
        padding: 0 0 0 30px;
        margin-bottom: 20px;
    }
    .main-timeline .timeline:after{
        right: auto;
        left: -6px;
    }
    .main-timeline .timeline-content{
        padding: 20px;
    }
    .main-timeline .timeline-content:after{
        border-left: 15px solid transparent;
        border-right: none;
        left: -15px;
        right: auto;
    }
    .main-timeline .timeline:nth-child(2n){
        margin-top: 0;
    }
}
/* //sign in style */
.form-bg{
    background: #77B5FE;
}
.form-horizontal{
    background: #fff;
    padding-bottom: 40px;
    border-radius: 15px;
    text-align: center;
}
.form-horizontal .heading{
    display: block;
    font-size: 35px;
    font-weight: 700;
    padding: 35px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}
.form-horizontal .form-group{
    padding: 0 40px;
    margin: 0 0 25px 0;
    position: relative;
}
.form-horizontal .form-control{
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    box-shadow: none;
    padding: 0 20px 0 45px;
    height: 40px;
    transition: all 0.3s ease 0s;
}
.form-horizontal .form-control:focus{
    background: #e0e0e0;
    box-shadow: none;
    outline: 0 none;
}
.form-horizontal .form-group i{
    position: absolute;
    top: 12px;
    left: 60px;
    font-size: 17px;
    color: #c8c8c8;
    transition : all 0.5s ease 0s;
}
.form-horizontal .form-control:focus + i{
    color: #00b4ef;
}
.form-horizontal .fa-question-circle{
    display: inline-block;
    position: absolute;
    top: 12px;
    right: 60px;
    font-size: 20px;
    color: #808080;
    transition: all 0.5s ease 0s;
}
.form-horizontal .fa-question-circle:hover{
    color: #000;
}
.form-horizontal .main-checkbox{
    float: left;
    width: 20px;
    height: 20px;
    background: #11a3fc;
    border-radius: 50%;
    position: relative;
    margin: 5px 0 0 5px;
    border: 1px solid #11a3fc;
}
.form-horizontal .main-checkbox label{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}
.form-horizontal .main-checkbox label:after{
    content: "";
    width: 10px;
    height: 5px;
    position: absolute;
    top: 5px;
    left: 4px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.form-horizontal .main-checkbox input[type=checkbox]{
    visibility: hidden;
}
.form-horizontal .main-checkbox input[type=checkbox]:checked + label:after{
    opacity: 1;
}
.form-horizontal .text{
    float: left;
    margin-left: 7px;
    line-height: 20px;
    padding-top: 5px;
    text-transform: capitalize;
    
}
.form-horizontal .btn{
    float: right;
    font-size: 14px;
    color: #fff;
    background: #4ca8e8;
    border-radius: 30px;
    padding: 10px 25px;
    border: none;
    text-transform: capitalize;
    transition: all 0.5s ease 0s;
}
@media only screen and (max-width: 479px){
    .form-horizontal .form-group{
        padding: 0 25px;
    }
    .form-horizontal .form-group i{
        left: 45px;
    }
    .form-horizontal .btn{
        padding: 10px 20px;
    }
}



.text-effect {
    font:25px Lucida Fax;
    text-transform: uppercase;
    letter-spacing: 0.35rem;
    color: #22427C;
    display: block;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
    .text-effect{
        font-size: 50px;
    }
}
@media only screen and (max-width: 479px) {
    .text-effect{
        font-size: 35px;
    }
}





body{ margin-top:20px;font-family: 'Quicksand', sans-serif;
    font-weight: bold;}
.glyphicon { margin-right:5px;}
.section-box h2 { margin-top:0px;}
.section-box h2 a { font-size:15px; }
.glyphicon-heart { color:#e74c3c;}
.glyphicon-comment { color:#27ae60;}
.separator { padding-right:5px;padding-left:5px; }
.section-box hr {margin-top: 0;margin-bottom: 5px;border: 0;border-top: 1px solid rgb(199, 199, 199);}




/* //sign style */

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  bottom: 3rem;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background-color: #7F8FA6;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr/> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}



li{
color: #22427C;
 font-family: 'Quicksand', sans-serif;
font-weight: bold;
font-size: 15px;
}

/* eSignature Page Specific Styles */
.esignature-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 24px;
}

.esignature-title {
    color: #22427C;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.signature-panel {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    border: none;
}

.signature-panel .panel-heading {
    background: #4ca8e8;
    color: white;
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.signature-panel .panel-body {
    padding: 2rem;
}

.form-group.row {
    margin-bottom: 1.5rem;
    align-items: center;
}

.form-group label {
    color: #22427C;
    font-weight: 600;
    font-size: 1rem;
}

.form-control, input[type="file"] {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4ca8e8;
    box-shadow: 0 0 0 0.2rem rgba(76, 168, 232, 0.25);
}

.radio-inline {
    margin-right: 1.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #4ca8e8;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #3089c9;
    transform: translateY(-2px);
}

.alert-danger {
    background: #fff2f2;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    border-radius: 8px;
    padding: 1rem;
}

/* Captcha Section */
.form-group.row:has(.captcha-container) {
    margin-bottom: 2rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Captcha Image */
.captcha-container img#captcha_id {
    width: 140px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Refresh Button */
.captcha-container a {
    display: inline-flex;
    align-items: center;
}

.captcha-container a img {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.captcha-container a:hover img {
    transform: rotate(180deg);
    opacity: 1;
}

/* Captcha Input */
input[name="j_captcha"] {
    width: 200px;
    height: 40px;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

input[name="j_captcha"]:focus {
    border-color: #4ca8e8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 168, 232, 0.2);
}

/* Error Message for Captcha */
.form-group:has(.captcha-container) .alert-danger {
    position: absolute;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Button Container */
.form-group:last-child {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

.col-sm-offset-2.col-sm-10 {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-left: 0;
    width: auto;
}

/* Button Styling */
.btn {
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background: #4ca8e8;
    border: none;
    color: white;
    font-weight: 500;
}

.btn-primary:hover {
    background: #3b86c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset/Cancel Button */
.btn:not(.btn-primary) {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.btn:not(.btn-primary):hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .col-sm-offset-2.col-sm-10 {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Instructions Section */
.instructions-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.instructions-section h3 {
    color: #22427C;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.instructions-section .step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.instructions-section img {
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Enhanced eSignature Page Styles */
.esignature-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 24px;
}

.panel-primary {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: none;
    overflow: hidden;
}

.panel-heading {
    background: linear-gradient(135deg, #4ca8e8 0%, #2563eb 100%);
    color: white;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    border: none;
}

.panel-body {
    padding: 2.5rem;
}

/* Enhanced Form Elements */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    display: block;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #4ca8e8;
    box-shadow: 0 0 0 3px rgba(76, 168, 232, 0.15);
    outline: none;
}

/* Enhanced Radio Buttons */
.radio-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 2.5rem;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-inline:hover {
    background: #f8fafc;
}

.radio-inline input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Enhanced Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4ca8e8 0%, #2563eb 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Enhanced Captcha Section */
.captcha-container {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    border: 2px solid #e2e8f0;
}

.captcha-container img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.captcha-container input {
    flex-grow: 1;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
}

/* Enhanced Instructions Section */
.instructions-section {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 16px;
    margin-top: 4rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.instructions-section h3 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.instructions-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4ca8e8;
    border-radius: 2px;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step img {
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Enhanced Alert Messages */
.alert {
    margin: 1rem 0 1.5rem 18px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #16a34a;
}

.alert a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.alert a:hover {
    text-decoration: underline;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .panel-body {
        padding: 2rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-control {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .instructions-section {
        padding: 1.5rem;
    }
}

/* New Features */

/* Card Hover Effects */
.panel-primary {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.1);
}

/* Enhanced File Input */
input[type="file"] {
    width: 100%;
    height: 50px;
    font-size: 1.2rem;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #4ca8e8;
}

input[type="file"]:focus {
    outline: none;
    border-color: #4ca8e8;
    box-shadow: 0 0 0 2px rgba(76, 168, 232, 0.2);
}

/* Checkbox Styling */
input[type="checkbox"] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 0.75rem;
}

/* Loading States */
.btn-primary.loading {
    position: relative;
    pointer-events: none;
    background: linear-gradient(135deg, #4ca8e8 0%, #2563eb 100%);
}

.btn-primary.loading:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Alert Messages */
.alert {
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
}

/* Tooltip Styles */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: #1e293b;
    color: white;
    font-size: 0.875rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
}

/* Progress Indicator */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 1rem;
}

.progress-step:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.progress-step.active {
    color: #4ca8e8;
}

.progress-step.active:before {
    background: #4ca8e8;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .panel-body {
        padding: 2rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-control {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Enhanced Typography and Form Elements */
.panel-heading {
    font-size: 1.75rem; /* 28px */
    padding: 2rem 2.5rem;
}

.panel-body {
    padding: 3rem;
}

/* Form Groups and Labels */
.form-group.row {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.form-group label {
    font-size: 1.25rem; /* 20px */
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Column Layouts */
.col-sm-3 {
    flex: 0 0 25%;
    padding-top: 0.5rem;
}

.col-sm-8 {
    flex: 0 0 65%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Form Controls */
.form-control {
    font-size: 1.25rem; /* 20px */
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

/* File Input Styling */
input[type="file"] {
    width: 100%;
    height: 50px;
    font-size: 1.2rem;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #4ca8e8;
}

input[type="file"]:focus {
    outline: none;
    border-color: #4ca8e8;
    box-shadow: 0 0 0 2px rgba(76, 168, 232, 0.2);
}

/* Error message for file input */
.form-group:has(input[type="file"]) .alert-danger {
    margin-top: 0.5rem;
    color: #dc2626;
}

/* Radio Button Groups */
.radio-inline {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    margin-right: 2rem;
    margin-bottom: 0.75rem;
    white-space: nowrap;
    min-width: fit-content;
}

.radio-inline:hover {
    background: #f8fafc;
}

.radio-inline input[type="radio"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Checkbox Groups */
.form-group.row .col-sm-8 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Special handling for captcha section */
.form-group.row:has(.captcha-container) .col-sm-8 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Captcha Section */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
}

.captcha-container img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.captcha-container input {
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
}

/* Button Styling */
.btn {
    font-size: 1.25rem; /* 20px */
    padding: 1rem 2.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4ca8e8 0%, #2563eb 100%);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Instructions Section */
.instructions-section h3 {
    font-size: 1.75rem; /* 28px */
}

.instructions-section p {
    font-size: 1.25rem; /* 20px */
    line-height: 1.8;
}

/* Alert Messages */
.alert {
    font-size: 1.25rem; /* 20px */
    padding: 1.25rem 2rem;
}

/* Documentation Text */
.refbody {
    font-size: 1.25rem; /* 20px */
    line-height: 1.8;
    margin-bottom: 2rem;
}

.reftitle {
    font-size: 2rem; /* 32px */
    margin-bottom: 2rem;
}

/* List Items */
ul li {
    font-size: 1.25rem; /* 20px */
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-group.row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .col-sm-3, .col-sm-8 {
        flex: 0 0 100%;
    }
    
    .radio-inline {
        width: 100%;
        margin-right: 0;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .panel-heading {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
    
    .panel-body {
        padding: 1.5rem;
    }
}

/* Main Container Styles */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Page Title */
h2 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

/* Panel Styles */
.panel-primary {
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.panel-heading {
    background: #4ca8e8;
    color: white;
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
}

.panel-body {
    padding: 2rem;
}

/* Form Groups */
.form-group.row {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.col-sm-3 {
    width: 25%;
    padding-right: 1rem;
    flex-shrink: 0;
}

.col-sm-8 {
    width: 75%;
}

/* Labels */
.form-group label {
    font-size: 1.2rem;
    color: #1e3a8a;
    display: block;
    margin-top: 0.5rem;
}

/* File Input */
input[type="file"] {
    width: 100%;
    height: 50px;
    font-size: 1.2rem;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #4ca8e8;
}

input[type="file"]:focus {
    outline: none;
    border-color: #4ca8e8;
    box-shadow: 0 0 0 2px rgba(76, 168, 232, 0.2);
}

/* Error message for file input */
.form-group:has(input[type="file"]) .alert-danger {
    margin-top: 0.5rem;
    color: #dc2626;
}

/* Radio Groups */
.radio-inline {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    margin-right: 2rem;
    margin-bottom: 0.75rem;
    white-space: nowrap;
    min-width: fit-content;
}

.radio-inline:hover {
    background: #f8fafc;
}

.radio-inline input[type="radio"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* Checkbox */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.5rem;
}

/* Captcha Section */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-container img {
    border: 1px solid #e2e8f0;
}

.captcha-container input {
    width: 200px;
    padding: 0.5rem;
    font-size: 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

/* Alert Messages */
/* .alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 1.1rem;
} */

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-warning {
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

/* Error Messages */
.errorlist {
    margin: 0;
    padding-left: 1.5rem;
    color: #991b1b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-group.row {
        flex-direction: column;
    }
    
    .col-sm-3, .col-sm-8 {
        width: 100%;
        padding-right: 0;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .panel-body {
        padding: 1rem;
    }
}

/* File Input Container */
.form-group:has(input[type="file"]) .col-sm-8 {
    width: 100%;
}

/* File Input Styling */
input[type="file"] {
    width: 100%;
    height: 65px;
    font-size: 1.4rem;
    padding: 8px;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
}

input[type="file"]:hover {
    border-color: #4ca8e8;
    background-color: #f0f9ff;
}

input[type="file"]::file-selector-button {
    height: 45px;
    padding: 0 30px;
    margin-right: 15px;
    border: none;
    background: #4ca8e8;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background: #3b86c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

/* Error message for file input */
.form-group:has(input[type="file"]) .alert-danger {
    margin-top: 10px;
    color: #dc2626;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 6px;
}