/* ==========================================================================
   Contact Page Premium Styles
   ========================================================================== */

/* 1. Hero Section - Emerald Mesh Gradient
   ========================================================================== */
.page-title.contact-hero {
    position: relative;
    padding: 160px 0 100px;
    background-color: #0d0d12;
    /* Deep Dark Base */
    overflow: hidden;
    margin-bottom: 0;
}

.page-title.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%,
            rgba(68, 178, 91, 0.15) 0%,
            rgba(15, 98, 254, 0.05) 30%,
            transparent 70%);
    filter: blur(80px);
    animation: rotateMesh 20s linear infinite;
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero-title {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. Branches Grid - Glassmorphic Cards (White Theme)
   ========================================================================== */
.branches-section {
    padding: 100px 0;
    background-color: #ffffff;
    /* White Background */
    position: relative;
}

.branch-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for depth */
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #44b25b, #0F62FE);
    opacity: 0;
    transition: 0.3s;
}

.branch-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(68, 178, 91, 0.2);
}

.branch-card:hover::before {
    opacity: 1;
}

.branch-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(68, 178, 91, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: #44b25b;
    font-size: 24px;
    transition: 0.3s;
}

.branch-card:hover .branch-icon-wrap {
    background: #44b25b;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(68, 178, 91, 0.3);
}

.branch-title {
    font-size: 24px;
    color: #111827;
    /* Dark Text */
    margin-bottom: 20px;
    font-weight: 800;
}

.branch-address {
    color: #6B7280;
    /* Grey Text */
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    min-height: 80px;
}

.branch-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    /* Dark Text */
    font-weight: 700;
    font-size: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.branch-phone:hover {
    color: #0F62FE;
}

.branch-phone i {
    color: #44b25b;
}

/* 3. Digital Connection Strip
   ========================================================================== */
.digital-connect-strip {
    background: #0d0d12;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.email-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0F62FE, #0050e6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(15, 98, 254, 0.3);
}

.email-info h6 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.email-info a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

.email-info a:hover {
    color: #44b25b;
}


/* 4. Professional Map Section - Widget Variant
   ========================================================================== */
.map-widget-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 15px;
    /* Boxed padding */
    height: 100%;
    min-height: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.map-section-pro {
    height: 100%;
    width: 100%;
    min-height: 420px;
    border-radius: 16px;
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: 0.5s;
}

.map-section-pro:hover {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

.map-wrapper-pro {
    position: relative;
    padding-bottom: 80px;
    /* Spacing below the widget */
}

/* Icon Setup Premium (SVG Support) */
.icon-svg-wrap {
    width: 44px;
    height: 44px;
    background: rgba(68, 178, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #44b25b;
    flex-shrink: 0;
}

.icon-svg-wrap svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.branch-card:hover .icon-svg-wrap {
    background: #44b25b;
    color: #ffffff;
}

/* 5. Contact Form - Dark Glass
   ========================================================================== */
.contact-form-section {
    padding: 100px 0;
    background: #0d0d12;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-pro input,
.contact-form-pro textarea {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 18px 25px !important;
    font-size: 15px !important;
    transition: 0.3s;
}

.contact-form-pro input:focus,
.contact-form-pro textarea:focus {
    border-color: #44b25b !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(68, 178, 91, 0.1);
}

.contact-form-pro button {
    background: #44b25b !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 18px 40px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    width: 100%;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.contact-form-pro button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(68, 178, 91, 0.3);
}

@keyframes rotateMesh {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 40px;
    }

    .email-card {
        flex-direction: column;
        text-align: center;
    }

    .branch-card {
        padding: 30px;
    }
}