/* Base Styles & Typography */
:root {
    --primary-color: #4a6cf7;
    --primary-hover: #3a56d4;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

/* Floating Contact Button - Using Original */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-contact-btn:hover {
    background-color: #0055b3;
    transform: scale(1.05);
}

.floating-contact-btn i {
    font-size: 24px;
}

/* Contact Popup Overlay */
.contact-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.contact-popup {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.3s ease;
}

.popup-close:hover {
    color: #343a40;
}

.popup-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Form Styles */
.cons-contact-form .form-control {
    background-color: #f7f9fc;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    transition: all 0.25s ease;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
    width: 100%;
}

.cons-contact-form .form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
    outline: none;
    background-color: #fff;
}

.cons-contact-form .form-control::placeholder {
    color: #98a6ad;
    font-weight: 400;
}

.cons-contact-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Select Dropdown Styling */
select#popup-department-select {
    background-color: #f7f9fc !important;
    border: 1px solid #e1e8f0 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    height: auto !important;
    width: 100% !important;
    color: #333 !important;
    font-size: 15px !important;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a6ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

select#popup-department-select:focus {
    border-color: #0066cc !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15) !important;
    background-color: #fff !important;
}

select#popup-department-select option {
    padding: 10px;
    background-color: #fff;
    color: #333;
}

/* Submit Button Styles */
.site-button {
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.site-button:hover {
    background-color: #0055b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.site-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.site-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.25);
}

/* Animation for popup */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.popup-animation {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-contact-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-contact-btn i {
        font-size: 20px;
    }
    
    .contact-popup {
        padding: 20px;
        width: 95%;
    }
    
    .popup-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* Mobile form adjustments */
    .cons-contact-form .form-control, 
    select#popup-department-select {
        padding: 14px !important;
        font-size: 14px !important;
    }
    
    .site-button {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .cons-contact-form .form-control,
    select#popup-department-select {
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-lg-6, .col-md-6, .col-lg-12, .col-md-12 {
        padding-left: 10px;
        padding-right: 10px;
    }
}