/* Contact Us Styles */
.contact-wrapper {
    position: relative;
    min-height: 400px;
}

.business_inquiries {
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business_inquiries:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.business_text {
    color: #FFF;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.business_text_subpara {
    color: #FFF;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}

.mail {
    color: #F68122;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item svg {
    min-width: 24px;
    width: 24px;
    height: 24px;
}

.phone-numbers p {
    margin: 0;
    line-height: 1.3;
}

.phone-numbers p:not(:last-child) {
    margin-bottom: 0.5rem;
}

.bg_img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url(../images/cci_home_img/contact_us.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    opacity: 1.3;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .contact-wrapper {
        min-height: auto;
    }

    .business_inquiries {
        margin-bottom: 2rem;
    }

    .bg_img {
        display: none;
        /* Hide background on mobile for better readability */
    }
}

@media (max-width: 767.98px) {
    .business_inquiries {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .business_text {
        font-size: 24px;
        margin-bottom: 0.75rem;
    }

    .business_text_subpara {
        font-size: 18px;
    }

    .mail {
        font-size: 16px;
    }

    .contact-item svg {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }
}

@media (max-width: 575.98px) {
    .business_inquiries {
        padding: 1.25rem !important;
    }

    .business_text {
        font-size: 20px;
    }

    .business_text_subpara {
        font-size: 16px;
    }

    .mail {
        font-size: 14px;
    }

    .contact-item svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }
}

/* Animation for better user experience */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.business_inquiries {
    animation: fadeInUp 0.6s ease forwards;
}

.business_inquiries:nth-child(2) {
    animation-delay: 0.2s;
}

/* Focus states for accessibility */
.business_inquiries:focus-within {
    outline: 2px solid #F68122;
    outline-offset: 4px;
}

/* Print styles */
@media print {
    .bg_img {
        display: none;
    }

    .business_inquiries {
        background: #f8f9fa !important;
        color: #000 !important;
        border: 1px solid #dee2e6;
    }

    .business_text,
    .business_text_subpara {
        color: #000 !important;
    }
}

.clock {
    margin-top: -25px !important;
}

:root {
    --Fonts-Size-body: 16px;
    --color-orange: #F37114;
    --color-red: #AC2020;
    --color-gray: #B4B4B4;
}


/* Main gradient background */
.map_gradiant {
    background: linear-gradient(90deg, #FFF 0%, #474747 34.62%, #474747 65.38%, #FFF 100%);
    position: relative;
    overflow: hidden;
}

/* Map container */
.map {
    position: relative;
    z-index: 1;
}

/* Map background layer */
.map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/cci_home_img/map.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.14;
    mix-blend-mode: plus-lighter;
    z-index: 01;
    pointer-events: none;
}

/* Address cards */
.address-card {
    border-radius: var(--Fonts-Size-body, 16px);
    background: linear-gradient(180deg, #B4B4B4 0%, rgba(243, 113, 14, 0.80) 50.48%, #AC2020 100%);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.address-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%,
            rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

/* Icon styling */
.icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.address-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Typography */
.office {
    color: #FFF;
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.office_description {
    color: #FFF;
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

/* Responsive improvements */
@media (max-width: 991.98px) {
    .map::before {
        background-size: cover;
        background-position: center top;
    }

    .address-card {
        margin-bottom: 2rem;
        min-height: 250px;
    }

    .office {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .office_description {
        font-size: 16px;
        padding: 0 15px;
    }
}

@media (max-width: 767.98px) {
    .map_gradiant {
        background: linear-gradient(180deg, #FFF 0%, #474747 20%, #474747 80%, #FFF 100%);
    }

    .map::before {
        background-size: 120%;
        background-position: center;
    }

    .address-card {
        margin-bottom: 1.5rem;
        min-height: 220px;
        padding: 2rem 1rem !important;
    }

    .office {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .office_description {
        font-size: 14px;
        padding: 0 10px;
    }

    .icon svg {
        width: 35px;
        height: 34px;
    }
}

@media (max-width: 575.98px) {
    .address-card {
        min-height: 200px;
        padding: 1.5rem 0.75rem !important;
    }

    .office {
        font-size: 18px;
    }

    .office_description {
        font-size: 13px;
        line-height: 1.3;
    }

    .icon svg {
        width: 30px;
        height: 29px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.address-card {
    animation: fadeInUp 0.6s ease forwards;
}

.address-card:nth-child(1) {
    animation-delay: 0.1s;
}

.address-card:nth-child(2) {
    animation-delay: 0.2s;
}

.address-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Enhanced visual effects */
.address-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.address-card:hover::after {
    transform: translateX(100%);
}

/* Print styles */
@media print {
    .map_gradiant {
        background: #f8f9fa !important;
    }

    .address-card {
        background: #6c757d !important;
        box-shadow: none !important;
    }

    .office,
    .office_description {
        color: white !important;
    }
}