html {
  scroll-padding-top: 89px !important;
}

.fp-navigation {
    position: absolute !important;
   
}


.wpcf7 {
   
    color: #333;
    background-color: #f9f9f9;
    border-radius: 8px;
    
   
}

/* Section Titles and Descriptions */
.wpcf7 .section-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.wpcf7 .section-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 25px;
}

/* Input Field Labels */
.wpcf7 label {
    display: block;
    margin-bottom: 20px;
    position: relative;
}

.wpcf7 .label-text {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
    display: block;
    font-weight: 500;
}

/* Text, Email, Tel Input Fields and Select Dropdowns */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't increase width */
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus {
    border-color: #007bff; /* Highlight on focus */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Placeholder Styling */
.wpcf7 input::placeholder {
    color: #aaa;
    opacity: 1;
}

/* Select Dropdown Specific Styling */
.wpcf7 select {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    white-space: normal; /* Allow text to wrap within the select box */
    overflow: hidden; /* Hide overflow if text is too long for the selected option display */
    text-overflow: ellipsis; /* Add ellipsis for long text in selected option */
    padding-right: 35px; /* Make space for the custom arrow */
}
.form-section .user-details

{
	margin-top:20px;
}
.wpcf7 select option {
white-space: normal;
  word-wrap: break-word;}
/* Submit Button */
.wpcf7 input[type="submit"] {
    background-color: #5a228e;
    color: #fff;
    border: none;
    padding: 6px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: auto; /* Override default 100% width if applied */
    display: inline-block; /* Allow centering or other layout */
}

.wpcf7 input[type="submit"]:hover {
    background-color:#9034DD;
    transform: translateY(-2px);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* Error and Success Messages (default CF7 styling) */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.95em;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7-response-output.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.wpcf7-response-output.wpcf7-aborted,
.wpcf7-response-output.wpcf7-spam-blocked {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

/* Optional: Adjust spacing between form sections */
.wpcf7 .form-section {
  
    padding-bottom: 20px;
    
}

.wpcf7 .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wpcf7 .form-actions {
    text-align: center;
}

/* Placeholder Styling */
.wpcf7 input::placeholder {
    color: #aaa;
    opacity: 1;
}

/* Radio Button Styling */
.wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
    position: relative;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
	margin-left:0px;
}

.wpcf7-list-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.wpcf7-list-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wpcf7-list-item .wpcf7-list-item-label {
    display: block;
    padding-left: 30px; /* Space for custom radio button */
    position: relative;
    font-size: 1em;
    color: #333;
    line-height: 1.5;
}

.wpcf7-list-item .wpcf7-list-item-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s ease;
}

.wpcf7-list-item .wpcf7-list-item-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #007bff;
    opacity: 0;
    transition: all 0.2s ease;
}

.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::before {
    border-color: #007bff;
    background-color: #e7f3ff;
}

.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 10px;
    }

    .wpcf7 .section-title {
        font-size: 1.5em;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"] {
        font-size: 0.95em;
        padding: 10px 12px;
    }

    .wpcf7 input[type="submit"] {
        font-size: 1em;
        padding: 6px 20px;
			display:block;
			margin:auto;
    }

    .wpcf7-list-item {
        padding: 12px;
    }

    .wpcf7-list-item .wpcf7-list-item-label {
        font-size: 0.95em;
        padding-left: 25px;
    }

    .wpcf7-list-item .wpcf7-list-item-label::before,
    .wpcf7-list-item .wpcf7-list-item-label::after {
        width: 18px;
        height: 18px;
    }

    .wpcf7-list-item .wpcf7-list-item-label::after {
        left: 4px;
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
   

    .wpcf7-list-item {
        padding: 10px;
    }

    .wpcf7-list-item .wpcf7-list-item-label {
        font-size: 0.9em;
        padding-left: 22px;
    }

    .wpcf7-list-item .wpcf7-list-item-label::before,
    .wpcf7-list-item .wpcf7-list-item-label::after {
        width: 16px;
        height: 16px;
    }

    .wpcf7-list-item .wpcf7-list-item-label::after {
        left: 3px;
        width: 8px;
        height: 8px;
    }
}