/* Custom Styles for Astra Child Theme */

.code-light-bg{
    background-color:#E7F6FF ;
}
/* Header Customizations */
.site-header {
    transition: all 0.3s ease-in-out;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Custom Button Styles */
.btn-custom {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Custom Card Styles */
.custom-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* Custom Form Styles */
.custom-form input,
.custom-form textarea {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
/* -------------------------------------------------------------------- */
header.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky !important;
    top: 0;
    z-index: 100;
}


/* ---------------------------------------------- */
.form-section {
    padding: 5rem 0;
}

.form-container {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.alert {
    display: none;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v1'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.character-counter {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.loading-spinner {
    display: none;
}

.form-loading .loading-spinner {
    display: inline-block;
}

.form-loading .submit-text {
    display: none;
}


.products li.ast-grid-common-col:hover {
     transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.products li.ast-grid-common-col
 {
    padding: 10px !important;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    background: #fff;
}

.button {
    border-radius: 10px !important;
    width: 100%;
    text-align: center;
    text-decoration: none;
}