/*
 Theme Name:   astra child
 Template:     astra
*/

/* Sticky + blur header */
.custom-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

body {
    padding-top: 80px;
    /* offset for fixed header */
}

/* Layout */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 0;
}

.site-logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: inherit;
}

/* Menu & button */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li a {
    text-decoration: none;
    color: #333;
}

.quote-button {
    padding: 8px 16px;
background: #2a399b;
background: linear-gradient(90deg,rgba(42, 57, 155, 1) 0%, rgba(0, 115, 230, 1) 53%, rgba(83, 142, 237, 1) 100%); color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.quote-button:hover {
    transform: scaleX(1.1);
    transition: 0.4s;
    color:white;
}

/* Mobile toggle button */
.mobile-toggle {
    display: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #0073e6 !important;
    /* or your preferred active color */

}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .mobile-toggle,
    .mobile-toggle:focus,
    .mobile-toggle:active,
    .mobile-toggle:hover,
    .mobile-toggle.active {
        outline: none !important;
        box-shadow: none !important;
        background-color: #0073e6 !important;
        /* or your preferred active color */
        color: white !important;
        border: none !important;
    }

    /* If you want no background by default and only on active */
    .mobile-toggle {
        background-color: transparent !important;
        color: inherit !important;
    }

    /* When active */
    .mobile-toggle.active {
        background-color: #ff6600 !important;
        /* your orange or any color */
        color: white !important;
    }

    .header-right {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;

        margin-top: 10px;
    }

    .header-right.active {
        display: flex;
    }

    .primary-menu {
        flex-direction: column;
        width: 100%;
    }

    .primary-menu li a {
        display: block;
        padding: 10px 0;
        width: 100%;
    }

    .quote-button {
        align-self: flex-start;
    }
}
























/* contact from  7  start */
/* Contact Form Styling */
/* pro-contact-form.css */
.pro-contact-form {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
   
}

.pro-contact-form::before {
    content: '';
 
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03) 0%, rgba(255,255,255,0) 50%);
    z-index: 0;
}

.pro-contact-form h3 {
    color: #0066cc; /* Blue theme color */
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 700;
}

.pro-contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0099ff; /* Lighter blue accent */
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-input {
    position: relative;
    margin-bottom: 1.5rem;
}

.pro-contact-form input,
.pro-contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

.pro-contact-form input:focus,
.pro-contact-form textarea:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
}

.pro-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.privacy-label {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #64748b;
}

.privacy-label input {
    width: auto;
    margin-right: 0.75rem;
}

.privacy-label a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.privacy-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(90deg, #0066cc 0%, #0099ff 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 102, 204, 0.3), 0 2px 4px -1px rgba(0, 102, 204, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 102, 204, 0.3), 0 4px 6px -2px rgba(0, 102, 204, 0.2);
}

#contact-response {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.success-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.error-message {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Loading spinner */
.submit-btn .spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .pro-contact-form {
        padding: 10px;
    }
}

/* contact from  7  end*/


