  

        .contact-card {
          
            width: 100%;
            background: white;
            box-shadow: 0 30px 50px rgba(0,0,0,0.12), 0 10px 20px rgba(0,0,0,0.05);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        /* Top brand */
        .brand-bar {
        background: #1e3c2c;
    padding: 1.2rem 2rem;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
   
}
        


        .quick-contact {
            background: #2a4b38;
            padding: 0.5rem 1.2rem;
            border-radius: 40px;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .quick-contact a {
            color: #FFE484;
            text-decoration: none;
            font-weight: 500;
        }

        .quick-contact a:hover {
            color: white;
            text-decoration: underline;
        }

        .address-strip {
            background: #fef7e0;
            padding: 0.8rem 2rem;
            border-bottom: 1px solid #e9d6a3;
            font-size: 0.9rem;
            color: #2c3e2f;
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: center;
        }

        .address-strip i {
            margin-right: 8px;
            color: #b4612c;
        }

        /* two columns layout */
        .grid-2col {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 0;
        }

        /* LEFT SIDE - Now with Person Image Card */
        .info-side {
            background: #568ea963;
            padding: 2rem 2rem 2rem 2rem;
            border-right: 1px solid #e0e6e8;
        }

        /* ---- NEW: Agent Profile Card (image + details) ---- */
        .agent-card {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem;
            overflow: hidden;
            transition: transform 0.2s;
            border: 1px solid #ecf3e8;
        }

        .agent-image {
            width: 100%;
            background: #d9e3cf;
            display: flex;
            justify-content: center;
            padding: 1.5rem 0 0.5rem 0;
        }

        .agent-image img {
            width: 130px;
            height: 130px;
            object-fit: cover;
            border-radius: 50%;
            border: 4px solid white;
            box-shadow: 0 8px 18px rgba(0,0,0,0.1);
            background: #f4f2e6;
        }

        .agent-info {
            padding: 1rem 1.5rem 1.5rem 1.5rem;
            text-align: center;
        }

        .agent-info h3 {
            font-size: 1.5rem;
            color: #1e3c2c;
            margin-bottom: 0.2rem;
        }

        .agent-title {
            color: #b6692c;
            font-weight: 600;
            font-size: 0.85rem;
            letter-spacing: 1px;
            margin-bottom: 0.8rem;
            display: inline-block;
            background: #fef1e0;
            padding: 4px 12px;
            border-radius: 40px;
        }

        .agent-bio {
            font-size: 0.85rem;
            color: #4a5e4a;
            line-height: 1.4;
            margin: 0.8rem 0;
        }

        .agent-contact-badge {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 0.8rem;
        }

        .agent-contact-badge span {
            background: #eff3ea;
            padding: 5px 12px;
            border-radius: 40px;
            font-size: 0.7rem;
            font-weight: 500;
            color: #2b5938;
        }

        .agent-contact-badge i {
            margin-right: 5px;
        }

        .info-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1e3c2c;
            margin: 1rem 0 0.5rem 0;
        }

        .contact-detail-item {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 1.2rem;
            flex-wrap: wrap;
        }

        .contact-detail-item i {
            width: 38px;
            height: 38px;
            background: #eef3ea;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 1.2rem;
            color: #1e6b3b;
        }

        .whatsapp-btn {
            background: #25D366;
            color: white;
            border: none;
            padding: 12px 18px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1rem;
            width: 100%;
            margin-top: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            cursor: pointer;
            transition: 0.2s;
        }

        .whatsapp-btn:hover {
            background: #128C7E;
            transform: scale(0.98);
        }

        /* Right side form */
        .form-side {
            padding: 2rem 2rem 2rem 2rem;
            background: #249c8f36;
        }

        .form-side h3 {
            font-size: 1.7rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #1e3c2c;
        }

        .input-group {
            margin-bottom: 1.5rem;
        }

        .input-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 6px;
            font-size: 0.85rem;
            color: #1f2e1f;
        }

        .input-group input, .input-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #cfdfcf;
            border-radius: 20px;
            font-size: 1rem;
            transition: 0.2s;
            outline: none;
        }

        .input-group input:focus, .input-group textarea:focus {
            border-color: #2c7a47;
            box-shadow: 0 0 0 3px rgba(44,122,71,0.2);
        }

        .submit-btn {
            background: #d4a373;
            font-weight: bold;
            border: none;
            padding: 14px 28px;
            border-radius: 40px;
            font-size: 1rem;
            cursor: pointer;
            width: 100%;
            color: #2c2b26;
        }

        .submit-btn:hover {
            background: #b5835a;
            color: white;
        }

        .footer-links {
            background: #eef2ea;
            padding: 1rem 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            font-size: 0.75rem;
            color: #3f5142;
        }

        .footer-links a {
            color: #1e3c2c;
            text-decoration: none;
            margin-right: 1rem;
        }

        .toast-msg {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: #1e3c2c;
            color: white;
            padding: 12px 28px;
            border-radius: 60px;
            z-index: 2000;
            transition: 0.3s;
            opacity: 0;
            pointer-events: none;
            font-weight: 500;
        }

        .toast-msg.show {
            opacity: 1;
        }

        .error-feedback {
            color: #c2410c;
            font-size: 0.75rem;
            margin-top: 4px;
            margin-left: 10px;
        }

        @media (max-width: 780px) {
            .grid-2col {
                grid-template-columns: 1fr;
            }
            .info-side {
                border-right: none;
                border-bottom: 1px solid #e0e6e8;
            }
            .agent-image img {
                width: 100px;
                height: 100px;
            }
        }
        .contact-dashboard{
          background: rgb(126 153 153 / 49%);
        }