/* Button styles */
.consultation-button {
    display: inline-flex;
    padding: 12px 24px;
    background: #0082c8;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-items: center;
    justify-content: center;
}

.consultation-button:hover {
    background: #006ba7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 130, 200, 0.2);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(25, 1, 74, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.active {
    opacity: 1;
    display: block;
}

.modal-content {
    background: #19014a;
    margin: 5% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    color: #fff;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Form styles */
.consultation-form {
    width: 100%;
}

.consultation-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.consultation-form input::placeholder,
.consultation-form select::placeholder,
.consultation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0082c8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 130, 200, 0.3);
}

.consultation-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' 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 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.consultation-form select option {
    background: #19014a;
    color: #fff;
}

.consultation-form textarea {
    min-height: 100px;
    resize: vertical;
}

.consultation-form button[type="submit"] {
    width: 100%;
    padding: 14px 20px;
    background: #0082c8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.consultation-form button[type="submit"]:hover {
    background: #006ba7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 130, 200, 0.2);
}

/* Close button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: #fff;
    transform-origin: center;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

/* Success/Error messages */
.modal-content.success {
    border-left: 5px solid #28a745;
    background: #19014a;
    text-align: center;
    padding: 30px;
}

.modal-content.error {
    border-left: 5px solid #dc3545;
    background: #19014a;
    text-align: center;
    padding: 30px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }

    .consultation-form .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .consultation-form input,
    .consultation-form select,
    .consultation-form textarea {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
} 

/* Burger menu button */
.menu-toggle-open {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.5em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle-open:hover {
    color: #0082c8;
}

.menu-toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile drawer */
.popup-drawer {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 99999;
    visibility: hidden;
    transition: visibility 0.25s ease;
}

.popup-drawer.show-drawer {
    visibility: visible;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.show-drawer .drawer-overlay {
    opacity: 1;
}

.drawer-inner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 300px;
    background: #19014a;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
    display: flex;
    flex-direction: column;
}

.show-drawer .drawer-inner {
    transform: translateX(0);
}

/* Close button */
.drawer-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.menu-toggle-close {
    background: transparent;
    border: none;
    color: #fff;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-toggle-close:hover {
    color: #0082c8;
    transform: rotate(90deg);
}

.toggle-close-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.toggle-close-bar:before,
.toggle-close-bar:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: currentColor;
    left: 0;
}

.toggle-close-bar:before {
    transform: rotate(45deg);
}

.toggle-close-bar:after {
    transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-navigation {
    flex-grow: 1;
    overflow-y: auto;
}

.mobile-menu-container {
    padding: 0;
}

.mobile-menu-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-container li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-container a {
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    display: block;
    font-size: 16px;
    transition: color 0.3s ease;
}

.mobile-menu-container a:hover {
    color: #0082c8;
}

/* Submenu styles */
.drawer-nav-drop-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.drawer-nav-drop-wrap .drawer-sub-toggle {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.drawer-nav-drop-wrap .drawer-sub-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}

.mobile-navigation ul ul {
    display: none;
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-navigation ul ul.show-drawer {
    display: block;
}

/* Animation for menu items */
.mobile-menu-container .menu > li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    transition-delay: calc(0.1s * var(--menu-delay, 0));
}

.show-drawer .mobile-menu-container .menu > li {
    opacity: 1;
    transform: translateX(0);
}

/* Prevent body scroll when drawer is open */
body.showing-popup-drawer-from-right {
    overflow: hidden;
}

@media (min-width: 1025px) {
    #mobile-drawer {
        display: none;
    }
} 