:root {
    --accent: #0078AD;
    --accent-light: #005A82;
}

.form-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
}

.header-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px 15px 0 0;
    color: white;
    padding: 2rem;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.form-section {
    background: white;
    border-radius: 0 0 15px 15px;
    padding: 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    border-top: none;
}

.form-label {
    font-weight: 600;
    font-size: 18px;
    color: black;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 1rem !important;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

.photo-upload {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.photo-upload i {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.submit-btn {
    z-index: 1;
    border: unset;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 300ms;
    color: #ffffff;
    background: var(--primary);
    font-size: 20px;
    line-height: 24px;
    padding: 12px 24px;
}
.heading-title{
    margin: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid black;
}
.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(23, 162, 184, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.nav-btn {
    background: white;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent);
    color: white;
}

.input-group {
    margin-bottom: 12px;
}

.mobile-section-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
    display: none;
}

.file-label {
    font-size: 16px;
    font-weight: 500;
}

.imgFormControl {
    width: 60% !important;
}

.declaration-section {
    background: linear-gradient(135deg, var(--secondary));
    border-radius: 15px;
    padding: 30px;
    color: white;
    font-family: Arial, sans-serif;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid white;
    display: inline-block;
    width: 100%;
}

.declaration-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.declaration-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    line-height: 1.6;
}

.declaration-text {
    font-size: 18px;
    text-align: justify;
}

@media (max-width: 768px) {
    .mobile-section-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    .header-section {
        padding: 1.5rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .photo-upload {
        width: 100px;
        height: 100px;
    }

    .photo-upload i {
        font-size: 2.5rem;
    }
    .imgFormControl {
        width:100% !important;
    }
    .declaration-text{
        font-size:13px;
    }
}

.payNowbtn{
    position: fixed;
    bottom: 15%;
    right: 10px;
    z-index: 100;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    border: none;
    font-size: 17px;
}
