/* ==============================================
DHARMRAJ INFOTECH PREMIUM CONTACT
Scoped, responsive corporate design
============================================== */

.di-contact-section {
    --di-blue: #2563eb;
    --di-blue-light: #60a5fa;
    --di-navy: #0b1426;
    --di-text: #111827;
    --di-muted: #64748b;
    --di-border: #e2e8f0;

    padding: 18px 0 80px;
    background:
        radial-gradient(ellipse at 85% 10%,
            rgba(37, 99, 235, .045),
            transparent 45%),
        #ffffff;

    position: relative;
    overflow: visible;
}

/* SECTION HEADING */

.di-contact-heading {
    max-width: 750px;
    margin: 0 auto 45px;
}

.di-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--di-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;

    margin-top: 0;
    margin-bottom: 18px;
}

.di-eyebrow-line {
    width: 25px;
    height: 1px;
    background: var(--di-blue);
    opacity: .55;
}

.di-contact-heading h2 {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.14;
    letter-spacing: -2px;
    font-weight: 800;
    color: var(--di-text);
    margin-bottom: 24px;
}

.di-contact-heading h2 span {
    display: block;
    background: linear-gradient(100deg,
            #1d4ed8,
            #3b82f6,
            #0f172a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.di-contact-heading p {
    color: var(--di-muted);
    font-size: 16px;
    line-height: 1.9;
    max-width: 640px;
    margin: auto;
}

/* ==============================================
CONTACT CARDS
============================================== */

.di-contact-cards {
    margin-bottom: 55px;
}

.di-contact-card {
    position: relative;
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    min-height: 340px;
    padding: 32px;

    background: linear-gradient(145deg,
            #101e35 0%,
            #0b1426 100%);

    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;

    text-decoration: none !important;
    color: white !important;
    overflow: hidden;
    isolation: isolate;

    
}

.di-contact-card::before {
    content: "";
    position: absolute;

    width: 220px;
    height: 220px;

    top: -110px;
    right: -110px;

    background: rgba(59, 130, 246, .14);
    border-radius: 50%;
    filter: blur(45px);
    pointer-events: none;
    z-index: -1;

    
}

.di-contact-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(135deg,
            rgba(96, 165, 250, .06),
            transparent 60%);

    opacity: 0;
    pointer-events: none;
    z-index: -1;
    
}

.di-contact-card:hover {
    
    border-color: rgba(96, 165, 250, .4);
    box-shadow: 0 25px 60px rgba(15, 23, 42, .2);
}

.di-contact-card:hover::before {
    
}

.di-contact-card:hover::after {
    opacity: 1;
}

/* CARD NUMBER */

.di-card-number {
    position: absolute;
    right: 29px;
    top: 30px;

    color: rgba(255, 255, 255, .28);
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ICON - FIXED SIZE */

.di-card-icon {
    width: 64px !important;
    height: 64px !important;

    min-width: 64px !important;
    min-height: 64px !important;

    max-width: 64px !important;
    max-height: 64px !important;

    flex: 0 0 64px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,
            rgba(59, 130, 246, .22),
            rgba(37, 99, 235, .06));

    border: 1px solid rgba(96, 165, 250, .3);
    border-radius: 17px;

    margin-bottom: 28px;

    
}

.di-card-icon i {
    font-size: 23px;
    line-height: 1;
    color: #93c5fd;
    
}

.di-contact-card:hover .di-card-icon {
    
    background: #2563eb;
    border-color: #60a5fa;
}

.di-contact-card:hover .di-card-icon i {
    color: #ffffff;
}

/* CARD CONTENT */

.di-card-content {
    flex: 1;
    min-width: 0;
}

.di-card-category {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #93c5fd;
    margin-bottom: 12px;
}

.di-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -.5px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.di-card-content p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.di-card-detail {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;

    overflow-wrap: anywhere;
    word-break: normal;
}

.di-address {
    font-size: 12.5px;
    font-weight: 500;
}

/* CARD FOOTER */

.di-card-footer {
    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, .09);

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
}

.di-card-arrow {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(147, 197, 253, .3);
    border-radius: 50%;

    
}

.di-card-arrow i {
    transform: rotate(45deg);
    font-size: 11px;
}

.di-contact-card:hover .di-card-arrow {
    background: var(--di-blue);
    
}

/* ==============================================
CONTACT MAIN SECTION
============================================== */

.di-contact-main {
    margin-top: 30px;
}

/* FORM PANEL */

.di-form-panel {
    height: 100%;
    padding: clamp(25px, 4vw, 50px);

    background: #ffffff;
    border: 1px solid var(--di-border);
    border-radius: 24px;

    box-shadow:
        0 15px 60px rgba(15, 23, 42, .055);
}

.di-form-heading {
    margin-bottom: 38px;
}

.di-form-kicker {
    display: block;

    color: var(--di-blue);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 15px;
}

.di-form-heading h3 {
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--di-text);
    margin-bottom: 17px;
}

.di-form-heading h3 span {
    color: var(--di-blue);
}

.di-form-heading p {
    color: var(--di-muted);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

/* FORM GROUP */

.di-form-group {
    width: 100%;
}

.di-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
}

.di-form-group label>span:not(.di-optional) {
    color: #ef4444;
}

.di-optional {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 6px;
}

/* INPUT CONTAINERS */

.di-input-wrap {
    position: relative;
    width: 100%;
}

.di-input-wrap>i:first-child {
    position: absolute;
    left: 19px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;
    font-size: 14px;
    z-index: 2;
    pointer-events: none;

    
}

.di-input-wrap input,
.di-input-wrap select,
.di-input-wrap textarea {
    display: block;

    width: 100%;
    min-width: 0;
    min-height: 56px;

    padding: 15px 18px 15px 49px;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 11px;

    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;

    outline: none;

    
}

.di-input-wrap input::placeholder,
.di-input-wrap textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.di-input-wrap input:hover,
.di-input-wrap select:hover,
.di-input-wrap textarea:hover {
    border-color: #bfdbfe;
}

.di-input-wrap input:focus,
.di-input-wrap select:focus,
.di-input-wrap textarea:focus {
    background: #ffffff;
    border-color: #3b82f6;

    box-shadow: 0 0 0 4px rgba(59, 130, 246, .08);
}

.di-input-wrap:focus-within>i:first-child {
    color: var(--di-blue);
}

/* SELECT */

.di-select-wrap select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 35px;
    cursor: pointer;
}

.di-select-arrow {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);

    pointer-events: none;
    color: #94a3b8;
    font-size: 10px;
}

/* TEXTAREA */

.di-textarea-wrap>i:first-child {
    top: 24px;
    transform: none;
}

.di-textarea-wrap textarea {
    min-height: 155px;
    resize: vertical;
    line-height: 1.8;
    padding-top: 18px;
}

.di-character-info {
    margin-top: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    color: #94a3b8;
    font-size: 10px;
    line-height: 1.5;
}

/* SUBMIT BUTTON */

.di-submit-btn {
    position: relative;

    width: 100%;
    min-height: 60px;

    padding: 12px 14px 12px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(110deg,
            #1d4ed8,
            #2563eb);

    border: 1px solid transparent;
    border-radius: 11px;

    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;

    cursor: pointer;
    overflow: hidden;

    
}

.di-submit-btn:hover {
    
    background: linear-gradient(110deg,
            #1e40af,
            #1d4ed8);

    box-shadow: 0 15px 30px rgba(37, 99, 235, .22);
}

.di-submit-btn:active {
    
}

.di-submit-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .15);
    border-radius: 8px;
}

.di-submit-icon i {
    transform: rotate(45deg);
}

.di-submit-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

/* PRIVACY */

.di-privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #94a3b8;
    font-size: 11px;
    line-height: 1.6;
}

.di-privacy-note i {
    color: #16a34a;
}

/* ==============================================
RIGHT SIDEBAR
============================================== */

.di-side-panel {
    display: flex;
    flex-direction: column;

    height: 100%;
    min-height: 100%;

    background: #0b1426;
    border-radius: 24px;
    padding: clamp(25px, 3vw, 38px);

    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.di-side-panel::before {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;
    right: -180px;
    top: -200px;

    background: rgba(37, 99, 235, .17);
    filter: blur(75px);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* TOP CONTENT */

.di-side-top {
    margin-bottom: 28px;
}

.di-side-label {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 21px;
}

.di-status-dot {
    width: 7px;
    height: 7px;
    background: #60a5fa;
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(96, 165, 250, .12);
}

.di-side-top h3 {
    color: white;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.di-side-top h3 span {
    color: #93c5fd;
}

.di-side-top p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* MAP */

.di-map-wrap {
    width: 100%;
    height: 305px;
    min-height: 305px;

    border-radius: 15px;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .15);
    background: #18253b;
}

.di-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* OFFICE DETAILS */

.di-office-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    margin-top: 30px;
    padding-bottom: 25px;

    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.di-office-icon {
    width: 43px;
    height: 43px;

    min-width: 43px;
    min-height: 43px;

    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;
    background: rgba(59, 130, 246, .16);
    color: #93c5fd;
}

.di-office-text {
    min-width: 0;
}

.di-office-text h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.di-office-text p {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.9;
    margin: 0;
    overflow-wrap: anywhere;
}

/* MAP BUTTON */

.di-map-button {
    min-height: 53px;

    margin-top: 25px;
    padding: 15px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border-radius: 10px;
    border: 1px solid rgba(147, 197, 253, .28);

    color: #bfdbfe;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;

    
}

.di-map-button:hover {
    background: rgba(37, 99, 235, .2);
    border-color: #60a5fa;
    color: #ffffff;
}

.di-map-button i {
    font-size: 12px;
}

/* BOTTOM NOTE */

.di-side-bottom {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: auto;
    padding-top: 35px;

    color: #94a3b8;
}

.di-side-bottom i {
    color: #60a5fa;
    font-size: 20px;
}

.di-side-bottom p {
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

/* ==============================================
ACCESSIBILITY
============================================== */

.di-contact-section a:focus-visible,
.di-contact-section button:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 4px;
}

/* ==============================================
RESPONSIVE
============================================== */

@media (max-width: 1199px) {

    .di-contact-card {
        padding: 25px;
    }

    .di-card-content h3 {
        font-size: 18px;
    }

    .di-card-detail {
        font-size: 12px;
    }
}

@media (max-width: 991px) {

    .di-contact-section {
        padding: 16px 0 65px;
    }

    .di-contact-heading {
        margin-bottom: 35px;
    }

    .di-contact-cards {
        margin-bottom: 40px;
    }

    .di-contact-card {
        min-height: 320px;
    }

    .di-side-panel {
        min-height: auto;
    }

    .di-map-wrap {
        height: 320px;
    }
}

@media (max-width: 767px) {

    .di-contact-section {
        padding: 14px 0 55px;
    }

    .di-contact-heading {
        margin-bottom: 30px;
    }

    .di-contact-heading h2 {
        font-size: 35px;
        letter-spacing: -1.3px;
    }

    .di-contact-heading p {
        font-size: 14px;
    }

    .di-contact-card {
        min-height: auto;
        padding: 27px;
    }

    .di-card-icon {
        width: 64px !important;
        height: 64px !important;

        min-width: 64px !important;
        min-height: 64px !important;

        max-width: 64px !important;
        max-height: 64px !important;

        flex: 0 0 64px !important;
    }

    .di-form-panel {
        padding: 25px 20px;
    }

    .di-form-heading h3 {
        font-size: 28px;
    }

    .di-side-panel {
        padding: 25px 20px;
    }

    .di-character-info {
        align-items: flex-start;
    }
}

@media (max-width: 380px) {

    .di-contact-heading h2 {
        font-size: 30px;
    }

    .di-card-detail {
        font-size: 11.5px;
    }

    .di-section-eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
}