.connect-banner {
    position: relative;
    background: linear-gradient(90deg, #d62736 0%, #a5a5a5 100%);
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.connect-banner::before {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 280px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.connect-banner::after {
    content: "";
    position: absolute;
    right: 30%;
    top: 25px;
    width: 180px;
    height: 80px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.25) 2px, transparent 2px);
    background-size: 16px 16px;
}

.icon-circle {
    width: 82px;
    height: 82px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.icon-circle i {
    font-size: 34px;
    color: #d62736;
}

.banner-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.right-icons {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(214 39 54);
    opacity: 0.4;
}

.mail-icon {
    font-size: 48px;
    position: absolute;
    right: 180px;
    top: -10px;
    transform: rotate(-12deg);
}

.plane-icon {
    font-size: 58px;
    position: absolute;
    right: 0;
    top: -40px;
    transform: rotate(20deg);
}

.star-1,
.star-2 {
    position: absolute;
    font-size: 18px;
}

.star-1 {
    right: 120px;
    top: -45px;
}

.star-2 {
    right: 30px;
    top: 45px;
}

.dashed-line {
    position: absolute;
    width: 150px;
    height: 70px;
    border-top: 2px dashed rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    right: 70px;
    top: 15px;
    transform: rotate(10deg);
}

@media (max-width: 991px) {
    .right-icons {
        display: none;
    }

    .connect-banner {
        padding: 30px;
    }

    .banner-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .connect-banner {
        padding: 25px 20px;
    }

    .icon-circle {
        width: 65px;
        height: 65px;
    }

    .icon-circle i {
        font-size: 26px;
    }

    .banner-title {
        font-size: 1.35rem;
    }

    .banner-text {
        font-size: 0.95rem;
    }
}

.demo-heading {
    font-size: 16px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 14px;
    display: block;
}

.demo-box {
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.demo-check {
    display: flex;
    align-items: center;
    width: 100%;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #ff4f87;
    border-radius: 2px;
    margin-top: 0 !important;
    margin-right: 12px;
    cursor: pointer;
    background-color: #fff;
}

.custom-checkbox:checked {
    background-color: #ff4f87;
    border-color: #ff4f87;
}

.demo-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin: 0;
    cursor: pointer;
    width: 100%;
}

.demo-box:hover {
    border-color: #ff4f87;
}

@media (max-width: 768px) {
    .demo-box {
        min-height: auto;
        padding: 14px;
    }

    .demo-text {
        font-size: 14px;
    }
}


.trust-box {
    background: #f7f6fb;
    border-radius: 14px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(111, 66, 193, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 20px;
    color: #d62736;
}

.trust-item h6 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #2d2d2d;
}

.divider {
    width: 1px;
    height: 48px;
    background: #e2e2e2;
    margin: 0 10px;
}

.submit-btn {
    width: 100%;
    height: 72px;
    border: none;
    border-radius: 14px;
    background: #d62736;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s ease;
    box-shadow: 0 10px 20px rgba(111, 66, 193, 0.18);
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.privacy-text {
    margin-top: 14px;
    text-align: center;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 500;
}

.privacy-text i {
    margin-right: 8px;
    color: #9a9a9a;
}

.contact-sidebar {
    background: linear-gradient(180deg, #fff8fc 0%, #f9f6ff 100%);
    padding: 32px;
    border-radius: 20px;
    max-width: 420px;
    transition: all 0.4s ease;
}

@media(max-width: 1400px) {
    .trust-icon {
        width: 32px;
        height: 32px;
    }

    .trust-icon i {
        font-size: 16px;
        color: #d62736;
    }
}

@media(max-width: 1199.98px) {
    .contact-sidebar {
        padding: 20px;
    }

    .promo-content h3 {
        font-size: 16px;
    }

    .promo-content p {
        margin-top: 8px;
        font-size: 14px;
    }

    .divider-line {
        height: 1px;
        margin: 20px 0;
    }

    .promo-card {
        padding: 16px;
        gap: 6px;
    }

    .info-content h4 {
        font-size: 16px;
    }

    .info-content p,
    .info-content small {
        font-size: 12px;
    }

    .icon-box {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .info-card::before {
        width: 3px;
    }

    .icon-box i {
        font-size: 22px;
        color: #d62736;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .connect-banner {
        padding: 14px;
    }

    .submit-btn {
        height: auto;
        font-size: 18px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .social-icons {
        gap: 6px;
        margin-bottom: 16px;
    }
}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {
    .contact-sidebar {
        padding: 16px;
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

/* Premium Tab Styles matching course_details_new vcd53-mode-tabs */
.contact-tabs-container {
    display: flex;
    background: #ffffff;
    border: 1px solid #e8e6ef;
    border-radius: 1.25rem;
    width: 100%;
    padding: 0.25rem;
    box-shadow: 0 8px 30px rgba(18, 15, 42, 0.06);
    gap: 0.25rem;
}

.contact-tab-btn {
    flex: 1 1 0;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 1rem;
    color: #77748a;
    background: transparent;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-tab-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.contact-tab-btn:hover {
    color: #d62736;
    background: rgba(214, 39, 54, 0.02);
}

.contact-tab-btn:hover i {
    transform: translateY(-1px);
}

.contact-tab-btn.active {
    color: #d62736;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(214, 39, 54, 0.15);
    border-bottom-color: #d62736;
}

.contact-tab-btn.active i {
    color: #d62736;
}

@media (max-width: 991.98px) {
    .contact-tab-btn {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-tabs-container {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        width: 100% !important;
        border-radius: 1.25rem;
    }
    .contact-tabs-container::-webkit-scrollbar {
        display: none;
    }
    .contact-tab-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        min-width: 120px !important;
        padding: 0.6rem 1.0rem !important;
    }
}

/* Custom radio styles for Preferred Learning Mode */
.custom-radio-container {
    position: relative;
}

.custom-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 10px;
    margin: 0;
}

.custom-radio-circle {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    position: relative;
    background-color: #fff;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-radio-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d62736;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-radio-text {
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
    transition: color 0.25s ease;
}

/* Checked States */
.custom-radio-input:checked + .custom-radio-label .custom-radio-circle {
    border-color: #d62736;
    box-shadow: 0 0 0 3px rgba(214, 39, 54, 0.15);
}

.custom-radio-input:checked + .custom-radio-label .custom-radio-circle::after {
    transform: translate(-50%, -50%) scale(1);
}

.custom-radio-input:checked + .custom-radio-label .custom-radio-text {
    color: #d62736;
    font-weight: 600;
}

/* Hover States */
.custom-radio-label:hover .custom-radio-circle {
    border-color: #d62736;
}

/* Premium File Input Styles */
.premium-file-input {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 12px 16px;
    background-color: #f8fafc;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    color: #4a5568;
}

.premium-file-input:hover,
.premium-file-input:focus {
    border-color: #d62736;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(214, 39, 54, 0.1);
    outline: none;
}