@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
    /* Primary Colors */
    --primary-purple: #52396D;
    --primary-purple-dark: #3a284d;
    --primary-orange: #EF6936;
    /* Using the specific orange from your original site */
    --primary-orange-light: #FF8C00;

    /* Neutral Colors - Light Theme */
    --bg-white: #FFFFFF;
    --bg-light: #F4F7FA;
    --text-main: #333333;
    --text-gray: #666666;
    --text-white: #FFFFFF;

    /* Light Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(106, 13, 173, 0.1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* Spacing */
    --section-padding: 45px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-purple);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* White Premium Card Style */
.glass-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(106, 13, 173, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    text-align: center;
}



.btn-primary {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-orange));
    color: white !important;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.section-header p {
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.subtitle {
    display: inline-block;
    color: var(--primary-orange);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Unified Page Header Section */
.page-title-section {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('https://airhive.in/assets/images/backgrounds/price-bg-1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--primary-purple);
}

.page-title-section h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--primary-purple);
}

.page-title-section p {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Page Header V2 (Services/Plans) Light Theme */
.page-title-section-v2 {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://airhive.in/assets/images/backgrounds/price-bg-1.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 180px 0 100px;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.next-gen-title,
.page-title-section-v2 h1 {
    color: var(--primary-purple) !important;
}

.page-title-section-v2 .breadcrumbs {
    color: var(--text-gray) !important;
}

/* Legal Content Layout */
.legal-content .container {
    padding: 40px 60px 60px !important;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.content-wrapper h2 {
    margin: 40px 0 15px;
    color: var(--primary-purple);
    font-size: 1.8rem;
}

.content-wrapper p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.py-section {
    padding: var(--section-padding);
}

/* AOS Tweaks */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* ==========================================================================
   Header Styles (Migrated from header.php)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
}

.split-header-container {
    position: relative;
    width: 100%;
    height: 110px;
    /* Total height accommodate overlap */
    display: flex;
    align-items: flex-start;
}

.split-logo-section {
    background: white;
    padding: 0 40px;
    display: flex;
    align-items: center;
    height: 100px;
    width: fit-content;
    min-width: 250px;
    border-radius: 0 0 50px 0;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--primary-orange);
    z-index: 30;
    position: relative;
}

.brand-logo {
    height: 70px !important;
    width: auto;
}

.split-nav-section {
    background: #52396D;
    position: absolute;
    top: 0;
    /* Align perfectly with logo section */
    left: 0;
    width: 100%;
    height: 100px;
    /* Unified height */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 50px 0 300px;
    /* Large left padding to clear logo */
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid var(--primary-orange);
    z-index: 20;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    /* Reduced gap for more compact layout */
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a:not(.btn) {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-orange) !important;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.btn-connection {
    padding: 10px 22px !important;
    background: white !important;
    color: #52396D !important;
    /* Explicit dark purple for total clarity */
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border: 2px solid var(--primary-orange) !important;
    transition: var(--transition-smooth);
    margin-left: 8px;
    /* Reduced margin */
    gap: 10px;
    text-decoration: none;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
}

.btn-connection i {
    color: var(--primary-orange) !important;
    font-size: 1rem;
}

.btn-connection:hover {
    transform: translateY(-2px);
    background: #f8f9fa !important;
    color: var(--primary-orange) !important;
}

.btn-connection:hover i {
    color: var(--primary-orange) !important;
}

.btn-account {
    padding: 10px 25px !important;
    background: linear-gradient(135deg, #FF6633 0%, #EF6936 100%) !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(255, 102, 51, 0.3) !important;
    border: none !important;
    text-transform: capitalize !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    margin-left: 8px;
    gap: 10px;
    text-decoration: none;
}

.btn-account i {
    font-size: 1.2rem;
}

.btn-account:hover {
    transform: translateY(-2px);
    background: white !important;
    color: var(--primary-orange) !important;
    border: 2px solid var(--primary-orange) !important;
    box-shadow: 0 12px 30px rgba(239, 105, 54, 0.2) !important;
}

.btn-account:hover i {
    color: var(--primary-orange) !important;
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.8rem;
    margin-left: 20px;
    cursor: pointer;
}


@media (max-width: 992px) {
    .split-logo-section {
        min-width: 120px;
        padding: 0 15px;
        height: 60px;
        border-radius: 0 0 20px 0;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    }

    .brand-logo {
        height: 45px !important;
    }

    .split-nav-section {
        top: 0;
        height: 60px;
        padding: 0 15px;
        justify-content: flex-end;
        padding-left: 140px;
        /* Clear the smaller logo box */
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(82, 57, 109, 0.98);
        /* Slightly transparent purple */
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        display: flex;
        padding: 40px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for links */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.7s;
    }

    .nav-links a:not(.btn) {
        font-size: 1.4rem;
        display: block;
        padding: 10px;
        letter-spacing: 1px;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .btn-connection {
        margin-left: 0;
        margin-top: 15px;
        padding: 14px 30px !important;
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   Footer Styles (Shared Component)
   ========================================================================== */
.main-footer {
    padding: 60px 0 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: var(--primary-purple);
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.social-links a:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-orange);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Legal Pages Styles (Privacy & Terms - Shared)
   ========================================================================== */
.legal-content {
    margin-top: -120px;
    position: relative;
    z-index: 2;
}

.content-wrapper ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.content-wrapper ul li {
    list-style: disc;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.content-wrapper strong {
    color: var(--primary-purple);
}

/* ==========================================================================
   Floating Contact Action Buttons (Global)
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.floating-actions .action-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.floating-actions .action-btn:hover {
    transform: scale(1.12) translateY(-3px);
}

.floating-actions .whatsapp {
    background: #25D366;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-actions .whatsapp:hover {
    background: #1ebe5d;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.floating-actions .phone {
    background: var(--primary-orange);
    box-shadow: 0 6px 25px rgba(239, 105, 54, 0.4);
}

.floating-actions .phone:hover {
    background: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.4);
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 35px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .floating-actions .action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Enquiry Floating Button */
.floating-actions .enquiry-btn {
    background: var(--primary-purple);
    box-shadow: 0 6px 25px rgba(82, 57, 109, 0.4);
    animation: pulse-enquiry 2.5s ease-in-out infinite;
}

.floating-actions .enquiry-btn:hover {
    background: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(239, 105, 54, 0.5);
}

@keyframes pulse-enquiry {

    0%,
    100% {
        box-shadow: 0 6px 25px rgba(82, 57, 109, 0.4);
    }

    50% {
        box-shadow: 0 6px 35px rgba(82, 57, 109, 0.65);
    }
}

/* ==========================================================================
   Inquiry Popup Form Styles (Auto-open centered modal)
   ========================================================================== */
.inquiry-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.inquiry-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.inquiry-popup {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.inquiry-popup-overlay.active .inquiry-popup {
    transform: translateY(0) scale(1);
}

.inquiry-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.inquiry-close-btn:hover {
    background: #ff4444;
    color: white;
    transform: rotate(90deg);
}

.inquiry-popup-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    padding: 20px 30px 15px;
    border-radius: 24px 24px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inquiry-popup-header::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 50%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(239, 105, 54, 0.08), transparent);
    transform: rotate(25deg);
}

.inquiry-icon-wrap {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.2rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.inquiry-popup-header h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.inquiry-popup-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 500;
}

.inquiry-form {
    padding: 25px 30px 30px;
}

.inquiry-form-group {
    margin-bottom: 18px;
}

.inquiry-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inquiry-form-group label i {
    color: var(--primary-orange);
    margin-right: 6px;
    font-size: 0.8rem;
}

.inquiry-form-group input,
.inquiry-form-group select,
.inquiry-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e8e8ef;
    border-radius: 12px;
    font-size: 0.92rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: #fafafe;
    outline: none;
    transition: all 0.3s ease;
}

.inquiry-row {
    display: flex;
    gap: 20px;
}

.inquiry-row .inquiry-form-group {
    flex: 1;
    min-width: 0;
}

@media (max-width: 600px) {
    .inquiry-row {
        flex-direction: column;
        gap: 0;
    }
}

.inquiry-form-group input:focus,
.inquiry-form-group select:focus,
.inquiry-form-group textarea:focus {
    border-color: var(--primary-purple);
    background: white;
    box-shadow: 0 4px 12px rgba(82, 57, 109, 0.08);
}

.inquiry-form-group select {
    cursor: pointer;
    -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='%2352396D' 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 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.inquiry-form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.inquiry-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8833 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 105, 54, 0.3);
}

.inquiry-submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    box-shadow: 0 10px 30px rgba(82, 57, 109, 0.3);
    transform: translateY(-2px);
}

.inquiry-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.inquiry-success {
    padding: 50px 30px;
    text-align: center;
}

.inquiry-success .success-icon {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 20px;
    animation: inquirySuccessBounce 0.6s ease;
}

.inquiry-success h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.inquiry-success p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

@keyframes inquirySuccessBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.inquiry-popup::-webkit-scrollbar {
    width: 5px;
}

.inquiry-popup::-webkit-scrollbar-track {
    background: transparent;
}

.inquiry-popup::-webkit-scrollbar-thumb {
    background: rgba(82, 57, 109, 0.2);
    border-radius: 10px;
}

@media (max-width: 576px) {
    .inquiry-popup {
        width: 95%;
        border-radius: 20px;
    }

    .inquiry-popup-header {
        padding: 25px 20px 20px;
        border-radius: 20px 20px 0 0;
    }

    .inquiry-form {
        padding: 20px;
    }
}

/* Custom Select Dropdown with Icons */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-main);
    background: #fafafe;
    border: 1.5px solid #e8e8ef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: var(--primary-purple);
}

.custom-select-trigger i {
    margin-right: 8px;
    font-size: 1.1rem;
    color: var(--primary-purple);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #e8e8ef;
    border-top: 0;
    background: #fff;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    max-height: 200px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
    border-top: 1px solid #e8e8ef;
    margin-top: 5px;
    border-radius: 12px;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--primary-purple);
    border-radius: 12px;
}

.custom-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-option:hover {
    background-color: var(--bg-light);
    color: var(--primary-purple);
}

.custom-option.selected {
    color: #fff;
    background-color: var(--primary-purple);
}

.custom-option.selected:hover {
    background-color: var(--primary-purple-dark);
}

.custom-option i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Arrow indicator */
.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0.15rem;
    height: 100%;
    transition: all 0.3s;
}

.arrow::before {
    left: -3px;
    transform: rotate(45deg);
    background-color: var(--primary-purple);
}

.arrow::after {
    left: 3px;
    transform: rotate(-45deg);
    background-color: var(--primary-purple);
}

.open .arrow::before {
    left: -3px;
    transform: rotate(-45deg);
}

.open .arrow::after {
    left: 3px;
    transform: rotate(45deg);
}

/* ==========================================================================
   Slide-in Connection Form Panel
   ==========================================================================  */
.slidein-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.slidein-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slidein-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100%;
    background: white;
    z-index: 99999;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.slidein-panel.active {
    right: 0;
}

.slidein-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: #555;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slidein-close-btn:hover {
    background: #ff4444;
    color: white;
    transform: rotate(90deg);
}

.slidein-logo {
    padding: 40px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.slidein-logo img {
    height: 70px;
    object-fit: contain;
}

.slidein-form {
    padding: 28px 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slidein-form-group {
    margin-bottom: 16px;
}

.slidein-form-group input,
.slidein-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: #fafafa;
    outline: none;
    transition: all 0.3s ease;
}

.slidein-form-group input::placeholder,
.slidein-form-group textarea::placeholder {
    color: #999;
    font-weight: 400;
}

.slidein-form-group input:focus,
.slidein-form-group textarea:focus {
    border-color: var(--primary-purple);
    background: white;
    box-shadow: 0 4px 15px rgba(82, 57, 109, 0.1);
}

.slidein-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.slidein-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8833 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 105, 54, 0.3);
    margin-top: 8px;
}

.slidein-submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    box-shadow: 0 10px 30px rgba(82, 57, 109, 0.3);
    transform: translateY(-2px);
}

.slidein-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success State */
.slidein-success {
    padding: 60px 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slidein-success .success-icon {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 20px;
    animation: successBounce 0.6s ease;
}

.slidein-success h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slidein-success p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Scrollbar styling for panel */
.slidein-panel::-webkit-scrollbar {
    width: 4px;
}

.slidein-panel::-webkit-scrollbar-track {
    background: transparent;
}

.slidein-panel::-webkit-scrollbar-thumb {
    background: rgba(82, 57, 109, 0.2);
    border-radius: 10px;
}

@media (max-width: 480px) {
    .slidein-panel {
        width: 100%;
        right: -100%;
    }
}

@keyframes successBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}