.boost-wrap {
    position: relative;
    padding: 20px;
}

.close-boost {
    position: absolute;
    top: 21px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.boost-form {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    z-index: 5;
}

.gradient-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    border-radius: 12px;
    z-index: -1;
}

/* Form field styling */
.candy-contact-form .theme-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #1f2937;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.candy-contact-form .theme-control:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.candy-contact-form .theme-control::placeholder {
    color: #6b7280;
    opacity: 0.8;
}

/* Textarea specific */
.candy-contact-form textarea.theme-control {
    resize: vertical;
    min-height: 100px;
}

/* Error messages */
.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

/* Form response message */
.form-response-message {
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
    font-weight: 500;
}

.form-response-message.success {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
    display: block;
}

.form-response-message.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid #ef4444;
    display: block;
}

/* Submit button */
.candy-contact-form .button_theme-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.candy-contact-form .button_theme-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.candy-contact-form .button_theme-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.candy-contact-form .button_theme-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.candy-contact-form .button_theme-primary:hover::before {
    left: 100%;
}

.boost-form :is(.card, .card-body, .container) {all: unset;}

.boost-form :is(.col-md-6:nth-child(3), label) {
    width: 100%;
    color: white;
}
.boost-form .form-control {
  min-height: 50px;
  box-shadow: unset !important;
  padding: 1rem 1.25rem !important;
}

.boost-form button.btn {
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  min-width: 11.875rem;
  gap: .9375rem;
  border-radius: .5rem;
  font-weight: 600;
  justify-content: center;
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
  border: 0;
}

.boost-form .col-md-12.text-center {
  text-align: left !important;
}

.boost-form.sidebar {
    padding: 0;
    background: transparent;
}

.boost-form.sidebar label {
    display: none;
}

.boost-form.sidebar .col-md-6 {
    width: 100%;
}

.boost-form.sidebar :is(input, textarea) {
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px;
}
.service-arrow a {
    color: unset;
}

/* header tab to accordion design */
/* ── Tab Dropdown Panel ── */
.dropdown-tab-panel {
    left: 0;
    top: 100%;
    min-width: 560px;
    padding: 0;
    display: none;
    flex-direction: row;
}

.menu-wrap>li.open>.dropdown-tab-panel {
    display: flex;
    width: 100%;
}

.tab-sidebar {
    width: 400px;
    flex-shrink: 0;
    padding: 0.5rem;
    border-right: 1px solid #E5E7EB;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 220ms ease, color 220ms ease;
    justify-content: space-between;
}

.tab-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn .tab-btn-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tab-btn img,
.tab-btn i.tab-icon {
    width: 22px;
    height: 22px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tab-content-area {
    flex: 1;
    padding: 0.75rem 1rem;
}

.tab-pane {
    display: none;
    flex-direction: column;
    gap: 2px;
}

.tab-pane.active {
    display: flex;
}

.tab-pane-link {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.75rem;
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: var(--text-color);
    border-radius: 8px;
    text-decoration: none;
    border-bottom: 1px dashed #E5E7EB;
    transition: background 220ms ease, color 220ms ease;
}

.tab-pane-link:last-child {
    border-bottom: none;
}

.tab-pane-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ── Mobile accordion for tab dropdown ── */
@media (max-width: 991px) {
    .dropdown-tab-panel {
        flex-direction: column;
        min-width: unset;
    }

    .tab-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0;
    }

    .tab-btn {
        /* color: #fff; */
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 0;
        padding: 0.75rem 0.5rem;
    }

    .tab-btn:hover,
    .tab-btn.active {
        background: rgba(255, 255, 255, 0.15);
        /* color: #fff; */
    }

    .tab-btn .chevron-tab {
        font-size: 0.7rem;
        transition: transform 220ms ease;
    }

    .tab-btn.active .chevron-tab {
        transform: rotate(180deg);
    }

    .tab-content-area {
        display: none !important;
    }

    .tab-pane-mobile {
        display: none;
        flex-direction: column;
        gap: 2px;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.08);
    }

    .tab-btn.active+.tab-pane-mobile {
        display: flex;
    }

    .tab-pane-mobile .tab-pane-link {
        /* color: rgba(255, 255, 255, 0.85); */
        border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    }

    .tab-pane-mobile .tab-pane-link:hover {
        background: rgba(255, 255, 255, 0.1);
        /* color: #fff; */
    }
}

/* Hide mobile panes on desktop (JS clones into content area instead) */
@media (min-width: 992px) {
    .tab-pane-mobile {
        display: none !important;
    }
}

/* Show mobile panes as accordion on mobile */
@media (max-width: 991px) {
    .tab-content-area {
        display: none !important;
    }

    .tab-btn.active + .tab-pane-mobile {
        display: flex !important;
    }

    .tab-pane-mobile {
        display: none;
        flex-direction: column;
        gap: 2px;
        padding: 0.5rem;
        background: rgba(255,255,255,0.08);
    }
}

/* header tab to accordion design ends */

/* Responsive adjustments */
@media (max-width: 768px) {
    .boost-form {
        padding: 20px;
    }

    .candy-contact-form .theme-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}